This application is a national stage application of International Application No. PCT/EP2017/057632, filed Mar. 30, 2017, which is incorporated herein by reference in its entirety, including any figures, tables, and drawings.
The present invention relates generally to electric power networks. More specifically, it concerns the power flow optimization of electric power networks that involve energy storage devices.
A method for optimizing electric power flows in a power network, more particularly in a power grid having alternating current (AC) circuits, is addressed to determine bus voltages and generator power levels in order to minimise power generation costs or other costs (market related) or transmission losses. The minimization of the costs is subject to power flow engineering and operational constraints that can include the AC power flow constraints, bounds on power generation, bounds on bus voltage magnitudes, bounds on thermal losses, and limits on power transfer on transmission lines. Bus voltages and generator power levels are determined as a solution of an Optimal Power Flow (OPF) problem. In this respect, several methods known to solve the OPF problem are briefly commented on below.
Conventional power flow optimization methods assume small differences between phase angles at buses, to reduce quadratic equalities and inequalities to linear equalities and inequalities. However, these methods cannot be applied to all networks and they lead to suboptimal solutions.
Other methods such as second-order cone programming (SOCP) employ convex relaxations of OPF problems. However, relaxed convex optimizations methods cannot guarantee feasible solutions.
Further known methods relax OPF problems to semidefinite programming (SDP), which requires changing resistances of lossless lines in the network, restrictions on the network topology or constraints, or require modification of the network to ensure global optimality.
These methods are affected by the following drawbacks. They do not consider that the amount of energy that is stored, charged, or discharged in batteries at any time is critically dependent on the amount that is actually charged or discharged from the batteries at that time.
They ignore time dependent changes for equipment, and use devices such as step voltage regulators, voltage transformers, or capacitor banks. These devices are typically expensive and frequent changes in their operations can lead to quick degradation of the equipment and eventually result in dramatic reduction in the life of the device.
Modern real-time operations require the AC-OPF problem to be solved weekly in 8 hours, daily in 2 hours, hourly in 15 minutes, each five minutes in 1 minute and for self-healing post-contingency in 30 seconds (Mary B Cain, Richard P O'neill, and Anya Castillo. History of optimal power flow and formulations. Federal Energy Regulatory Commission, pages 1-36, 2012). To meet these constraints, system operators have to adopt varying levels of approximations such as, simplified OPF tools based on linear programming (LP) and de-coupled (DC) system models. As a result today's approximate solution techniques may unnecessarily cost tens of billions of dollars per year, and result to environmental harm from unnecessary emissions and wasted energy.
General nonlinear programming (NLP) methods have also been employed for the solution of OPF problems. These methods are adapted to properly optimise the electric power flow taking into account all the nonlinearities, and a plurality of time periods necessitated by time-varying parameters of power network equipment. These methods do not adopt any approximations or simplifications that would result in unnecessarily higher cost of energy, wasted energy and environmental harm.
Despite their robustness however, NLP methods have not been widely adopted in real-time operations of large-scale power systems. This is due to the fact that the multiperiod optimal power flow (MPOPF) problem a system operator seeks a solution to, is time-coupled due to power network equipment such as energy storage devices, an example of which are batteries. Its complexity increases quickly with an increasing number of the time periods, over which power network equipment parameters are set to vary with time, to the point of intractability. As a result NLP methods require high computational times and large amounts of computer memory in order to solve the MPOPF problem. In other words, the NLP methods currently known are not suitable for real-time operations and cannot be adopted by the industry for controlling the power network. Historically, this is mainly due to the lack of time and memory efficient AC-OPF algorithms.
The idea at the base of the present invention is to provide a method that can take advantage of the particular structure and properties of the MPOPF problem, in order to reduce the solution time and memory consumption to the minimum even for very large values of the number of time periods of operation of the power grid.
The disclosed invention describes a system and a method for operating an electric power system that determines optimal bus voltages and phases angles as well as optimal generator active and reactive powers, such that an objective function representing the cost of power generation or other cpsts (market related), or transmission losses is either minimised or maximised. This is achieved by an interior point structure-exploiting optimization method that is tailored to deliver unprecedented performance and reduce the memory consumption to minimum.
The present invention accomplishes the foregoing objectives by providing a structure-exploiting optimization method that provides the capability of optimal power flow over multiple time periods of operation to complex power systems. A power system or network in this sense refers to an electrical power system or an electrical network that includes energy storage devices.
More specifically, power flow in an electric power network is optimised during multiple time periods of operation by solving an optimal control problem using an interior point method designed to exploit the structure and the properties of the optimal control problem for an electrical power system with energy storage devices, in order to deliver significant reduction of the computing time and the memory consumption.
More specifically, the embodiments of the invention provide a sparse structure-exploiting KKT system Schur factorization and solution method that is adapted to the modeling of the power system components.
Additionally, a structure exploiting low memory Schur complement dense LDLT solver is also provided that achieves optimal time and memory factorization and solution of the dense Schur complement system, required by the structure-exploiting sparse KKT factorization and solution methods.
To accommodate very large problems arising for a sufficiently large number of time periods of operation, the invention also provides an alternative structure-exploiting algorithm that keeps the memory requirements approximately comparable to the memory consumption if a single time period of operation is assumed. This way both objectives of computational time and memory reduction are achieved.
On the basis of the idea mentioned above, the technical problem is solved by a method for optimizing the power flow in an electric power network, the electric power network including a plurality of buses interconnected by transmission lines, and locally connected to loads, generators and storage devices;
the method executes an interior point optimization algorithm in a computer system to solve an optimal control problem defined over a time period of interest T, where an objective function associated with the optimal control problem represents a total fuel consumption of the generators for said time period of interest T,
the objective function depending on a plurality of parameters of the network, bus voltages, generator, and storage devices powers, the parameters of the network allowed to vary over a number N of predefined time intervals each of duration δt obtained by subdivisions of said time period of interest T, wherein said objective function is subject to engineering constraints imposed by the safe and robust functionality of the devices of said network, such as limits on bus voltages, limits on generator and storage devices powers, and thermal power flow limits on the transmission lines, characterized by the fact that said interior point optimization algorithm includes the steps of:
storing a KKT system associated with the optimality conditions for the Lagrangian associated with the objective function and the constraints defined for the time period T, the KKT system including a Hessian matrix H;
reordering the KKT system to obtain a reordered KKT system where the Hessian matrix H after the reordering has an arrowhead structure with diagonal blocks An, and off diagonal blocks Bn comprising several identical copies of constant in time matrix B of charging and discharging ratios of the storages devices;
executing a direct Schur complement based factorization and solution algorithm on the reordered KKT system;
returning output parameters for the network devices, namely, buses, loads, generators, and storages devices as a solution of the optimal control problem for each of the time intervals.
Advantageously, the time and memory required to achieve the solution to the optimal control problem are drastically reduced over general purpose NLP methods, due to exploitation, in the calculations involved in the Schur complement algorithm, of the repetition of constant in time block matrices B of charging and discharging ratios of the storage devices inside the off diagonal blocks Bn in the reorder KKT system.
In the following description, the expressions “time interval” and “time periods” are used as synonyms.
The dependent claims disclose further features of the method and system according to the present invention, and the effects and advantages thereof are given here below, together with a detailed explanation of how the method is embodied.
For a more complete understanding of the invention, reference is made to the following description and accompanying drawings, in which:
The Network
Hereafter a method for optimizing the power flow in an electric power network according to the present invention is described in more detail.
The electric power network includes a plurality of buses interconnected by transmission lines, and locally connected to loads, generators, and storage devices. More particularly, the power network may consist of NB buses, locally connected to loads that consume power, and NG generators supplying active and reactive power to the network. The buses are interconnected by NL transmission lines. NS storage devices, an example of which are batteries, are also installed at a subset of the buses of the network. The network topology is represented (associated) by a directed graph (,), where stands for the nodes of the graph, representing the NB buses, whereas stands for the directed edges of the grid that represent the NL transmission lines. It is evident that ||=NB and |=2NL. Finally let denote the set of generators.
Sample electric power networks schematics used by the embodiments of the present invention are provided in
Although the circle numbers, segments, arrows, tildes and other symbols in
The MPOPF Problem
In general the OPF problem optimises the operation of an electric power system, specifically, the generation and transmission of electricity, subject to the physical constraints imposed by electrical laws, network operations, and engineering limits on the decision variables. The objective is to minimise generation cost, maximise market surplus, or minimise active transmission loses.
Modern trends for large-scale integration of renewable energy sources, however, bring additional challenges to power grid operations and modeling. Distributed energy storage devices are commonly employed as an effective approach for addressing operational challenges. However, the modeling of storage devices results in intertemporal coupling of the individual OPF problems defined at each subdivision of the time period of interest. The resulting MPOPF problem becomes intractable, for prior art methods, prohibiting using these methods for forecasting and planning over long time periods or even small time periods subdivided into a large number of smaller time intervals to allow for exploitation of more precise data about the network. According to the method of the present invention, as will be apparent from the following description, such an MPOPF problem may be solved in a time effective way. The following input parameters to the MPOPF may be taken into consideration.
Input to the MPOPF Problem
Input parameters to the optimal control method MPFOPT are the following.
1. (,), NG, NL, NS: The graph, the number of generators, the number of transmission lines, and the number of storage devices.
2. IG, IS: The locations of generators, and the locations of storage devices.
3. αl, βl, γl: The conductance and the susceptance of the line, as well as the shunt capacitance γl of the line for l∈.
4. dbP, dbQ: Active and reactive power demand at bus b∈.
5. flmax: Thermal flow limit for every line l∈.
6. Vbmax, Vbmin: Maximum and minimum voltage level for each bus b∈.
7. pgmax, pgmin: Maximum and minimum active power levels for each generator g∈.
8. qgmax, qgmin: Maximum and minimum reactive power levels for each generator g∈.
9. tmax, tmin: Maximum and minimum tap ratio limits for transformer t∈.
10. ag, bg, cg: Constant, linear, and quadratic term of the power generation cost function for generator g∈.
11. ηc,s, ηs,d: Charging and discharging ratios for each storage device s∈S.
Objectives
One of the most frequent objectives of the MPOPF problem is to minimise generation cost. Assuming g∈G and ag, bg, cg are cost related coefficients for each generation unit, the generation cost is usually approximated as a quadratic function of the associated powers of each unit:
although any nonlinear form could be used other than the quadratic. Other nonlinear functions are also not excluded representing either market surplus or active transmission loses.
Constraints of the MPOPF Problem
At every time period n=1, 2, . . . , N the MPOPF problem is subject to linear and nonlinear equality and inequality constraints. For clarity and simplicity, the time dependence indicated by the subscript n from every variable is introduced only later in the description, to emphasize the intertemporal time coupling introduced by the linear inequality constraints related to the energy levels of the storage devices.
Let i stand for the set of buses connected through a transmission line to the ith bus. Let l be a transmission line from bus i to bus j, l=(i,j), and θij=θi−θj. The MPOPF constraints are the following:
1. Reference bus b0:
θb
2. Equality constraints: Kirchhoff's current law
3. Nonlinear inequality constraints: thermal line flow
(fl,nP)2+(flQ)2≤(flmax)2 ∀l∈. (7)
4. Box constraints: active and reactive power
pgmin≤pg≤pgmax ∀g∈, (8)
qgmin≤qg≤qgmax ∀g∈, (9)
5. Box constraints: voltage levels and angles
θbmin≤θb≤θbmax ∀b∈, (10)
Vbmin≤Vb≤Vbmax ∀b∈, (11)
6. Linear inequality constraints: energy level of storages
The energy level of the storage devices ϵn at the nth time period, is computed from ϵn−1 through the formula
ϵn=ϵn−1+Bpn−1S,n=1,2, . . . ,N, (12)
where pnS=[(pnSd)T (pnSc)T]T ∈2N
with ηd,i, and ηc,i, i=1, . . . , NS being the discharging and charging efficiencies. The vector of storage levels has to be bounded at each time period n,
ϵmin≤ϵn≤ϵmax. (14)
Additionally, the storage level at the end of the dispatch horizon N may be required to match its initial value in order to prevent depletion of the storage:
ϵN=ϵ0. (15)
Both constraints are linear and they can be jointly written as
where the equality constraint has been written as an inequality constraint with equal upper and lower bounds.
The MPOPF Problem
The resulting optimization problem is a general nonlinear optimization problem:
Each one of the control parameter vectors {θ, v, p, q} stands for the variables from the time periods n=1, . . . , N. The angles are ordered as θ=[θ1T, . . . , θNT]T. The voltages, the active, and the reactive powers are ordered similarly. The N OPF problems could be solved independently from each other if it was not for storage inequality constraints (16) that couple storage powers from all time steps. For this reason the N OPF problems have to be solved coupled with the storage inequality constraints. The resulting (MPOPF) problem can be solved using any general purpose NLP solver like IPOPT (Andreas Wächter and Lorenz T. Biegler. Line search filter methods for nonlinear programming: motivation and global convergence. SIAM J. Optim., 16(1):1-31 (electronic), 2005), (Andreas Wächter and Lorenz T. Biegler. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program., 106(1, Ser. A):25-57, 2006), MIPS (H. Wang, C. E. Murillo-Sanchez, R. D. Zimmerman, and R. J. Thomas. On computational issues of market-based optimal power flow. IEEE Transactions on Power Systems, 22(3):1185-1193, August 2007), or KNITRO (Richard H. Byrd, Jorge Nocedal, and Richard A. Waltz. Knitro: An Integrated Package for Nonlinear Optimization, pages 35-59. Springer U S, Boston, Mass., 2006. ISBN 978-0-387-30065-8). The computational complexity grows quickly for longer dispatch horizons N. However, according to the method of the present invention as specifically disclosed below, a particularly efficient solution is found due to the special structure of the time coupling storage constraints defined by ES.
Interior Point Methods
The present invention proposes an efficient IP algorithm, MPFOPT, particularly designed for MPOPF problems. The MPFOPT algorithm is demonstrated to provide several orders of magnitude faster solution times than standard optimization methods like IPOPT, MIPS, and KNITRO, using significantly fewer amounts of memory. The (MPOPF) problem can be abbreviated as a general nonlinear optimal control problem with both linear and nonlinear inequality constraints:
where x∈N
In the above Nx=2NB+2NG stands for the total number of control variables, NE=2NB+2NG the number of equality constraints, Nh=4Ne the number of nonlinear inequality constraints, and NA=(N+1) NS the number of linear inequality constraints.
Interior Point Solution Framework
The method of the present invention executes an interior point optimization algorithm in a computer system to solve the optimal control problem defined over a time period of interest T, where the objective function associated with the optimal control problem represents the total fuel consumption of the generators for the time period of interest T.
For clarity, we let nonlinear and linear inequality constraints be represented by the single vector cI(x). The vectors indicating the combined inequality constraints and their associated lower and upper bounds are
Slack variables s∈N
Each subproblem (IP(μ)) is solved approximately and while μ decreases, the solution of the next barrier problem is obtained using, as a starting guess, the approximate solution of the previous one. While the barrier parameter μ>0 is driven to zero and provided that the objective function and the constraints are sufficiently smooth, the limit of the corresponding solutions of (IP(μ)) satisfies first order optimality conditions for (IP) when the constraint Jacobian has full rank (Jorge Nocedal and Stephen J. Wright. Numerical Optimization: Springer Series in Operations Research and Financial Engineering. Springer, 2006). The algorithm does not require the feasibility of the iterates with respect to the inequality constraints, but only forces the slack variables to remain positive. The solutions of (IP(μ)) are critical points of the Lagrangian function
and thus satisfy the KKT conditions
∇xf(x)+λTE∇xcE(x)+λIT∇xcI(x)=0,
−μe−SλI=0,
cE(X)=0,
cI(x)−s=0, (19)
where the last of the equations has been obtained by post multiplying with S=diag (s) and e is a vector with all its entries equal to one. For convenience, we define the Jacobian of the equality constraints JE=∇xcE(x) and the Jacobian of the inequality constraints JI=∇xcI(x).
The optimality error E0 (x, s, λE, λI) is defined as the maximum of the ∥ ∥∞ norms of the individual parts of the KKT conditions (19), appropriately scaled to account for the case where the Lagrange multipliers λI, λE and the slack variables s can become very large (see (Andreas Wächter and Lorenz T. Biegler. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program., 106(1, Ser. A):25-57, 2006) for details). The algorithm terminates if the optimality error at an approximate solution (xkT, skT, λEkT, λIkT)T is such that E0(xk, sk, λEk, λIk)≤ϵtol, where ϵtol is the user provided error tolerance.
According to the present invention, the interior point algorithm is characterized by the fact of executing the following steps:
storing a KKT system associated with the optimality conditions for the Lagrangian associated with said objective function and said constraints defined for said time period T, the KKT system including a Hessian matrix H;
reordering the KKT system to obtain a reordered KKT system where the Hessian matrix H after the reordering has an arrowhead structure with diagonal blocks An and off diagonal blocks Bn comprising several identical copies of constant in time matrix B of charging and discharging ratios of said storages device;
executing a direct Schur complement based factorisation and solution algorithm on said reordered KKT system;
returning output parameters for said network, buses, loads, generators and storages devices as a solution of said optimal control problem for each of said time intervals.
All these steps are explained in more detail below.
Solution of the Barrier Subproblem (IP(μ))
The computation of the search direction is obtained by a damped Newton method applied on the KKT conditions (19). Let k denote the iteration counter for the problem (IP(μ)). The solution update iterate (xk+1, sk+1, λEk+1, λIk+1), is obtained from (xk, sk, λkE, λIk) and the search directions (δxk, δsk, δλEk, δλIk), which are computed from the linearisation of the KKT conditions at (xk, sk, λkE, λIk), to obtain the KKT system
where H=∇xxL and, similarly for S, ΛI=diag (λI). To enforce symmetry we have multiplied the second equation with S−1. In practice, however, in order to guarantee certain descent properties of the filter line-search procedure (Andreas Wächter and Lorenz T. Biegler. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program., 106 (1, Ser. A):25-57, 2006), the diagonal blocks of the KKT matrix at the left-hand side of (20) are modified by multiples of the identity matrix as described in (Andreas Wächter and Lorenz T. Biegler. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program., 106 (1, Ser. A):25-57, 2006). For large-scale optimal control problems, the computation of the search directions determines the running time of the optimal control problem. Hence, any attempt accelerating the solution of (IP) should focus on the efficient solution of the KKT linear system (20).
Solution of the KKT System
A widespread approach for solving KKT systems consists of employing black-box solution techniques of multifrontal sparse LU type (O. Schenk and K. Gärtner. On fast factorization pivoting methods for sparse symmetric indefinite systems. Elec. Trans. Numer. Anal., 23:158-179, 2006), (Timothy A. Davis and lain S. Duff. An unsymmetric-pattern multifrontal method for sparse lu factorization. SIAM Journal on Matrix Analysis and Applications, 18(1):140-158, 1997), (Hsl. a collection of fortran codes for large scale scientific computation. URL http://www.hsl.rl.ac.uk), due to their accuracy and robustness. However, such solvers are not aware of the particular structural properties of the generated KKT systems, which appropriately exploited could result in significant computational savings. According to the invention, a direct sparse technique adapted to the temporal structure of the MPOPF problem is used.
Temporal Structure Revealing Ordering
Each one of the variables of every iterate (x, s, λE, λI) represents the corresponding parameters from all time periods. More precisely,
x=[θT VT pT qT]T,θ=[θ1T θ2T . . . θNT]T,
and the rest of the variables v, p, q are ordered in a similar way. According to the invention, the following ordering has been adopted to reveal the temporal structure of the Hessian:
u=[x1T,λE1T,λI1T,s1T, . . . xNT,λENT,λINT,sNT,λAT]T, (21)
where the variables xn, are ordered as
xn=[θnT VnT pnT qnT]T, (22)
and sE ∈N
The sparse structure of the Hessian for the power network described by case IEEE30 with N=5 is depicted in
and it is solved with the Schur-based approach described next.
The Direct Schur-Based Approach
The arrowhead structure of the reordered KKT system (24) calls for a direct Schur-complement-based solution approach. The algorithm is well known (Cosmin G. Petra, Olaf Schenk, Miles Lubin, and Klaus Gärtner. An augmented incomplete factorization approach for computing the schur complement in stochastic optimization. SIAM Journal on Scientific Computing, 36 (2): C139-C162, 2014b), (C. G. Petra, O. Schenk, and M. Anitescu. Real-time stochastic optimization of complex energy systems on high-performance computers. Computing in Science Engineering, 16 (5):32-42, September 2014a) and it is sketched in Alg. 1 for the factorization and Alg. 2 for the associated solution. The Schur complement of each individual block at the step Alg.1.5, is computed by an incomplete augmented factorization technique that solves the sparse linear systems with multiple right-hand sides at once using an incomplete sparse factorization of an auxiliary matrix. This technique is implemented in the direct sparse solver PARDISO (O. Schenk and K. Gärtner. On fast factorization pivoting methods for sparse symmetric indefinite systems. Elec. Trans. Numer. Anal., 23:158-179, 2006); see (Cosmin G. Petra, Olaf Schenk, Miles Lubin, and Klaus Gärtner. An augmented incomplete factorization approach for computing the schur complement in stochastic optimization. SIAM Journal on Scientific Computing, 36(2):C139-C162, 2014b), (C. G. Petra, O. Schenk, and M. Anitescu. Real-time stochastic optimization of complex energy systems on high-performance computers. Computing in Science Engineering, 16(5):32-42, September 2014a) for more details. The auxiliary matrix provided to PARDISO is the augmented block matrix Pn,
the structure of which is depicted in
For a relatively small number of time periods N<100, Alg. 1, Alg. 2, and PARDISO applied on the prereordered KKT system (20) have similar runtime performance. However, as the number of time periods N increases, the Schur complements Sn of the augmented Pn blocks exceed by far the size of the An blocks. As a result the solution approach based on Alg. 1, Alg. 2 becomes ineffective both with respect to the computational time and with respect to memory consumption, compared with the direct sparse solver PARDISO applied on the original prereordered KKT system (20). The performance, however, can be further improved by exploiting the particular structure of the off diagonal blocks Bn described next.
Exploiting Constant in Time Blocks of Bn
For a general Bn the reordering of the KKT system (20) does not lead to an approach more efficient than the one implemented in general purpose direct sparse solvers (O. Schenk and K. Gärtner. On fast factorization pivoting methods for sparse symmetric indefinite systems. Elec. Trans. Numer. Anat., 23:158-179, 2006), (Hsl. a collection of fortran codes for large scale scientific computation. URL http://www.hsl.rl.ac.uk), (Timothy A. Davis and lain S. Duff. An unsymmetric-pattern multifrontal method for sparse lu factorization. SIAM Journal on Matrix Analysis and Applications, 18(1):140-158, 1997), despite the convenient arrowhead sparse structure that allows the direct Schur complement-based algorithm, Alg. 1. The equations of storage devices however, give rise to Bn with special properties that allow for a much more efficient implementation of Alg. 1.
More precisely, the matrices Bn, n=1, 2, . . . , N, obtain the form
where
and B∈N
Let Sn3 be the top 3 by 3 block matrix of Sn:
It is evident from the structure of Sn that only Sn3 needs to be computed, since the rest of the rows and columns are direct replicates of the entries of the last row and column of Sn3. Thus, the computation of Sn becomes independent of the number of time periods N and it only depends on the number of storage devices NS, since each one of the blocks of Sn has size NS×NS. The global Schur complement S, after the end of the loop at Alg.1.7 will have the form
where each block of the first block row and column have dimensions 2NS×2NS, whereas the remaining blocks of Sc have dimensions NS×NS. Storing Sc due to its special structure, requires only three block vectors: one for the first block column S1 of size 2NS(N+1)×2NS, one for the diagonal blocks Sd of size NS×NNS, and one for the off diagonal blocks So of size NS×(N−1)NS,
S1=[S12 S13 S14 . . . S1N], (30)
Sd=[S22 S33 S44 . . . SNN], (31)
So=[S23 S34 S45 . . . SN−1N], (32)
significantly reducing this way the storage requirements for Sc.
The matrix Sc may be written as a 2 by 2 block matrix
where the matrix S22 is what remains from Sc if we remove the first block row and column. The vectors rc, xc may be partitioned as rc=[rc1 rc2]T, xc=[xc1 xc2]T, where the size of xc1 is equal to the number of rows of the S11 block. Once the Schur complement Sc has been computed, the dense linear system on line Alg.2.7 has to be solved for xc.
This is achieved by forming the Schur complement of Sc with respect to the S11 block as described in Alg. 3. The operator S22 in all three steps of Alg. 3 is inverted
by an LDLT factorization (Gene H. Golub and Charles Van Loan. Matrix Computations. The Johns Hopkins University Press, 3rd edition, 1996). The factorization has complexity O(n3) for general symmetric matrices of n×n and the associated back substitution has complexity O(n2). Exploiting the fact that the blocks below the main diagonal of each column of S22 are identical, we can perform the factorization in O(n2) operations. At the same time, according to the present invention, in order to save memory we can operate in block vector representations of the matrices instead of dense block matrices. The algorithms described next operate on the block vector representation Sd, So, of the matrix S22. The LDLT factorization of S22 only requires block vector representation of the factors. This process is summarized in Alg. 4. The back substitution can be performed in O(n) instead
of O(n2). This process is summarized in the Alg. 5. Since the matrix S22 has a block structure with N−1 blocks in N
Solve DUX = Y
Memory Economical Approach
The factorization phase described in Alg. 1 stores all the sparse LU factorizations of the N matrices An in memory. However, for very detailed power grid models the associated matrices An can be very large. The same is true even for small power grid models and high values of N. In these cases the memory for storing the L, U factors may become critical and thus the approach described in Alg. 1 and Alg. 2 may not be applicable.
To remedy this problem, according to an aspect of the present invention, Alg. 6 is provided. This algorithm sacrifices performance, computing the factorisation of each diagonal block An twice. First during the computation of the global Schur complement and Schur right-hand side, at line Alg. 6.5, for computing the local contribution Sn to the global Schur-complement matrix Sc and the contribution to the Schur right-hand side rc. Then the factorisation is computed one more time at line Alg. 6.13 for computing the solution vector xn, at line Alg. 6.15. Once the factorisation serves its purpose, the algorithm releases the memory occupied by the L, U factors and proceeds to the next block An+1. In contrast to the approach described by Alg. 1, only memory for a single factorisation is needed.
Results
In this section, the performance of MPFOPT, according to the method of the present invention, for several benchmark cases of increasing complexity, is evaluated. Simulations are performed on the reference grids modeled by IEEE30, IEEE118, PEGASE1354, and PEGASE13659 included in the MATPOWER library. The associated graphs for these networks are depicted in
The simulation specific parameters for the grid are summarized in Table 1. For comparison we also consider three alternative optimisation algorithms provided in the MATPOWER 6.0 library (R. D. Zimmerman, C. E. Murillo-Sanchez, and R. J. Thomas. MATPOWER: Steady-State Operations, Planning, and Analysis Tools for Power Systems Research and Education. IEEE Transactions on Power Systems, 26(1):12-19, February 2011), namely, IPOPT (Andreas Wächter and Lorenz T. Biegler. Line search filter methods for nonlinear programming: motivation and global convergence. SIAM J. Optim., 16(1):1-31 (electronic), 2005), (Andreas Wächter and Lorenz T. Biegler. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program., 106(1, Ser. A): 25-57, 2006) and MIPS (H. Wang. On the Computation and Application of Multi-period Security-constrained Optimal Power Flow for Real-time Electricity Market Operations. PhD thesis, Electrical and Computer Engineering, Cornell University, May 2007), (H. Wang, C. E. Murillo-Sanchez, R. D. Zimmerman, and R. J. Thomas. On computational issues of market-based optimal power flow. IEEE Transactions on Power Systems, 22(3):1185-1193, August 2007), that adopt an IP approach, and KNITRO (Richard H. Byrd, Jorge Nocedal, and Richard A. Waltz. Knitro: An Integrated Package for Nonlinear Optimization, pages 35-59. Springer U S, Boston, Mass., 2006. ISBN 978-0-387-30065-8), which implements a trust-region algorithm. All our benchmarks ran on a workstation equipped with an Intel(R) Xeon(R) CPU E7-4880 v2 at 2.50 GHz and 1 TB RAM.
For all simulations, the length of the time period is δt=1 hour. The 24 hour load scaling profile kD(t) depicted in
In each case file, the storages are located at the first NS buses with positive active load demand, according to the MATPOWER source file. The storage sizes ϵmax are chosen to contain up to 2 hours of the nominal active power demand of the storage buses. If storage i is located at bus k, then ϵimax=2 pnD,k and ϵmin=0. The storages are initially at a 70% charging level with ϵ0=0.7ϵmax. The storage power ratings are limited to allow a complete discharging or charging within 3 hours or 2 hours. If pin is the discharging or charging power of storage k, then pimax=ϵkmax/3 or pimin=−ϵkmax/2. All storage discharging and charging efficiencies are chosen as ηd,i=0.97 and ηc,i=0.95.
The comparison of different optimisation algorithms is not fair unless all of them converge to the same optimal solution. This is demonstrated for all solvers in
We observe that both IPOPT and MPFOPT have identical convergence histories. It worth noting that the objective, the infeasibility norm (not shown here), and the optimality norm for MPFOPT and IPOPT are indistinguishable. This is due to the fact that MPFOPT adopts a direct technique for solving the KIT system and, thus, it achieves a highly accurate solution similar to that obtained with direct sparse solvers like PARDISO.
A collective comparison of the performance of all solvers is provided in
The performance the method of the present invention, MPFOPT, to optimize the
case study IEEE118 beyond the previous range of time periods N, is shown for several values of N up to N=8760 in Table 2. The average time per iteration for N=3600 up to N=8760 corresponding to one year with a time step size corresponding to one hour, is shown in
We present next the performance of different components of the MPFOPT algorithm in
Finally we present in
While the preferred embodiments of the invention have been shown and described, modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the present invention. It will thus be seen that the objects set forth above, among those made apparent from the preceding description, are efficiently attained and, because certain changes may be made in carrying out the above method and in the construction(s) set forth without departing from the spirit and scope of the invention, it is intended that all matter contained in the above description and shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense. It is also to be understood that the following claims are intended to cover all of the generic and specific features of the invention herein described and all statements of the scope of the invention which, as a matter of language, might be said to fall therein.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2017/057632 | 3/30/2017 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2018/177529 | 10/4/2018 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
8756556 | Raghunathan | Jun 2014 | B1 |
9176171 | Bickel | Nov 2015 | B2 |
10296988 | Mitra | May 2019 | B2 |
10390307 | Mendil | Aug 2019 | B2 |
10424935 | Varma | Sep 2019 | B2 |
10591945 | Ditlow | Mar 2020 | B2 |
10892640 | Kuroda | Jan 2021 | B2 |
20150199606 | Raghunathan | Jul 2015 | A1 |
Number | Date | Country |
---|---|---|
2773005 | Sep 2014 | EP |
Entry |
---|
Kourounis et al., “Efficient solution of large scale multi-stage optimal power flow problems using interior point methods”, ECCOMAS Congress Jun. 2016, Greece, Abstract, https://eccomas2016.org/proceedings/pdf/8168.pdf. |
ECCOMAS Congress 2016 VII European Congress on Computational Methods in Applied Sciences and Engineering, Jun. 2016, Greece, Programme, European Community on Computational Methods in Applied Sciences. |
Ochoa et al., “Minimizing Energy Losses: Optimal Accommodation and Smart Operation of Renewable Distributed Generation”, IEEE Transactions on Power Systems, vol. 26, No. 1, Feb. 2011, pp. 198-205. |
Gopalakrishnan et al., “Global Optimization of Multi-period Optimal Power Flow”, 2013 American Control Conference (ACC), Washington, DC, USA, Jun. 17-19, 2013, pp. 1157-1164. |
Wang et al., “A Multi-Period Optimal Power Flow Model including Battery Energy Storage”, 2013 IEEE Power & Energy Society General Meeting, 2013, pp. 1-5. |
International Search Report and Written Opinion, PCT International Application No. PCT/EP2017/057632, PCT/ISA/210, PCT/ISA/220, PCT/ISA/237, dated Jan. 16, 2018. |
Number | Date | Country | |
---|---|---|---|
20200042569 A1 | Feb 2020 | US |