The present invention generally relates to the field of electrical power generation, transmission and distribution. In particular, the present invention is directed to method and software for calculating optimal power flow in an electrical power grid and utilizations of same.
Power flow method based on iteratively solving the nonlinear power mismatch equations was first conceived of five decades ago, and it remains the standard for simulating transmission-level power grids. As indicated by its name, the objective of power flow is to simulate the net transfer of power within a power system, whereby each bus (a “node” in the grid) is characterized by four quantities:
Real power (P);
Reactive power (Q);
Voltage magnitude (V); and
Voltage phase (θ).
Furthermore, these four quantities define the three types of buses that are specified as:
Not long after the first power flow formulation was postulated, the optimal power flow (OPF) problem was introduced by Carpentier in J. Carpentier, “Contribution to the economic dispatch problem”, Bulletin de la Societe Francaise des Electriciens, 8 (1962), pp. 431-447. The motivation of OPF was to find a steady-state operating point of a power system that minimizes the cost of generated real power while satisfying the operating and stability constraints and load demand. It was soon realized, however, that the OPF problem formulated using the aforementioned power flow equations and variables represented an extremely nonconvex programming problem with many local optimal solutions, and it is presently recognized as a very difficult problem to solve. Most importantly, due to highly nonlinear, non-convex constraints, the optimal power flow problem algorithms have changed little over the past decades. Today, half a century after it was postulated, the fast and robust solution technique to solve the full AC optimal power flow problem still doesn't exist. Finding a formulation that can robustly solve the OPF problem has enormous implications. For example, in M. B Cain, R. P. O'Neill, A. Castillo, “History of Optimal Power Flow and Formulations”, Optimal Power Flow Paper 1, FERC, December 2012, the authors state: “if we make a rough estimate that today's solvers are on average off by 10%, and world energy costs are $400 billion, closing the gap by 10% is a huge financial impact.”
In one implementation, the present disclosure is directed to a method that includes formulating, for an electrical power system, current and voltage conservation equations from which power flows, currents, and voltages can be derived, wherein the current and voltage conservation equations correspond to an equivalent circuit representation of the electrical power system that includes: a real sub-circuit including all real-valued voltages and currents; and an imaginary sub-circuit containing all imaginary-valued voltages and currents, wherein: the real sub-circuit and imaginary sub-circuit are coupled via controlled voltage and current sources; and the generators are modeled by combinations of complex admittances and current or voltage sources of unknown value that represent their power delivery capabilities; and running an optimization program for the power flow conservation equations so as to produce a minimum cost for operating the electrical power system based on the solution of control parameter values for the generator models in the system.
In another implementation, the present disclosure is directed to a machine-readable storage medium containing machine-executable instructions configured to cause one or more processors to perform operations, which includes formulating, for an electrical power system, current and voltage conservation equations from which power flows, currents, and voltages can be derived, wherein the current and voltage conservation equations correspond to an equivalent circuit representation of the electrical power system that includes: a real sub-circuit including all real-valued voltages and currents; and an imaginary sub-circuit containing all imaginary-valued voltages and currents, wherein: the real sub-circuit and imaginary sub-circuit are coupled via controlled voltage and current sources; and the generators are modeled by combinations of complex admittances and current or voltage sources of unknown value that represent their power delivery capabilities; and running an optimization program for the power flow conservation equations so as to produce a minimum cost for operating the electrical power system based on the solution of control parameter values for the generator models in the system.
For the purpose of illustrating the invention, the drawings show aspects of one or more embodiments of the invention. However, it should be understood that the present invention is not limited to the precise arrangements and instrumentalities shown in the drawings, wherein:
Contrary to the traditional power flow formulation, wherein the real power generated by a PV (generator) bus and voltage magnitude are known, the OPF formulation treats these two quantities as unknown variables. In addition, some OPF formulations don't even keep the slack bus voltage magnitude constant, but use it as a control variable as well. It is important to note that there have been many proposed objective functions that are to be optimized for OPF, such as minimizing generation cost, maximizing market surplus, minimizing generation, etc.; however, the most important objective function is the real power generation cost:
wherein N is the number of generators (PV buses and a slack bus) in the power system, PG,i is the generated real power of ith generator and ai, bi and ci are the generation cost coefficients.
Since the objective function has to be minimized while satisfying the power flow in the grid, the conversion-like equations in terms of real and reactive power flows are added as equality constraints:
wherein kϵ[1, N], N is the total number of buses in the system, Ωk is the set of buses adjacent to bus k, Pkm is the active power flow from bus k to bus m, and Qkm is the reactive power flow from bus k to bus m. It should be noted that the power balance equations from Equations (2) and (3) used in traditional power flow represent highly nonlinear and non-convex constraints, thereby making the optimization problem NP hard to solve for a global minimum.
In addition to the constraints given by Equations (2) and (3), there are the operating and stability inequality constraints that need to be satisfied for each bus and a transmission line in the power system:
Each generator in the system has an upper and lower bound constraints on generated real power Pk and reactive power Qk given as:
P
min
≤P
k
≤P
max (4)
Q
min
≤Q
k
≤Q
max (5)
There are two important operating limits for the transmission line power flow incorporated in the traditional OPF. The first one represents a thermal transmission limit based on temperature sensitivity of the conductor in a line, and is defined as a maximum apparent power Sline that can be allowed to flow in the line:
S
line
≤S
max (6)
The second important line constraint is a stability constraint that bounds the voltage angle difference between sending and receiving sides of a transmission line and is given as:
−θmax≤θk−θm≤θmax (7)
Lastly, in order to ensure that the power system operates around the stable nominal operating point, the voltage magnitude at each bus is limited by the upper and lower bounds as:
V
min
≤|V
k
|≤V
max (8)
As can be seen from the constraints incorporated into the traditional OPF formulation, i.e., Equations and Constraints (2)-(8) above, the nonconvex powerflow equality constraints represent the biggest impediment of this formulation. More importantly, even for extremely small test cases (˜3 to 5 buses), there are dozens of local optimal solutions that make it difficult to robustly solve for the global optimal solution. It is noted that there are other formulations that can be found in the literature that reduce the nonlinearity and non-convexity of the equality power flow constraints by using rectangular coordinates (current and voltage) for optimal power flow; however, all of these proposed formulations are based on the traditional problem assumptions and models that introduce other non-convexities in the inequality constraints and keep the OPF problem as nonconvex. There have been a few recent attempts to derive the global OPF formulations using convex relaxation algorithms, i.e. application of Semi-Definite programming (SDP); however, all of them suffered from various drawbacks, hence were unable to guarantee convergence to the global optimum solution in general.
An equivalent circuit approach to generalized modeling of a power system's steady-state response, i.e. power flow, is described in U.S. patent application Ser. No. 15/456,341 titled “SYSTEMS, METHODS, AND SOFTWARE FOR PLANNING, SIMULATING, AND OPERATING ELECTRICAL POWER SYSTEMS” in the name of Pileggi et al. (“the '341 application”), which is incorporated herein by reference for its teachings of the aforementioned equivalent circuit approach. In that application it is shown that each of the power system components could be translated to an equivalent circuit model based on underlying relations between current and voltage state variables without loss of generality. Moreover, in order to ensure the analyticity of nonlinear complex governing circuit equations, they are split into real and imaginary parts. As illustrated in
For instance, the equivalent split-circuit formulation provides a choice to model the PV (generator) bus as either a complex voltage source (in terms of complex current) or a complex current source (in terms of complex voltage). It has been shown that representing the PV bus as a complex current source offers superior convergence for Newton-Raphson (NR) iterations. To enable the application of NR, the complex current source is split into real and imaginary current sources (IRG and IIG, respectively).
wherein PG and |VG| predefined real power generated and voltage magnitude that characterize the PV bus, VRG and VIG are the real and imaginary voltage state variables. Moreover, an additional constraint equation for the voltage magnitude is needed for the PV model to ensure that the voltage is equal to its set point but also to compensate for the additional unknown variable for the reactive power QG, i.e.:
F
c
=V
RG
2
+V
IG
2
−|V
G|2≡0 (11)
To obtain the linearized equivalent circuit of the nonlinear governing generator equations, i.e., Equations (9)-(11), the equations are expanded via a first order Taylor expansion around (k+1)th iteration as:
The first terms of linearized real and imaginary currents, i.e., Equations (12) and (13) represent current sources that are the function of the reactive power QG. Further, the terms that are proportional to the voltage across them, can be represented by the conductance defined by the values of respective partial derivatives, while the terms that are proportional to the voltage across the other circuit are represented by voltage controlled current sources. In addition, the remaining terms are all dependent on known values from the previous iteration, so they can be lumped together and represented as an independent current source.
Equation (14) can be translated to the equivalent circuit as shown in
An equivalent split-circuit generalized modeling approach was demonstrated as a robust method for solving the power flow problem in the '341 application noted above. Circuit simulation techniques can be directly applied to the power system simulations, hence bringing the capabilities of simulating large scale systems as well as guaranteeing the convergence to the desired physical solution of the grid. Moreover, the approach further allows for the application of circuit reduction techniques and moment matching theory to create more accurate load modeling. A B-I-G (susceptance-current-conductance, also “BIG”) load model is given in
In some aspects, the present invention includes using an equivalent split-circuit approach to redefine the traditional real power cost minimization optimal power flow in terms of a current/voltage formulation. A key concept is the reformulation of the generator (PV) bus model that defines the real and reactive powers using the known voltage magnitude and conductance/susceptance models as unknown variables. The traditional operational and stability limits are translated to the current/voltage formulation using the new conductance and susceptance control variables, without loss of generality. It can be shown that the proposed formulation results in the convex cost function with inequality constraints and that the nonlinearities appear in terms of bilinear equality constraints. Thus, McCormick convex envelope relaxation can be efficiently applied to handle nonlinearities of the formulation and used in the algorithm that can further obtain the global optimal solution. Importantly, aspects of the present invention are not constrained by a particular real power cost function, and they provide a general algorithm capable of incorporating any existing power grid optimization problem and can be used for developing new ones, such as minimizing both real and reactive powers concurrently.
In order to improve the efficiency of the introduced invention and decrease the overall nonlinearities due to the bilinear constraints from the definition of real and reactive generation powers, an iterative OPF approach is postulated, whereby the real and reactive power constraints are converted to equivalent conductance/susceptance constraints and are fitted to match the P and Q definitions at a specific voltage. Since the voltage can change slightly during an OPF solve, an iterative update of these constraints may be applied after each OPF solve to ensure consistency between the models used and the voltage values. This iteration of OPF can be applied until convergence; however, in practice it is found that one iteration is generally sufficient. Moreover, as a substitution to the traditional (simpler and less accurate) PQ load models, the linear and more accurate BIG load models based on measurement data is suggested, which further yields the load constraints as linear, contrary to the bilinear nonlinearities introduced by the traditional PQ loads.
The introduced invention includes a method that can be used for the real-time simulation of the optimal power flow, as well as for the efficient operation and planning, wherein the network models can be updated based on measurement data form the field. Most importantly, it is applicable for the robust and accurate security constrained optimal power flow (SCOPF) and market dispatch. As a proof of concept, several test benchmark cases that are known in literature to have multi optima solutions for the traditional nonconvex OPF formulation are shown to converge to a global minimum. Below is a detailed description of the OPF models, formulation, methods and implementations, followed by test case examples.
In order to completely understand the generator model from the equivalent circuit perspective, given by governing Equations (9) and (10), an admittance is considered to be connected from a node k to ground, as shown in
The complex power consumed by the admittance, Y can be expressed in terms of complex voltage across the admittance and its complex current as given by Equation (15).
P
Y
+jQ
Y
=V
Y
I
Y* (15)
By replacing the complex conjugate current with an Ohm's law equivalent function in terms of voltage and admittance given as:
I
Y
=V
Y(G+jB) (16)
Equation (15) can be rewritten as:
P
Y
+jQ
Y
=|V
Y|2G−j|VY|2B (17)
It is noted from Equation (16) that the real and reactive power consumed by the admittance can be written as a function of voltage magnitude |VG| and the conductance and susceptance, G and B, respectively. Furthermore, by expressing the conductance and susceptance from Equation (17) as functions of voltage magnitude and real and reactive powers respectively, Equation (16) can be reformulated as:
Then, by splitting the complex current function from Equation (18), the split-circuit governing equations can be given as:
As can be seen by comparing Equations (19) and (20) with the governing equations of a PV generator model (Equations (9) and (10)), the current flowing into the admittance illustrated in
To model a PV bus, the generator bus split-circuit model is reformulated in terms of conductance and a susceptance that supply the complex power to the circuit:
I
G
=V
G(G+jB) (21)
The complete complex equivalent of a generator bus is presented in
The complete equivalent split circuit, presented in
I
RG
=GV
RG
−BV
IG (22)
I
G
=GV
IG
+BV
RG (23)
The real power generated by the PV bus can be expressed as a function of generator bus voltage magnitude and conductance that supplies power, hence for each kth real power state variable introduced by the cost function from Equation (1), the following equality constraints are added:
P
Gk
=−G
k
|V
Gk|2 (24)
It is important to note that a reformulated real power constraint of Equation (24) is a trilinear function. Moreover, it is shown in the following section that the trilinear nonlinearities introduced by the power state variables can be completely removed from the formulation, hence, yielding the bilinear nonlinearities that allow the efficient application of McCormick convex envelope relaxation. If an iterative OPF is to be applied or voltage magnitude for a particular generator needs to be fixed to a constant value, there is no need for adding the extra constraints for that real power state variable, and the cost function for the respective real power generation can be reformulated as a quadratic function of conductance, Gi, as shown in Equation (25):
wherein
Following a similar approach as for the PV bus, a reformulated slack bus real power and its cost function can be derived. Since the voltage angle of a slack bus is set to zero as a reference bus, its real power generated PSB can expressed as a bilinear function in terms of the slack bus voltage and real current:
P
SB
=−V
SB
I
R (26)
wherein VSB is a slack bus voltage equal to the voltage magnitude of a slack bus; i.e. imaginary part is zero, and IR is the real current of a slack bus.
It should be noted that the bilinear equality constraint from Equations (26) will be added as an additional constraint for the real slack bus power state variable introduced by its cost function. Importantly, the bilinear functions may be efficiently handled by the McCormick convex envelope relaxation. However, if an iterative OPF is to be applied or the slack bus magnitude is desired to be constant, the additional equality constraint from Equation (26) will not be added, but the cost function will be reformulated as a quadratic function in terms of real slack bus current given below:
SB
=a
sb
+
sb
I
R
+
sb
I
R
2 (27)
wherein
It was previously shown that the generator's reactive power at a PV bus can be also redefined as a function of generator's voltage and susceptance, i.e., B. Thus, the proffered formulation can incorporate the reactive power cost minimization without any loss of generality.
For a given reactive power cost function of a PV generator bus:
a trilinear equality constraint that defines a reactive power for ith PV bus in terms of newly introduced state variables will be added as:
Q
G,i
=B
i
|V
Gi|2 (29)
As in the case for the real slack bus power, defined as a function of the voltage and real current, i.e., Equation (26), the reactive slack bus power can be redefined as a bilinear function in terms of the slack bus voltage and imaginary slack bus current:
Q
SB
=V
SB
I
I (30)
wherein VSB is a slack bus voltage equal to the voltage magnitude of a slack bus; i.e. imaginary part is zero, and II is the imaginary current of a slack bus.
It is noted that if an iterative OPF is to be applied or the slack bus voltage magnitude is desired to stay fixed, additional constraints given in Equations (29) and (30) will not be added to the formulation, and the reactive cost functions can be reformulated as quadratic functions of susceptance and imaginary current respectively for the PV and slack bus:
wherein
The generalized cost function that includes minimization of both real and reactive powers generated can be further defined as:
wherein each of the introduced power state variables, i.e. PG,i and QG,i, require the additional bilinear and trilinear constraints as defined by (24), (26), (29), and (30). Furthermore, in the case of iterative OPF, wherein the voltage magnitude is set to be constant at each iteration, the generalized cost function can be reformulated as a quadratic function in terms of conductance, susceptance, real and imaginary currents for the PV and Slack bus respectively.
II. D Removing the Trilinear Nonlinearities from the Formulation
The voltage magnitude at each bus in the system is a control variable in the AC-OPF problem. Moreover, it can be shown that the it only appears as the squared term throughout the proposed formulation. Thus, in order to reduce the nonlinearities of the formulation introduced by the definition of real and reactive powers, Equations (24) and (29), the variable dsq is defined that substitutes the “|VGi|2” term, namely, dsq=|VGi|2. The voltage magnitude equality constraint that further corresponds to an equivalent circuit shown in
d
sq
=V
RG
2
+V
IG
2 (35)
It is noted that the same equality constraint will be used to set operating limits at every bus in the power system. The real and reactive power constraints from Equations (24) and (29) are further reformulated as the bilinear functions in terms of conductance, susceptance and dsq variables as:
P
G
=−Gd
sq (36)
Q
G
=Bd
sq (37)
One of the biggest drawbacks of the existing current/voltage formulated OPF problems is the non-convexities introduced while representing the traditional OPF boundary constraints; i.e. real and reactive power generated, etc., represented purely in terms of currents and voltages. Since it has been previously shown that generated complex power can be defined in terms of voltage magnitude and the admittance, the traditional OPF constraints from Equations (4)-(8) can be reformulated.
Since the real and reactive power state variables are already introduced in the cost function and the bilinear equality constraints from Equations (39) and (40), the same inequality constraints as the ones given in Constraints (4) and (5) can be used to set the bounds on generated powers of a PV bus. However, it is important to note that if an iterative OPF algorithm is to be used or the voltage at the generator PV bus is desired to stay constant, bounding the real and reactive power becomes equivalent to setting the lower and upper bounds for conductance and susceptance at a fixed voltage magnitude, i.e. |VG|:
A slack bus real and reactive powers will be constrained by setting the limits as given by Constraints (4) and (5). Importantly, similarly to the PV bus wherein the real and reactive powers are constrained using the conductance and susceptance in the case of iterative OPF or known slack bus voltage magnitude, the real and imaginary slack bus currents can be used to constraint the real and reactive power generated. The lower and upper bounds for the real and imaginary generator's currents will be derived at the fixed (nominal) voltage |Vk|=VSB as:
As in the traditional OPF, where it can be ensured that the power system operates around the stable nominal operating point, the voltage magnitude at each bus in our formulation is limited by the upper and lower bounds as:
V
min
≤|V
k
|≤V
max (42)
Some of the existing OPF formulation also bound the voltage angle at each PV bus, i.e., as an inequality constraint given in Constraint (43) as follows:
Herein, it is shown that the voltage angle constraint can be readily incorporated in the proposed formulation without loss of generality. By taking the tangent of the inequality constraint from Constraint (43), it can be converted to two linear equivalent constraints given in terms of real and imaginary voltages at a bus:
V
I
k
−V
R
k tan θmax≤0 (44)
V
R
k tan θmin−VIk≤0 (45)
The first transmission line thermal constraint defined by the upper bound of the maximum apparent power can be converted to the maximum current limit that is allowed to flow in the line. This constraint formed as a maximum current limit is trivially handled by the split-circuit formulation. If the RL line segment between nodes k and m as the one shown in
As can be seen from the Equation (46), the transmission line thermal limit will be incorporated in the proposed formulation by setting the upper bound to the transmission line current magnitude:
I
R,km
2
+I
R,km
2
≤I
km|max2 (47)
wherein IR,km and II,km are the real and imaginary parts of transmission line current respectively.
The second stability constraint bounds the maximum voltage angle difference between the sending and receiving transmission line terminals, i.e. Vm and Vk. The voltage drop across the line from
(Gline+jBline)[Vk cos θk−Vm cos θm+j(Vk sin θk−Vm sin θm)]=IR,km+jII,km (48)
Using the bounds of voltage angle stability constraint from Constraint (7):
θk=θm±θmax (49)
Equation (48) can be further rewritten to obtain the lower and upper bounds on the real and imaginary line currents:
I
R,km
m
=G
line(Vk cos [θm±θmax]−Vm cos θm)−Bline(Vk sin [θm±θmax]−Vm sin θm) (50)
I
I,km
m
=G
line(Vk sin [θm±θmax]−Vm sin θm)+Bline(Vk cos [θm±θmax]−Vm cos θm) (51)
By using trigonometric identities given in Equations (52) and (53):
cos [a±b]=cos a cos b∓sin a sin b (52)
sin [a±b]=sin a cos b±cos a sin b (53)
the transmission line current bounds from Equations (50) and (51) can be further simplified:
wherein VmR and VmI are the real and imaginary voltages of the receiving bus m.
In order to ensure that the transmission line current bounds are satisfied for any voltage magnitude within the operating limits, the voltage magnitude of the sending bus, i.e., Vk, is set to the minimum voltage limit and the voltage magnitude of the receiving bus, i.e., Vm, to the maximum voltage limit. Moreover, if the angle difference, θmax, is further set to maximum possible one, i.e., 90°, the lower and upper complex current bounds can be obtained as:
The SCOPF formulations (mentioned above and described below) also require adding new control variables such as controllable shunt or series elements of a transmission lines, as well as the transformer turns ratio and shift angle. It is further shown that the proposed formulation can inherently incorporate all of these constraints without loss of generality.
Consider a shunt element connected to a bus m as shown in
I
sh
R
=G
sh
V
m
R
−B
sh
V
m
I (60)
I
sh
I
=G
sh
V
m
I
+B
sh
V
m
R (61)
Furthermore, since the shunt values are treated as a control variables, the current source model as given in Equations (60) and (61) becomes a bilinear model and allows the application of McCormick convex envelope relaxation. Moreover, the two bounding constraints have to be added that limit the newly introduced control variables, Gsh and Bsh.
G
min
≤G
sh
≤G
max (62)
B
min
≤B
sh
≤B
max (63)
In order to obtain the bilinear expressions in terms of line resistance and reactance that can be suitable for application of McCormick convex envelope relaxation the controllable series elements are remodeled as a voltage sources as shown in
As it can be seen from
V
m
R
−V
k
R
=RI
s
R
−XI
s
I (64)
V
m
I
−V
k
I
=RI
s
I
+XI
s
R (65)
Furthermore, the two bounding constraints have to be added that limit the newly introduced control variables, R and X.
R
min
≤R≤R
max (66)
X
min
≤X≤X
max (67)
It is important to note that as in the other circuit models introduced, the controllable series element circuit model is defined by a bilinear function, hence a McCormick relaxation can be efficiently applied, as thoroughly explained in the following sections.
It is illustrated herein how a two-winding transformer with a possible phase shift can be incorporated in the proposed formulation. For a given transformer turns ratio a and a phase sifting angle θph the complex number (Equation (68)) that relates the voltages/currents from the primary side to the ones on the secondary side can be obtained as:
ã=ae
jθph
=a
R
+ja
I (68)
wherein aR and aI are real and imaginary parts of ã.
It is noted that herein the transformer control variables are treated as continuous, whereas the closest integer value for both turns ratio and shift angle is chosen after the optimal parameters of the power grid are computed. Importantly, the class of relaxation method used in some examples herein, i.e., McCormick relaxation, can be further extended to the integer variable and as such handle the integer constraints on the transformer control variables, which further yield Mixed-Integer Programming (MIP). The complete equivalent split-circuit is shown in
V
P
R
=a
R
V
S
R
−a
I
V
S
I (69)
V
P
I
=a
R
V
S
I
+a
I
V
S
R (70)
I
S
R
=−a
R
I
P
R
−a
I
I
P
I (71)
I
S
I
=−a
R
I
P
I
+a
I
I
P
R (72)
wherein subscripts P and S stand for primary and secondary side voltages and currents respectively.
As it can be seen from Equations (69)-(72), all the introduced nonlinearities of the transformer model are bilinear functions, hence an efficient McCormick relaxation can be applied. Moreover, in order to incorporate the transformer bounds in terms of newly introduced state variables, i.e. aR and a1 the bounds of turns ratio and the transformer shift angle can be reformulated as:
a
min
2
≤a
R
2
+a
I
2
≤a
max
2 (73)
a
I
−a
R tan θmax≤0 (74)
a
R tan θmin−aI≤0 (75)
wherein θmax, θmin, amax and amin are the upper and lower bounds of the transformer shift angle and the turns ratio respectively.
The introduced invention provides the capabilities of incorporating the traditionally used PQ based loads. In order to remodel the PQ load in a way that its governing equations can be represented with bilinear nonlinearities, the PQ load is modeled as real and imaginary current sources in respective sub circuits of a split-circuit, as shown in
I
PQ
R
d
sq
−PV
PQ
R
−QV
PQ
I=0 (76)
I
PQ
I
d
sq
−PV
PQ
I
+QV
PQ
R=0 (77)
wherein V is the voltage magnitude of a load bus and P and Q are constant values of real and reactive powers. As can be seen from Equations (76) and (77), the introduced equality constraints are based on the bilinear nonlinearity of a form XY, thus the McCormick relaxation can be applied.
It is important noting that a PQ load model adds a lot complexity to the overall optimization problem by introducing additional bilinear nonlinearities. Conversely, linear BIG and admittance models, for which the equivalent split-circuits are shown in
As can be seen from previously derived equivalent circuit models, there are two types of nonlinearities that appear throughout the formulation. These nonlinearities can generally be expressed in forms of two sets of bilinear and quadratic functions, Equations (78) and (79), respectively, given as:
1={(X1,Y1,c1)ϵ[lx1,ux1]×[ly1,uy1]×|c1=X1Y1} (78)
2={(X2,Y2,c2)ϵ[lx2,ux2]×[ly2,uy2]×↑c2=Y22} (79)
for the set in which X1, Y1, and Y2 can be the state and control variables introduced in the formulation bounded by lower and upper limits given by [lxi, uxi] and [lyj, uyj].
The form of introduced nonlinearities allows us to efficiently apply McCormick convex envelope relaxation, which represents the most common convex relaxations technique for the bilinear functions in global optimization programs. The nonlinear sets defined in Equations (78) and (79) can be relaxed by introducing the McCormick envelopes, i.e., MC[l
II. I Sequential Quadratic Programming in terms of Equivalent Circuits
Sequential Quadratic Programming (SQP) is an effective technique for solving the optimization problems and it is preferred over the Interior Point Methods (IPM) when a good estimate of the solution is available. Herein, it is shown how the complete optimization program solved using the Sequential Quadratic Programming (SQP) can be modeled as an equivalent circuit problem without loss of generality, thereby allowing the application of circuit simulation methods for robust solution convergence, such as Homotopy and Continuation algorithms.
Consider the generalized optimization problem given as:
wherein Xϵn is the vector of optimization variables, cost: n→ is the objective cost function that is to be minimized, functions h: n→ and g: n→, describe equality and inequality constraints respectively. The optimization problem defined by (83) to (84) will be solved using SQP by constructing the quadratic sub-problem that will be solved iteratively until the convergence to the desired minimum.
To construct the quadratic sub-problem in general, the cost function in (82) is replaced by its local quadratic approximation. It is noted that the preferred formulation for methods of the present invention already uses the quadratic cost functions; i.e., quadratic functions of generator powers or respective conductance/susceptance state variables, hence the aforementioned approximation is not needed. Moreover, the equality and inequality constraint given by Constraint (83) and (84) are linearized with respect to the current iterate vector Xk and hence can be reformulated as:
h(Xk)+∇h(Xk)T(Xk+1−Xk)=0 (85a)
g(Xk)+∇g(Xk)T(Xk+1−Xk)≤0 (85b)
Using the defined quadratic sub-problem, the Lagrangian function can further be written as:
=cost(Xk+1)+λT(h(Xk)+∇h(Xk)T(Xk+1−Xk))+μT(g(Xk)+∇g(Xk)T(Xk+1−Xk)+s) (86)
wherein Xk+1 is a vector of state variables, Xk are the solutions from previous iteration, λ, μ are Lagrange multipliers of the equality and inequality constraints respectively, and s is the vector of slack variables, i.e. sϵ+, added to handle the inequality constraints
In order to ensure the numerical stability of the derived quadratic sub-problem, the second order sensitivities of the Lagrangian function are added to the cost function from (82) yielding the modified Quadratic Programming problem given as:
with respect to the linearized constraints given by (85a)-(85b).
Furthermore, the optimal solution of the defined quadratic program is guaranteed if the first-order necessary conditions, i.e. Karush-Kuhn-Tucker (KKT) conditions, are satisfied. Hence, the respective KKT conditions can be rewritten as:
It is noted that solution for the system of equations from (88) to (91) represents the solution to a quadratic sub-problem defined by (82), (85), and (86). The SQP algorithm is based on iteratively solving the aforementioned quadratic problems until the convergence; i.e. max(Xk+1−Xk)<ε, wherein ε is predefined tolerance.
In the following subsections, it is shown how the previously defined optimization program can be modeled as an equivalent circuit for both nonlinear Full-OPF and GB-OPF, without loss of generality. Importantly, the equivalent circuit formulation allows the application of various Homotopy and continuation methods that can be used to guarantee robust and efficient convergence properties. It is noted that since there are many methods of handling the inequality constraints, such as the Interior Point method, Active Set method, etc., the equivalent split circuits are derived for Equations (88) and (89) only. Moreover, depending on the method used to handle the inequalities of the program, further derivation of linear equivalent circuit that describe Equations (90) and (91) directly follows.
The governing equations of a PV generator split circuit model, as well as the generalized real and reactive power cost function that is to be minimized are given by Equations (22), (23), and (33) respectively. Furthermore, since both real and reactive powers are added as the state variables, there are two appended additional constraints that define the relationship between the respective powers and conductance and susceptance state variables, i.e., Equations (24) and (29). To obtain the equivalent circuits that satisfy the KKT conditions from Equation (89) the governing Equations (22) and (23), as well as the respective constraints, i.e., Equations (24) and (29), are linearized using the first order Taylor expansion:
As can be seen from Equations (92) and (93), the first two terms of linearized real and imaginary currents, represent current sources that are function of newly introduced conductance and susceptance state variables. Further, the terms that are proportional to the voltage across them, can be represented by the conductance defined by the values of respective partial derivatives, while the terms that are proportional to the voltage across the other circuit are represented by voltage controlled current sources. Lastly, the remaining terms are all dependent on known values from the previous kthSQP iteration, so they can be lumped together and represented as an independent current source, i.e. IRk and IIk. The complete equivalent split circuit of Equations (92) and (93) that further models ∇λ part of KKT conditions, i.e., Equation (89), is shown in
In order to obtain the equivalent circuit of a PV generator that satisfies the KKT conditions given by Equation (88), the Lagrangian function is differentiated from Equation (87) with respect to the state and control variables of a respective PV generator. This further yields the four additional governing equations in terms of Lagrange multipliers given as:
wherein λRG and λIG are the Lagrange multipliers related to the real and imaginary generator voltages, respectively, bp, cp, bQ and cQ are the coefficients of real and reactive generated power, i.e., PG and QG, cost functions, μPmax, μPmin, μQmax and μQmin are Lagrange multipliers related to the limits of the real and reactive powers generated and ξ(X) and
As can be seen from Equations (96) and (97), the terms wherein the real and imaginary Lagrange currents, i.e. ℑRG and ℑIG are respectively proportional to the Lagrange multipliers related to the real and imaginary voltages, can be represented with a conductance. On the other side, the terms proportional to the Lagrange multipliers related voltages of the other circuit are represented by voltage controlled current sources. The complete equivalent circuit of Equations (96) and (97) that further models the PV generator for ∇λ part of KKT conditions given by Equation (88), is shown in
The governing equations of a PQ load split circuit model are given in Equations (76) and (77). To obtain the equivalent circuits that satisfy the KKT conditions from Equation (89), the governing equations of a PQ load are linearized using the first order Taylor expansion:
As can be seen from Equations (100) and (101), terms that are proportional to the voltage across them, can be represented by the conductance, while the terms that are proportional to the voltage across the other circuit or the voltage magnitude are represented by voltage controlled current sources. In addition, the remaining terms are all dependent on known values from the previous kthSQP iteration, so they can be represented as an independent current source. The complete equivalent circuit that maps Equations (100) and (101) and further models ∇λ part of KKT conditions, i.e., Equations (92), is shown in
To obtain the equivalent circuit of a PQ load that satisfies the KKT conditions given by Equation (88), the Lagrangian function from Equation (87) is differentiated with respect to the state and control variables of a respective PQ load. This further yields the governing equations in terms of Lagrange multipliers given as:
Wherein λRL and λIL are the Lagrange multipliers related to the real and imaginary PQ load voltages, while ξ(X) and
As can be seen from Equations (102) and (103), the terms wherein the real and imaginary Lagrange currents, i.e. ℑRL and ℑIL, are respectively proportional to the Lagrange multipliers related to the real and imaginary voltages, can be represented with a conductance. On the other side, the terms proportional to the Lagrange multipliers related voltages of the other circuit are represented by voltage controlled current sources. The second order sensitivities ξRL(VRL, VIL, dsq) and ξIL(VRL, VIL, dsq) are represented by controlled current sources, while their historic constant terms are represented by the constant current sources. The complete equivalent circuit of Equations (102) and (103) that further models the PQ load for ∇λ part of KKT conditions given by Equation (88) is shown in
The governing equations of the BIG load model, whose equivalent split circuit is shown in
I
R
_
BIG
=GV
RL
−BV
IL+αR (104)
I
I
_
BIG
=BV
RG
+GV
IG+αI (105)
wherein G, B, αR, and αI are known conductance, susceptance and current parameters of the load. It is noted that Equations (104) and (105) are linear, hence map the equivalent circuit that further model ∇λ part of KKT conditions, i.e., Equation (89).
Similarly as in the PQ load modeling, to obtain the equivalent circuit of a BIG load that satisfies the KKT conditions given by Equation (88), the Lagrangian function from Equation (87) is differentiated with respect to the state and control variables of a respective BIG load model. This further yields the governing equations in terms of Lagrange multipliers given as:
ℑR_BIG=GλR_BIG+BλI_BIG (106)
ℑI_BIG=GλI_BIG−BλR_BIG (107)
As can be seen from Equations (106) and (107), the terms wherein the real and imaginary Lagrange currents, i.e. ℑR_BIG and ℑI_BIG, are respectively proportional to the Lagrange multipliers related to the real and imaginary voltages, can be represented with a conductance. On the other side, the terms proportional to the Lagrange multipliers related voltages of the other circuit are represented by voltage controlled current sources. The equivalent split circuit that further models the BIG load for ∇λ part of KKT conditions given by Equation (88) is shown in
The OPF analysis limits the voltage magnitudes at each bus to ensure that the optimized system operates around the nominal voltage point. In addition to the voltage magnitude limits, the proposed invention adds the limits on both real and imaginary voltages that will further reduce the bounds around the global optimal solution.
The equality constraint added to define the bus voltage magnitude in terms of its real and imaginary parts, i.e. Equation (35), represents a nonlinear quadratic constraint, hence it is linearized using the first order Taylor expansion:
d
sq
k+1=2VRkVRk+1+2VIkVIk+1−(VIk)2−(VRk)2 (108)
wherein dsq, VR and VI are bus variable related to voltage magnitude as well as real and imaginary voltages, respectively.
Representing constraints as an equivalent circuit model will enable the formulation of the optimization program to be equivalent to the solution of an equivalent circuit model. As can be seen from Equation (108) the terms wherein the bus voltage magnitude is proportional to real and imaginary bus voltages can be represented by a voltage controlled voltages sources, while the term proportional to the values from previous SQP iteration is represented as an independent voltage source. The complete equivalent circuit that maps Equation (108) and further models ∇λ part of KKT conditions, i.e., Equation (89), is shown in
Let NG be the number of the generators connected to a bus. Moreover, let an aggregated PQ load be connected to the same bus. To obtain the equivalent circuit of a voltage constraint that satisfies the KKT conditions given by Equation (88), the Lagrangian function from Equation (87) is differentiated with respect to the state and control variables of a respective NG generators and aggregated load. This further yields the governing equations in terms of Lagrange multipliers given as:
ℑVR=−2VRkλV+μVRmax−μVRmin+ξVR(VR)+
ℑVI=−2VIkλV+μVImax−μVImin+ξVI(VI)+
λV=λRγRk+λIγIk−μV
wherein μVRmax, μVRmin, μVImax, μVImin, μVmax and μVmin are Lagrange multipliers related to the limits of real, imaginary and voltage magnitude at a bus, λRB, λIB and λV, Lagrange multipliers related to the real, imaginary and voltage magnitude respectively, ξVR(VR), ξVI(VI), ξV(VR, VI, G, B, dsq),
As can be seen from Equations (109) and (110), the term dependent on the Lagrangian multiplier is related to the voltage magnitude, and the Lagrange multipliers are related to the minimum and maximum bounds of the real and imaginary voltages respectively, that are represented as a controlled current sources. On the other side, the terms in Equation (111) that are dependent on the real and imaginary bus voltages are represented with voltage controlled voltage sources, while the last term dependent on Lagrange multipliers related to the minimum and maximum voltage magnitude bounds are represented with a current controlled voltage source. Lastly, the second order sensitivities and their corresponding historic terms are represented by controlled current and independent current sources respectively. The complete equivalent split circuit that models the voltage magnitude constraint for the ∇λ part of the KKT conditions, as given by Equation (88), is shown in
The governing equations of a variable shunt element are given by Equations (60) and (61). To obtain the equivalent circuits that satisfy the KKT conditions from Equation (89) the bilinear governing equations of a variable shunt is linearized using the first order Taylor expansion:
(IshR)k+1=GshkVRk+1−BshkVIk+1+VRkGshk+1+VIkBshk+1−VRkGshk+VIkBshk (114)
(IshI)k+1=BshkVRk+1+GshkVIk+1+VIkGshk+1+VRkBshk+1−VRkBshk−VIkGshk (115)
As can be seen from Equations (114) and (115), the first two terms of linearized real and imaginary currents, represent current sources that are function of newly introduced conductance and susceptance control variables. Further, the terms that are proportional to the voltage across them, can be represented by the conductance, while the terms that are proportional to the voltage across the other circuit are represented by voltage controlled current sources. Lastly, the remaining terms are all dependent on known values from the previous kthSQP iteration, so they can be lumped together and represented as an independent current source, i.e. IRshk and IIshk. The complete equivalent split circuit of Equations (114) and (115) that further models ∇λ part of KKT conditions, i.e., Equation (89), is shown in
Similarly, as with the derivation of the other equivalent split circuit models, to obtain the equivalent circuit that represents a variable shunt that satisfies the KKT conditions given by Equation (88), the Lagrangian function from Equation (87) is differentiated with respect to the state and control variables of a shunt element. The governing equations obtained in terms of Lagrange multipliers are then given as:
ℑRsh=GshkλVR+BshkλVI+ξRsh(Gsh,Bsh)+
ℑIsh=−BshkλVR+GshkλVI+ξIsh(Gsh,Bsh)+
V
R
kλVR+VIkλVI+μGmax−μGmin+ξG(VR,VI)+
−VIkλVR+VRkλVI+μBmax−μBmin+ξB(VR,VI)+
wherein μGmax, μGmin, μBmax and μBmin are Lagrange multipliers related to the limits of conductance and susceptance shunt variables, λVR and λVI are Lagrange multipliers related to the real and imaginary voltages across the shunt respectively, while ξRsh(Gsh,Bsh), ξIsh(Gsh, Bsh), ξG (VR, VI) and ξB (VR, VI) together with the corresponding historic terms (
As can be seen from Equations (116) and (117), the terms wherein the real and imaginary Lagrange currents, i.e. ℑRsh and ℑIsh, are respectively proportional to the Lagrange multipliers related to the real and imaginary voltages, and therefore, can be represented with a conductance. The terms proportional to the Lagrange multipliers related voltages of the other circuit are represented by voltage controlled current sources. Furthermore, the second order sensitivities dependent on the powerflow state variables are represented by the controlled current sources, while their corresponding historical terms are represented by the constant current sources. On the other side, Equations (118) and (119) can be seen as loops of voltage sources controlled by Lagrange multipliers related to the real and imaginary voltage and the conductance and susceptance limits. The equivalent split circuit that further models the variable shunt element for ∇λ part of KKT conditions given by Equation (88) is shown in
It has been shown that the split-circuit formulation models the slack bus as a voltage source in both real and imaginary circuits. Furthermore, since the reference angle is set to be zero, the voltage source in the imaginary circuit simply becomes a short to ground, i.e., a zero-valued voltage source to ground. Hence, the equivalent split circuit of a slack bus generator that further models ∇λ part of KKT conditions, i.e., Equation (89), is shown
To derive equivalent circuit of a slack bus generator that satisfies the KKT conditions given by Equation (88), the Lagrangian function from Equation (87) is differentiated with respect to the state and control variables of a generator. Governing equations obtained in terms of Lagrange multipliers are further given as:
wherein μPmax, μPmin, μQmax, μQmin, μVmax and μVmin are Lagrange multipliers related to the limits of real, reactive power and slack bus voltage respectively, and λVsb and λV0 are Lagrange multipliers related to the slack bus voltage and ground reference. Lastly, ξSB (VSB, ISBR, ISBI), ξP
As can be seen from Equation (120), the term wherein the real Lagrange current, i.e. ℑRsb, is proportional to the Lagrange multipliers related to the slack bus voltages and can be represented with a conductance. The second term proportional to the Lagrange multipliers related voltages of the other circuit is represented by voltage controlled current source. In addition, the terms wherein the ℑRsb is proportional to the Lagrange multipliers related to limits of slack bus voltage can be represented by controlled current sources. On the other side, Equations (121) and (122) represent the additional constraints added for real and reactive power of the slack bus generator, hence are appended to the circuit equations. The complete equivalent split circuit of Equation (120) that further models ∇λ part of KKT conditions, i.e., Equation (89), is shown in
II. J. vii Transmission Line with Thermal Limit
The governing split-circuit equations of a transmission line are given as:
wherein Bsh, BL and GL are pi-model transmission line parameters, i.e. shunt and series susceptance and series conductance respectively, VR1, VI1, VR2 and VI2 are the real and imaginary voltages across the transmission line and IR12, II12, IR21 and II21 are the currents flowing between bus 1 and bus 2.
As can be seen from Equations (123) to (126), the term wherein the real currents are proportional to the bus voltage of the other circuit can be represented by a voltage controlled current source. Also, the terms wherein the current is proportional to the voltage drop across them can be represented by a conductance, while the terms proportional to the voltage drop of other circuit can be represented by a current controlled current source. The equivalent split circuit of a transmission line that further models ∇λ part of KKT conditions, i.e., Equation (89), is shown in
To derive a transmission line equivalent the that satisfies the KKT conditions given by Equation (88) and has the thermal, i.e. current limits incorporated, the Lagrangian function from Equation (87) is differentiated with respect to the state and control variables of a transmission line. Governing equations obtained in terms of Lagrange multipliers are then given as:
wherein λR1, λR2, λI1 and λI2 are Lagrange multipliers related to the real and imaginary bus voltages, μImax Lagrange multiple related to the thermal limit, i.e. current magnitude in the series element, ξR12(IR, II), ξI12 (IR, II), ξR21(IR, II) and ξI21(IR, II), represent the second order sensitivities related to the transmission line thermal constraint, while πR1, πR2, πI1 and πI2 are placeholder constants in terms of the real and imaginary currents flowing through the series element of the transmission line given as:
πR1=2GLIRk+2BLIIk (131)
πI1=−2BLIRk+2GLIIk (132)
πR2=−2GLIRk−2BLIIk (133)
πI2=2BLIRk−2GLIIk (134)
As can be seen from Equations (127) to (130), the terms wherein the real currents are proportional to the Lagrange multiplier related to bus voltage of the other circuit can be represented by a voltage controlled current source. Also, the terms wherein the current is proportional to the difference of Lagrange multipliers related to the bus voltages across them are represented by a conductance, while the terms proportional to the difference of Lagrange multipliers related to the bus voltages of other circuit are represented by a current controlled current source. Lastly, the second order sensitivity terms together with the corresponding historic terms are represented by controlled and constant current sources respectively. The equivalent split circuit of a transmission line that further models ∇λ part of KKT conditions is shown in
As discussed in the algorithm section, GB-OPF is based on simplification of generation real and reactive power constraints, wherein the real and reactive power state variables are converted to the equivalent conductance and susceptance variables at a fixed voltage magnitude. It is important to note that the voltage magnitude at a bus is not fixed and it still remains the control variable within the GB-OPF framework. Hence, only PV generator bus, voltage magnitude constraint, and slack generator models will be changed. Moreover, all the previously derived equivalent split-circuits for transmission line with thermal limit, PQ and BIG load models, as well as variable shunts element will remain the same as in Full-OPF.
The PV generator bus defined in the Full-OPF section is modified such that the real and reactive power state variables are transformed to the equivalent conductance and susceptance state variables at the fixed value of voltage magnitude. Since the voltage magnitude at the generator bus is not assumed to be fixed within the GB-OPF framework, Equations (94) and (95) become redundant and hence, can be removed. Moreover, since limiting the real and reactive power of a PV generator becomes equivalent to the limiting of conductance and susceptance, the equations from Equation (98) and (99) are replaced by the new constraints derived from the ∇λ KKT conditions that are further given as:
b
P
d
sq
k+2cP|dsqk|2GG−VRGkλRG−VIGkλIG+dsqk(μPmax−μPmin)+ξP+
b
Q
d
sq
k+2cQ|dsqk|2BG−VIGkλRG+VRGkλIG+dsqk(μQmax−μQmin)+ξQ+
Lastly, the complete set of governing equations of a PV generator bus in GB-OPF is defined by Equations (92), (93), (96), (97), (135), and (136).
The equivalent circuit of a voltage magnitude constraint derived in the Full-OPF section that further satisfies the ∇λ KKT conditions is shown to be dependent on the number of the generators and PQ loads connected to the respective bus. It can be shown that this dependency is related to the number of additional constraints added to define the relationship between the newly introduced conductance and susceptance state variables of a generator and the respective real and reactive powers. Since, the power related constraints given by Equations (94) and (95) become redundant in GB-OPF formulation, the parameters of ∇λ equivalent circuit defined in Equations (112) and (113) will be replaced by the ones defined as:
In addition, the complete set of governing equations that describe the voltage magnitude constraint within the GB-OPF framework is defined by Equations (108) to (111), (137), and (138).
The slack bus real and reactive powers are defined as functions of bus voltage and real and reactive currents respectively, i.e. Equations (26) to (30). To transform the slack bus generator to the GB-OPF framework, the respective real and reactive power constraints are converted to the equivalent real and reactive current ones. Hence, the governing equation of the equivalent split circuit for a slack bus generator (
ℑRsb=|μVmax−μVmin (139)
b
P
V
SB
k+2cP(VSBk)2(ISBR)k+1+λVsb+VSBk(μPmax−μPmin)+ξPsb+
−bQVSBkB+2cQ(VSBk)2(ISBI)k+1+λV0+VSBk(μQmin−μQmax)+ξQsb+
In the previous section, is was shown how the complete AC-OPF problem can be reformulated in terms of equivalent circuit models. Therefore, decades of advanced research in the field of circuit simulations can be applied directly to the AC-OPF problem and further provide the ability to analyze the complete problem from entirely new perspective. As has been shown elsewhere, the equivalent split-circuit formulation allows for the derivation of new continuation and homotopy methods to robustly simulate the large-scale cases solely dependent on the physics-based formulation of powerflow problem. More importantly, the convergence to the high voltage solution of the powerflow problem can be guaranteed for any initial starting condition.
This disclosure introduced the Admittance stepping (A-stepping) homotopy method, which is based on reduction and expansion of the equivalent OPF circuit. The original nonlinear AC-OPF equivalent circuit is firstly converted to an equivalent circuit, whose operating point represent the solution of the economic dispatch problem. Referring to
II. L. i. Contracting the AC-OPF Equivalent Split-Circuit
The series element of a AC-OPF equivalent circuit is shorted by adding the very large admittance in parallel with the respective series element. Most importantly, in order to fully preserve the characteristics of the equivalent circuit, the conductance/susceptance (GB) ratio of a series homotopy admittance (YH,s=GH,s+jBH,s) related to admittance of the series element needs to be such that the GB ratio of a total admittance remains the same. Hence, the value of the series homotopy admittance can be obtained as:
Y
H,s
=ζY
ik,s (142)
wherein Yik,s is the admittance of the series element connecting buses i and k, and ζ is a homotopy constant, set such that |YH,s|>>|Yik,s|.
The shunt reactive elements, i.e., capacitors, Q loads, etc., of AC-OPF equivalent circuit are set to zero by connecting the conjugate reactance in parallel with the original shunt reactive element. For instance, the homotopy shunt susceptance of a shunt capacitor (Bi,sh) connected to bus i is given as:
B
H,sh
=−B
i,sh (143)
In addition, an operating point of the fully contracted AC-OPF circuit represents the solution equivalent to the economic dispatch problem, which is independent of voltage magnitude. Thus, without loss of generality the voltage magnitude can be set to its maximum limit, such that the series line losses in the first homotopy step are minimized, i.e. constant real power load models will draw the “lowest” current and “highest” voltage.
II. L. ii. Expanding the AC-OPF Equivalent Split-Circuit
Once the complete AC-OPF is fully contracted, it will be expanded by solving for the operating point of the original circuit in two steps. In the first step, the values of the series homotopy admittances are gradually decreased to zero, while keeping the reactive shunt homotopy admittance on. It should be noted that for each decrement of the series homotopy admittance, the operating point of the AC-OPF circuit is obtained and used as an initial starting point for solving the circuit for the next decrement. Hence. the gradual decreasing of the series homotopy admittance can be written in terms of total series admittance between buses i and k (Yik) as:
Y
ik
=Y
ik,s+(1−ξ)YH,s (144)
wherein ξ is a homotopy decrement constant, i.e. ξϵ[0,1]. It is noted that the homotopy decrement constant can be dynamically scaled up by the procedure similar to the dynamic time stepping in the transient circuit simulation.
After the series homotopy admittances are completely turned off, the second step of the AC-OPF circuit expansion is started by gradually decreasing the homotopy shunt susceptance. For the example of a shunt capacitor, this can be further defined in terms of the total shunt susceptance at bus i as:
B
i
=B
i,sh+(1−ξ)BH,sh (145)
Importantly, as it can be seen from the introduced A-stepping homotopy method, the homotopy relaxation is solely based on adding the homotopy admittances that are linear elements in the equivalent split-circuit formulation. Hence, the proof of convergence to the global AC-OPF solution obtained by contracting and expanding the AC-OPF equivalent circuit is given in next subsection.
II. L. iii. Convergence to the Global AC-OPF Solution
Assumption 1. If the operating point of the completely contracted AC-OPF equivalent split-circuit represents the global solution of the Economic Dispatch problem, assume that the global solution of the AC-OPF bounded by the additional linear network constraints exist within the same connected set.
Lemma 1. Let G: D⊆n→D be a nonlinear mapping which has a fixed point X* that represents the global operating point of the AC-OPF equivalent circuit.
X*=G(X*) (146)
If X*a global operating point of the circuit exists, there also exists an open ball of attraction with radius r≠0, Br(X*, r):
B
r(X*,r)={Xϵn:∥X−X*∥<r}⊆D (147)
such that for any initial approximation X0ϵBr the successive linear approximations:
X
k+1
=G(Xk),∀kϵ[0,N] (148)
represents a Cauchy sequence, i.e. remains in D and converges to X*in finite number of iterations (N).
Lemma 2. Let X0* and X1* be global operating points of the economic dispatch problem and the AC-OPF equivalent circuit after the first homotopy relaxation step respectively. According to Assumption 1 and Lemma 1, if both solution exist, there has to exist a change in the homotopy admittance, δY≠0 that further constraints the solution space such that the global solution of economic dispatch problem stays in the open ball of attraction of the first homotopy relaxation equivalent circuit:
B
r1(X1*,r)={X0*ϵn:∥X0*−X1*∥<r1}⊆D (149)
Theorem 2. Let Xm* and Xm+1* be the global operating points of the AC-OPF equivalent circuit at mth and (m+1)th homotopy steps. Furthermore, let Xm* be a known global operating point obtain from previous m−1 steps. As a generalization of Lemma 2, if the Xm+1* solution exists, there has to exist a nonzero δY to shifts the linear network constraints such that the known Xm* remains in the ball of attraction Br(Xm+1*,r).
Proof. According to Ohm's Law, the current is directly proportional to the voltage across the admittance and its sensitivity to voltage is defined by the value of admittance. Thus, the homotopy step introduces the change in network admittance that will further shift the operating point of the contracted equivalent circuit as a function of the change in homotopy admittance. Hence, there has to exist a change of admittance such that the previous operating point of the circuit remains in the Banach space of the new optimal solution. Lastly, from the linear relationship between network constraints in equivalent circuit formulation and by considering the Assumption 1, it can be deduced without loss of generality that if the global operating points for both economic dispatch and AC-OPF equivalent circuit exist, there has to exist a finite number of homotopy steps that will ensure that each of the homotopy steps following the global operating point of Economic Dispatch problem remains in the Basin of attraction of the new operating point.
This subsection describes example algorithms that can be used to determine an OPF solution. A diagram illustrating example inputs and outputs for each of these algorithms is given in
An example OPF method, illustrated in
It is noted that both full and iterative OBF algorithms can use the McCormick convex relaxation and are based on solving the relaxed problem to obtain the initial guess and lower optimal bound for the original problem. Furthermore, the upper optimal bound of the power flow is obtained by solving the original nonlinear problem. Thus, the iterations between relaxed and the original problem tightens the bounds of the relaxed problem until the convergence the global optimum is reached, i.e., lower optimal bound becomes equal to the upper one. Details for two of the aforementioned OPF algorithms are further described in the following sections.
It was shown above that an OPF problem could be translated to the equivalent circuit domain without loss of generality. One method to handle the bilinear nonlinearities introduced in the optimization program and further obtain the global solution is based on consecutively solving the relaxed convex problem and the original nonlinear optimal power flow problem. An example flow chart of a Full-OPF algorithm is shown in
In order to decrease the complexity of the optimization program introduced by the additional bilinear nonlinearities and accurately handle the traditionally postulated power based constraints and models, an iterative optimal power flow algorithm is introduced. Contrary to the Full-OPF, in the iterative OPF the generated real and reactive power state variables are converted to the respective conductance and susceptance variables at a nominal voltage. The resulting optimization problem, together with linear BIG load models, doesn't contain the bilinear nonlinearities and further decreases the complexity of the optimization program. An example simplified GB-OPF method is shown in
At block 3320, network models are created and the OPF problem to be solved by OPF solver 3304 is formulated. The OPF problem may be formulated according to any one or more of the formulation techniques described above including, but not limited to, a Full-OPF formulation, a GB-OPF formulation, an AC-OPF formulation, an SCOPF formulation, and an AC-GB-OPF formulation, among others, as described and illustrated herein in detail. Correspondingly, OPF solver 3304 may solve the OPF problem using any one or more of the techniques described herein, including, but not limited to, a direct technique, an iterative technique, the A-stepping homotopy technique, relaxation techniques, and nonlinear optimization techniques, among others. Inputs for the network models and OPF problem can include, but not be limited to, the outputs of generators 3308A and outputs from various pieces of power grid equipment 3308B and/or sensors associated therewith. The created network models and OPF problem may be provided to any one or more of system operators 3312 and/or to any one or more of monitoring/regulating entities 3316, if present, which may provide any suitable information to OPF solver 3304 for determining an appropriate solution to the OPF problem formulated at block 3320.
Output 3324 of OPF solver 3304 may include signals based on the solution determined by the OPF solver solving the OPF problem. Such signals can include suitable control signals for controlling generators 3308A and/or for controlling controllable pieces of power grid equipment 3308B. Those skilled in the art will readily understand the type, nature, and character of such control signals given a desired application of OPF solver 3304. Other output of OPF solver 3304 may include information in addition to or in lieu of control signals for allowing any one or more of each of system operators 3312 and/or monitoring/regulating entities 3316 to keep up to date on the status of power grid 3308 and/or to perform the corresponding function(s). Those skilled in the art will readily appreciate that scenario 3300 is provided for the sake of illustrating and is not intended to limit the scope of applicability of aspects of the present invention in any manner. Indeed, those skilled in the art will readily be able to adopt and adapt various aspects of the present invention to many scenarios that are variation of scenario 3300 or completely different from scenario 3300.
The example methods describe above were applied to three known benchmarks (3-, 5-, and 9-bus cases) in the literature that are considered to have multiple optima solutions. The 3-, 5-, and 9-bus test cases are shown in
V. Market Dispatch using Optimal Power Flow
An ultimate goal of ISO (Independent Service Operator) market software is the security-constrained, self-healing (corrective switching) AC optimal power flow with unit commitment over the optimal network. The potential savings assuming 5% increase in efficiency of market dispatch is equal to approximately 19 $billion/year for the United States grid operation. The methodologies set forth in this disclosure can result in achieving this goal. SCOPF (again, security constrained optimal power flow) as formulated in this disclosure can dispatch all the available generating units optimally in the spot-pricing market. Upon receiving price bids from the available generating units and their corresponding generation limits (Pmax and Pmin), the ISOs and RTOs can run the SCOPF to dispatch the generators in most optimal manner. As a result, from the solution of the SCOPF the ISOs/RTOs will send out signals to the generating units to output their optimal power generation. From the solution of the SCOPF, the signals would also be generated for the control variables in the system. These control variables will be actuated by the system operator or the EMS software itself. Examples of these control variables include:
In addition to including the control variables in the formulation, the SCOPF can also formulate/limit the maximal allowed adjustments of the control variables between the base case and the post-contingency state.
The SCOPF will also ensure that none of the system equipment limits are violated. These limits include but are not limited to:
In order, to dispatch the generating units economically, the objective function for the SCOPF would be to minimize the cost of generation. However, in order to be practically useful solution, the main objective function in the SCOPF must be augmented with additional functions for purposes such as:
The methodology presented in this disclosure will be able to achieve all the postulated goals. Furthermore, the proposed formulation can be implemented in day-ahead operational planning by the ISOs that has become an exercise in managing uncertainty.
VI Power System Planning using Optimal Power Flow
The methodology disclose herein is flexible and can be used to address/analyze other goals for better operation of power system. In addition to optimally dispatching generators (economically), the disclosed methodology can also be used for power system planning. The formulation proposed in this disclosure can help analyze the most optimal reactive power scheduling, or perform voltage collapse analysis, or even congestion analysis. Some of the common objective functions to facilitate power system planning that can easily incorporated into formulations of the presently disclosed methodology are:
The proposed SCOPF would fit itself into a bigger system solution. The installations of PMUs and RTUs are resulting in bulk measurement data. This measurement data can be transferred into models using network modeling approach as described by equivalent circuit formulation. The network models can then be studied using the proposed optimal power flow formulation to compute required corrective actions. These corrective actions can then be implemented on the system equipment and the process can be repeated until optimal results are achieved.
In order for the optimal power flow to be used in a practical setting, it is critical that security of the grid is taken into account. Power system operators and planners often use the term “N−1” to describe the ability of the system to survive the loss of single equipment in the system. Similarly, the term “N−2” is used to describe the ability of the system to survive the simultaneous loss of two equipment in the system. In addition, another term “N−1-1” refers to one contingency, and then after initial response, a second contingency.
The notion of contingency is extremely important to best analyze the system. In a practical system, power system engineers study the vulnerabilities of their system and develop probability based contingency lists. A single contingency can be described a “system-event” that can involve anything from one to many simultaneous changes to the pre-contingency power system. Some of these can include:
The security itself can then be further described by preventive security and corrective security. In preventive SCOPF, power systems will suffer no constraint violation following any single or double contingency and the resulting response of automatic controls. The “preventive” SCOPF is a form of SCOPF that does not consider the possibility of corrective actions in post-contingency states, other than those that take place automatically. Therefore, in the preventive SCOPF, the values of the non-automatic control variables are the same in all system states. Methodologies disclosed herein can inherently handle this form of SCOPF. Furthermore, aspects of the invention can be expanded to include corrective actions for a given contingency. This would be referred to as “corrective” SCOPF. Those skilled in the art will readily understand how to make such expansions.
The preventive and corrective actions or the set-points changes identified by the SCOPF must be validated using time-domain simulations in order to ensure that they will not cause any instability. An implicit assumption of the SCOPF (once it has converged) is that upon a contingency or set-point change, the system will not go unstable and will actually reach a steady-state. This assumption is validated in our invention by inducing a conservative set of inequality constraints. In addition, the proposed invention is based on equivalent circuit formulation and can, therefore, incorporate any set of algebraic equations that describe the physics of the actual device to make sure that the device does not go unstable.
It is to be noted that any one or more of the aspects and embodiments described herein may be conveniently implemented in and/or using one or more machines (e.g., one or more computers, one or more communications network devices, one or more electrical distribution network devices, any combination and/or network thereof, among other things) programmed according to the teachings of the present specification, as will be apparent to those of ordinary skill in the computer arts. Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those of ordinary skill in the software art. Aspects and implementations discussed above employing software and/or software modules may also include appropriate hardware for assisting in the implementation of the machine executable instructions of the software and/or software module.
Such software may be a computer program product that employs a machine-readable storage medium. A machine-readable storage medium may be any medium that is capable of storing and/or encoding a sequence of instructions for execution by a machine (e.g., a computing device) and that causes the machine to perform any one of the methodologies and/or embodiments described herein. Examples of a machine-readable storage medium include, but are not limited to, a magnetic disk, an optical disc (e.g., CD, CD-R, DVD, DVD-R, etc.), a magneto-optical disk, a read-only memory “ROM” device, a random access memory “RAM” device, a magnetic card, an optical card, a solid-state memory device, an EPROM, an EEPROM, and any combinations thereof. A machine-readable medium, as used herein, is intended to include a single medium as well as a collection of physically separate media, such as, for example, a collection of compact discs or one or more hard disk drives in combination with a computer memory. As used herein, a machine-readable storage medium does not include transitory forms of signal transmission.
Such software may also include information (e.g., data) carried as a data signal on a data carrier, such as a carrier wave. For example, machine-executable information may be included as a data-carrying signal embodied in a data carrier in which the signal encodes a sequence of instruction, or portion thereof, for execution by a machine (e.g., a computing device) and any related information (e.g., data structures and data) that causes the machine to perform any one of the methodologies and/or embodiments described herein.
Examples of a computing device include, but are not limited to, a laptop computer, a computer workstation, a terminal computer, a server computer, a handheld device (e.g., a tablet computer, a smartphone, etc.), a web appliance, a network router, a network switch, a network bridge, any machine capable of executing a sequence of instructions that specify an action to be taken by that machine, and any combinations thereof. In one example, a computing device may include and/or be included in a kiosk.
Memory 3808 may include various components (e.g., machine-readable media) including, but not limited to, a random access memory component, a read only component, and any combinations thereof. In one example, a basic input/output system 3816 (BIOS), including basic routines that help to transfer information between elements within computer system 3800, such as during start-up, may be stored in memory 3808. Memory 3808 may also include (e.g., stored on one or more machine-readable media) instructions (e.g., software) 3820 embodying any one or more of the aspects and/or methodologies of the present disclosure. In another example, memory 3808 may further include any number of program modules including, but not limited to, an operating system, one or more application programs, other program modules, program data, and any combinations thereof.
Computer system 3800 may also include a storage device 3824. Examples of a storage device (e.g., storage device 3824) include, but are not limited to, a hard disk drive, a magnetic disk drive, an optical disc drive in combination with an optical medium, a solid-state memory device, and any combinations thereof. Storage device 3824 may be connected to bus 3812 by an appropriate interface (not shown). Example interfaces include, but are not limited to, SCSI, advanced technology attachment (λTA), serial λTA, universal serial bus (USB), IEEE 1394 (FIREWIRE), and any combinations thereof. In one example, storage device 3824 (or one or more components thereof) may be removably interfaced with computer system 3800 (e.g., via an external port connector (not shown)). Particularly, storage device 3824 and an associated machine-readable medium 3828 may provide nonvolatile and/or volatile storage of machine-readable instructions, data structures, program modules, and/or other data for computer system 3800. In one example, software 3820 may reside, completely or partially, within machine-readable medium 3828. In another example, software 3820 may reside, completely or partially, within processor 3804.
Computer system 3800 may also include an input device 3832. In one example, a user of computer system 3800 may enter commands and/or other information into computer system 3800 via input device 3832. Examples of an input device 3832 include, but are not limited to, an alpha-numeric input device (e.g., a keyboard), a pointing device, a joystick, a gamepad, an audio input device (e.g., a microphone, a voice response system, etc.), a cursor control device (e.g., a mouse), a touchpad, an optical scanner, a video capture device (e.g., a still camera, a video camera), a touchscreen, and any combinations thereof. Input device 3832 may be interfaced to bus 3812 via any of a variety of interfaces (not shown) including, but not limited to, a serial interface, a parallel interface, a game port, a USB interface, a FIREWIRE interface, a direct interface to bus 3812, and any combinations thereof. Input device 3832 may include a touch screen interface that may be a part of or separate from display 3836, discussed further below. Input device 3832 may be utilized as a user selection device for selecting one or more graphical representations in a graphical interface as described above.
A user may also input commands and/or other information to computer system 3800 via storage device 3824 (e.g., a removable disk drive, a flash drive, etc.) and/or network interface device 3840. A network interface device, such as network interface device 3840, may be utilized for connecting computer system 3800 to one or more of a variety of networks, such as network 3844, and one or more remote devices 3848 connected thereto. Examples of a network interface device include, but are not limited to, a network interface card (e.g., a mobile network interface card, a LAN card), a modem, and any combination thereof. Examples of a network include, but are not limited to, a wide area network (e.g., the Internet, an enterprise network), a local area network (e.g., a network associated with an office, a building, a campus or other relatively small geographic space), a telephone network, a data network associated with a telephone/voice provider (e.g., a mobile communications provider data and/or voice network), a direct connection between two computing devices, and any combinations thereof. A network, such as network 3844, may employ a wired and/or a wireless mode of communication. In general, any network topology may be used. Information (e.g., data, software 3820, etc.) may be communicated to and/or from computer system 3800 via network interface device 3840.
Computer system 3800 may further include a video display adapter 3852 for communicating a displayable image to a display device, such as display device 3836. Examples of a display device include, but are not limited to, a liquid crystal display (LCD), a cathode ray tube (CRT), a plasma display, a light emitting diode (LED) display, and any combinations thereof. Display adapter 3852 and display device 3836 may be utilized in combination with processor 3804 to provide graphical representations of aspects of the present disclosure. In addition to a display device, computer system 3800 may include one or more other peripheral output devices including, but not limited to, an audio speaker, a printer, and any combinations thereof. Such peripheral output devices may be connected to bus 3812 via a peripheral interface 3856. Examples of a peripheral interface include, but are not limited to, a serial port, a USB connection, a FIREWIRE connection, a parallel connection, and any combinations thereof.
The foregoing has been a detailed description of illustrative embodiments of the invention. It is noted that in the present specification and claims appended hereto, conjunctive language such as is used in the phrases “at least one of X, Y and Z” and “one or more of X, Y, and Z,” unless specifically stated or indicated otherwise, shall be taken to mean that each item in the conjunctive list can be present in any number exclusive of every other item in the list or in any number in combination with any or all other item(s) in the conjunctive list, each of which may also be present in any number. Applying this general rule, the conjunctive phrases in the foregoing examples in which the conjunctive list consists of X, Y, and Z shall each encompass: one or more of X; one or more of Y; one or more of Z; one or more of X and one or more of Y; one or more of Y and one or more of Z; one or more of X and one or more of Z; and one or more of X, one or more of Y and one or more of Z.
Various modifications and additions can be made without departing from the spirit and scope of this invention. Features of each of the various embodiments described above may be combined with features of other described embodiments as appropriate in order to provide a multiplicity of feature combinations in associated new embodiments. Furthermore, while the foregoing describes a number of separate embodiments, what has been described herein is merely illustrative of the application of the principles of the present invention. Additionally, although particular methods herein may be illustrated and/or described as being performed in a specific order, the ordering is highly variable within ordinary skill to achieve aspects of the present disclosure. Accordingly, this description is meant to be taken only by way of example, and not to otherwise limit the scope of this invention.
Exemplary embodiments have been disclosed above and illustrated in the accompanying drawings. It will be understood by those skilled in the art that various changes, omissions and additions may be made to that which is specifically disclosed herein without departing from the spirit and scope of the present invention.
This application claims the benefit of priority of U.S. Provisional Patent Application Ser. No. 62/497,854, filed on Dec. 5, 2016, and titled “Optimal power flow using equivalent circuit formulation,” which is incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
62497854 | Dec 2016 | US |