CN104156542A - Implicit-projection-based method for simulating stability of active power distribution system - Google Patents
Implicit-projection-based method for simulating stability of active power distribution system Download PDFInfo
- Publication number
- CN104156542A CN104156542A CN201410425443.5A CN201410425443A CN104156542A CN 104156542 A CN104156542 A CN 104156542A CN 201410425443 A CN201410425443 A CN 201410425443A CN 104156542 A CN104156542 A CN 104156542A
- Authority
- CN
- China
- Prior art keywords
- simulation
- implicit
- projection algorithm
- distribution system
- implicit expression
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Supply And Distribution Of Alternating Current (AREA)
- Complex Calculations (AREA)
Abstract
一种基于隐式投影的有源配电系统稳定性仿真方法,针对具有刚性特征的有源配电系统稳定性仿真模型,基于系统仿真参数及潮流计算结果,首先利用内部积分器进行若干步小步长积分计算,步长为h,可采用二阶以上精度的任意显式积分算法;而后根据内部积分器计算结果,采用基于隐式预测-校正方法的外部积分器,以步长Mh进行一步大步长积分计算。本发明方法可实现对系统故障的仿真计算,为2阶精度算法,具有良好的数值稳定性,其数值稳定域几乎不随外部积分器步长倍数的改变而变化,算法性能优于显式投影积分算法和传统隐式梯形法,适于具有多时间尺度特征的有源配电系统稳定性仿真问题的快速求解,为高效、可靠的有源配电系统仿真程序开发奠定基础。
A stability simulation method for active power distribution systems based on implicit projection. Aiming at the stability simulation model of active power distribution systems with rigid characteristics, based on system simulation parameters and power flow calculation results, firstly use the internal integrator to perform several small steps Step-size integral calculation, the step size is h, and any explicit integration algorithm with second-order or higher precision can be used; then, according to the calculation result of the internal integrator, an external integrator based on the implicit prediction-correction method is used to perform a step-by-step calculation with a step size of Mh Integral calculation with large step size. The method of the invention can realize the simulation calculation of system faults, is a second-order precision algorithm, has good numerical stability, and its numerical stability domain hardly changes with the change of the step size multiple of the external integrator, and the algorithm performance is better than explicit projection integration The algorithm and the traditional implicit trapezoidal method are suitable for the rapid solution of the stability simulation problems of active power distribution systems with multi-time scale characteristics, and lay the foundation for the development of efficient and reliable active power distribution system simulation programs.
Description
技术领域technical field
本发明涉及一种有源配电系统稳定性仿真方法。特别是涉及一种适于含分布式电源及储能的有源配电系统稳定性仿真应用的基于隐式投影的有源配电系统稳定性仿真方法。The invention relates to a stability simulation method of an active power distribution system. In particular, it relates to an implicit projection-based active power distribution system stability simulation method suitable for the stability simulation application of the active power distribution system including distributed power supply and energy storage.
背景技术Background technique
分布式电源(DG)的大规模广泛接入以及需求侧响应技术实施后系统负荷特性的改变,无不对配电系统的规划与运行带来新的挑战。不含DG的配电网是“被动的”,接入用户所使用的电能由上一级输电网提供,当配电网接入DG产生双向潮流时,称该系统为“有源配电系统”。有源配电系统是具备组合控制各种分布式能源(DER,如DG、可控负荷、储能等)能力的复杂配电系统。在未来的有源配电系统中,DG的接入容量可以轻易超过(至少在特定时间段内)配电系统中的负荷总量,此时有源配电系统作为外部电源向外部输电网络输送电能。即使DG总容量不超过负荷总量,DG的大规模接入仍会导致配电网的动态响应特性发生变化进而影响整个电力系统的动态特性,特别是受大扰动时的动态特性。在系统层面,相关问题的分析与研究往往无法直接在实际系统上进行试验,因此必须采用有效的数字仿真工具作为重要的研究手段。The large-scale and extensive access of distributed generation (DG) and the change of system load characteristics after the implementation of demand-side response technology all bring new challenges to the planning and operation of power distribution systems. The distribution network without DG is "passive", and the power used by users is provided by the upper-level transmission network. When the distribution network is connected to DG to generate bidirectional power flow, the system is called "active distribution system". ". Active power distribution system is a complex power distribution system capable of combined control of various distributed energy resources (DER, such as DG, controllable load, energy storage, etc.). In the future active power distribution system, the access capacity of DG can easily exceed (at least in a certain period of time) the total load in the power distribution system. At this time, the active power distribution system is used as an external power source to transmit electrical energy. Even if the total capacity of DG does not exceed the total load, the large-scale access of DG will still lead to changes in the dynamic response characteristics of the distribution network and affect the dynamic characteristics of the entire power system, especially the dynamic characteristics of large disturbances. At the system level, the analysis and research of relevant issues often cannot be tested directly on the actual system, so effective digital simulation tools must be used as an important research method.
传统电力系统时域仿真针对系统动态过程的不同时间尺度分别发展出电磁暂态仿真、机电暂态仿真和中长期动态仿真三种电力系统数字仿真方法,三者从元件数学模型到仿真计算方法都具有明显不同的特征。电力系统电磁暂态仿真侧重于系统中电场与磁场相互影响产生的电压电流的快动态变化过程;机电暂态仿真主要研究电力系统在大扰动下(如故障、切机、切负荷、重合闸操作等情况)的动态行为和保持同步稳定运行的能力,即暂态稳定性,所关注的时间范围通常为几秒至几十秒,因而也称为稳定性仿真;中长期动态过程仿真是电力系统受到扰动后较长过程的动态仿真,即通常的电力系统长过程动态稳定计算。Traditional power system time domain simulation has developed three power system digital simulation methods for different time scales of the system dynamic process: electromagnetic transient simulation, electromechanical transient simulation and medium and long-term dynamic simulation. have distinct characteristics. The electromagnetic transient simulation of the power system focuses on the fast dynamic change process of the voltage and current generated by the interaction between the electric field and the magnetic field in the system; etc.) dynamic behavior and the ability to maintain synchronous and stable operation, that is, transient stability, the time range of concern is usually from a few seconds to tens of seconds, so it is also called stability simulation; mid- and long-term dynamic process simulation is a power system The dynamic simulation of a long process after being disturbed, that is, the usual long process dynamic stability calculation of the power system.
电力系统稳定性仿真除关注传统电力系统的暂态稳定运行能力外,近年来还着重于分析含各种分布式电源及储能装置的有源配电系统运行时其工频电气量在系统扰动下(开关操作、故障、分布式电源及负荷波动等)的动态响应特性,此时可称为有源配电系统稳定性仿真。有源配电系统稳定性仿真本质上可归结为对动力学系统时域响应的求取,分为数学建模和模型求解两部分。首先根据元件间的拓扑关系将有源配电系统各元件的特性方程构成全系统的稳定性仿真模型,形成一组联立的微分-代数方程组,然后以稳态工况或潮流解为初值,求解扰动下的数值解,即逐步求得系统状态量和代数量随时间的变化曲线。In addition to focusing on the transient stability of traditional power systems, power system stability simulation has also focused on the analysis of power frequency electrical quantities in the system when active power distribution systems with various distributed power sources and energy storage devices are in operation. The dynamic response characteristics under (switching operation, fault, distributed power supply and load fluctuation, etc.) can be called active distribution system stability simulation at this time. The stability simulation of active power distribution system can essentially be attributed to the calculation of the time domain response of the dynamic system, which is divided into two parts: mathematical modeling and model solving. First, according to the topological relationship between the components, the characteristic equations of the components of the active power distribution system are constructed to form a stability simulation model of the whole system, forming a set of simultaneous differential-algebraic equations, and then the steady-state working condition or the power flow solution is used as the initial Value, to solve the numerical solution under the disturbance, that is, to gradually obtain the change curve of the system state quantity and algebraic quantity with time.
有源配电系统稳定性仿真建模是根据系统仿真关注的时间尺度范围,由物理原型抽象出数学模型的过程。有源配电系统稳定性仿真中的数学模型包括两部分:描述设备动态特征的微分方程和描述设备之间电气联系的代数方程。其中,设备之间的电气连接关系在运行过程中可能改变,如负荷的投切、机组的启停、线路开断和重合闸等操作,若计及继电保护装置,还应包含大量连续和(或)离散的逻辑时变参数。Active distribution system stability simulation modeling is the process of abstracting the mathematical model from the physical prototype according to the time scale range concerned by the system simulation. The mathematical model in the stability simulation of active power distribution system consists of two parts: the differential equation describing the dynamic characteristics of the equipment and the algebraic equation describing the electrical connection between the equipment. Among them, the electrical connection relationship between equipment may change during operation, such as load switching, unit start and stop, line opening and reclosing, etc. If the relay protection device is taken into account, it should also include a large number of continuous and (or) discrete logical time-varying parameters.
一般可将有源配电系统数学模型通过一个高维非线性且连续自治的微分-代数方程组来描述,如式(1)所示。Generally, the mathematical model of active power distribution system can be described by a high-dimensional nonlinear and continuous autonomous differential-algebraic equations, as shown in formula (1).
式中,为微分方程,为代数方程,为系统状态变量,代表电机转子转速、电力电子器件控制系统和负荷动态参数等,为代数变量,表征母线电压幅值与相角。数学模型的求解一般通过特定的数值算法和相应的仿真程序来实现。有源配电系统接入了种类繁多的分布式电源和大量的电力电子装置,包括旋转电机和各种静态直流型分布式电源,具有明显的多时间尺度特征,在数学上可以归结为刚性问题。因此,有源配电系统稳定性仿真在数学上可以归结为求解一个刚性微分-代数方程组的初值问题,其对所采用的数值算法的精度和稳定性要求更高。In the formula, is the differential equation, is an algebraic equation, is the system state variable, representing the motor rotor speed, power electronic device control system and load dynamic parameters, etc. is an algebraic variable, representing the bus voltage amplitude and phase angle. The solution of the mathematical model is generally realized through specific numerical algorithms and corresponding simulation programs. The active power distribution system is connected to a wide variety of distributed power sources and a large number of power electronic devices, including rotating motors and various static DC distributed power sources, which have obvious multi-time scale characteristics and can be attributed to rigid problems in mathematics . Therefore, the stability simulation of active power distribution system can be attributed to solving the initial value problem of a rigid differential-algebraic equation system mathematically, which requires higher accuracy and stability of the numerical algorithm used.
有源配电系统稳定性仿真算法按照对式(1)中微分方程和代数方程解算形式的不同可以分为交替求解法和联立求解法两大类。交替求解法首先采用特定的数值积分算法,根据初始化计算结果求解微分方程,得到本时步状态变量的值,然后将其代入到代数方程中求解,得到该时步代数变量的值,最后再将代数变量代入微分方程进行下一时步状态变量求解,以此类推实现微分-代数方程组的交替求解;联立求解法则是将微分方程差分化之后,和代数方程联立成一个完整的代数方程组,同时求解状态变量和代数变量。Active distribution system stability simulation algorithms can be divided into two categories: alternate solution method and simultaneous solution method according to the different solution forms of differential equation and algebraic equation in formula (1). Alternate solution method first adopts a specific numerical integration algorithm, solves the differential equation according to the initial calculation results, obtains the value of the state variable at this time step, and then substitutes it into the algebraic equation to obtain the value of the algebraic variable at this time step, and finally The algebraic variable is substituted into the differential equation to solve the state variable of the next time step, and so on to realize the alternate solution of the differential-algebraic equation system; the simultaneous solution method is to combine the differential equation with the algebraic equation to form a complete algebraic equation system. Simultaneously solve for state variables and algebraic variables.
对于式(1)中的微分方程,除少数情况下可得到解析解以外,大多数情况只能采用数值解法进行求解,其中,差分法在有源配电系统稳定性仿真中应用广泛,差分法又可分为单步法(one step method)和线性多步法(linear multistep method)。根据求解过程的不同,单步法可分为显式积分方法和隐式积分方法,显式积分方法可根据当前时刻状态变量直接计算下一时刻状态变量,隐式积分方法则需要对含有当前时刻和下一时刻状态变量的方程进行求解才能求得下一时刻状态变量。常见的显式积分方法包括欧拉法、改进欧拉法和龙格-库塔法,而隐式积分方法主要有后向欧拉法和隐式梯形法。有源配电系统具有明显的刚性特征,对于显式积分方法,在每一时步内的运算量较小,但由于其数值稳定性较差,因此求解刚性问题只能采取较小的积分步长,这在稳定性计算中会严重限制仿真速度;而对于隐式积分方法,虽然在每一时步内需要迭代求解方程组,相比显式积分算法其计算与编程工作较为复杂,但其数值稳定性更好,在刚性问题的求解过程中,可以保证数值稳定性的同时,通过采取较大的积分步长提升仿真速度。For the differential equation in formula (1), except for a few cases where analytical solutions can be obtained, in most cases only numerical solutions can be used to solve it. Among them, the differential method is widely used in the stability simulation of active power distribution systems. Can be divided into single-step method (one step method) and linear multi-step method (linear multistep method). According to different solving processes, the single-step method can be divided into explicit integration method and implicit integration method. The explicit integration method can directly calculate the state variable at the next moment according to the state variable at the current moment, while the implicit integration method needs to Only by solving the equation of the state variable at the next moment can the state variable at the next moment be obtained. Common explicit integration methods include Euler method, improved Euler method and Runge-Kutta method, while implicit integration methods mainly include backward Euler method and implicit trapezoidal method. The active power distribution system has obvious rigid characteristics. For the explicit integration method, the calculation amount in each time step is small, but because of its poor numerical stability, only a small integration step can be used to solve the rigid problem. , which will seriously limit the simulation speed in the stability calculation; and for the implicit integration method, although it needs to iteratively solve the equation system in each time step, the calculation and programming work is more complicated than the explicit integration algorithm, but its numerical stability In the process of solving rigid problems, the numerical stability can be guaranteed, and the simulation speed can be improved by adopting a larger integration step size.
显式投影算法是针对后面的式(2)所示的具有刚性特征的常微分方程(ODE)的初值问题而提出的数值积分求解算法,其基本思想为:首先进行若干步的小步长积分计算,计算步长与系统快动态过程的时间常数对应;而后根据小步长的计算结果,采用后面的式(3)或基于改进欧拉法的显式预测-校正过程进行一个投影步的积分计算,投影步长与系统慢动态过程的时间常数对应。其中,小步长积分计算过程称为内部积分器,采用数值稳定性较好且精度较高的显式四阶龙格-库塔法(explicit four-order Runge-Kutta method)以提高算法的稳定性和数值精度;大步长的投影积分过程称为外部积分器。显式投影积分算法可以在实现传统显式积分算法数值稳定性提升的同时,进一步提升仿真计算速度。尽管如此,对于具有明显多时间尺度特征的智能配电系统,其数值稳定性仍受到较大地限制,其计算速度进一步提升的困难很大。The explicit projection algorithm is a numerical integral solution algorithm proposed for the initial value problem of the ordinary differential equation (ODE) with rigid characteristics shown in the following formula (2). Integral calculation, the calculation step size corresponds to the time constant of the fast dynamic process of the system; then, according to the calculation result of the small step size, use the following formula (3) or the explicit prediction-correction process based on the improved Euler method to perform a projection step For integral calculation, the projection step corresponds to the time constant of the slow dynamic process of the system. Among them, the small-step integral calculation process is called an internal integrator, and an explicit four-order Runge-Kutta method with better numerical stability and higher precision is used to improve the stability of the algorithm and numerical accuracy; the projective integration process with large steps is called an external integrator. The explicit projection integration algorithm can further improve the simulation calculation speed while realizing the improvement of the numerical stability of the traditional explicit integration algorithm. Nevertheless, for the intelligent power distribution system with obvious multi-time scale characteristics, its numerical stability is still greatly limited, and it is very difficult to further improve its calculation speed.
x(tn+k+1+M)=(M+1)x(tn+k+1)-Mx(tn+k) (3)x(t n+k+1+M )=(M+1)x(t n+k+1 )-Mx(t n+k ) (3)
可见,提出一种数值精度高、数值稳定性好、计算效率高、适于具有刚性特征的有源配电系统的稳定性仿真方法十分重要。It can be seen that it is very important to propose a stability simulation method with high numerical accuracy, good numerical stability, high computational efficiency, and suitable for active distribution systems with rigid characteristics.
发明内容Contents of the invention
本发明所要解决的技术问题是,提供一种数值精度高、数值稳定性好、计算效率高且适于具有刚性特征的基于隐式投影的有源配电系统稳定性仿真方法。The technical problem to be solved by the present invention is to provide a stability simulation method for an active power distribution system based on implicit projection that has high numerical accuracy, good numerical stability, high computational efficiency and is suitable for rigid characteristics.
本发明所采用的技术方案是:一种基于隐式投影的有源配电系统稳定性仿真方法,包括如下步骤:The technical solution adopted in the present invention is: a method for simulation of the stability of an active power distribution system based on implicit projection, comprising the following steps:
1)根据系统的拓扑连接关系和元件的动态方程,建立有源配电系统暂态稳定性仿真模型,形如
2)对有源配电系统进行潮流计算,得到系统潮流数据;2) Perform power flow calculation on the active power distribution system to obtain system power flow data;
3)读取系统参数和仿真计算参数,包括仿真终止时间T,仿真步长h,隐式投影算法内部积分器的积分步数k以及隐式投影算法外部积分器积分步长相对于隐式投影算法内部积分器积分步长的倍数M,k和M均为正整数,设置仿真故障及操作事件信息,包括故障发生及清除时间、故障位置和故障类型;3) Read system parameters and simulation calculation parameters, including simulation termination time T, simulation step size h, integration step number k of the internal integrator of the implicit projection algorithm, and the integration step size of the external integrator of the implicit projection algorithm relative to the implicit projection algorithm The multiple M of the integral step size of the internal integrator, k and M are all positive integers, and the simulated fault and operation event information is set, including fault occurrence and clearing time, fault location and fault type;
4)根据系统潮流计算结果,对全系统的动态元件进行仿真初始化计算;4) According to the calculation results of the system power flow, the simulation initialization calculation of the dynamic components of the whole system is carried out;
5)设置仿真时间t=0;5) Set simulation time t=0;
6)设置当前隐式投影算法内部积分器的积分步数s=1,s为正整数;6) The number of integration steps s=1 of the internal integrator of the current implicit projection algorithm is set, and s is a positive integer;
7)设置仿真时间t=t+h,h为隐式投影算法内部积分器积分步长,采用隐式投影算法内部积分器对有源配电系统模型计算一个步长,得到系统该时刻的状态变量xn+s和代数变量yn+s,并设置s=s+1;7) Set the simulation time t=t+h, h is the integral step size of the internal integrator of the implicit projection algorithm, and use the internal integrator of the implicit projection algorithm to calculate a step size for the model of the active power distribution system to obtain the state of the system at this moment Variable x n+s and algebraic variable y n+s , and set s=s+1;
8)根据步骤3)设置的仿真故障及操作事件信息判断系统此时是否发生故障或操作,若故障及操作事件的发生时间Tevent=t,则返回步骤6),否则进行下一步骤;8) according to step 3) simulated failure and operation event information that is set, judge whether system breaks down or operate at this moment, if the occurrence time T event =t of failure and operation event, then return to step 6), otherwise proceed to the next step;
9)判断仿真时间t是否达到仿真终止时间T,若t=T,则仿真结束,否则进行下一步骤;9) Judging whether the simulation time t reaches the simulation termination time T, if t=T, then the simulation ends, otherwise proceed to the next step;
10)判断隐式投影算法内部积分器的积分步数s是否大于步骤3)中用户输入的隐式投影算法内部积分器的积分步数k+1,若s≤k+1,则返回步骤7),否则进行下一步骤;10) Determine whether the number of integration steps s of the internal integrator of the implicit projection algorithm is greater than the number of integration steps k+1 of the internal integrator of the implicit projection algorithm input by the user in step 3), if s≤k+1, return to step 7 ), otherwise proceed to the next step;
11)根据步骤3)设置的仿真故障及操作事件信息判断t~t+Mh时间内是否发生故障或操作,若t<Tevent<t+Mh,则进入步骤13),否则进行下一步骤;11) According to the simulated failure and operation event information set in step 3), it is judged whether a failure or operation occurs within t~t+Mh, if t<T event <t+Mh, then enter step 13), otherwise proceed to the next step;
12)设置隐式投影算法外部积分器积分步长H=Mh,设置仿真时间t=t+Mh,利用隐式投影算法外部积分器得到系统该时刻的状态变量xn+k+1+H和代数变量yn+k+1+H,然后直接进入步骤14);12) Set the integral step size of the external integrator of the implicit projection algorithm H=Mh, set the simulation time t=t+Mh, and use the external integrator of the implicit projection algorithm to obtain the state variables x n+k+1+H and Algebraic variable y n+k+1+H , then directly enter step 14);
13)设置隐式投影算法外部积分器积分步长H=Tevent-t,设置仿真时间t=Tevent,利用隐式投影算法外部积分器得到故障或操作发生前系统的状态变量xn+k+1+H和代数变量yn+k+1+H;13) Set the integral step size of the external integrator of the implicit projection algorithm H=T event -t, set the simulation time t=T event , and use the external integrator of the implicit projection algorithm to obtain the state variable x n+k of the system before the fault or operation occurs +1+H and the algebraic variable y n+k+1+H ;
14)判断仿真时间t是否达到仿真终止时间T,若t=T,则仿真结束,否则返回步骤6),依据步骤6)至14)反复进行直至仿真结束。14) Determine whether the simulation time t reaches the simulation termination time T, if t=T, then the simulation ends, otherwise return to step 6), and repeat steps 6) to 14) until the simulation ends.
步骤3)所述的隐式投影算法内部积分器,是采用显式交替求解方法对有源配电系统模型进行求解,对有源配电系统模型中的微分方程求解选取具有二阶以上精度的任意显式数值积分方法。The internal integrator of the implicit projection algorithm described in step 3) uses an explicit alternate solution method to solve the active power distribution system model, and selects a method with second-order or higher precision for solving the differential equation in the active power distribution system model. Arbitrary explicit numerical integration method.
步骤3)所述的隐式投影算法外部积分器,在一个隐式投影算法外部积分器积分步长H内对描述有源配电系统的微分-代数方程的具体求解步骤如下:Step 3) the described implicit projection algorithm external integrator, within an implicit projection algorithm external integrator integration step size H, the specific steps for solving the differential-algebraic equation describing the active power distribution system are as follows:
(1)设当前仿真时间为tn+k+1,其中,n为当前时刻的仿真总步数,当前时刻系统状态变量为xn+k+1,代数变量为yn+k+1,经过步长H,系统仿真时间为tn+k+1+H,此时系统的状态变量和代数变量分别为xn+k+1+H和yn+k+1+H,对描述有源配电系统模型的微分-代数方程隐式差分化,得到下式:(1) Let the current simulation time be t n+k+1 , where n is the total number of simulation steps at the current moment, the system state variable at the current moment is x n+k+1 , and the algebraic variable is y n+k+1 , After the step size H, the simulation time of the system is t n+k+1+H , and the state variables and algebraic variables of the system are x n+k+1+H and y n+k+1+H respectively, and the description has The differential-algebraic equation of the source distribution system model is implicitly differentiated, and the following formula is obtained:
(2)利用前向欧拉法得到xn+k+1+H的初始估计值的预测值如下式所示(2) Use the forward Euler method to obtain the predicted value of the initial estimated value of x n+k+1+H as shown below
而后代入方程得到yn+k+1+H的初值估计值的预测值 Then substitute into the equation Get the predicted value of the initial estimate of y n+k+1+H
(3)利用下式对预测值进行校正,得到xn+k+1+H的初始估计值 (3) Use the following formula to correct the predicted value to obtain the initial estimated value of x n+k+1+H
然后代入到代数方程中得到yn+k+1+H的初始估计值 Then substitute into the algebraic equation Get the initial estimate of y n+k+1+H in
(4)通过下式得到xn+k+1+H的修正值 (4) Obtain the correction value of x n+k+1+H by the following formula
然后将的值代入代数方程中,求解得到yn+k+1+H的修正值 Then Substitute the value of into the algebraic equation In the solution, the corrected value of y n+k+1+H is obtained
(5)分别将和代入下式判断是否满足收敛条件,(5) respectively and Substitute into the following formula to judge whether the convergence condition is satisfied,
式中,ξ为由用户设定的误差允许值,若满足收敛条件,则隐式投影算法外部积分器计算步骤结束;否则,分别将和代替和返回步骤(4),重复步骤(4)和(5)直至满足收敛条件。In the formula, ξ is the allowable error value set by the user. If the convergence condition is satisfied, the calculation step of the external integrator of the implicit projection algorithm ends; otherwise, the and replace and Return to step (4), repeat steps (4) and (5) until the convergence condition is satisfied.
本发明的一种基于隐式投影的有源配电系统稳定性仿真方法,充分考虑了有源配电系统的刚性特征,采用交替求解方法对描述有源配电系统仿真模型的微分-代数方程组进行交替求解,对其中的微分方程则通过隐式投影算法进行差分求解。本发明的方法为2阶精度算法,算法性能优于传统隐式梯形法。同时,该方法具有良好的数值稳定性,其数值稳定域几乎不随外部积分器步长倍数的改变而变化,在数值稳定性和计算速度方面较显式投影积分算法具有明显的优势,适于具有明显多时间尺度特征的有源配电系统稳定性仿真问题的快速求解,为高效、可靠的有源配电系统仿真程序的开发奠定了良好的基础。An implicit projection-based active power distribution system stability simulation method of the present invention fully considers the rigid characteristics of the active power distribution system, and adopts an alternate solution method to describe the differential-algebraic equation of the active power distribution system simulation model Alternately solve the group, and use the implicit projection algorithm to solve the differential equations. The method of the invention is a second-order precision algorithm, and the performance of the algorithm is better than that of the traditional implicit trapezoidal method. At the same time, this method has good numerical stability, and its numerical stability domain hardly changes with the change of the step size multiple of the external integrator. It has obvious advantages over the explicit projection integration algorithm in terms of numerical stability and calculation speed, and is suitable for The rapid solution of the stability simulation problem of active distribution system with obvious multi-time scale characteristics has laid a good foundation for the development of efficient and reliable simulation program of active distribution system.
附图说明Description of drawings
图1是本发明方法的整体流程图;Fig. 1 is the overall flowchart of the inventive method;
图2是本发明方法与显式投影算法以及传统显式4阶龙格-库塔法的数值稳定域;Fig. 2 is the numerical stability domain of method of the present invention and explicit projection algorithm and traditional explicit 4th order Runge-Kutta method;
图3是图2中A的局部放大示意图;Fig. 3 is a partially enlarged schematic diagram of A in Fig. 2;
图4是低压有源配电系统算例结构图;Figure 4 is a structural diagram of a low-voltage active power distribution system example;
图中1:第一蓄电池;2:第一光伏电池;3:第二光伏电池;4:第二蓄电池;M1:中压母线;S1:开关;L1~L19:低压母线;Load1~Load7:负荷;In the figure 1: the first storage battery; 2: the first photovoltaic cell; 3: the second photovoltaic cell; 4: the second storage battery; M1: medium voltage bus; S1: switch; L1~L19: low voltage bus; Load1~Load7: load ;
图5是L17母线电压仿真结果及局部放大图;Figure 5 is the L17 bus voltage simulation results and a partial enlarged view;
图6是第二光伏电池有功功率输出仿真结果及局部放大图;Fig. 6 is the second photovoltaic cell active power output simulation result and a partial enlarged view;
图7是IEEE123节点有源配电系统算例结构图;Fig. 7 is a structure diagram of IEEE123 node active power distribution system calculation example;
图8是56节点处的光伏电池有功功率输出仿真结果及局部放大图;Fig. 8 is the simulation result of the active power output of the photovoltaic cell at node 56 and a partial enlarged view;
图9是56节点处的光伏电池并网电压输出仿真结果及局部放大图;Fig. 9 is the simulation result of grid-connected voltage output of photovoltaic cells at node 56 and a partial enlarged view;
图10是隐式投影算法与步长取0.5ms的隐式梯形法数值精度比较(对数坐标系);Figure 10 is a comparison of the numerical accuracy of the implicit projection algorithm and the implicit trapezoidal method with a step size of 0.5ms (logarithmic coordinate system);
图11是隐式投影算法与步长取0.02s的隐式梯形法数值精度比较(对数坐标系);Figure 11 is a comparison of the numerical accuracy of the implicit projection algorithm and the implicit trapezoidal method with a step size of 0.02s (logarithmic coordinate system);
图12是隐式投影算法与步长取0.0025s的隐式梯形法数值精度比较(对数坐标系)。Figure 12 is a comparison of the numerical accuracy of the implicit projection algorithm and the implicit trapezoidal method with a step size of 0.0025s (logarithmic coordinate system).
具体实施方式Detailed ways
下面结合实施例和附图对本发明的一种基于隐式投影的有源配电系统稳定性仿真方法做出详细说明。A method for simulating the stability of an active power distribution system based on implicit projection according to the present invention will be described in detail below in conjunction with the embodiments and drawings.
本发明的一种基于隐式投影的有源配电系统稳定性仿真方法,属于显式、隐式混合积分方法。有源配电系统接入了种类繁多、动态响应特性差异较大的分布式电源以及大量的电力电子装置,其中既包含旋转的交流电机,也含有光伏电池、蓄电池等静止的直流型电源,这使得有源配电系统具有较明显的多时间尺度特征,因此其数字仿真问题显现出较强的刚性特性,需要采用具有良好数值精度和数值稳定性的数值积分算法实现其仿真计算。本发明提出的一种基于隐式投影的有源配电系统稳定性仿真方法,充分考虑了有源配电系统的刚性特征,采用交替求解方法对描述有源配电系统模型的微分-代数方程组进行交替求解,对其中的微分方程则通过隐式投影算法进行差分求解。本发明的方法为2阶精度算法,算法性能优于传统隐式梯形法。同时,该方法具有良好的数值稳定性,其数值稳定域几乎不随外部积分器步长倍数的改变而变化,在数值稳定性和计算速度方面较显式投影积分算法具有明显的优势,适于具有明显多时间尺度特征的有源配电系统稳定性仿真问题的快速求解,为高效、可靠的有源配电系统仿真程序的开发奠定了良好的基础。The invention relates to an implicit projection-based active power distribution system stability simulation method, belonging to an explicit and implicit mixed integral method. The active power distribution system is connected to a wide variety of distributed power sources with large differences in dynamic response characteristics and a large number of power electronic devices, which include both rotating AC motors and static DC power sources such as photovoltaic cells and batteries. The active power distribution system has obvious multi-time scale characteristics, so its digital simulation problem shows strong rigidity, and it is necessary to use a numerical integration algorithm with good numerical accuracy and numerical stability to realize its simulation calculation. An implicit projection-based active power distribution system stability simulation method proposed by the present invention fully considers the rigid characteristics of the active power distribution system, and uses an alternate solution method to describe the differential-algebraic equations of the active power distribution system model The group is solved alternately, and the differential equations are solved by the implicit projection algorithm. The method of the invention is a second-order precision algorithm, and the performance of the algorithm is better than that of the traditional implicit trapezoidal method. At the same time, this method has good numerical stability, and its numerical stability domain hardly changes with the change of the step size multiple of the external integrator. It has obvious advantages over the explicit projection integration algorithm in terms of numerical stability and calculation speed, and is suitable for The rapid solution of the stability simulation problem of active distribution system with obvious multi-time scale characteristics has laid a good foundation for the development of efficient and reliable simulation program of active distribution system.
本发明采用交替求解算法实现对基于微分-代数方程描述的有源配电系统数学模型的计算,对其中的微分方程则采用隐式投影算法进行求解,其基本思想为:首先进行若干小步长积分计算,其仿真步长与系统的快动态过程对应;而后根据小步长积分计算的结果,利用隐式预测-校正方法进行一步大步长的投影积分步,步长与系统的慢动态过程对应。其中,小步长积分计算过程称为内部积分器,可采用任意具有二阶以上精度的显式数值积分算法;大步长积分计算过程称为外部积分器。The present invention uses an alternate solution algorithm to realize the calculation of the mathematical model of the active distribution system based on the differential-algebraic equation description, and uses the implicit projection algorithm to solve the differential equation. Integral calculation, the simulation step size corresponds to the fast dynamic process of the system; then, according to the result of the small step integral calculation, the implicit prediction-correction method is used to carry out a projection integration step with a large step size, and the step size corresponds to the slow dynamic process of the system correspond. Among them, the small-step integral calculation process is called an internal integrator, and any explicit numerical integration algorithm with second-order or higher precision can be used; the large-step integral calculation process is called an external integrator.
如图1所示,本发明的一种基于隐式投影的有源配电系统稳定性仿真方法,其特征在于,包括如下步骤:As shown in Figure 1, a kind of implicit projection based active power distribution system stability simulation method of the present invention is characterized in that, comprises the following steps:
1)根据系统的拓扑连接关系和元件的动态方程,建立有源配电系统暂态稳定性仿真模型,形如
2)对有源配电系统进行潮流计算,所述的潮流计算是采用高斯法或牛顿拉夫逊法进行计算。经潮流计算得到系统潮流数据,包括节点电压、电流,负荷有功功率和无功功率,电源有功功率输出和无功功率输出及注入电流等;2) Perform power flow calculation on the active power distribution system, and the power flow calculation is calculated by using Gauss method or Newton-Raphson method. The system power flow data is obtained through power flow calculation, including node voltage, current, load active power and reactive power, power supply active power output, reactive power output and injection current, etc.;
3)读取系统参数和仿真计算参数,包括仿真终止时间T,仿真步长h,隐式投影算法内部积分器的积分步数k以及隐式投影算法外部积分器积分步长相对于隐式投影算法内部积分器积分步长的倍数M,k和M均为正整数,设置仿真故障及操作事件信息,包括故障发生及清除时间、故障位置和故障类型;3) Read system parameters and simulation calculation parameters, including simulation termination time T, simulation step size h, integration step number k of the internal integrator of the implicit projection algorithm, and the integration step size of the external integrator of the implicit projection algorithm relative to the implicit projection algorithm The multiple M of the integral step size of the internal integrator, k and M are all positive integers, and the simulated fault and operation event information is set, including fault occurrence and clearing time, fault location and fault type;
所述的隐式投影算法内部积分器,是采用显式交替求解方法对有源配电系统模型进行求解,对有源配电系统模型中的微分方程求解选取具有二阶以上精度的任意显式数值积分方法。The internal integrator of the implicit projection algorithm is to use the explicit alternate solution method to solve the active power distribution system model, and to solve the differential equation in the active power distribution system model, select any explicit Numerical integration method.
所述的隐式投影算法外部积分器,在一个隐式投影算法外部积分器积分步长H内对描述有源配电系统的微分-代数方程的具体求解步骤如下:The specific steps for solving the differential-algebraic equation describing the active power distribution system within an implicit projection algorithm external integrator integration step size H are as follows:
(1)设当前仿真时间为tn+k+1,其中,n为当前时刻的仿真总步数,当前时刻系统状态变量为xn+k+1,代数变量为yn+k+1,经过步长H,系统仿真时间为tn+k+1+H,此时系统的状态变量和代数变量分别为xn+k+1+H和yn+k+1+H,对描述有源配电系统模型的微分-代数方程隐式差分化,得到下式:(1) Let the current simulation time be t n+k+1 , where n is the total number of simulation steps at the current moment, the system state variable at the current moment is x n+k+1 , and the algebraic variable is y n+k+1 , After the step size H, the simulation time of the system is t n+k+1+H , and the state variables and algebraic variables of the system are x n+k+1+H and y n+k+1+H respectively, and the description has The differential-algebraic equation of the source distribution system model is implicitly differentiated, and the following formula is obtained:
(2)利用前向欧拉法得到xn+k+1+H的初始估计值的预测值如下式所示(2) Use the forward Euler method to obtain the predicted value of the initial estimated value of x n+k+1+H as shown below
而后代入方程得到yn+k+1+H的初值估计值的预测值 Then substitute into the equation Get the predicted value of the initial estimate of y n+k+1+H
(3)利用下式对预测值进行校正,得到xn+k+1+H的初始估计值 (3) Use the following formula to correct the predicted value to obtain the initial estimated value of x n+k+1+H
然后代入到代数方程中得到yn+k+1+H的初始估计值 Then substitute into the algebraic equation Get the initial estimate of y n+k+1+H in
(4)通过下式得到xn+k+1+H的修正值 (4) Obtain the correction value of x n+k+1+H by the following formula
然后将的值代入代数方程中,求解得到yn+k+1+H的修正值 Then Substitute the value of into the algebraic equation In the solution, the corrected value of y n+k+1+H is obtained
(5)分别将和代入下式判断是否满足收敛条件(5) respectively and Substitute into the following formula to judge whether the convergence condition is satisfied
式中,ξ为由用户设定的误差允许值,若满足收敛条件,则隐式投影算法外部积分器计算步骤结束;否则,分别将和代替和返回步骤(4),重复步骤(4)和(5)直至满足收敛条件。In the formula, ξ is the allowable error value set by the user. If the convergence condition is satisfied, the calculation step of the external integrator of the implicit projection algorithm ends; otherwise, the and replace and Return to step (4), repeat steps (4) and (5) until the convergence condition is satisfied.
4)根据系统潮流计算结果,对全系统的动态元件进行仿真初始化计算;4) According to the calculation results of the system power flow, the simulation initialization calculation of the dynamic components of the whole system is carried out;
5)设置仿真时间t=0;5) Set simulation time t=0;
6)设置当前隐式投影算法内部积分器的积分步数s=1,s为正整数;6) The number of integration steps s=1 of the internal integrator of the current implicit projection algorithm is set, and s is a positive integer;
7)设置仿真时间t=t+h,h为隐式投影算法内部积分器积分步长,采用隐式投影算法内部积分器对有源配电系统模型计算一个步长,得到系统该时刻的状态变量xn+s和代数变量yn+s,并设置s=s+1;7) Set the simulation time t=t+h, h is the integral step size of the internal integrator of the implicit projection algorithm, and use the internal integrator of the implicit projection algorithm to calculate a step size for the model of the active power distribution system to obtain the state of the system at this moment Variable x n+s and algebraic variable y n+s , and set s=s+1;
8)根据步骤3)设置的仿真故障及操作事件信息判断系统此时是否发生故障或操作,若故障及操作事件的发生时间Tevent=t,则返回步骤6),否则进行下一步骤;8) according to step 3) simulated failure and operation event information that is set, judge whether system breaks down or operate at this moment, if the occurrence time T event =t of failure and operation event, then return to step 6), otherwise proceed to the next step;
9)判断仿真时间t是否达到仿真终止时间T,若t=T,则仿真结束,否则进行下一步骤;9) Judging whether the simulation time t reaches the simulation termination time T, if t=T, then the simulation ends, otherwise proceed to the next step;
10)判断隐式投影算法内部积分器的积分步数s是否大于步骤3)中用户输入的隐式投影算法内部积分器的积分步数k+1,若s≤k+1,则返回步骤7),否则进行下一步骤;10) Determine whether the number of integration steps s of the internal integrator of the implicit projection algorithm is greater than the number of integration steps k+1 of the internal integrator of the implicit projection algorithm input by the user in step 3), if s≤k+1, return to step 7 ), otherwise proceed to the next step;
11)根据步骤3)设置的仿真故障及操作事件信息判断t~t+Mh时间内是否发生故障或操作,若t<Tevent<t+Mh,则进入步骤13),否则进行下一步骤;11) According to the simulated failure and operation event information set in step 3), it is judged whether a failure or operation occurs within t~t+Mh, if t<T event <t+Mh, then enter step 13), otherwise proceed to the next step;
12)设置隐式投影算法外部积分器积分步长H=Mh,设置仿真时间t=t+Mh,利用隐式投影算法外部积分器得到系统该时刻的状态变量xn+k+1+H和代数变量yn+k+1+H,然后直接进入步骤14);12) Set the integral step size of the external integrator of the implicit projection algorithm H=Mh, set the simulation time t=t+Mh, and use the external integrator of the implicit projection algorithm to obtain the state variables x n+k+1+H and Algebraic variable y n+k+1+H , then directly enter step 14);
13)设置隐式投影算法外部积分器积分步长H=Tevent-t,设置仿真时间t=Tevent,利用隐式投影算法外部积分器得到故障或操作发生前系统的状态变量xn+k+1+H和代数变量yn+k+1+H;13) Set the integral step size of the external integrator of the implicit projection algorithm H=T event -t, set the simulation time t=T event , and use the external integrator of the implicit projection algorithm to obtain the state variable x n+k of the system before the fault or operation occurs +1+H and the algebraic variable y n+k+1+H ;
14)判断仿真时间t是否达到仿真终止时间T,若t=T,则仿真结束,否则返回步骤6),依据步骤6)至14)反复进行直至仿真结束。14) Determine whether the simulation time t reaches the simulation termination time T, if t=T, then the simulation ends, otherwise return to step 6), and repeat steps 6) to 14) until the simulation ends.
下面给出具体实例:Specific examples are given below:
对于线性积分算法,其对线性常系数微分方程的解与标量方程For the linear integration algorithm, the linear constant coefficient differential equation The solution of and the scalar equation
的解等效,其中,λ为矩阵A的特征根,因此又称上式为标量测试方程。对于给定的数值积分算法,其数值稳定域指在s域中,该算法求解标量测试方程时满足数值稳定条件The solutions are equivalent, where λ is the characteristic root of the matrix A, so the above formula is also called the scalar test equation. For a given numerical integration algorithm, its numerical stability domain refers to the s domain, and the algorithm satisfies the numerical stability condition when solving the scalar test equation
|σ(hλ)|≤1|σ(hλ)|≤1
的hλ的集合。The set of hλ.
本实例以隐式投影算法内部积分器取显式4阶龙格-库塔法(以下简称RK4算法)为例,根据数值稳定条件,分别得到不同参数下隐式投影算法、传统RK4算法以及显式投影算法在hλ平面中的数值稳定域,如附图2、图3所示,其中显式投影算法内部积分器采用RK4算法,外部积分器采用基于改进欧拉法的显式预测-校正方法。由图可知,随着外部积分器步长的倍数M的增大,显式投影算法的数值稳定域显著减小,且由一个大区域逐渐分裂为几个较小的区域。而隐式投影算法的数值稳定域与传统RK4算法的数值稳定域基本一致,并且几乎不随M的改变而变化,在M取10000的极端情形下,隐式投影算法的数值稳定域仍基本与传统RK4算法的数值稳定域重合。因此,本发明提出的隐式投影积分算法的数值稳定性优于显式投影积分算法。This example takes the explicit fourth-order Runge-Kutta method (hereinafter referred to as RK4 algorithm) as an example for the internal integrator of the implicit projection algorithm. According to the numerical stability conditions, the implicit projection algorithm, the traditional RK4 algorithm and the explicit The numerical stability domain of the formula projection algorithm in the hλ plane, as shown in Figure 2 and Figure 3, in which the internal integrator of the explicit projection algorithm adopts the RK4 algorithm, and the external integrator adopts the explicit prediction-correction method based on the improved Euler method . It can be seen from the figure that as the multiple M of the step size of the external integrator increases, the numerical stability domain of the explicit projection algorithm decreases significantly, and gradually splits from a large area into several smaller areas. However, the numerical stability domain of the implicit projection algorithm is basically the same as that of the traditional RK4 algorithm, and hardly changes with the change of M. The numerical stability domains of the RK4 algorithm coincide. Therefore, the numerical stability of the implicit projection integral algorithm proposed by the present invention is better than that of the explicit projection integral algorithm.
数字仿真和电网计算程序(DIgSILENT PowerFactory)是德国DIgSLENTGmbH公司开发的一款商业电力系统仿真软件。本实例在C++编程环境中实现了本发明提出的一种基于隐式投影的有源配电系统稳定性仿真方法,并通过将隐式投影积分方法与商业软件DIgSILENTPowerFactory的仿真结果与计算性能进行比较以验证该方法的正确性和有效性,执行仿真测试的硬件平台为Intel(R)Core(TM)i5-3470CPU3.20GHz,4GB RAM的PC机;软件环境为32位Windows7操作系统。本实例通过选取不同的算法参数对本发明的方法进行测试,算法参数在具体实现时可根据实际情况,在满足数值精度的条件下任意取值,本发明的实施对此不做限制。Digital simulation and grid calculation program (DIgSILENT PowerFactory) is a commercial power system simulation software developed by DIgSLENT GmbH in Germany. This example realizes a kind of implicit projection-based active power distribution system stability simulation method proposed by the present invention in the C++ programming environment, and compares the simulation results and calculation performance of the implicit projection integral method with commercial software DIgSILENTPowerFactory To verify the correctness and effectiveness of the method, the hardware platform for the simulation test is a PC with Intel(R) Core(TM) i5-3470 CPU 3.20GHz and 4GB RAM; the software environment is a 32-bit Windows 7 operating system. This example tests the method of the present invention by selecting different algorithm parameters. The algorithm parameters can be arbitrarily selected under the condition of satisfying the numerical accuracy according to the actual situation during specific implementation, and the implementation of the present invention is not limited to this.
首先,本实例采用一个含分布式电源的低压有源配电系统算例对本发明的方法进行测试验证,如附图4所示。低压有源配电系统算例电压等级为400V,主馈线通过0.4/10kV变压器接至中压母线M1处,变压器采用常用的DYn11联结方式,低压侧设有无功补偿电容,主馈线节点间距为50m,采用三相对称线路与负荷。另外,算例中接入了多种类型的分布式电源,包括:具备最大功率跟踪控制的光伏发电系统和蓄电池储能系统,各分布式电源控制方式、接入容量及有功功率输出如表1所示。First, this example uses a low-voltage active power distribution system example with distributed power sources to test and verify the method of the present invention, as shown in Figure 4. The voltage level of the low-voltage active power distribution system example is 400V. The main feeder is connected to the medium-voltage bus M1 through a 0.4/10kV transformer. 50m, using three-phase symmetrical lines and loads. In addition, various types of distributed power sources are connected in the calculation example, including: photovoltaic power generation system and battery energy storage system with maximum power tracking control. The control methods, access capacity and active power output of each distributed power source are shown in Table 1 shown.
表1分布式电源控制方式、接入容量及输出功率Table 1 Distributed power supply control mode, access capacity and output power
采用本发明的一种基于隐式投影的有源配电系统稳定性仿真方法对测试算例进行稳定性仿真计算,设置仿真时间为9s,仿真步长为0.5ms。2.0s时刻低压有源配电系统开关S1断开,系统由并网运行模式切换至孤岛运行模式;4.7s时刻S1开关闭合,系统由孤岛运行模式切换至并网运行模式。An implicit projection-based active power distribution system stability simulation method of the present invention is used to perform stability simulation calculations on test examples, and the simulation time is set to 9s, and the simulation step size is 0.5ms. At 2.0s, the switch S1 of the low-voltage active power distribution system is turned off, and the system switches from the grid-connected operation mode to the island operation mode; at 4.7s, the S1 switch is closed, and the system switches from the island operation mode to the grid-connected operation mode.
将本发明的一种基于隐式投影的有源配电系统稳定性仿真方法,其中算法参数取k=3,M=4,与DIgSILENT PowerFactory和传统隐式梯形法的定步长仿真结果进行比较,其中,隐式投影算法内部积分步长取0.5ms,外部积分步长H=Mh=0.002s,DIgSILENT的仿真步长和隐式投影算法内部积分步长相同,传统隐式梯形法的仿真步长与外部积分步长相同。L17母线电压及2号蓄电池有功功率输出的仿真结果及局部放大图如附图5和附图6所示。可以看出,隐式投影算法的仿真结果与DIgSILENT基本一致。另外,通过与传统隐式梯形法比较可知,受到内部积分器小步长积分计算的影响,本发明方法的数值精度优于步长取外部积分步长时的传统隐式梯形法。A kind of active power distribution system stability simulation method based on implicit projection of the present invention, wherein the algorithm parameters take k=3, M=4, compare with the fixed-step simulation results of DIgSILENT PowerFactory and traditional implicit trapezoidal method , where the internal integration step of the implicit projection algorithm is 0.5ms, the external integration step H=Mh=0.002s, the simulation step of DIgSILENT is the same as the internal integration step of the implicit projection algorithm, and the simulation step of the traditional implicit trapezoidal method The length is the same as the outer integration step size. The simulation results of the L17 bus voltage and the active power output of the No. 2 battery and the partial enlarged diagrams are shown in attached drawings 5 and 6. It can be seen that the simulation results of the implicit projection algorithm are basically consistent with DIgSILENT. In addition, by comparing with the traditional implicit trapezoidal method, it can be seen that the numerical accuracy of the method of the present invention is better than that of the traditional implicit trapezoidal method when the step size is taken as the external integral step size due to the influence of the integral calculation of the small step size of the internal integrator.
为验证本发明的隐式投影积分算法对于具有刚性特征的大规模有源配电系统的适应性,本实例以IEEE123节点配电网标准算例(如附图7所示)为基础,从数值精度和计算性能等方面对该算法进行综合测试。IEEE123节点算例描述了一个结构复杂的辐射状配电网络,共有123个节点,电压等级为4.16kV,其内部考虑了多种形式的负荷,并在节点150处与外部网络相连。本实例在附图7中虚线框内的节点处共接入50个容量为30kWp,有功功率输出为20.4kW的光伏发电系统。In order to verify the adaptability of the implicit projection integral algorithm of the present invention to large-scale active power distribution systems with rigid characteristics, this example is based on the IEEE123 node distribution network standard example (as shown in Figure 7), from the numerical value The algorithm is comprehensively tested in terms of accuracy and computing performance. The IEEE123 node calculation example describes a radial power distribution network with a complex structure, a total of 123 nodes, and a voltage level of 4.16kV. Various types of loads are considered internally, and the node 150 is connected to the external network. In this example, a total of 50 photovoltaic power generation systems with a capacity of 30kWp and an active power output of 20.4kW are connected to the nodes in the dotted line box in Figure 7.
采用本发明的一种基于隐式投影的有源配电系统稳定性仿真方法对IEEE123节点算例进行稳定性仿真计算,设置仿真时间为9s,仿真步长为0.5ms,算例所处环境初始光照强度设置为1000W/m2,1.5s,3.5s和6s时刻光照强度分别变为1025W/m2,1010W/m2和1000W/m2。Using the implicit projection-based active power distribution system stability simulation method of the present invention to perform stability simulation calculations on the IEEE123 node example, the simulation time is set to 9s, the simulation step is 0.5ms, and the environment of the example is initially The light intensity is set to 1000W/m 2 , and the light intensity changes to 1025W/m 2 , 1010W/m 2 and 1000W/m 2 at 1.5s, 3.5s and 6s, respectively.
本实例取隐式投影算法参数分别为k=3,M=4,内部积分步长为0.5ms,外部积分步长H=Mh=0.002s。将隐式投影算法与步长取内部积分步长的DIgSILENT和步长取外部积分步长的传统隐式梯形法的定步长仿真结果进行比较,56节点处的光伏有功功率输出和并网母线电压的仿真结果及局部放大图如附图8和附图9所示。从仿真结果可以看出,隐式投影算法的仿真结果仍与DIgSILENT基本一致。同时,通过与传统隐式梯形法比较可知,本发明隐式投影算法的数值精度优于步长取外部积分步长的传统隐式梯形法。In this example, the parameters of the implicit projection algorithm are k=3, M=4, the internal integration step is 0.5ms, and the external integration step is H=Mh=0.002s. Comparing the fixed-step simulation results of the implicit projection algorithm with DIgSILENT whose step size is the internal integration step and the traditional implicit trapezoidal method whose step size is the external integration step, the photovoltaic active power output at node 56 and the grid-connected bus The simulation results of the voltage and the partial enlarged diagrams are shown in Figure 8 and Figure 9 . It can be seen from the simulation results that the simulation results of the implicit projection algorithm are still basically consistent with DIgSILENT. At the same time, it can be seen from the comparison with the traditional implicit trapezoidal method that the numerical accuracy of the implicit projection algorithm of the present invention is better than that of the traditional implicit trapezoidal method in which the step size is taken as the external integral step size.
为比较隐式投影算法与不同步长下传统隐式梯形法的数值精度,本实例设置投影算法参数为k=6,M=40,内部积分步长取0.5ms,外部积分步长H=Mh=0.02s。设传统隐式梯形法的仿真步长为hTR,步长分别取hTR=0.5ms,hTR=0.02s和hTR=0.0025s,以步长为0.1ms的显式四阶龙格-库塔法为基准,在对数坐标系中分别比较隐式投影算法和不同步长下隐式梯形法的仿真结果相对RK4算法仿真结果的绝对误差,如附图10至附图12所示。从图中可以看出,当hTR与隐式投影算法内部积分步长相同时,梯形法仿真结果的绝对误差小于隐式投影算法,数值精度较高;当hTR与外部积分步长相同时,投影算法的数值精度高于梯形法;当hTR取0.0025s时,投影算法的绝对误差略低于梯形法。In order to compare the numerical accuracy of the implicit projection algorithm and the traditional implicit trapezoidal method under different step lengths, in this example, the parameters of the projection algorithm are set to k=6, M=40, the internal integration step is 0.5ms, and the external integration step is H=Mh = 0.02s. Assuming that the simulation step size of the traditional implicit trapezoidal method is h TR , the step sizes are respectively h TR =0.5ms, h TR =0.02s and h TR =0.0025s, and the explicit fourth-order Runge- Based on the Kutta method, the absolute error of the simulation results of the implicit projection algorithm and the implicit trapezoidal method under different step lengths relative to the simulation results of the RK4 algorithm was compared in the logarithmic coordinate system, as shown in Figures 10 to 12. It can be seen from the figure that when h TR is the same as the internal integration step of the implicit projection algorithm, the absolute error of the simulation result of the trapezoidal method is smaller than that of the implicit projection algorithm, and the numerical accuracy is higher; when h TR is the same as the external integration step, the projection The numerical precision of the algorithm is higher than that of the trapezoidal method; when h TR is 0.0025s, the absolute error of the projection algorithm is slightly lower than that of the trapezoidal method.
由附图2、图3可以看出,本发明的一种基于隐式投影的有源配电系统稳定性仿真方法,其数值稳定性较显式投影积分算法具有较大的优势,因此可以通过取较大的M值进一步实现仿真计算速度的提升。本实例以IEEE123节点有源配电系统作为测试算例,以步长取0.5ms的显式四阶龙格-库塔法为基准,选取不同的仿真步长和算法参数,分别比较隐式投影算法、显式投影算法、DIgSILENT以及传统隐式梯形法定步长仿真的计算效率,比较结果如表2所示。It can be seen from accompanying drawings 2 and 3 that a kind of implicit projection-based active power distribution system stability simulation method of the present invention has greater advantages in numerical stability than the explicit projection-integration algorithm, so it can be obtained by A larger M value is used to further improve the simulation calculation speed. This example takes the IEEE123 node active power distribution system as a test example, and uses the explicit fourth-order Runge-Kutta method with a step size of 0.5ms as the benchmark, selects different simulation step sizes and algorithm parameters, and compares the implicit projections The calculation efficiency of algorithm, explicit projection algorithm, DIgSILENT and traditional implicit trapezoidal legal step simulation are shown in Table 2.
表2算法性能比较Table 2 Algorithm performance comparison
从表2可以看出,随着k值的减小或M值的增大,隐式投影算法的计算用时逐渐减小。当投影算法参数相同时,由于隐式投影算法外部积分器的计算过程较显式投影算法略为复杂,会耗费更多的计算资源,所以隐式投影算法的计算效率略低于显式投影算法。但是,当k=3,M=8时显式投影算法已数值不收敛,而隐式投影算法即使M取60时依旧可以保持数值稳定,此时,隐式投影算法的仿真用时远小于传统RK4算法和DIgSILENT,加速比可达7倍以上。另外,将算法参数为k=6,M=40的隐式投影算法分别与hTR等于内部积分步长、外部积分步长和0.0025s时的隐式梯形法进行比较。可以看出,当hTR取隐式投影算法内部积分步长时,隐式投影算法的计算效率远高于梯形法;当hTR取外部积分步长时,隐式投影算法的计算效率略低于梯形法;当hTR取0.0025s时,投影算法的计算效率高于梯形法。通过对附图10至附图12以及表2的分析可以看出,针对不同仿真步长下的传统隐式梯形法,隐式投影算法在数值精度或计算效率方面较隐式梯形法都具有一定的优势,并且当隐式梯形法取一定中间步长时,隐式投影算法的数值精度和计算效率同时优于梯形法。因此,本发明提出的一种基于隐式投影的有源配电系统稳定性仿真方法较传统隐式梯形法具有更好的算法性能。It can be seen from Table 2 that as the value of k decreases or the value of M increases, the calculation time of the implicit projection algorithm decreases gradually. When the parameters of the projection algorithm are the same, the computational efficiency of the implicit projection algorithm is slightly lower than that of the explicit projection algorithm because the calculation process of the external integrator of the implicit projection algorithm is slightly more complicated than that of the explicit projection algorithm and consumes more computing resources. However, when k=3 and M=8, the explicit projection algorithm has not converged numerically, while the implicit projection algorithm can still maintain numerical stability even when M is 60. At this time, the simulation time of the implicit projection algorithm is much shorter than that of the traditional RK4 Algorithm and DIgSILENT, the speedup ratio can reach more than 7 times. In addition, the implicit projection algorithm with algorithm parameters k=6, M=40 is compared with the implicit trapezoidal method when h TR is equal to the inner integration step size, outer integration step size and 0.0025s. It can be seen that when h TR takes the internal integral step of the implicit projection algorithm, the computational efficiency of the implicit projection algorithm is much higher than that of the trapezoidal method; when h TR takes the external integral step, the computational efficiency of the implicit projection algorithm is slightly lower Compared with the trapezoidal method; when h TR is 0.0025s, the calculation efficiency of the projection algorithm is higher than that of the trapezoidal method. From the analysis of accompanying drawings 10 to 12 and Table 2, it can be seen that for the traditional implicit trapezoidal method under different simulation step sizes, the implicit projection algorithm has certain advantages in terms of numerical accuracy or calculation efficiency compared with the implicit trapezoidal method. , and when the implicit trapezoidal method takes a certain intermediate step size, the numerical accuracy and computational efficiency of the implicit projection algorithm are superior to the trapezoidal method at the same time. Therefore, the implicit projection-based active power distribution system stability simulation method proposed by the present invention has better algorithm performance than the traditional implicit trapezoidal method.
综上所述,本发明的一种基于隐式投影的有源配电系统稳定性仿真方法,具有良好的数值精度及数值稳定性,可实现计算效率的大幅提升,尤其适用于具有刚性特征的大规模有源配电系统稳定性仿真计算,为高效、可靠的有源配电系统仿真程序的开发奠定了良好的基础。In summary, the implicit projection-based active power distribution system stability simulation method of the present invention has good numerical accuracy and numerical stability, and can greatly improve the calculation efficiency, especially suitable for rigid characteristics. The large-scale active power distribution system stability simulation calculation has laid a good foundation for the development of efficient and reliable active power distribution system simulation programs.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410425443.5A CN104156542B (en) | 2014-08-26 | 2014-08-26 | It is a kind of based on the active distribution system Simulation of stability method implicitly projected |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410425443.5A CN104156542B (en) | 2014-08-26 | 2014-08-26 | It is a kind of based on the active distribution system Simulation of stability method implicitly projected |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104156542A true CN104156542A (en) | 2014-11-19 |
| CN104156542B CN104156542B (en) | 2018-01-02 |
Family
ID=51882040
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410425443.5A Expired - Fee Related CN104156542B (en) | 2014-08-26 | 2014-08-26 | It is a kind of based on the active distribution system Simulation of stability method implicitly projected |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104156542B (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104679937A (en) * | 2015-01-08 | 2015-06-03 | 国家电网公司 | Error estimation and parameter adaptive adjusting method suitable for implicit projection algorithm |
| CN107526856A (en) * | 2016-06-22 | 2017-12-29 | 南京理工大学 | Can be parallel aobvious implicitly mix the golden time-domain finite element method of discontinuous gal the Liao Dynasty |
| CN105808825B (en) * | 2016-02-29 | 2018-09-04 | 天津大学 | A kind of roller accidental projection integration method suitable for active power distribution network dynamic simulation |
| CN110705066A (en) * | 2019-09-20 | 2020-01-17 | 天津大学 | Projection integral-based dynamic simulation method for integrated energy system of gas-electricity coupling park |
| CN111090948A (en) * | 2020-01-20 | 2020-05-01 | 南方电网科学研究院有限责任公司 | Electromagnetic transient simulation switching method and device and storage medium |
| CN111881541A (en) * | 2020-06-03 | 2020-11-03 | 东南大学 | Electric power system transient stability simulation algorithm based on discontinuous Galerkin method |
| CN111900718A (en) * | 2020-06-17 | 2020-11-06 | 东南大学 | Dynamic simulation method of active distribution network based on multi-level optimization and chasing variational iterative method |
| CN111984046A (en) * | 2020-08-19 | 2020-11-24 | 国网山西省电力公司 | Environment active early warning and adjusting system based on simulation algorithm |
| CN119004874A (en) * | 2024-10-24 | 2024-11-22 | 武汉鼎元同立科技有限公司 | Elastic combination fixed-step simulation method and system |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101446991A (en) * | 2008-08-15 | 2009-06-03 | 中国电力科学研究院 | Numerical integration method for electric power system full dynamic simulation |
| CN102054095A (en) * | 2010-11-26 | 2011-05-11 | 天津大学 | Integration methods for distributed power generation system |
| CN102609575A (en) * | 2012-01-19 | 2012-07-25 | 浙江大学 | Power system transient stability simulating method based on implicit numerical integration |
| CN103700036A (en) * | 2013-12-19 | 2014-04-02 | 天津大学 | Transient stability projection integral method suitable for multi-time scale of electrical power system |
| CN103810646A (en) * | 2014-01-16 | 2014-05-21 | 天津大学 | Improved projection integral algorithm based active power distribution system dynamic simulation method |
-
2014
- 2014-08-26 CN CN201410425443.5A patent/CN104156542B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101446991A (en) * | 2008-08-15 | 2009-06-03 | 中国电力科学研究院 | Numerical integration method for electric power system full dynamic simulation |
| CN102054095A (en) * | 2010-11-26 | 2011-05-11 | 天津大学 | Integration methods for distributed power generation system |
| CN102609575A (en) * | 2012-01-19 | 2012-07-25 | 浙江大学 | Power system transient stability simulating method based on implicit numerical integration |
| CN103700036A (en) * | 2013-12-19 | 2014-04-02 | 天津大学 | Transient stability projection integral method suitable for multi-time scale of electrical power system |
| CN103810646A (en) * | 2014-01-16 | 2014-05-21 | 天津大学 | Improved projection integral algorithm based active power distribution system dynamic simulation method |
Non-Patent Citations (2)
| Title |
|---|
| 李鹏等: "一种基于投影积分算法的为电网稳定性仿真方法", 《电工技术学报》 * |
| 王成山等: "一种适用于有源配电网随机动态仿真的滚动投影积分方法", 《中国机电工程学报》 * |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104679937A (en) * | 2015-01-08 | 2015-06-03 | 国家电网公司 | Error estimation and parameter adaptive adjusting method suitable for implicit projection algorithm |
| CN104679937B (en) * | 2015-01-08 | 2018-02-09 | 国家电网公司 | A kind of estimation error and parameter adaptive adjusting method suitable for implicit projection algorithm |
| CN105808825B (en) * | 2016-02-29 | 2018-09-04 | 天津大学 | A kind of roller accidental projection integration method suitable for active power distribution network dynamic simulation |
| CN107526856B (en) * | 2016-06-22 | 2022-01-14 | 南京理工大学 | Parallel explicit-implicit mixed discontinuous Galerkin time domain finite element method |
| CN107526856A (en) * | 2016-06-22 | 2017-12-29 | 南京理工大学 | Can be parallel aobvious implicitly mix the golden time-domain finite element method of discontinuous gal the Liao Dynasty |
| CN110705066A (en) * | 2019-09-20 | 2020-01-17 | 天津大学 | Projection integral-based dynamic simulation method for integrated energy system of gas-electricity coupling park |
| CN111090948A (en) * | 2020-01-20 | 2020-05-01 | 南方电网科学研究院有限责任公司 | Electromagnetic transient simulation switching method and device and storage medium |
| CN111090948B (en) * | 2020-01-20 | 2023-05-02 | 南方电网科学研究院有限责任公司 | An electromagnetic transient simulation switch method, device and storage medium |
| CN111881541A (en) * | 2020-06-03 | 2020-11-03 | 东南大学 | Electric power system transient stability simulation algorithm based on discontinuous Galerkin method |
| CN111900718A (en) * | 2020-06-17 | 2020-11-06 | 东南大学 | Dynamic simulation method of active distribution network based on multi-level optimization and chasing variational iterative method |
| CN111900718B (en) * | 2020-06-17 | 2022-08-09 | 东南大学 | Active power distribution network dynamic simulation method based on multi-stage optimization catch-up variational iteration method |
| CN111984046A (en) * | 2020-08-19 | 2020-11-24 | 国网山西省电力公司 | Environment active early warning and adjusting system based on simulation algorithm |
| CN119004874A (en) * | 2024-10-24 | 2024-11-22 | 武汉鼎元同立科技有限公司 | Elastic combination fixed-step simulation method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104156542B (en) | 2018-01-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104156542B (en) | It is a kind of based on the active distribution system Simulation of stability method implicitly projected | |
| CN103810646B (en) | Improved projection integral algorithm based active power distribution system dynamic simulation method | |
| CN103700036B (en) | A kind of transient stability projecting integral method being suitable to power system Multiple Time Scales | |
| CN105449713B (en) | Consider the intelligent Sofe Switch planing method of active power distribution network of distributed power source characteristic | |
| CN102819641B (en) | Large-scale power distribution network integral model simplification method applicable to electromagnetic transient simulation | |
| Zhou et al. | The stochastic response surface method for small-signal stability study of power system with probabilistic uncertainties in correlated photovoltaic and loads | |
| CN103049617B (en) | Method for simplifying passive electromagnetic transient-state simulation model of large-scale power distribution network | |
| Wu et al. | Reliability evaluation of the solar power system based on the Markov chain method | |
| Dunna et al. | Super-twisting MPPT control for grid-connected PV/battery system using higher order sliding mode observer | |
| Lin et al. | Average modelling of medium frequency DC–DC converters in dynamic studies | |
| CN103678798A (en) | Electromagnetic transient simulation method used for power distribution network comprising distributed power sources. | |
| Duan et al. | Security risk assessment using fast probabilistic power flow considering static power-frequency characteristics of power systems | |
| Samanta et al. | Nonlinear model predictive control for droop-based grid forming converters providing fast frequency support | |
| Chen et al. | Dynamic phasor-based stochastic transient simulation method for MTDC distribution system | |
| CN116150924B (en) | Model parameter identification method, device and computer equipment | |
| Lai et al. | Dynamic modeling and stability analysis for repeated lvrt process of wind turbine based on switched system theory | |
| CN103714212B (en) | Transient simulation-oriented power distribution system model simplification error control method | |
| Li et al. | Systematic evaluation of deep neural network based dynamic modeling method for AC power electronic system | |
| Liu et al. | Interval power flow calculation algorithm for multi‐terminal dc distribution networks considering distributed generation output uncertainties | |
| CN105808825B (en) | A kind of roller accidental projection integration method suitable for active power distribution network dynamic simulation | |
| CN106855909A (en) | An explicit and implicit hybrid integration method suitable for stochastic dynamic simulation of active distribution network | |
| CN104679937B (en) | A kind of estimation error and parameter adaptive adjusting method suitable for implicit projection algorithm | |
| Huang et al. | A review on applications of holomorphic embedding methods | |
| Parada Contzen | On convergence performance of classic and novel power flow algorithms for dynamic simulation of distribution smart grids with renewable sources | |
| Li et al. | Two-point estimate method for probabilistic optimal power flow computation including wind farms with correlated parameters |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180102 Termination date: 20210826 |