The present disclosure relates to the field of power system dispatch technology, and more particularly relates to a dispatch method and device for a power system.
The economic dispatch method in the related art is difficult to ensure high calculation accuracy, high calculation efficiency and good convergence while considering reactive power and voltage.
Embodiments of the present disclosure provides a dispatch method for a power system. The method includes: establishing an optimal power flow model, the optimal power flow model includes an objective function and constraints, the objective function is configured to indicate a minimum total cost of active power production and reactive power production of generators; solving the optimal power flow model to obtain dispatch parameters for the power system; and dispatching the power system based on the dispatch parameters.
Embodiments of the present disclosure provide a non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a computer, causes the computer to perform the above dispatching method for a power system according to embodiments of the present disclosure.
Additional aspects and advantages of embodiments of present disclosure will be given in part in the following descriptions, become apparent in part from the following descriptions, or be learned from the practice of the embodiments of the present disclosure.
These and other aspects and advantages of embodiments of the present disclosure will become apparent and more readily appreciated from the following descriptions made with reference to the drawings, in which:
Reference will be made in detail to embodiments of the present disclosure. The embodiments described herein with reference to drawings are explanatory, illustrative, and used to generally understand the present disclosure. The embodiments shall not be construed to limit the present disclosure. The same or similar elements and the elements having same or similar functions are denoted by like reference numerals throughout the descriptions.
The present disclosure provides a dispatch method for a power system, the optimal power flow model is solved using a successive linear method, in the first iteration, the power flow equation constraints are established by cold-start or hot-start, and the corresponding optimal power flow model can be obtained. In each subsequent iteration, the power flow equation constraints are updated based on the optimal solution of the previous iteration. With the method, the error of the linear approximation power flow equation is taken as a convergence criterion, when the optimal solution meets the convergence criterion, it is considered that the accuracy of the linear approximation meets the requirements. By making minor corrections to the optimization result through the AC feasibility module, the obtained optimization results will be feasible and close to the AC optimal. In order to correct the potential overrun caused by the constraint, it is determined whether there is overrun, when there is overrun, the corresponding constraint limit value is tightened, to re-construct the optimal power flow model, such that the operating parameters are safe and economic.
In order to achieve secure and stable operation of power grids, the nodes in the power grids need to follow some rules. Safety-constrained economic dispatch is based on the regulation behavior that the power flow of each node and line in the power grid is within the safety constraints, to minimize the operating costs of the power grid. The safety-constrained economic dispatch needs to solve the AC (alternating current) optimal power flow problem, and the nonlinear characteristics of the AC power flow equation make it a non-convex optimization problem, which is difficult to solve.
In the related art, the DC (direct current) power flow network model considering only active power is widely used in the power industry. In the DC power flow network model, reactive power and network loss are ignored, and it is assumed that the voltage magnitude of each node is a standard value (1.0 p.u. (per unit)). In the DC power flow equation, the active and voltage angles are linear. In industry, power flow calculations are performed on the basis of the DC optimal power flow solution to obtain an AC feasible dispatching scheme. However, due to numerical approximation of the DC power flow equation, the DC optimal power flow model may obtain uneconomical and even unsafe scheduling schemes, which is more pronounced in power systems with low safety margins and tightly coupled active and reactive power. The electric power industry needs a linear network model that can consider reactive power and voltage.
The AC optimal power flow model considering reactive power and voltage is a non-linear model, and the solving methods include convex relaxation method, interior point method, etc.
Convex relaxation includes semi-definite programming (SDP) relaxation, second order cone programming (SOCP) relaxation, and quadratic programming (QP) relaxation. However, each of these methods has large errors, and is difficult to put into application in the actual power grid. The convergence of the interior point method cannot be guaranteed.
In the following, a dispatch method and device for a power system according to some embodiments of the present disclosure will be described in detail with reference to the drawings.
At block S101, an optimal power flow model is established, the optimal power flow model includes an objective function and constraints, the objective function is configured to indicate a minimum total cost of active power production and reactive power production of generators.
At block S102, the optimal power flow model is solved to obtain dispatch parameters for the power system.
At block S103, the power system is dispatched based on the dispatch parameters.
1) The optimal power flow model is established, and the model includes an objective function and constraints.
In an example, the objective function is configured to indicate the minimum total cost of active power production and reactive power production of generators, which may be expressed as follows:
ming∈fgP(Pg)+fgQ(Qg) (1)
where Pg denotes active power production of generator g, Qg denotes reactive power production of generator g, denotes the generator set, fgP(Pg) denotes the cost function of Pg, fgQ(Qg) denotes the cost function of Qg.
1-2) The constraints of the model are determined, which may include the followings.
1-2-1) The power flow equation constraints based on reduced order network are determined.
The initial point of k-th (k=1, 2, 3 . . . ) iteration is (vi,k−1, θi,k−1), i∈, denotes the bus set. When k>1, vi,k−1 denotes the voltage magnitude of the bus i after (k−1)th iteration, θi,k−1 denotes the voltage angle of the bus i after (k−1)th iteration. When k=1, initial point (vi,k−1, θi,k−1) may be obtained by two startup modes, inducing the cold-start mode and hot-start mode.
In the cold-start mode, vi, 0=1 p. u., θi, 0=0. In the hot-start mode, vi, 0=1 p. u., θi, 0 takes the solution of DC optimal power flow. The power flow equation constraints may be expressed as follows:
where Pij denotes the active power flow of branch (i, j), Qij denotes the reactive power flow of branch (i, j), vi denotes the voltage magnitude of bus i, vj denotes the voltage magnitude of bus j, θi denotes the voltage angle of bus i, θj denotes the voltage angle of bus j, vij denotes the voltage magnitude difference between bus i and bus j of branch (i, j), vij=vi-vj, θij denotes the voltage angle difference between bus i and bus j of branch (i, j), θij=θi-θj, gij,kP and bij,kP denote the active balance coefficients of kth iteration, bij,kQ and gij,kQ denote the reactive balance coefficients of kth iteration.
In the above formula (2) and (3), vij,Ls denotes the effect of voltage magnitude on network loss, which satisfies:
where vij,est, denotes an estimated voltage magnitude difference between bus i and bus j of branch (i, j), vi,est denotes an estimated voltage magnitude of bus i, vj,est denotes an estimated voltage magnitude of bus j, vij,k−1 denotes the voltage magnitude difference of branch (i, j) obtained from (k−1)th iteration.
In the above formula (2) and (3), θij,Ls denotes the effect of voltage angle on network loss, which satisfies:
when k=1, and in the cold-start mode,
θij,Ls=gijθij,est·θij-½gijθij,est2 (7)
θij,Ls≥0 (8)
where θij,est denotes an estimated voltage angle difference between bus i and bus j of branch (i, j), gij denotes the conductance of branch (i, j);
when k>1, and in any startup mode, or k=1, and in the hot-start mode,
θij,Ls=0 (9)
In an embodiment, the active balance coefficients gij,kP and bij,kP may be expressed by:
gij,kP=(gijcij,k0+bijsij,k0)+(gijcij,k1+bijsij,k1)θij,k−1 (10)
bij,kP=(gijcij,k1+bijsij,k1)vi,k−1vj,k−1 (11)
and the active balance coefficients bij,kQ and gij,kQ may be expressed by:
bij,kQ=(−gijsij,k0+bijcij,k0)−(gijsij,k1−bijcij,k1)θij,k−1 (12)
gij,kQ=(gijsij,k1−bijcij,k1)vi,k−1vi,k−1 (13)
where bij denotes the susceptance of branch (i, j), sij,k1 and sij,k1 are coefficients for the Taylor series expansion of the sine function, which may be expressed by:
sij1=cos θij,k−1,sij,k0=sin θij,k−1−θij,k−1 cos θij,k−1 (14)
and cij,k1 and cij,k0 are coefficients for the Taylor series expansion of the cosine function
cij,k1=−sin θij,k−1,cij,k0=cos θij,k−1+θij,k−1 sin θij,k−1 (15)
1-2-2) Nodal balance constraint is determined.
In some embodiments, the nodal balance constraint may be expressed by:
Pi=Pij+gii·vi2 (16)
Qi=Qij−bii·vi2 (17)
where i denotes the set of buses connected to bus i through branches, gii denotes the ground conductance of bus i, and bii denotes the ground susceptance of the bus i.
1-2-3) Nodal injection constraint is determined.
In some embodiments, the nodal injection constraint may be expressed by:
Pi=Σg∈
Qi=Σg∈
where i denotes the set of generators connected to bus i, Pd,i denotes the active load consumption at bus i, Qd,i denotes the reactive load consumption at bus i.
1-2-4) The linearized apparent power flow limit is determined.
In some embodiments, linearized apparent power flow limit can be expressed by:
Λ(Pij,Qij):Liju,n≥0,n=1, . . . ,N;Lijd,m≥0,m=1, . . . ,M,(i,j)∈ (20)
where denotes the set of buses.
In some embodiments, an idea of calculating the linearized apparent power flow limit is to approximate the arc with multiple segments.
1-2-4-1) Parameters such as radian values α1u, α2u, α1d, α2d are selected, and the value range of α1u,α2u,α1d,α2d is [0, π]. Based on the ratio of active and reactive power in the line flow, the piecewise linear approximation is only performed on arcs corresponding to [α1u, π−α2u] and [α1u, π−α2u].
1-2-4-2) parameters M, N are selected, M is the number of segments of the upper half planes, and N is number of segments of the lower half planes, and the value range of M and N is [10,100]. The arc defined by [α1u, π−α2u] is evenly divided into N parts, and by connecting adjacent endpoints with line segments (as shown in the line segment in
1-2-4-3) By approximating the quadratic apparent power flow limit using the combination of linear constraints corresponding to the (M+N) line segments, the linearized apparent power flow limit as shown in equation (20) can be obtained.
1-2-5) The generator active power limit, the generator reactive power limit, and the bus voltage limit are determined.
In some embodiments, the generator active power limit, the generator reactive power limit, and the bus voltage limit may be expressed by:
Pg,min≤Pg≤Pg,max,g∈ (21)
Qg,min≤Qg≤Qg,max,g∈ (22)
vi,min2≤vi2≤vi,max,2i∈ (23)
where Pg,max denotes an upper limit of active power production of generator g, Pg,min denotes a lower limit of active power production of generator g, Qg,max denotes an upper limit of reactive power production of generator g, Qg,min denotes a lower limit of reactive power production of generator g, vi,max denotes an upper limit of voltage magnitude of bus i, vi,mim denotes a lower limit of voltage magnitude of bus i, When θ and v2 are independent variables, the constraint of the optimal power flow model is linear.
2) The model established in step 1) is solved to obtain the dispatching scheme of the power system.
In some embodiments, the model may be solved by solvers such as Cplex, Gurobi. Let the current iteration number be k, the optimal solutions vi, θi, Pg, Qg(i∈, g∈) of the kth iteration can be obtained, and the active power flow Pijk and the reactive power flow Qijk of branch (i, j) after kth iteration can be obtained according to power flow constraints (2) and (3).
By substituting the optimal solution vi and θi of the kth iteration into the line AC power flow equation, active power flow Pij and the reactive power flow Qij may be obtained:
Pij=gij(vi2−vivj cos θij)−bijvivj sin θij (24)
Qij=−bij(vi2−vivj cos θij)−gijvivj sin θij (25)
According to the values of Pijk, Qij,k, PijQij, the standardization error may be examined for each branch, the expression is as follows:
where Δij denotes the approximate error of the power flow equation of branch (i, j).
When Δij<Δtol for all branches, Δtol denotes an upper limit of the linear approximation error, and the value range is [1e-4, 1e-2], it is determined that the model converges, the iteration ends, and vi, θi, Pg, Qg, i∈, g∈ are output, and the dispatching scheme for power system including the nodal voltage magnitude, the voltage angle, the active and reactive power production of the generator can be obtained. Otherwise, let k=k+1, and take the optimal solution vi and θi of the kth iteration as the initial values vi,k−1 and vi,k−1 to update the power flow constraint, and return to step 2) to perform next iteration.
In order to improve the accuracy of the solution, after the iteration, following acts may be included.
3) AC feasibility restoration is performed on the solution.
In some embodiments, the power flow calculation may be used to restore AC feasibility from the solution.
Based on the optimal power flow solution, the value of the variable is fixed to prepare input data for power flow calculation. The variables that need to be fixed includes v and θ of a reference bus, P and Q of the PQ bus (the bus with fixed value of P and Q), P and v of the PV bus (the bus with the fixed value of P and V). Based on the input conditions, AC power flow calculation is performed. In the solution obtained from the AC power flow calculation, when there are reactive power overruns in a generator, the reactive power production of the generator is fixed, the bus type is converted into a PQ bus, and the AC power flow calculation is re-performed. Finally, the optimal power flow solution is obtained.
4) It is determined whether the solution is beyond a limit.
An upper limit γmax (a positive number less than 1) is set, when the constraint overrun rate is greater than γmax, it is determined to be out of limit. The optimal flow solution of AC feasibility is checked, the corrected active power flow and corrected reactive power flow are calculated according to equations (24) and (25), and the corrected active power flow and corrected reactive power flow may be squared, and summed, and then rooted, to obtain the corrected complex line power Sij.
When Sij=Smax,ij(1+γij), γij≥γmax, it is determined to be out of limit, γij is the out-of-limit rate of apparent power of branch (i, j). The out-of-limit determination of the active power production of generator on the slack bus and the out-of-limit determination of voltage magnitude of PQ bus may be similarly determined, for example, based on formula (21) and γmax, and formula (23) and γmax. When any of the above limits is exceeded, step 5) is proceeded, when there is no limit violation, step 6) is proceeded. 5) The out-of-limit constraint is corrected.
For the branch (i, j) whose apparent power is out of limit, in the next iteration, the upper limit of the apparent power of branch (i, j) will be modified as:
Sij,max=Sij,max(1−L·γii) (27)
When the active power production of the generator on the slack bus is out of limit, the active power limit of the generator may be similarly adjusted in the next iteration, and when the voltage magnitude of the PQ is out of limit, the voltage magnitude limit may be similarly adjusted. In the next iteration, the power flow equation constraint may be updated by using he optimal solution vi, θi, i∈ of the model in the current iteration as the initial points (vi,k−1, θi,k−1) of the power flow constraint of the reduced-order network, and step 2) is returned to perform next iteration. Finally, the optimal solution vi, θi, Pg, Qg, i∈, g∈ of the model may be output, and the dispatching scheme including parameter such as the voltage magnitude, the voltage angle, the active power and reactive power production of the generator are obtained.
With the method according to embodiments of the present disclosure, the active power and voltage angle are considered, economy and safety can be ensured, and the method may also be applied in power systems with low safety margins and tight coupling of active and reactive power. Moreover, the method can reduce the non-convexity and non-linearity of the optimal power flow, thereby ensuring that its solution algorithm meets the application requirements of the power industry, and in the case of poor initial iteration values, linearization error of the power flow equation can also be reduced, and since only linear model is solved in each iteration, the solution efficiency can be improved.
The present disclosure further provides some case studies. In the case studies, the performance of the method in the present disclosure is tested on several IEEE benchmark systems. Data for all test cases are obtained from Matpower 4.1, and Gurobi is used for solving. The parameters used in the case studies may be illustrated in the following tables.
In the following, the calculation effect under cold-start mode (v=1.0 p.u., θ=0 as initial value) is tested, and most test systems are congested, the calculation results are shown in Table 2.
In the following, the calculation effect under hot-start mode (v=1.0 p.u., θ takes the solution of DC optimal power flow as initial value) is tested, the calculation results are shown in Table 3.
The above experimental results show that the method according to embodiments of the present disclosure can have strong practical applicability.
To implement the above embodiments, the present disclosure further provides a non-transitory computer-readable storage medium according to embodiments of the present disclosure will be described in detail. In some embodiments, the non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a terminal, causes the terminal to perform method according to the above embodiments of the present disclosure for running an application program.
Any process or method described in the flowing diagram or other means may be understood as a module, segment or portion including one or more executable instruction codes of the procedures configured to achieve a certain logic function or process, and the preferred embodiments of the present disclosure include other performances, in which the performance may be achieved in other orders instead of the order shown or discussed, such as in a almost simultaneous way or in an opposite order, which should be appreciated by those having ordinary skills in the art to which embodiments of the present disclosure belong.
The logic and/or procedures indicated in the flowing diagram or described in other means herein, such as a constant sequence table of the executable code for performing a logical function, may be implemented in any computer readable storage medium so as to be adopted by the code execution system, the device or the equipment (such a system based on the computer, a system including a processor or other systems fetching codes from the code execution system, the device and the equipment, and executing the codes) or to be combined with the code execution system, the device or the equipment to be used. With respect to the description of the present invention, “the computer readable storage medium” may include any device including, storing, communicating, propagating or transmitting program so as to be used by the code execution system, the device and the equipment or to be combined with the code execution system, the device or the equipment to be used. The computer readable medium includes specific examples (a non-exhaustive list): the connecting portion (electronic device) having one or more arrangements of wire, the portable computer disc cartridge (a magnetic device), the random access memory (RAM), the read only memory (ROM), the electrically programmable read only memory (EPROMM or the flash memory), the optical fiber device and the compact disk read only memory (CDROM). In addition, the computer readable storage medium even may be papers or other proper medium printed with program, as the papers or the proper medium may be optically scanned, then edited, interpreted or treated in other ways if necessary to obtain the program electronically which may be stored in the computer memory.
It should be understood that, each part of the present invention may be implemented by the hardware, software, firmware or the combination thereof. In the above embodiments of the present invention, the plurality of procedures or methods may be implemented by the software or hardware stored in the computer memory and executed by the proper code execution system. For example, if the plurality of procedures or methods is to be implemented by the hardware, like in another embodiment of the present invention, any one of the following known technologies or the combination thereof may be used, such as discrete logic circuits having logic gates for implementing various logic functions upon an application of one or more data signals, application specific integrated circuits having appropriate logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA).
It can be understood by those having the ordinary skills in the related art that all or part of the steps in the method of the above embodiments can be implemented by instructing related hardware via programs, the program may be stored in a computer readable storage medium, and the program includes one step or combinations of the steps of the method when the program is executed.
In addition, each functional unit in the present disclosure may be integrated in one progressing module, or each functional unit exists as an independent unit, or two or more functional units may be integrated in one module. The integrated module can be embodied in hardware, or software. If the integrated module is embodied in software and sold or used as an independent product, it can be stored in the computer readable storage medium.
The non-transitory computer-readable storage medium may be, but is not limited to, read-only memories, magnetic disks, or optical disks.
Reference throughout this specification to “an embodiment,” “some embodiments,” “one embodiment”, “another example,” “an example,” “a specific example,” or “some examples,” means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. Thus, the appearances of the phrases such as “in some embodiments,” “in one embodiment”, “in an embodiment”, “in another example,” “in an example,” “in a specific example,” or “in some examples,” in various places throughout this specification are not necessarily referring to the same embodiment or example of the present disclosure. Furthermore, the particular features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
Although explanatory embodiments have been shown and described, it would be appreciated by those skilled in the art that the above embodiments cannot be construed to limit the present disclosure, and changes, alternatives, and modifications can be made in the embodiments without departing from spirit, principles and scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201711401494.4 | Dec 2017 | CN | national |
This application is a continuation of International Application No. PCT/CN2018/094555, filed Jul. 4, 2018, which claims priority to Chinese Patent Application No. 201711401494.4, filed Dec. 22, 2017, the entire disclosures of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
10361561 | Wu | Jul 2019 | B2 |
20150268644 | Zhong | Sep 2015 | A1 |
Number | Date | Country |
---|---|---|
108054757 | May 2018 | GN |
108054789 | May 2018 | GN |
Entry |
---|
“Optimal power flow based on successive linear approximation of power flow equations”, by Z Yang, ISSN: 1751-8687 , 1751-8695; DOI: 10.1049/iet-gtd.2016.0547, IET Generation, Transmission & Distribution , 2016, vol. 10(14), p. 3654, published in Nov. 2016 (Year: 2016). |
WIPO, ISR for PCT/CN2018/094555, dated Sep. 5, 2018. |
Number | Date | Country | |
---|---|---|---|
20200161863 A1 | May 2020 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2018/094555 | Jul 2018 | US |
Child | 16751915 | US |