1摘要电力系统潮流计算是研究电力系统稳态运行情况的一种重要的分析计算,它根据给定的运行条件及系统接线情况确定整个电力系统各部分的运行状态。在电力系统规划设计和现有电力系统运行方式的研究中,都需要利用潮流计算来定量地分析比较供电方案或运行方式的合理性,可靠性和经济性。MATLAB使用方便,有着其他高级语言无法比拟的强大的矩阵处理功能。这样使MATLAB成为电力系统潮流计算的首选计算机语言。牛顿-拉夫逊法师电力系统潮流计算的常用算法之一,它收敛性好,迭代次数少。介绍了电力系统潮流计算机辅分析的基本知识及潮流计算牛顿-拉普逊法,最后介绍了利用matlabGUI制作潮流计算软件的过程。关键词:电力系统潮流计算;牛顿-拉普逊法;matlabGUI2AbstractPowerFlowCalculationofPowerSystemisanimportantanalysisandcalculationofpowersystemsteady-stateoperation,whichaccordingtothegivenoperatingconditionsandsystemwiringtodeterminethevariouspartsofthepowersystemrunningstate.InthestudyofpowersystemdesignandthecurrentoperationmodearerequiredPowerFlowCalculationtoquantitativelyanalyzedandcomparedtotheprogramorrunmodepowersupplyreasonable,reliabilityandeconomyornot.MATLABiseasytouse,thepowerfulmatrixprocessingistheotherhigh-levellanguagecannotbecomparedwith.ThisallowsMATLABtobecomethepreferredcomputerlanguageofpowerflowcalculation.NewtonRaphsonpowerflowcalculationisoneofthemostcommonlyusedalgorithms,whichhasgoodconvergenceandfeweriterations.ThisarticledescribesthepowerflowcomputerassistedanalysisofthebasicknowledgeandpowerflowNewton-Raphsonmethod,FinallyitdescribehowtousematlabGUItomakethepowerflowcalculationsoftware.Keywords:powerflowcalculation;Newton-Raphsonmethod;matlabGUI1目录第1章绪论..................................................................................................................11.1课题背景.........................................................................................................11.2选题意义.........................................................................................................11.3潮流计算及其现状及其发展趋势.................................................................11.4本毕业设计主要工作.....................................................................................2第2章电力系统潮流计算基本原理..........................................................................42.1电力网络的数学模型.....................................................................................42.1.1电力网络的基本方程式.......................................................................42.1.2自导纳和互导纳的确定方法..............................................................52.1.3节点导纳矩阵的性质及意义..............................................................72.1.4非标准变比变压器等值电路..............................................................82.2潮流计算的数学模型.....................................................................................92.2.1潮流计算的节点类型........................................................................92.2.2潮流计算基本方程..........................................................................102.3潮流计算的约束条件...................................................................................122.4潮流计算方法...............................................................................................122.4.1牛顿——拉夫逊法............................................................................122.4.2高斯——赛德尔法............................................................................122.4.3PQ分解法.......................................................................................142.4.4拟牛顿算法......................................................................................152.5Matlab简介..................................................................................................152.5.1Matlab概述........................................................................................152.5.2matlabGUI简介................................................................................152.5.3GUI设计模板及设计窗口...............................................................152.5.4GUI设计的基本操作.......................................................................16第3章牛顿拉夫逊潮流计算理论分析....................................................................173.1概述...............................................................................................................173.2牛顿法基本原理...........................................................................................173.3牛顿法潮流计算方程...................................................................................213.3.1节点功率方程.....................................................................................213.3.2修正方程..........................................................................................223.4牛顿法潮流计算主要流程...........................................................................25第4章基于matlab潮流计算软件的实现..............................................................274.1登陆界面的设计实现...................................................................................274.2潮流计算主界面设计实现...........................................................................274.2.1主界面介绍........................................................................................274.2.2数据初始化........................................................................................284.2.3潮流计算............................................................................................294.2.4数据处理................................................................................