Embodiments of the present invention relate to the field of electric power generation and distribution systems. More specifically, embodiments of the present invention provide a method and apparatus for economic and secure operation of electric power generation and distribution systems.
The optimal power flow (OPF) is a subject of interest in power system operations, scheduling, and planning. The main objective of an OPF solver is to determine the optimal steady-state operation of an electric power system while satisfying technical and economic constraints. With the structural deregulation of electric power systems, OPF is becoming a basic tool in the power market. Existing solvers and programs for OPF computation are mostly focused on achieving an optimal solution to the study objective for the pre-contingency system (base case system); i.e., the electric power system without any security/stability considerations. However, it is crucial for the OPF solutions being not only economic and but also secure. The terms “secure” and “security” as used herein are interchangeable with the terms “stable” and “stability,” respectively. More specifically, a power system is secure if it is able to maintain a normal and stable operation when encountering contingencies, where contingencies are discrete events such as failure of devices (e.g., lines, generators, shunts, etc.). A widely accepted system security concept is the so-called “N-1 security;” that is, only one device of the power network fails at a time for a single credible contingency. A contingency is “credible” if its occurrence is plausible and/or falls in a range of likelihood. The “N-1 security” contingency standard has been established by the North American Electric Reliability Corporation (NERC) and is required to be complied by power utilities. Accordingly, an electric power system is required to be operated in a way such that it can survive the occurrence of any single credible contingency where any single component in the system goes offline suddenly.
Mathematically, an OPF problem is modeled as a nonlinear programming (NLP) problem, which usually minimizes the total generation dispatch cost, transmission loss, or their combination subject to a set of equality and inequality constraints. From a computational viewpoint, an OPF problem is a large-scale non-convex NLP problem, in which both the objective function and constraint functions can be nonlinear. An OPF problem becomes a mixed-integer NLP when discrete control variables such as transformer taps, shunt capacitor banks and Flexible AC transmission system (FACTS) devices are taken into account. Furthermore, if transient stability constraints are considered, then an OPF problem can be expressed as a set of large-scale differential-algebraic equations (DAE).
An OPF problem can be formulated as a general constrained nonlinear optimization problem of the following form:
minx=(x
s·th(x)=0
g(x)≦0
x
l
≦x≦x
u (1)
where, xs=[θ1, θ2, . . . , θn, V1, V2, . . . , Vn]T is the state vector composed of variables of system running states including bus voltage amplitudes and phase angles;
xc=[Pg1, Pg2, . . . , Pgm, Qg1, Qg2, . . . , Qgm, tap1, . . . ] is the control vector which is composed of control variables such as generator real and reactive power outputs, transformer taps, shunt capacitor banks, FACTS control variables, and so on; g(x) represents nonlinear equality constraints required for power flow balance at each bus; h(x) represents nonlinear inequality constraints composed of functional and operational constraints such as power flow limits over transmission lines and transformers, limits on VAR (voltage-ampere reactive, which is a unit used to measure reactive power in an AC electric power system) injections for reactive control buses and real power injections for the slack buses; xl and xu are the lower and upper bounds to be imposed on state and control variables.
There has been a wealth of research efforts focused on developing effective and robust nonlinear programming (NLP) methods for solving general nonlinear optimization problems of the form (1) and applications of these methods to solving OPF problems with a full set of nonlinear equality and inequality constraints. Existing methods for solving OPF problems either through solving an approximated linear program (LP) or through solving the NLP directly. LP based solvers are generally fast and very robust. However, since the LP is only an approximate to the true OPF problem, the resulting LP solutions can be an inaccurate approximate to the true OPF solution. Moreover, some information, such as the locationally marginal prices (LMP) that is required by power markets cannot be accurately obtained. NLP based solvers, on the other hand, can result in accurate OPF solutions and LMP values, at the expense of increased solver complexity and decreased solver robustness. More specifically, due to the nonlinearity and nonconvexity of the objective and constraint functions of the OPF problem, the convergence of the solver is usually not guaranteed, even though an OPF solution indeed exists. When security criteria are satisfied for the OPF solution, the resulting optimization problem becomes security-constrained optimal power flow (SCOPF). Therefore, the goal of an SCOPF problem is to ensure that the system operate properly under both the pre-contingency (base case system) and post-contingency conditions. Existing SCOPF methods usually try to solve an augmented OPF problem to co-optimize among the involved contingences. Complexity, in terms of the number of decision variables and the number of equality and inequality constraints, of the resulting OPF problem grows rapidly as the number of contingencies under study increases. However, such increased complexity could result in numerical issues including poor convergence, rapidly increased consumption of CPU time and other computational resources. For example, in order to perform a security-constrained OPF analysis on a 10,000-bus system with 100 contingencies, the augmented OPF problem to be solved will have millions of variables and nonlinear constraints. Therefore, the augmented OPF problem can easily become intractable or even impossible by the available computational resources as the scale of the system or the number of contingencies increases.
According to one embodiment of the invention, a method is provided for generating generates a secure optimal power flow (OPF) solution for solving an OPF problem that formulates constraints and operation of an electric power system. The method comprises the steps of (a) creating a list of contingencies from system data; (b) computing an OPF solution for the electric power system to optimize an objective function value under the constraints of the electric power system; (c) performing voltage stability analysis on the electric power system that operates in states represented by the OPF solution to rank the list of contingencies according to load margins of the electric power system; (d) if there is at least an insecure contingency with a non-positive load margin in the list of contingencies, computing a set of preventive controls, which are adjustments to parameters of control components in the electric power system; and (e) applying the set of preventive controls to the control components in the electric power system. The steps of (b), (c), (d) and (e) are repeated to obtain the secure OPF solution.
In another embodiment, a system is provided for generating a secure OPF solution for solving an OPF problem that formulates constraints and operation of an electric power system. The system comprises a memory to store an OPF solver and a voltage stability analyzer, and one or more processors coupled to the memory. The one or more processors are adapted to (a) create a list of contingencies from system data; (b) compute an OPF solution for the electric power system to optimize an objective function value under the constraints of the electric power system; (c) perform voltage stability analysis on the electric power system that operates in states represented by the OPF solution to rank the list of contingencies according to load margins of the electric power system; (d) if there is at least an insecure contingency with a non-positive load margin in the list of contingencies, compute a set of preventive controls, which are adjustments to parameters of control components in the electric power system; and (e) apply the set of preventive controls to the control components in the electric power system. The one or more processors are further adapted to repeat the operations of (b), (c), (d) and (e) to obtain the secure OPF solution.
In yet another embodiment, a non-transitory computer readable storage medium includes instructions that, when executed by a processing system, cause the processing system to perform the aforementioned method for generating a secure OPF solution for solving an OPF problem that formulates constraints and operation of an electric power system.
Embodiments are illustrated by way of example and not limitation in the Figures of the accompanying drawings:
The aforementioned issues of existing practices for solving the OPF and security-constrained OPF problems motivate the development of a SuperOPF-VS process. The SuperOPF-VS process computes secure optimal power flow solutions by incorporating a SuperOPF process for optimal power flow computation and a voltage stability (VS) process for voltage stability analysis. The SuperOPF-VS process achieves at least the following goals: 1) to avoid solving the difficult, if not impossible, OPF problem with augmented dimensions; 2) to take full advantage of existing mature voltage stability analysis tools for fast voltage stability analysis; and 3) to realize an OPF problem with voltage stability that scale well with the number of contingencies; that is, the complexity of the OPF problem does not increase when the number of contingencies increases, such that the OPF problem is scalable to handle large contingency lists for large-scale electric power systems.
Embodiments of present invention provide a method and apparatus for generating voltage stability analysis-assisted optimal power flow for large-scale electric power systems. The method and apparatus performs a SuperOPF-VS process, which is an iterative process that combines a SuperOPF process for computing an optimal power flow solution and a VS process for analyzing voltage stability with respect to a list of contingencies for the optimal power flow solution. The VS process also computes a set of optimal preventive controls to eliminate or reduce insecure contingencies.
Embodiments of the SuperOPF-VS process have at least the following advantages. One advantage of the SuperOPF-VS process is that it includes all of the advantageous features of full nonlinear optimization methods and yet it is more efficient than these methods. Examples of the full nonlinear optimization methods include accurate OPF solution and LMP calculation, which are generally more favorable than linear programming (LP) based OPF and security-constrained OPF methods. The SuperOPF-VS process is efficient because it does not deal with the whole list of thermal limit constraints (which is typically twice the number of branches in the system). Instead, the SuperOPF-VS process only deals with active thermal limit constraints (e.g., usually less than 100) in order to compute an OPF solution.
Another advantage of the SuperOPF-VS process is that it is efficient as it does not use all of the thermal limit constraints (e.g., only the active thermal limit constraints is used) in computing an OPF solution.
Yet another advantage of the SuperOPF-VS process is that discrete controls are efficiently handled with a sensitivity-based method. Therefore, all controls in the system can be assigned to their physically allowed positions
Yet another advantage of the SuperOPF-VS process is that it is able to tackle a large number of contingencies on large-scale electric power systems. This is because the SuperOPF process is performed on the base case system with considering the effect of the contingencies. The contingencies are analyzed in a separate process, i.e., the VS process.
Yet another advantage of the SuperOPF-VS process is that it provides useful indices for a system operator to evaluate the effects introduced by enforcing voltage stability constraints. These indices are readily available or can be derived conveniently as a result of the Super-OPF process. More specifically, both the OPF objective and load margins for the system are available as a result of the Super-OPF process. Moreover, the SuperOPF process can provide an exact upper bound on the optimality of the solution produced by the VS process, thus explicit indices such as the changes of the OPF objective and load margins can be conveniently derived for evaluating the conservativeness and other effects introduced by enforcing voltage stability constraints.
Before describing the SuperOPF-VS process, it is useful to show an example of an electric power grid (or also referred to an electric power network or electric power system) to which the SuperOPF-VS process can apply to improve its power flow.
An alternating-current (AC) bus 101 represents a node in the graph of the power network. All or a subset of the following control components can be defined for a bus in the network. Additional control components may also be included in alternative embodiments of an electric power network.
Load 102: a component that consumes both active power (measured in MW, represented as P_D) and reactive power (measured in MVar, represented as Q_D).
Generator 103: a component that produces both active power (Measured in MW, represented as P_G) and reactive power (measured in MVar, represented as Q_G).
The voltage magnitude and phase angle of bus 101: represented as V and θ, respectively. The voltage magnitude of bus 101 is usually restricted to a certain range around a nominal value.
Shunt capacitor 104 or inductor 105: The voltage magnitude and phase angle are controls defined for every bus in the network, while the other controls, namely, load, generator and shunt, are optional. In one embodiment of the OPF study, the main parameters to be considered for an AC bus 101 are the bounds for the voltage magnitude and phase angle and the bounds for load 102, generator 103, shunt capacitor 104 and inductor 105.
An AC line or branch 106 represents an arc in the network graph, which transmits both active and reactive power between the two attached AC buses 101 in both directions. The following controls and states are associated with an AC branch 106:
Power flow: is defined as the active and reactive power injected into the AC branch 106 by both AC buses 101 attached to it.
Adjusted impedance: represents the branch impedance adjusted by an attached transformer 107. This control is optional.
An AC transformer 107 is an extra transformer to an AC branch 106, which my may either transform the voltage magnitude at the attached AC buses 101, or shift the difference between the voltage phase angles of the attached AC buses 101 (also called phase shifter). An AC transformer can connect two AC buses (namely, two-phase transformer 107) or three AC buses (namely, three-phase transformer 108). An OPF solver usually converts the three-phase transformer 108 to three two-phase transformers 107, each of which connects a pair of the attached AC buses.
In one embodiment of an OPF solver, the main parameters to be considered for an AC branch are its admittance (with the conductance component and the susceptance component) and the flow capacity ratings (that is, the minimum and maximum total flows through the AC branch that is constrained by the thermal ratings). For an AC transformer 107, extra controls and states needed to be considered include tap choice, tap turn ratio (for a normal transformer), and tap phase shift (for a phase shifter). Extra parameters, namely, bounds for the tap turn ratio and tap phase shift also need to be involved in some embodiments of the OPF study.
In addition to AC buses, there can also be direct-current (DC) buses in the power network. A DC bus 109 represents a node in the network graph of the power system that is represented by DC voltage and DC current injection. Accordingly, the main parameters for a DC bus 109 include the bounds for the DC voltage and current. A DC line (or branch) 110 is represented as an arc in the network graph of the power system that transmits a constant current in the network. A DC line 110 is represented by its DC current and the main parameter is its resistance.
Converters are used to connect AC and DC buses. Converters can be an AC-DC converter (a rectifier) 111 or a DC-AC converter (inverter) 112. Parameters to be considered in an embodiment of the OPF study for a converter include bounds for all converter controls and states, and the communicating impedance.
Flexible AC transmission system (FACTS) devices 113 can be used in the electric power network to enhance controllability and increase power transfer capability of the network. A FACTS device 113 is a power electronic based system and other static equipment that provide control of one or more AC transmission system parameters. FACTS devices 113 are not modeled as distinct components in the OPF study, but rather impose tight bounds on certain controls or states of the regulated network components.
Finally, an OPF study is generally carried out for a part of the whole power network, namely, an area 114, which is defined as a group of buses used for defining area power exchange and inter-area power transfer limits. The area 114 generally involves several interfaces which are groups of branches 115 to connect one area to another.
A SuperOPF-VS process is an iterative process which combines a SuperOPF process for computing an OPF solution and a VS process for analyzing voltage stability based on a list of contingencies. A set of optimal preventive controls is computed and applied to the system to eliminate or reduce insecure contingencies. In some embodiments, the SuperOPF-VS process is performed by one or more control centers coupled to the electric power system (e.g., the electric power system 100 of
An implicit integration process is described herein for integrating optimal power flow computation and voltage stability analysis. During the implicit integration, the imposed security constraints are represented implicitly, and the dimension of the OPF problem remains the same. The implicit integration can be performed as an iterative procedure of OPF solving followed by voltage stability checking. A set of preventive controls may be applied to reduce or eliminate insecure contingencies.
Step 1: Based on system data from an electric power system, create a list of contingencies (301).
Step 2: Compute a power flow (PF) solution using a power flow solver (e.g., the Gauss-Seidel method, the Newton-Raphson method, the fast decoupled method, etc.) on the base case system (302).
Step 3: Compute an OPF solution using an OPF solver (e.g., the SuperOPF process to be described with reference to
Step 4: Perform voltage stability analysis based on the list of contingencies over the OPF solution using a VS tool (304).
Step 5: Determine whether the process converges based on a set of stopping criteria (305). If the process is not converged (which means there are insecure contingencies found by the VS tool, which further means that these contingencies have negative load margins), compute an optimal set of preventive controls for eliminating or reducing the insecure contingencies, and proceed to step 6; otherwise, proceed to step 7.
Step 6: Apply the preventive controls to the system (306), and return to step 3.
Step 7: Terminate the process and report the output data (307).
In one embodiment, the SuperOPF-VS process to be described herein incorporates the implicit integration for voltage-stability-assisted optimal power flow analysis. Referring to
Step 1: Based on system data from an electric power system, create a list of contingencies (401). The contingencies created herein are credible contingencies.
Step 2: Compute an initial power flow solution by a power flow solver (402). The initial power flow solution is fed to an initial VS process (403). The initial VS process carries out contingency ranking to rank the list of contingencies. The contingency ranking indicates the security status of the base case system.
Step 3: Apply a SuperOPF process to the system using the initial power flow solution as the initial point. Compute an OPF solution for the base case system, resulting in a base case optimal power flow solution which minimizes or maximizes a given objective function while all operational and physical limits of the system are satisfied (404).
Step 4: The OPF solution computed by the SuperOPF process is fed into the VS process, and contingency ranking is carried out on the list of contingencies. The contingency ranking result shows the security status of the OPF solution (405).
Step 5: Determine whether the process converges (406). If the process is not converged, compute an optimal set of preventive controls and proceed to step 6; otherwise, proceed to step 7. The process converges if one or more of the following stopping criteria are satisfied: 1) the OPF solution is secure (i.e., there is no insecure contingency), 2) the change of OPF objective is within a threshold and the list of insecure contingencies stays unchanged in two consecutive iterations, 3) the maximum number of iterations is reached.
Step 6: Apply the optimal set of preventive controls computed by the VS process to the base case system and compute a new power flow solution (407). Use this new power flow solution as the initial point, and return to step 3.
Step 7: Terminate the SuperOPF-VS process, and output the computation results (408).
The SuperOPF process. The SuperOPF-VS process 400 combines a SuperOPF process and a VS process.
Stage I of SuperOPF: OPF Feasibility Analyzer (502), also referred to as a constraint analyzer. Practical large systems are vulnerable to data or parameter errors, which may result in infeasible OPF problems and cause the OPF solver to diverge. An OPF problem is feasible if there exists at least one point that satisfies all of the constraints simultaneously. Conversely, an OPF problem is infeasible if there does not exist any point that satisfies all of the constraints simultaneously. Generally, using a feasible point as the initial point can usually improve the convergence property of the OPF solver. Therefore, the SuperOPF process 500 incorporates a dedicated and automatic feasibility analyzer to correct infeasible configurations and provide a feasible initial point for the OPF solver.
Stage II of SuperOPF: Simple Continuous OPF Solver (503). The OPF problem in its general form (1) is a high-dimension, nonlinear and nonconvex optimization problem. Nonlinearity and nonconvexity of the OPF problem come from both the objective to optimize and constraints to be satisfied by the solution. Studies reported in literature and industrial practices have shown that it is a very challenging task to compute an optimal solution to the full OPF problem (1) in a robust, reliable and efficient manner. However, if a good initial point can be provided, a solution to the OPF problem (1) can still be effectively obtained using existing numerical optimization methods, such as the interior point method (IPM), sequential quadratic programming (SQP), and trust-region (TR) based methods. Therefore, instead of solving the OPF problem (1) directly, a simple OPF problem is solved in this stage to obtain an initial point. As an example, this simple OPF problem is a linearized direct current (DC) OPF problem according to one embodiment, where both nonlinear objective and constrained functions are linearized to compute an approximate solution to the full OPF problem (1). As another example, this simple OPF problem is a convex optimization problem according to one embodiment. Yet as another example, this simple OPF problem is a reduced nonlinear OPF problem according to one embodiment, where part of the nonlinear constraints is removed from computation to compute an approximate solution to the full OPF problem (1).
Stage III of SuperOPF: Full Continuous OPF Solver (504). Using the approximate solution that is obtained in Stage II 503 as the initial point, the full OPF problem (1) can now be solved. As an example, this full OPF problem is solved using existing numerical optimization methods using the approximate solution as the initial point according to one embodiment, where the numerical methods can be the IPM, SQP and TR methods. As another example, the full OPF problem is solved using a homotopy continuation method according to one embodiment, where the simple OPF problem and the approximate solution obtained in Stage II 503 is used as the starting point of the homotopy process.
Homotopy methods have made important contributions toward the numerical solutions of general nonlinear equations. Homotopy methods are useful for solving difficult problems for which a good starting point close to a desired solution is hard to obtain. To solve a “difficult” problem F(x)=0, F:Rn→Rn, one can devise an appropriate “easy” problem G(x)=0, G:Rn→Rn, which is easier to solve or has one or more known solutions. Homotopy methods entail embedding a continuation parameter λ into the “difficult” problem F(x)=0 to form a higher-dimensional set of nonlinear equations:
H(x,λ):Rn×R→Rn,xεRn,λεR,
which satisfies the following boundary conditions:
The homotopy function H(x, λ) represents a set of n nonlinear equations with n+1 unknowns. From a computational viewpoint, homotopy methods can be viewed as tracing an implicitly defined curve C(λ)εH−1(0) (through a solution space) from a starting point, say (
As an example, the homotopy process can be implemented as the fixed-point homotopy according to one embodiment. As another example, the homotopy process can be implemented as the Newton homotopy according to one embodiment.
Stage IV of SuperOPF: Full Mixed-Integer OPF Solver (505). There are many control components or devices, such as tap changing and phase shifting transformers, switchable shunt capacitors, etc., in an electric power system that can only take discrete values selected from a set of allowable values. If the discreteness of these control variables is considered in the OPF formulation, the OPF problem becomes a mixed-integer nonlinear optimization problem (NLP) of the form (2) according to one embodiment.
minx,yf(x,y)
s·th(x,y)=0
g(x,y)≦0
xεR
n
,yεZ
m
where, x=(V, θ, PG, QG) is the vector of continuous variables and y=(t, φ, b) is the vector of discrete variables.
Once all of the four stages have been completed, the OPF analysis results will be returned (506).
Referring to
In one embodiment, an OPF problem can be formulated as a constrained nonlinear optimization problem of the following form:
min f(V,θ,t,φ,b,PG,QG)
s·t·P
i(V,θ,t,φ,b)+PiL−PiG=0,i=1, . . . ,nB
Q
i(V,θ,t,φ,b)+QiL−QiG=0,i=1, . . . ,nB
S
ij(V,θ,t,φ,b)≦(1+λ)
S
ji(V,θ,t,φ,b)≦(1+λ)
V
i
≦V
i
≦
t
i
≦t
i
≦
i
,i=1, . . . ,nT
φ
i≦φi≦
b
i≦bi≦
P
j
G
≦P
j
G
≦
j
G
,j=1, . . . ,nG
Q
j
G
≦Q
j
G
≦
j
G
,j=1, . . . ,nG, (3)
where, V=[V1, . . . ,Vn
Stage 1 of SuperOPF: OPF Feasibility Analyzer (602), also referred to as a constraint analyzer. In one embodiment, the first stage of the SuperOPF process 600 includes feasibility analysis of the constraints of the OPF problem (2). The goal of the constraint analyzer is twofold. For a feasible OPF problem, the constraint analyzer finds a feasible solution to the OPF problem first, which will be used as the initial point for the full OPF problem. For an infeasible OPF problem, the constraint analyzer determines why the OPF problem is infeasible and what the minimum effort (e.g., constraint relaxation) is to restore feasibility of the problem.
In order to figure out whether or not the OPF problem is feasible, an energy-minimizing problem is solved. In one embodiment, using the general formulation (1), the original nonlinear program of OPF is transformed to the energy minimization problem:
where, x=(V, θ, t, φ, b, Pg, Qg)T is the vector of optimization variables, s=(sg,
If the OPF problem is infeasible, the constraint analyzer determines why the OPF problem is infeasible and what the minimum effort (e.g., constraint relaxation) is to restore feasibility of the problem. To this end, in one embodiment, the constraint analyzer solves the following optimal constraint relaxation problem in the form of (5) to analyze the infeasibility and restore feasibility.
In the optimal constraint relaxation problem (5), w is the vector of predefined weights and z is the vector of relaxations to be imposed to the nonlinear inequality constraints g(x)≦zg and variable bounds x−zx and
Stage 2 of SuperOPF: OPF without thermal limits (603). Thermal limit constraints are the source of nonlinear inequality constraints in the OPF problem (3) and are the most complicated nonlinear constraints in (3). To solve the OPF problem (3), conventional OPF methods usually consider all thermal limits at the same time. However, most of the thermal constraints are inactive throughout the computation; therefore, these inactive constraints do not contribute to the OPF problem (3). By involving inactive thermal limit constraints, it not only unnecessarily increases the problem complexity, but also makes the computation hard to converge or even diverge.
To take advantage of this property of the OPF problem, the SuperOPF process 600 first solves an OPF problem without considering thermal limit constraints. The OPF problem without thermal limit constraints is of the form (6) according to one embodiment. Compared to (3), the problem size of (6) is significantly reduced and the OPF computation can converge fast and more robustly, because nonlinear inequality constraints (that is, thermal limit constraints) are removed from the computation.
min f(V,θ,t,φ,b,PG,QG)
s·t·P
i(V,θ,t,φ,b)+PiL−PiG=0,i=1, . . . ,nB
Q
i(V,θ,t,φ,b)+QiL−QiG=0,i=1, . . . ,nB
V
i
≦V
i
≦
t
i
≦t
i
≦
i
,i=1, . . . ,nT
φ
i≦φi≦
b
i≦bi≦
P
j
G
≦P
j
G
≦
j
G
,j=1, . . . ,nG
Q
j
G
≦Q
j
G
≦
j
G
,j=1, . . . ,nG (6)
In the SuperOPF process 600, the feasible point obtained in Stage 1 of constraint analysis is used as the initial point for the OPF problem (6).
Stage 3 of SuperOPF: OPF with thermal limits (604). Usually, very few thermal limits are violated (e.g., less than 100 out of 20,000 branches) in the OPF solution without thermal limit constraints which is obtained in Stage 2. In Stage 3 of the SuperOPF process 600, thermal limit constraints are considered in the OPF problem but are handled in a homotopy manner.
The OPF problem to be solved in this stage is of the form (7) according to one embodiment.
min f(V,θ,t,φ,b,PG,QG)
s·t·P
i(V,θ,t,φ,b)+PiL−PiG=0,i=1, . . . ,nB
Q
i(V,θ,t,φ,b)+QiL−QiG=0,i=1, . . . ,nB
S
ij(V,θ,t,φ,b)≦(1+λ)
S
ji(V,θ,t,φ,b)≦(1+λ)
V
i
≦V
i
≦
t
i
≦t
i
≦
i
,i=1, . . . ,nT
φ
i≦φi≦
b
i≦bi≦
P
j
G
≦P
j
G
≦
j
G
,j=1, . . . ,nG
Q
j
G
≦Q
j
G
≦
j
G
,j=1, . . . ,nG (7)
In the OPF problem (7), only active thermal constraints are involved. Therefore, compared to the OPF problem (6) without thermal limit constraint, the problem complexity does not significantly increase. The homotopy parameter is decreased during the homotopy process. As an example, two homotopy iterations with λ1=0.55 and λ2=0.0 m can be sufficient to eliminate all thermal limit violations and obtain a solution to the full OPF problem (3).
In the SuperOPF process 600, the feasible point obtained in Stage 2 of the OPF problem without thermal limit constraints is used as the initial point for the OPF problem (7).
Stage 4 of SuperOPF: sensitivity analysis for discretization (605). In the SuperOPF process 600, a sensitivity-based procedure is used for determining values for discrete control variables. Using the OPF solution obtained in Stage 3, the sensitivity of the objective function to changes in discrete control variables can be evaluated as:
Based on these sensitivity values, merit functions ηi+ and ηi− can be evaluated to indicate the effects of discretizing a discrete variable on the objective and constraints function values. In an embodiment of the SuperOPF process 600, the merit functions are evaluated following the formulation (9):
ηi+=wfΔfi++Σk=1n
ηi−=wfΔfi−−Σk=1n
where
Δfi+=Sy
Δfi−=Sy
Δhk
Δhk
are the linear estimate of changes of the objective function and inequality constraints. Using these merit function values, in Stage 4 of the SuperOPF process 600, the discrete control variables in the OPF problem (2) are determined through the following four steps according to one embodiment.
Step 1: Rank the discrete variables by an increasing order of merit function values. Therefore, the top ranked values are of least merit function values, which means the changes of corresponding discrete variables will introduce minimal changes to the objective and constraint function values.
Step 2: Pick the top ranked ones which have not been set yet to a discrete value and set it to its best discrete value.
Step 3: Update the inequality constraints by considering linearly the effect of changing the value of the top ranked discrete variables.
Step 4: If all discrete variables have been set to discrete values, stop; otherwise, go to Step 1.
Once all of the four stages have been completed, the OPF analysis results will be returned (606). The OPF analysis results produced by the SuperOPF processes 500 and 600 include, but are not limited to, one or more of the following values:
1) The optimal value of the objective function, such as the minimal system power losses, the minimal system production costs, the minimal system generation, the maximal system transfer capability, and the maximal system load margin.
2) The system operation states and power flows associated with optimal solution.
3) The optimal value of the discrete control variables of the power system.
As mentioned above, the SuperOPF-VS process 400 combines a SuperOPF process (such as the SuperOPF process 600) and a VS process. The VS process is to analyze voltage stability on a list of contingencies for the OPF solution and for computing optimal preventive control to eliminate or reduce insecure contingencies if there is any. In an embodiment of the SuperOPF-VS process 400, the VS process is performed by a voltage stability analyzer, e.g., a voltage stability analysis (VSA) program. Alternatively, the VS process may be implemented by hardware, or a combination of software and hardware. The VSA program is able to perform load margin computation on the base case system and on the contingencies. The VSA program is also able to compute an optimal set of preventive controls to remove one or more insecure contingencies, thus to enable the system to survive the occurrence of any of these contingencies. Referring to
Step 0: Inputs to the VS process 700 include the OPF solution (701) computed by the SuperOPF process 500 and a list of contingencies (702) to be analyzed on the electric power system. For the initial VS process (403) of
Step 1: Use the VSA program to compute the load margin (703) of the base case system, that is, the system running at states represented by the OPF solution (701). Use the VSA program also to compute or estimate the load margins (703) when each contingency in the list of contingencies (702) is applied to the system running at states represented by the OPF solution (701). For the initial VS process (403), the load margin of the base case system and the load margins with contingencies applied are computed for the system operating at states represented by the power flow solution (402).
Step 2: Use the VSA program, contingency ranking (704) is carried out on the list of contingencies (702). More specifically, the list of contingencies (702) is ranked based on their load margins computed in (703). In an embodiment of the SuperOPF-VS process 400, the contingencies are ranked in an ascending order in terms of their load margin values. Therefore, the top ranked contingencies are those contingences having negative or zero load margins. These contingencies with negative or zero (i.e., non-positive) load margins are insecure contingencies.
Step 3: Based on the contingency ranking (704), it is checked whether there is any insecure contingency in the list of contingencies (705). Therefore, security of the system running at states represented by the OPF solution is evaluated in terms of the list of contingencies.
Step 4: If there is no insecure contingency in the list of contingencies, then a secure OPF solution is obtained (706). In other words, the obtained OPF solution is not only optimal in terms of the desired objective, but also able to maintain voltage stability should any single contingency in the contingency list occur in the planning horizon. Go to step 6.
Step 5: If there is any insecure contingency in the contingency list, an optimal set of preventive controls (707) is computed by the VSA program. The preventive controls are computed to make the system secure, so as to eliminate or reduce the number of insecure contingencies. In an embodiment of the SuperOPF-VS process 400, the preventive controls can be applied by adjustments to control components, such as shunt capacitors, real and reactive power generations, restoring off-line shunt capacitors, load shedding, etc., in an electric power system such as the example shown in
Step 6: Convergence of the procedure is checked (708). The stopping criteria are satisfied if one or more of the following condition is true: 1) the OPF solution is secure; that is, no insecure contingency is identified by the VS process 700, 2) the change of OPF objective is within a threshold and the list of insecure contingencies stay the same in two consecutive iterations, 3) the maximum number of iterations is reached. Go to Step 7.
Step 7: The VS process 700 returns the voltage stability analysis result (709). In an embodiment of the SuperOPF-VS process 400, the voltage stability analysis result includes, but is not limited to, one or more of the following: a determination on whether the system running at the states represented by the input OPF solution (701) is secure or not in terms of the input list of contingencies (702), the load margin values of the base case system and the contingencies, the set of optimal preventive controls to be applied to the system if there is any insecure contingency, and the post-control power flow solution.
The SuperOPF-VS functional unit 800 has a modularized structure and is designed to be ready for future extensions. It is flexible and convenient for further development, in order to support more data formats and to enclose other effective linear and nonlinear solvers into the current implementation. As shown in
In one embodiment, the kernel modules 801 handle the computationally intensive and architecture independent tasks. These tasks mainly include data file reading, parameter setting, result presenting and writing, and SuperOPF-VS computations. The kernel modules 801 can be divided into two categories, namely, the I/O modules 804 and the compute kernel 805.
The I/O modules 804 handle the tasks of data file reading and converting required by the SuperOPF-VS functional unit 800, parameter settings for computation, and result presenting. In one embodiment, the I/O modules 804 include a data reader and converter 806 for reading power flow files and other data files. One important data file to be processed is the power flow file, where the structure of the power network under study, parameters of the involved network components, and the initial state of the power network are specified. There are many data formats used by different vendors and utilities in the power industry, among which PSS/E, PSLF, PSF, and CIM are the most popular ones. In one embodiment of the SuperOPF-VS functional unit 800, different power flow data I/O modules are implemented, each of which is dedicated to one data format. All these data I/O modules are derived from a power flow I/O base module. External power flow files in different formats are read and processed by the data reader and converter 806 and then converted to an internal, unified power network representation. In such a way, efforts for future support of other data formats can be minimized. The data reader and converter 806 implements the procedure of reading other data files following the same philosophy of flexibility and extensibility. The other data files to be processed by the SuperOPF-VS functional unit 800 include the generation cost model file for minimizing the system generation cost and the contingency related files for scenarios of OPF with security constraints. Another important data file for SuperOPF-VS functional unit 800 is the contingency list, which specifies the list of credible (N−1) contingences to be analyzed by the functional unit 800. In addition to the data reader and converter 806, the I/O modules 804 also includes a parameter processor 807 for handling parameter settings, which interprets the user configured parameters and converts them to internal representations understandable by the compute kernel 805. The I/O modules 804 also includes a result processing and reporting module 810 for result data representation, which interprets and archives the output files produced by the compute kernel 805 and to produce reports of the computational results.
The actual optimal power flow computation and voltage stability analysis are handled by the compute kernel 805. All the data collected and processed by the data reader and converter 806 and computation parameters processed by the parameter processor 807 are fed to the compute kernel 805 for the SuperOPF-VS computation. The SuperOPF-VS compute kernel 805 is composed of a SuperOPF solver 808 and a voltage stability analyzer 809. The computation results by the two modules 808 and 809 are exchanged and updated in an iterative manner, so as to produce a secure OPF solution.
The SuperOPF-VS functional unit 800 has the flexibility to support different effective solvers, such as the interior point method (IPM) solver and the sequential quadratic programming (SQP) solver. To this end, the central part of the compute kernel 805 is the OPF solver base module, where the general nonlinear program (NLP) modeling and solver calling are implemented. All solver modules for realizing specific optimization methods or optimizers are derived from this OPF solver base module. In one embodiment, the kernel modules 801 are implemented in a programming language (e.g., C++) using only standard, architecture independent libraries. Therefore, the kernel modules 801 can easily be ported to different hardware architectures and operation systems with minimum efforts.
In one embodiment, the SuperOPF-VS functional unit 800 includes solver interfaces 803 that are developed using operation system dependent libraries, which provide natively-supported and convenient resources for realizing a user-friendly and feature-rich graphical user interface (GUI) on the target operation system environment for the SuperOPF-VS functional unit 800.
In one embodiment, the user modules 802 include two components. The first component is a GUI program 812. This GUI program 812 provides users a convenient and feature-enriched interface to interact with the underlying OPF computation. The GUI program 812 includes a data selection and display part, a parameter and model setting part, and a resulting reporting part. The first part, that is, the data selection and display part handles the task of selecting required data file paths for the OPF computation. As an example, usual data files for OPF computation include the power flow file and generation cost file (when the OPF objective is to minimize the system generation cost). The selected data files can be displayed by the GUI program 812 in an organized way and can be easily reviewed or modified by the user. The second part of the GUI program 812 is for parameter and model settings. Responsive interfaces are designed for the user to set up a desired OPF computation scenario by specifying the problem model (the optimization objective, the cost model, etc.) and editing computation parameters (the optimization strategy, the optimizer to use, the detailed optimization parameters, etc.). Therefore, the user has a full control over the computation to be performed. The third part handles the result reporting. Taking advantage of existing reporting engines, e.g., the Microsoft® Reports, feature-enriched and meaningful is representations of the OPF computation results can be automatically produced and reported to the target user.
In addition to or instead of the GUI program 812, a console program 813 may be included in an embodiment of the SuperOPF-VS functional unit 800. This console program 813 can be run in a command line environment. However, the user still has full control over the computation scenarios through specifying the parameters to the SuperOPF-VS console command. This results in a stand-alone, lightweight SuperOPF-VS functional unit 800 suitable for low-end hardware environments. Moreover, such command-line based execution of the SuperOPF-VS computation provides the user a convenient way to effectively cooperate with other computation and management programs. For example, the user can include the call of the console program 813 in a script to automate the user's analysis tasks of sequential execution of multiple programs or the task of analyzing a batch of scenarios.
As examples, the SuperOPF-VS process 400 has been applied to carry out voltage-stability-assisted optimal power flow on two large-scale electric power systems. The SuperOPF-VS process computes a voltage-stable OPF solution with the objective to minimize the system real power loss. Although specific systems, parameter settings, components, objective, and result data are described in the following examples, it is understood that the systems, parameter settings, components, objective, and result data are illustrative and not limiting. Different systems, parameter settings, components, objective may be used and different result data may be obtained by the SuperOPF-VS process 400.
Experimental Results on a 6354-bus System. The SuperOPF-VS process 400 is first applied to a 6354-bus electric power system. The input data, including the initial power flow solution on the study system and parameter settings and optional auxiliary data such as generation cost model parameters, is fed to the SuperOPF-VS process 400. The study electric power system consists of 6534 buses, 2901 loads, 1903 generators, 8295 branches, 294 transformers, and 520 switched shunts.
A list of 1062 contingencies in one area of the study system is generated for voltage stability analysis. The 1062 contingencies are applied to the system according to the (N−1) security contingency standard. The VS process 700 is first carried out on the initial power flow. The associated system real power loss is computed and the list of 1062 contingencies is analyzed for the system running states represented by the initial power flow solution. Result shows that the system real power loss is 3793.6 MW and the load margin of the base case system is 3010 MW. The VS process 700 also reveals that there are seven insecure contingencies. In other words, the system is not secure enough to sustain the occurrence of any of these seven insecure contingencies.
The SuperOPF process 600 is then applied to the system using the initial power flow as the initial condition. Stage I of OPF constraint analyzer first analyzes feasibility of the constraints imposed on the system, and computes a feasible point with all constraints satisfied if the study system is feasible or to compute a restored feasible point with an optimal constraint relaxation if the study system is infeasible.
Using the feasible solution obtained by the constraint analyzer as the initial point, Stage II of an OPF without considering thermal limit constraints is then carried out on the study system. The Stage II OPF problem without thermal limit constraints has 12868 optimization variables which consists of voltage phase angles and magnitudes at all buses, real and reactive power generation by all generators with adjustable outputs, transformer tap ratios, phase shifter angles and all switchable shunts, 12085 equality constraints which consist of one linear equality constraint (fixed slack bus voltage phase angle) and 12084 nonlinear equality constraints (power flow balance constraints), and 13652 inequality constraints which consist of 13652 linear inequality constraints (lower and upper bounds on optimization variables) and zero nonlinear inequality constraints (thermal limit constraints).
Using the OPF solution obtained in Stage II as the initial point, Stage III of an OPF with active thermal limit constraint is then carried out on the study system. The Stage III OPF problem with active thermal limit constraints has 12868 optimization variables which consists of voltage phase angles and magnitudes at all buses, real and reactive power generation by all generators with adjustable outputs, transformer tap ratios, phase shifter angles and all switchable shunts, 12085 equality constraints which consist of one linear equality constraint (fixed slack bus voltage phase angle) and 12084 nonlinear equality constraints (power flow balance constraints), and larger than 13652 inequality constraints which consist of 13652 linear inequality constraints (lower and upper bounds on optimization variables) and a varying number of nonlinear inequality constraints (active thermal limit constraints, which are usually less than 100). All physically discrete optimization variables, including transformer tap ratios, phase shifter angles and switchable shunts, are treated as continuous variables in Stages I through III.
Using the OPF solution obtained in Stage III as the initial point, Stage IV of OPF sensitivity analyzer for discretization is then carried out to determine discrete values for the involved discrete variables. Among the set of optimization variables, there are 12054 physically continuous variables and 814 physically discrete variables. After all discrete variables have been assigned to their optimal allowable operation positions, the final OPF solution is ready to be fed to voltage stability analyzer for voltage stability analysis.
The SuperOPF process 600 converges in 49 iterations. The resulted optimal power flow solution drives the system real power loss down to 1642.8 MW. The VS process is carried out to analyze the list of 1062 contingencies on the system with running states represented by the resulted OPF solution. The VS process shows that the load margin of the base case system has been increased to 4840 MW and the number of insecure contingencies has been reduced to five. In other words, compared to the initial power flow, the optimal power flow solution drives the system more secure with increased base case load margin and decreased number of insecure contingencies. However, the system is still not secure enough to sustain the occurrence of any of these remained five insecure contingencies.
In order to make the system more secure, the VS process 700 calculates an optimal set of preventive controls and applies them to the system. The VS process 700 then analyzes the list of 1062 contingencies again on the system with running states represented by the modified OPF solution with the calculated set of preventive controls. The result of the VS process 700 shows that the load margin of the base case system stays at 4840 MW and all those five remained insecure contingencies has been eliminated. In the meantime, the system real power loss has been slightly increased to 1674.6 MW. In other words, the system with running states represented by the OPF solution with preventive controls is sufficiently secure to sustain the occurrence of any of the 1062 contingencies in the contingency list.
Experimental Results on a 13183-bus System. The SuperOPF-VS process 400 is also applied to a 13183-bus electric power system. The input data, including the initial power flow solution on the study system and parameter settings and optional auxiliary data such as generation cost model parameters, is fed to the SuperOPF-VS process 400. The study electric power system consists of 13183 buses, 9691 loads, 2304 generators, 18168 branches, 1410 transformers, and 1404 switched shunts.
A list of 6894 contingencies in the whole study system is generated for voltage stability analysis. The 6894 contingencies are applied to the system according to the (N−1) security contingency standard. The VS process 700 is first carried out on the initial power flow. The associated system real power loss is computed and the list of 6894 contingencies is analyzed for the system running states represented by the initial power flow solution. Result shows that the system real power loss is 5589.3 MW and the load margin of the base case system is 4901 MW. The VS process 700 also reveals that there are sixteen insecure contingencies. In other words, the power system is not secure enough to sustain the occurrence of any of these sixteen insecure contingencies.
The SuperOPF process 600 is then applied to the system using the initial power flow as the initial condition. Stage I of OPF constraint analyzer first analyzes feasibility of the constraints imposed on the system, and computes a feasible point with all constraints are satisfied if the study system is feasible or to compute a restored feasible point with an optimal constraint relaxation if the study system is infeasible. Using the feasible solution obtained by constraint analyzer as the initial point, Stage II of an OPF without considering thermal limit constraints is then carried out on the study system. The Stage II OPF problem without thermal limit constraints has 31134 optimization variables which consists of voltage phase angles and magnitudes at all buses, real and reactive power generation by all generators with adjustable outputs, transformer tap ratios, phase shifter angles and all switchable shunts, 26367 equality constraints which consist of one linear equality constraint (fixed slack bus voltage phase angle) and 26366 nonlinear equality constraints (power flow balance constraints), and 35902 inequality constraints which consist of 35902 linear inequality constraints (lower and upper bounds on optimization variables) and zero nonlinear inequality constraints (thermal limit constraints).
Using the OPF solution obtained by Stage II as the initial point, Stage III of an OPF with active thermal limit constraint is then carried out on the study system. The Stage III OPF problem with active thermal limit constraints has 31134 optimization variables which consists of voltage phase angles and magnitudes at all buses, real and reactive power generation by all generators with adjustable outputs, transformer tap ratios, phase shifter angles and all switchable shunts, 26367 equality constraints which consist of 1 linear equality constraint (fixed slack bus voltage phase angle) and 26366 nonlinear equality constraints (power flow balance constraints), and larger than 35902 inequality constraints which consist of 35902 linear inequality constraints (lower and upper bounds on optimization variables) and a varying number of nonlinear inequality constraints (active thermal limit constraints, which are usually less than 100). All physically discrete optimization variables, including transformer tap ratios, phase shifter angles and switchable shunts, are treated as continuous variables in Stage I through III.
Using the OPF solution obtained in Stage III as the initial point, Stage IV of OPF sensitivity analyzer for discretization is then carried out to determine discrete values for the involved discrete variables. Among the set of optimization variables, there are 28320 physically continuous variables and 2814 physically discrete variables. After all discrete variables have been assigned to their optimal allowable operation positions, the final OPF solution is ready to be fed to voltage stability analyzer for voltage stability analysis.
The SuperOPF process 600 converges in 306 iterations. The resulted optimal power flow solution drives the system real power loss down to 3293.0 MW. The VS process 700 is carried out to analyze the list of 6894 contingencies on the system with running states represented by the resulted OPF solution. The result of the VS process 700 shows that the load margin of the base case system has been decreased to 4306 MW and the number of insecure contingencies has been reduced to nine. In other words, compared to the initial power flow, the optimal power flow solution drives the system more secure with decreased number of insecure contingencies, though the base case load margin is slightly decreased. However, the system is still not secure enough to sustain the occurrence of any of these remained nine insecure contingencies.
In order to make the system more secure, the VS process 700 calculates an optimal set of preventive controls and applies them to the system. The VS process 700 then analyzes the list of 6894 contingencies again on the system with running states represented by the modified OPF solution with the calculated set of preventive controls. The VS process 700 shows that the load margin of the base case system is slightly decreased to 4299 MW and eight among the nine insecure contingencies have been eliminated. In the meantime, the system real power loss has been slightly increased to 3293.8 MW. In other words, the system with running states represented by the optimal power flow solution with preventive controls is sufficiently secure to sustain the occurrence of any of the 6893 contingencies in the contingency list. Other effective preventive controls may be designed in order to eliminate the remaining one insecure contingency; or the remaining one contingency is not credible in that the possibility for its occurrence is sufficiently low to be excluded from routine analysis.
Embodiments of the techniques disclosed herein may be implemented in hardware, software, firmware, or a combination of such implementation approaches. In one embodiment, the methods described herein may be performed by a processing system. A processing system includes any system that has a processor, such as, for example; a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor. One example of a processing system is a computer system.
Referring back to
The computer system 200 includes a processing device 202. The processing device 202 represents one or more general-purpose processors, or one or more special-purpose processors, or any combination of general-purpose and special-purpose processors. In one embodiment, the processing device 202 is adapted to execute the operations of the SuperOPF-VS function unit 800 of
In one embodiment, the processor device 202 is coupled, via one or more buses or interconnects 230, to one or more memory devices such as: a main memory 204 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM), a secondary memory 218 (e.g., a magnetic data storage device, an optical magnetic data storage device, etc.), and other forms of computer-readable media, which communicate with each other via a bus or interconnect. The memory devices may also different forms of read-only memories (ROMs), different forms of random access memories (RAMs), static random access memory (SRAM), or any type of media suitable for storing electronic instructions. In one embodiment, the memory devices may store the code and data of the SuperOPF-VS function unit 800. In the embodiment of
The computer system 200 may further include a network interface device 208. A part or all of the data and code of the SuperOPF-VS function unit 800 may be transmitted or received over a network 220 via the network interface device 208. Although not shown in
In one embodiment, the SuperOPF-VS function unit 800 can be implemented using code and data stored and executed on one or more computer systems (e.g., the computer system 200). Such computer systems store and transmit (internally and/or with other electronic devices over a network) code (composed of software instructions) and data using computer-readable media, such as non-transitory tangible computer-readable media (e.g., computer-readable storage media such as magnetic disks; optical disks; read only memory; flash memory devices as shown in
The operations of the methods and/or processes of
While the invention has been described in terms of several embodiments, those skilled in the art will recognize that the invention is not limited to the embodiments described, and can be practiced with modification and alteration within the spirit and scope of the appended claims. The description is thus to be regarded as illustrative instead of limiting.