STOCHASTIC STATE ESTIMATION FOR SMART GRIDS

Information

  • Patent Application
  • 20140032187
  • Publication Number
    20140032187
  • Date Filed
    November 04, 2011
    13 years ago
  • Date Published
    January 30, 2014
    10 years ago
Abstract
A method of approximating a solution of a stochastic state estimation (SSE) model of an electric grid, includes choosing (70) starting anchor points in an SSE model of an electric grid, relaxing (71) constraints of an SSE objective function to solve for a feasible solution of the SSE model, calculating (72) updated dual variables and infeasibility reduction directions from the feasible solution, generating (73) a linear cut for the chosen starting anchor points, choosing (74) a step size toward the reduction directions, and updating (75) the anchor points through branching by making the chosen step, wherein each anchor point defines a rectangle that at least partially covers a feasible solution set of the SSE model and the set of rectangles covering the feasible solution set of the SSE model define an approximate solution of the SSE model of said electric grid.
Description
TECHNICAL FIELD

This disclosure is directed to methods for stochastic distribution system state estimation for smart grids.


DISCUSSION OF THE RELATED ART

Distribution system state estimation produces a real-time estimate of a distribution network model by extracting information from a redundant input data set consisting of remote sensor, predicted and static data items. Consider the state estimation task, where x denotes an n-dimensional state vector, z denotes an m-dimensional observation vector, u denotes a vector of observation noise, assumed independent and driven by Gaussian probability law, and h denotes a vector function relating state and observation variables:






z
1
−h
1(x)=ν,  (1a)






z
2
−h
2(x)=0,  (1b)







h
1
h1h1  (1c)


The constraints of EQ. (1a) state that a sub-vector of the measurement residual, z1−h1(x), is a random variable. The constraints of EQ. (1b) state that a sub-vector of the measurement residual, z2−h2(x), is known deterministically. The constraints of EQ. (1c) state that a subvector of the measurement function, h1, is box-constrained.


In a power system state estimation task formulation, x denotes power system state variables, e.g. node voltage magnitudes and angles, transformer voltage magnitude and angle tap positions, node active and reactive power injections. The function h expresses the electrical relationships between the state variables and the measurements. Constraints (1a) could model voltage magnitude and/or angle measurements with imperfect sensors. Constraints (1b) could model zero-injection active and reactive power pseudo-measurements. Constraints (1c) could model physical and operational requirements that the network state should not be viable unless transformer tap positions, branch current magnitude, active and reactive power flows, node voltage magnitudes and angles are within some associated box constraints. In addition, standard operation practice and physical laws require that some power system variables lie within three regions, defined by three limit pairs, namely, operational limits (OPL), long-term emergency limits (LTEL), and short-term emergency limits (SHTEL). In addition, most variables may not lie outside an interval defined by a pair of reasonability or viability limits (VIAL). For example, the voltage magnitude at some node is normally constrained as follows:







V
i
4
Vi3Vi2Vi1ViVi1Vi2Vi3Vi4,  (2)


where [Vi1, Vi1], [Vi2, Vi2], [Vi3, Vi3], [Vi3, Vi3] denote operational box, long-term emergency box, short-term emergency box, and reasonability box, respectively.


The power system state estimation task is then cast as a constrained mathematical optimization problem:






minJ(x)  (3)






s.t.z
2
−h
2(x)=0  (4)







h≦h≦ h
  (5)


where the following objective function is used in the least square framework:






J(x)=[z−h(x)]TW[z−h(x)].  (6)


Unconstrained weighted least squares (WLS) approaches omit the constraints in EQ. (5) or handle them in a non-systematic way. Constrained WLS approaches incorporate either a subset of or all constraints. An issue with unconstrained WLS approach lies in its requirement of associating a large weight to each component of the measurement residual z2−h2(x). The unconstrained WLS framework is inadequate for dealing with box constraints. The constrained WLS is more suitable for handling the constraints. However, existing constrained WLS approaches are based on general nonlinear solution techniques or linear approximation that are not scalable to large-scale power system network models, with three-phase unbalanced distribution network being a conspicuous example.


As distribution system utilities are facing more regulatory and customer pressures to improve power supply reliability, to reduce losses and to address power quality issues arising from an ever-growing penetration of grid-connected dispersed generation, there is a need for state estimation software that is fast and highly scalable. A distribution management system (DMS) or control center, endowed with efficient monitoring applications, will improve the performance of distribution networks operation and control. New control capabilities, for loads as well as distributed generators, will enhance the controllability of a distribution network. Such level of controllability would, however, remain in the conceptual realm unless distribution control systems and control engineers are fed with estimates of network states that are more accurate than are currently available.


SUMMARY

Exemplary embodiments of the invention as described herein generally include methods and systems for a new state estimation approach for distribution networks, which have intrinsically lower measurement redundancy than in transmission networks. A new state estimation model according to an embodiment of the invention takes account of network phase unbalance, switching devices and discrete controls such as switchable shunt capacitors and reactors, transformers magnitude and phase tap positions, as well as renewable generators. A stochastic state estimation (SSE)-model-specific interior-point and cutting-plane method according to an embodiment of the invention has been demonstrated to be applicable to the stochastic state estimation of multi-phase unbalanced power systems. A state estimator according to an embodiment of the invention is general, highly scalable and applies to transmission as well as distribution network systems. A state estimation framework according to an embodiment of the invention takes account of distribution systems with renewable generators, as well as jumps, induced by network switching events.


According to an aspect of the invention, there is provided a method for approximating a solution of a stochastic state estimation (SSE) model of an electric grid, including (1) choosing starting anchor points in an SSE model of an electric grid, (2) relaxing constraints of an SSE objective function to solve for a feasible solution of the SSE model, (3) calculating updated dual variables and infeasibility reduction directions from the feasible solution, (4) generating a linear cut for the chosen starting anchor points, (5) choosing a step size toward the reduction directions; and (6) updating the anchor points through branching by making the chosen step, wherein each anchor point defines a rectangle that at least partially covers a feasible solution set of the SSE model, wherein each rectangle is a convex set, and the set of rectangles covers the feasible solution set of the SSE model.


According to a further aspect of the invention, the method includes (7) repeating steps (2) through (6) until either a feasible solution is found or an infeasibility check is true.


According to a further aspect of the invention, the method includes (8) pre-solving a few-iterations of a primal of a convexified SSE model.


According to a further aspect of the invention, the method includes (9) calculating updated primal variables and reduced cost directions.


According to a further aspect of the invention, the method includes (10) repeating steps (4) through (9) until either an optimal solution is found or an iteration limit is reached.


According to another aspect of the invention, there is provided a method for finding an optimal solution of a stochastic state estimation (SSE) model of an electric grid, including (1) providing a convexified SSE model of an electric grid, said convexified SSE model including an objective function having an objective value, a plurality of constraints, and a convex hull, (2) initializing a node list with a solution of the SSE objective function in its convex hull, an optimal solution of the SSE model to an empty set, and upper and lower bounds of the objective value of the objective function, (3) selecting a node from the node list and initializing a first cutting plane to a constraint associated with said node, (4) solving the objective function subject for the first cutting plane to obtain a current solution and saving the objective value of the current solution of the objective function, (5) updating the objective value upper bound to a largest optimal objective value among current nodes, (6) if the current solution of the SSE model is a feasible solution of the SSE model, and if the objective value of the current solution is greater than the objective value lower bound, setting the objective value lower bound to the current solution objective value and the optimal solution of the SSE model to the current solution of the SSE model, (7) if a number of cutting plane is less than a predetermined maximum and if the objective value of the current solution is greater than the objective value lower bound, generate a plurality of new cutting planes for the current node to produce a tighter feasible region of the SSE model, and (8) if the number of cutting plane is greater than the predetermined maximum, create two new nodes and a constraint for each new mode, and add the new nodes to the node list.


According to a further aspect of the invention, the method includes, if the node list is empty, setting the optimal solution of the SSE model to the current solution of the SSE model, and the optimal objective value of the SSE model to the current solution objective value.


According to a further aspect of the invention, the method includes, if the current solution of the SSE model is infeasible, repeating steps (3) and (4).


According to a further aspect of the invention, the method includes, if the objective value of the current solution is less than the objective value lower bound, repeating steps (3) through (5).


According to another aspect of the invention, there is provided a non-transitory program storage device readable by a computer, tangibly embodying a program of instructions executed by the computer to perform the method steps for covering a feasible region of a stochastic state estimation (SSE) model of an electric grid.


According to another aspect of the invention, there is provided a non-transitory program storage device readable by a computer, tangibly embodying a program of instructions executed by the computer to perform the method steps for finding an optimal solution of a stochastic state estimation (SSE) model of an electric grid.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 depicts Tables 1 and 2, which summarize the states variables, measurements and pseudo-measurements used in an SE, according to an embodiment of the invention.



FIG. 2 depicts a one-phase power system, according to an embodiment of the invention.



FIG. 3 depicts a reduced network model post-NTP, according to an embodiment of the invention.



FIG. 4 depicts a network unified compound π diagram, according to an embodiment of the invention.



FIG. 5 illustrates the forms of the feasibility sets of FijS and FijC on the complex plane, according to an embodiment of the invention.



FIG. 6 illustrates the idea of rectangle coverage accuracy, according to an embodiment of the invention



FIG. 7 is a flow chart of an algorithm for covering a feasible region, according to an embodiment of the invention.



FIG. 8 shows a branch-and-bound tree for EQS. (91), according to an embodiment of the invention.



FIG. 9 is a flowchart of a branch-and-cut algorithm according to an embodiment of the invention.



FIG. 10 is a block diagram of an exemplary computer system for implementing an SSE-model-specific interior-point and cutting-plane method for state estimation in a distribution network, according to an embodiment of the invention.





DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

Exemplary embodiments of the invention as described herein generally include systems and methods for state estimation in a distribution network. Accordingly, while the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that there is no intent to limit the invention to the particular forms disclosed, but on the contrary, the invention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.


Nomenclature

The main notation used throughout the present disclosure is summarized below.


Acronyms

AC Alternating Current


AMI Advanced Metering Infrastructure.


DER Distributed Energy Resource.


DMS Distribution Management System.


DSE Distribution System Sate Estimation.


MIP Mixed-Integer Programming.


MIQP Mixed Integer Quadratic Program.


NLP Nonlinear Programming.


NTP Network Topology Processing or Network Topology Processor.


PV Photovoltaic.


QP Quadratic Programming.


SCADA Supervisory Control and Data Acquisition System.


SLP Successive Linear Programming


WLS Weighted Least Squares.


Variables

Iij Current flow magnitude at origin terminal of branch ij.


Iji Current flow magnitude at sending terminal of branch ij.


Pij Active power flow at origin terminal of branch ij.



Pji Active power flow at destination terminal of branch


Qij Reactive power flow at origin terminal of branch ij.


Qji Reactive power flow at destination terminal of branch


Vk Voltage magnitude at node or bus k.


θk Voltage angle at node or bus k.


sij Status of switch ij.


Other Mathematical Symbols

xh gradient of the function h with respect to x.


x2h Hessian of the function h with respect to x.


xT transpose of x.


Additional symbols used here are dual variables, which are mnemonically displayed on top of the corresponding equality or inequality symbols. If x is a variable, then x and x denote the lower limit and upper limit, respectively, of x. Other symbols with a narrower scope are defined in the subsections where they are used.


1 Introduction

A new state estimation solver according to an embodiment of the invention can address the following requirements:


Full library of power models suitable for smart grids;


Multi-phase unbalanced power distribution systems;


Real-time (1-5s) estimation;


Distributed operation;


Non-systematic/inadequate sensor observability;


Switching events;


High penetration of intermittent local generation; and


Variety mix of known and unknown Volt/Var control modes.


An SSE algorithm according to an embodiment of the invention has the following features, which are applicable to SE:

    • support various types of power flow constraints;
    • implement a model-specific primal-dual interior point method, which is fast and scalable, owing to usage of a fully continuous solver, applied to a locally linearized SSE, and matrix partitioning into ‘super-node blocks’;
    • implement a novel SSE iterative convexification scheme, which leans on a new coarse discretization of non-linear AC voltage law, a novel branch-and-cut (i.e. branch-and-bound with cutting planes) discretization management scheme, and model-specific cutting planes to speed up the global solution search; and
    • implement a novel parametric relaxation model for network topology, by starting from a previous solution following a network topology change. This is achieved by means of continuous parameter relaxation.


For switching event filtering, a fast statistical jump-diffusion identification procedure according to an embodiment of the invention can be applied to a pocket of network (i.e. a local area of the network) to identify discrete events in real-time. A procedure according to an embodiment of the invention uses regular continuous sensor measurements, builds a local state-space model with a mix of discrete and continuous events, exploits the fact that a discrete event has a step and duration, casts this problem as a small-scale MIQP, uses a polynomial DP heuristic for solving the MIQP in real-time, and implies a high likelihood of correct identification if there is enough measurement redundancy.


For identification of distributed renewable energy plants, the production vector of a DER array can be modeled by a small set of common dynamic factors. The sensitivity factor of each DER in the array is specific due to local conditions. The value of the common factors vector is short-term predictable. The power injection vector of the DER array is modulated by local protection and power electronic controls. The modulation may have multiple modes switching based on a relay control thresholds/band. Each mode produces a performance curve, following power injection for a band-locked energy production. A model according to an embodiment of the invention can be solved by a machine-learning algorithm, such as SVM or matrix completion. The idea is to forecast short term DER power outputs and terminal voltages, using power injection measurements or pseudo-measurements or previous estimates as well as a common factors observations history to reconstruct the unknown control modes and curves and a DER sensitivity matrix.


2 Model Formulation

An SE algorithm according to an embodiment of the invention can perform the following:


(1) Filter network discrete events;


(2) Filter distributed energy plants;


(3) Perform NTP;

(4) Build the SE model;


(5) Determine observable islands;


(6) Solve a constrained WLS for a network state in every observable island;


(7) Perform bad data analysis;


(8) If bad data was filtered out, repeat from step 6; and


(9) Estimate the network state in all (i.e observable and non-observable) islands


Tables 1 and 2, shown in FIG. 1, summarize the states variables, measurements and pseudo-measurements used in an SE according to an embodiment of the invention.


Since the aforementioned principles are applicable for single-phase or multi-phase systems, some of the main steps of the state estimation approach according to an embodiment of the invention will be highlighted using a single-phase system model.


2.1 Illustration with One-Phase System Model


Consider the network of FIG. 2, which is a one-phase power system diagram. The network has nine nodes, numbered from 1 to 9, 5 switches, designated by the symbol SW, one generator, designated by GN, two lines, designated by the symbol LN, and two loads designated by the symbol LD. The lines and switches are further identified by the nodes being connected. Suppose that the following quantities are measured:


Active and reactive power injections at node 1;


Active and reactive power flow at the origin terminal of line 12;


Current flow magnitude at the origin terminal of line 13;


Current flow magnitude at the destination terminal of switch 35;


Voltage magnitudes at nodes 1 and 3;


Voltage angles at nodes 1 and 2;


Status of switch 24; and


Status of switch 35.


In addition, suppose that all switches are closed and that the generator is online.


A basic NTP is carried out, using the available information. Specifically, since all switches are closed, super nodes can be defined by collapsing nodes and switching devices. Note the presence of flow measurements on the switching devices 57 and 89. This scarce data would be lost if switches 57 and 89 were trivially collapsed to form super nodes. In this case, the switches 57 and 89 can be modeled using the generalized SE concept. The generator being online entails that all devices are likely energized.


Note that the switches 57 and 89 can be collapsed after analytically transferring the measurements on switches 57 and 89 to the destination terminals of the line 12 and 13, respectively; for example. However, for the sake of simplicity, this disclosure will omit further exposition on this transformation. 5


The results of the basic NTP yield the reduced network diagram of FIG. 3, after re-numbering and re-ordering of nodes.


The variables of the reduced network model are:


P1 Active power injection at node 1;


P2 Active power injection at node 2;


P21 Active power flow at destination terminal of line 12;


P12 Active power flow at origin terminal of line 12;


Q1 Reactive power injection at node 1;


Q2 Reactive power injection at node 2;


Q21 Reactive power flow at destination terminal of line 12;


Q12 Reactive power flow at origin terminal of line 12;


Vi Voltage magnitude at node i, i=1, 2, 3, 4, 5;


θi Voltage angle at node i, i=1, 2, 3, 4, 5;


s24 Status of switch 24; and


s35 Status of switch 35.


The model has eighteen state variables. According to an embodiment of the invention, the following variables can be chosen as state variables:


P1 Active power of injection at node 1;


P4 Active power injection at node 4;


P5 Active power injection at node 5;


Q1 Reactive power injection at node 1;


Q4 Reactive power injection at node 4;


Q5 Reactive power injection at node 5;


Vi Voltage magnitude at node i, i=1, 2, 3, 4, 5;


θi Voltage angle at node i, i=1, 2, 3, 4, 5;


s24 Status of switch 24; and


s35 Status of switch 35.


The following notation will now be introduced, where R, G, and B are obtained from transformations of user supplied network admittance parameters:






R
ij
S=((GijS)2+(BijS)2)1/2,∀ij  (7)






R
ij
C=((GijC)2+(BijC)2)1/2,∀ij  (8)





αijS=arcsin(BijS/RijS),∀ij  (9)





αijC=arcsin(BijC/RijC),∀ij  (10)






x
i
=[P
1
,Q
1
,I
1
,P
2
,Q
2
,I
2
,P
3
,Q
3
,I
3
,P
4
,Q
4
,I
4
,P
5
,Q
5
,I
5]  (11)






x
ij
=[P
12
,Q
12
,I
12
,P
21
,Q
21
,I
21
,P
13
,Q
13
,I
13
,P
31
,Q
31
,I
31
,P
24
,Q
24
,I
24
,P
42
,Q
42
,I
42
,P
35
,Q
35
,I
35
,P
53
,Q
53
,I
53]  (12)






u
i
=[V
11,V22,V33,V44,V55]  (13)






u
ij
=[s
24
,s
35]  (14)


The network model is defined by the following set of constraints:















P
12

=



G
12
S



V
11


+


V
12



(



G
12
C


cos






θ
12


+


B
12
C


sin






θ
12



)








(

15

a

)












Q
12

=



-

B
12
S




V
11


+


V
12



(



G
12
C


sin






θ
12


-


B
12
C


cos






θ
12



)








(

15

b

)







I
12
2

=




(

R
12
S

)

2



V
11


+



(

R
12
C

)

2



V
22


+

2






R
12
S



R
12
C



V
12



cos


(


θ
12

+

α
12
S

-

α
12
C


)








(

15

c

)












P
21

=



G
21
S



V
22


+


V
21



(



G
21
C


cos






θ
21


+


B
21
C


sin






θ
21



)








(

15

d

)












Q
21

=



-

B
21
S




V
22


+


V
21



(



G
21
C


sin






θ
21


-


B
21
C


cos






θ
21



)








(

15

e

)







I
21
2

=




(

R
21
S

)

2



V
22


+



(

R
21
C

)

2



V
11


+

2






R
21
S



R
21
C



V
21



cos


(


θ
21

+

α
21
S

-

α
21
C


)








(

15

f

)












P
13

=



G
13
S



V
11


+


V
13



(



G
13
C


cos






θ
13


+


B
13
C


sin






θ
13



)








(

15

g

)












Q
13

=



-

B
13
S




V
11


+


V
13



(



G
13
C


sin






θ
13


-


B
13
C


cos






θ
13



)








(

15

h

)







I
13
2

=




(

R
13
S

)

2



V
11


+



(

R
13
C

)

2



V
33


+

2






R
13
S



R
13
C



V
13



cos


(


θ
13

+

α
13
S

-

α
13
C


)








(

15

i

)












P
31

=



G
31
S



V
33


+


V
31



(



G
31
C


cos






θ
31


+


B
31
C


sin






θ
31



)








(

15

j

)












Q
31

=



-

B
31
S




V
33


+


V
31



(



G
31
C


sin






θ
31


-


B
31
C


cos






θ
31



)








(

15

k

)







I
31
2

=




(

R
31
S

)

2



V
33


+



(

R
31
C

)

2



V
11


+

2






R
31
S



R
31
C



V
31



cos


(


θ
31

+

α
31
S

-

α
31
C


)








(

15

l

)












P
1

=


P
12

+

P
13







(

16

a

)












Q
1

=


Q
12

+

Q
13







(

16

b

)










I
1
2

=




I
12
2

+

I
13
2

+

2






I
12



I
13









=





[



(

R
12
S

)

2

+


(

R
13
S

)

2

+

2


R
12
S



R
13
S



cos


(


α
12
S

-

α
13
S


)




]



V
11


+



(

R
12
C

)

2



V
22


+













(

R
13
S

)

2



V
33


+

2


R
12
S



R
12
C



V
12



cos


(


θ
12

+

α
12
S

-

α
12
C


)



+











2


R
12
S



R
13
C



V
13



cos


(


θ
13

+

α
12
S

-

α
13
C


)



+











2


R
12
C



R
13
S



V
21



cos


(


θ
21

+

α
12
C

-

α
13
S


)



+











2


R
12
C



R
13
S



V
23



cos


(


θ
23

+

α
12
C

-

α
13
C


)



+










2


R
13
C



R
13
C



V
13



cos


(


θ
13

+

α
13
S

-

α
13
C


)










(

16

c

)












P
2

=


P
21

+

P
24







(

16

d

)












Q
2

=


Q
21

+

Q
24







(

16

e

)












I
2
2

=


I
21
2

+

I
24
2

+

2






I
21



I
24








(

16

f

)












P
3

=


P
31

+

P
35







(

16

g

)












Q
3

=


Q
31

+

Q
35







(

16

h

)












I
3
2

=


I
31
2

+

I
35
2

+

2






I
31



I
35








(

16

i

)












P
4

=

P
42






(

16

j

)












Q
4

=

Q
42






(

16

k

)












I
4
2

=

I
42
2






(

16

l

)












P
5

=

P
53






(

16

m

)












Q
5

=

Q
53






(

16

n

)












I
5
2

=

I
53
2






(
160
)














V
_

i



V
i




V
_

i


,

i
=
1

,
2
,
3
,
4
,
5





(

17

a

)














θ
_

i



θ
i




θ
_

i


,

i
=
1

,
2
,
3
,
4
,
5





(

17

b

)













P
_

12



P
12




P
_

12






(

17

c

)













P
_

21



P
21




P
_

21






(

17

d

)













Q
_

12



Q
12




Q
_

12






(

17

e

)













Q
_

21



Q
21




Q
_

21






(

17

f

)













P
_

1



P
1




P
_

1






(

17

g

)













P
_

2



P
2




P
_

2






(

17

h

)












s
12

,


s
24



{

0
,
1

}







(
18
)







Constraints (15) model voltage laws, which map the voltage magnitudes and angles to branch active and reactive power flows. Constraints (16) model active-power balance and reactive-power balance at every super-node. Constraints (17) models variable box (i.e. lower bound and upper bound) constraints. Constraints (18) model the integrality constraints on a subset of variables.


Given the selected state variables, measurement functions according to an embodiment of the invention can be defined as follows:










h

x
i


=

(


P
1

,

Q
1

,

I
1


)





(

19

a

)











=


P
h

x
i




x
i







(

19

b

)







h

x
ij


=

(


P
12

,

Q
12

,

I
12

,

I
24

,

I
13

,

I
35


)





(

19

c

)











=


P
h

x
ij




x
ij







(

19

d

)







h

u
i


=

(


V
1

,

θ
1

,

V
4

,

θ
4

,

V
5

,

θ
5


)





(

19

e

)











=


P
h

u
i




u
i







(

19

f

)







h

u
ij


=

(


s
24

,

s
35


)





(

19

g

)











=


P
h

u
ij




u
ij







(

19

h

)






h
=

(


h

x
i


,

h

x
ij


,

h

u
i


,

h

u
ij



)





(

19

i

)







which yields an additive mixture of nonlinear functions of the state variables vector and the observation errors vector:










z

x
i


=

(


P
1
ME

,

Q
1
M

,


(

I
1
ME

)

2


)





(

20

a

)











=


h

x
i


+

v

x
i








(

20

b

)







z

x
ij


=

(


P
12
ME

,

Q
12
M

,

I
13
ME

,

I
35
ME


)





(

20

c

)











=


h

x
ij


+

v

x
ij








(

20

d

)







z

u
i


=

(


V
1
ME

,

θ
1
ME

,

V
4
ME

,

θ
4
ME

,

V
5
ME

,

θ
5
ME


)





(

20

e

)











=


h

u
i


+

v

u
i








(

20

f

)







z

u
ij


=

(


s
24
ME

,

s
35
ME


)





(

20

g

)











=


h

u
ij


+

v

u
ij








(

20

h

)






z
=

h
+
v





(

20

i

)






v
=

(


v

x
i


,

v

x
ij


,

v

u
i


,

v

u
ij



)





(

20

j

)







2.2 Illustration with a Three-Phase Unbalanced System Model


Consider FIG. 4, which depicts a network unified compound it diagram. A unified power flow model according to an embodiment of the invention allows a concise exposition. If the network of FIG. 4 is one-phase only, the power and current injections are expressed as follows:










P
ij

=



G
ij
S



a
ij
2



V
ii


+


a
ij



a
ji




V
ij



(



G
ij
C



cos


(


θ
ij

+

φ
ij

-

φ
ji


)



+


B
ij
C



sin


(


θ
ij

+

φ
ij

-

φ
ji


)




)








(

21

a

)







Q
ij

=



-

B
ij
S




a
ij
2



V
ii


+


a
ij



a
ji




V
ij



(



G
ij
C



sin


(


θ
ij

+

φ
ij

-

φ
ji


)



-


B
ij
C



cos


(


θ
ij

+

φ
ij

-

φ
ji


)




)








(

21

b

)







I
ij
2

=




(

R
ij
S

)

2



V
ii


+



(

R
ij
C

)

2



V
jj


+

2






R
ij
S



R
ij
C



V
ij



cos


(


θ
ij

+

α
ij
S

-

α
ij
C


)








(

21

c

)












P
i

=



j



P
ij







(

21

d

)












Q
i

=



j



Q
ij







(

21

e

)












I
i
2

=




j



I
ij
2


+

2




m






n
>
m





I
im



I
in











(

21

f

)







If the unified branch model of FIG. 4 is multi-phase, the corresponding power flows and model may be stated as follows, if ip,jm, denote phase p of node i and phase m of node j:










P


i
p



j
m



=



G


i
p



j
m


S



a


i
p



j
m


2



V


i
p



j
p




+


a


i
p



j
m





a


j
m



i
p






V


i
p



j
m





[






G


i
p



j
m


C



cos


(


θ


i
p



j
m



+

φ


i
p



j
m



-

φ


j
m



i
p




)



+







B


i
p



j
m


C



sin


(


θ


i
p



j
m



+

φ


i
p



j
m



-

φ


j
m



i
p




)






]








(

22

a

)







Q


i
p



j
m



=



-

B


i
p



j
m


S




a


i
p



j
m


2



V


i
p



j
p




+


a


i
p



j
m





a


j
m



i
p






V


i
p



j
m





[






G


i
p



j
m


C



sin


(


θ


i
p



j
m



+

φ


i
p



j
m



-

φ


j
m



i
p




)



-







B


i
p



j
m


C



cos


(


θ


i
p



j
m



+

φ


i
p



j
m



-

φ


j
m



i
p




)






]








(

22

b

)







I


i
p



j
m


2

=




(

R


i
p



j
m


S

)

2



V
ii


+



(

R


i
p



j
m


C

)

2



V
jj


+

2


R


i
p



j
m


S



R


i
p



j
m


C



V


i
p



j
m





cos


(


θ


i
p



j
m



+

α


i
p



j
m


S

-

α


i
p



j
m


C


)








(

22

c

)












P

i
p


=



j





m



P


i
p



j
m










(

22

d

)












Q

i
p


=



j





m



Q


i
p



j
m










(

22

e

)












I

i
p

2

=




j





m



I


i
p



j
m


2



+

2




j





k





m






m
>
n





I


i
p



j
m





I


i
p



k
n















(

22

f

)







Note that that EQS. (22) may be cast in a format such that the two-dimensional index space (i.e. three-phase node and phase identifier) are mapped to a one dimensional space, for example:










i
~

=

i
p





(

23

a

)






=


3

i

+
p





(

23

b

)







From this perspective, the aforementioned concepts and illustration, for a single-phase network model, also apply to a multi-phase network model, thereby abstracting out implementation details required for three-phase systems.


3 Model Solution

Concepts of new SSE algorithm according to an embodiment of the invention may be applied to 3-phase state estimation. This approximation is general enough to accommodate three-phase network AC power flow equations. An SSE model according to an embodiment of the invention is based on a novel convex approximation of the power flow constraints and objective functions. The convex approximation scheme ensures robustness. An SSE model according to an embodiment of the invention also uses a new coarse discretization of the non-linear AC voltage law, a novel branch-and-bound-and-cut discretization management scheme, and model-specific cutting planes to speed up the global solution search. An SSE model according to an embodiment of the invention can support a host of active-power, reactive-power as well as coupled active-reactive power constraints.


3.1 Model-Specific Interior Point Method

A SSE algorithm according to an embodiment of the invention is based on a fast and scalable primal-dual interior method, and is a fully continuous solver, applicable to a locally linearized SSE system, using matrix partitioning into ‘super-node blocks’.


3.1.1 Continuous SSE Model
3.1.1.1 Solver Model Specification

According to an embodiment of the invention, it may be assumed that an electric grid (SSE) model consists of buses iε{1,N} connected by branches ijε{1,N}×{1,N}. The connection matrix R is given as:










R
ij

=

{




1
,





if





branch





ij





exists

,






0
,




otherwise
.









(
24
)







A minimal SSE model according to an embodiment of the invention assumes an AC-only grid with continuous-only state-dependent variables x and controls u. In addition to that, no thermal capacity limits are enforced on branch power flows. Finally, a discrete logic variable z defining a linearization region of originally non-convex AC voltage law constraints is assumed to be a fixed binary vector z0.


3.1.1.2 Box-Constraint Set

Two box-constraint families nay be defined that independently limit bus control vector ui and dependent bus variable vector xi:






x
LB
i
≦x
i
≦x
u
UB,






u
i
LB
≦u
i
≦u
i
UB.  (25)


Bus control vector ui typically includes voltage magnitude Vi (log-scaled in this model), phase angle θi, and shunt switch position Qi. Bus dependent variables vector xi typically includes net active xiP and reactive xiQ power injection. Similarly, a box-constraint family may be defined for branch variables that independently limit branch control vector uij that typically include transformer tap selection tij and phase shift φi,, and dependent branch variable vector that typically includes net active xijP and reactive xijQ:






x
ij
LB
≦x
ij
≦x
ij
UB,






u
ij
LB
≦u
ij
≦u
ij
Q.  (26)


3.1.1.3 Flow Balance Set

At every bus there must be maintained a net power injection balance between a bus and connected branches. According to an embodiment of the invention, branch dependent variables vector xij may be defined (typically xij=(xijP,xijQ)) and the balance specified as follows:










x
i

=




j
=
1

N




R
ij

·

x
ij







(
27
)







The matrix R is always highly sparse since the density of connections in real-world power grids is typically 1-5 branches per bus.


3.1.1.4 Discrete Control Grid

Some of the components in bus control vector ui may be discrete, while the others may be continuous. According to an embodiment of the invention, a minimal discretization of the overall Cartesian product space partitions the vector ui into intervals kε[1,Ki] each defined by a box [uikLB,uikUB], a fixed anchor vector uik0 and a binary choice variable zik. The latter is assumed fixed at zik0 in a minimal SSE specification according to an embodiment of the invention. Then, discrete control grid is given by the following discrete box-constraint family:













k
=
1


K
i





z
ik
0



u
ik
LB





u
i






k
=
1


K
i





z
ik
0




u
ik
UB

.







(
28
)







Similarly, a discrete control grid may be defined for the branch control vector uij defined by kε[1,Kij] intervals each defined by a box [uijkLB,uijkUB] a fixed anchor vector uijk0 and a binary choice variable zijk, assumed fixed in an embodiment at zijk0 in this minimal SSE specification):













k
=
1


K
i





z
ijk
0



u
ijk
LB





u
i






k
=
1


K
i





z
ijk
0




u
ijk
UB

.







(
29
)







3.1.1.5 Discretized Voltage Law

Each interval k implies a new feasibility set xijk for the branch power flow vector xij represented as a rectangle generated by intervals [uikLB,uikUB], [ujkLB,ujkUB] and [uijkLB,uijkUB] following the voltage law gradient lines drawn at the combined anchor point (uik0,ujk0,uijk0). According to an embodiment of the invention, the set Xijk is not specifically included in the model specification. Instead, a discretized version of an AC voltage law defining the relation between branch power flow vectors xij and control vectors ui, uj, uij linearized with respect to a given anchor point (ui0,uj0,uij0) that is typically given by the grid anchor point uik0,ujk0,uijk0 corresponding to zik0 and zijk0. Then, according to an embodiment of the invention the following form of a discretized AC voltage law can be assumed:






x
ij
=Rij(Aij0ui+Bij0uj+Cij0uij+Dij0uji+Eij0)  (30)


This constraint exhibits two types of sparsity: one inherited from Rij and the other due to dependence on only two control vectors (ui, uj) and (uij, uji) instead of the whole-grid control vector U=[(ui)i=1N,(uij)i,j=1N]. The matrices Aij0,Bij0,Cij0,Dij0,Eij0 can be explicitly precalculated for every link (i, j) for the given anchor point) (ui0,uj0,uij0).


3.1.1.6 Objective Function

An embodiment of the invention may assume a generic convex quadratic cost function to be minimized. This function includes terms related to managing the control vector ui that minimizes control adjustment costs, bus dependent variables vector xi that minimize generation costs, and branch dependent variables vector xij that minimize transmission losses:










min





i
=
1

N



[



1
2



x
i
T



V
i
X



x
i


+


1
2



u
i
T



V
i
U



u
i


+


S
i
X



x
i


+


S
i
U



u
i



]



+




i
,

j
=
1


N




R
ij



[



1
2



x
ij
T



W
ij
X



x
ij


+


1
2



u
ij
T



W
ij
U



u
ij


+


T
ij
X



x
ij


+


T
ij
U



u
ij



]







(
31
)







3.1.1.7 Interior Point Method

First, the model is standardized to the following format:










min






f


(

x
,
u

)



=





i
=
1

N



[



1
2



x

i





1

T



V
i
X



x

i





1



+


1
2



u

i





1

T



V
i
U



u

i





1



+


S

i





1

X



x

i





1



+


S

i





1

U



u

i





1




]


+




i
,

j
=
1


N




R
ij



[



1
2



x

i





j1

T



W

ij





1

X



x

ij





1



+


1
2



u

i





j

T



W
ij
U



u

ij





1



+


T

ij





1

X



x

ij





1



+


T

ij





1

U



u

ij





1




]








(
32
)







subject to:











x

i





1


+

s

x





i



=

x

i





1

UB





(

33

a

)








u

i





1


+

s

u





i



=

u

i





1

UB





(

33

b

)








x

ij





1


+

s

xi





j



=

x

ij





1

UB





(

33

c

)








u

ij





1


+

s
uij


=

u

ij





1

UB





(

33

d

)








x

i





1


-




j
=
1

N




R
ij

·

x

ij





1





=

b
x





(
34
)








x

ij





1


-


R
ij



(



A
ij
0



u

i





1



+


B
ij
0



u

j





1



+


C
ij
0



u

ij





1



+


D
ij
0



u

ji





1




)



=

b
v





(
35
)







where, sxi, sui, sxij, suij are slack variables, and















x

i





1


=


x
i

-

x
i
LB







(
36
)












x

ij





1


=


x
ij

-

x
ij
LB







(
37
)












x

i





1

UB

=


x
i
UB

-

x
i
LB







(
38
)












x

ij





1

UB

=


x
ij
UB

-

x
ij
LB







(
39
)












u

i





1


=


u
i

-

max


{


u
i
LB

,




k
=
1


K
i





z
ik
0



u
ik
LB




}








(
40
)












u

i





j





1


=


u
i

-

max


{


u
ij
LB

,




k
=
1


K
ij





z
ijk
0



u
ijk
LB




}








(
41
)







u

i





1

UB

=


min


{


u
i
UB

,




k
=
1


K
i





z
ik
0



u
ik
UB




}


-

max


{


u
i
LB

,




k
=
1


K
i





z
ik
0



u
ik
LB




}







(
42
)







u

ij





1

UB

=


min


{


u
ij
UB

,




k
=
1


K
i





z
ijk
0



u
ijk
UB




}


-

max


{


u
ij
LB

,




k
=
1


K
i





z
ijk
0



u
ijk
LB




}







(
43
)












b
x

=





j
=
1

N




R
ij

·

x
ij
LB



-

x
i
LB







(
44
)







b
v

=


R
ij

·




(





E

ij





1

0

+


A
ij
0


max


{


u
i
LB

,




k
=
1


K
i





z
ik
0



u
ik
LB




}


+


B
ij
0


max


{


u
j
LB

,




k
=
1


K
i





z
ik
0

·

u
jk
LB




}


+








C
ij
0


max


{


u
ij
LB

,




k
=
1


K
ij





z
ijk
0



u
ijk
LB




}


+


D
ij
0


max


{


u
ji
LB

,




k
=
1


K
ij





z
ijk
0



u
jik
LB




}






)

-

x
ij
LB








(
45
)











Let







v


(
X
)


=


x

ij





1


-


R
ij

·

(



A
ij
0

·

u

i





1



+


B
ij
0

·

u

j





1



+


C
ij
0

·

u

ij





1



+


D
ij
0

·

u

ji





1




)


-

b
v








(
46
)












o


(


x
ij

,

x
i


)


=


x

i





1


-




j
=
1

N




R
ij

·

x

ij





1




-

b
x







(
47
)







Then, for the sake of conciseness, EQS. (33), (34) and (35) as (48), (49) and (50), may be rewritten as, respectively:






X+s=X
UB  (48)






o(X)=0  (49)






v(X)=0  (50)


The coefficients of the objective f also change:










S

i





1

X

=


S
i
X

+


x
i
LB

·

V
i
X







(

51





a

)







S

i





1

U

=


S
i
U

+

max



{


u
j
LB

,




k
=
1


K
i





z
ik
0

·

u
jk
LB




}

·

V
i
U








(

51





b

)







T

ij





1

X

=


T
ij
X

+


x
i
LB

·

W
ij
X







(

51





c

)







T

ij





1

U

=


T
ij
U

+

max



{


u
j
LB

,




k
=
1


K
i





z
ik
0

·

u
jk
LB




}

·

W
ij
U








(

51





d

)







By introducing logarithmic barrier terms, there is the following Lagrangian function:






L
μ(X,S)=f(X)−μT(ln X+ln S)−YT(X+S−XUB)−y1To(xij,xi)−y2Tv(X))  (52)


Here,






X=({xi1},{xij1},{ui1},{uij1})T  (53)






S=({sxi},{sxij},{sui},{suij})T  (54)


The vectors of Lagrange multipliers Y and y are called dual variables. The KKT first order optimality conditions of the resulting system are given by EQS. (55).










[






L
X













L
S













L
Y









L

y





1














L

y





2






]

=


[







f


(
X
)



-

μ
/
X

-
Y
-


y
1
T





o


(


x
ij

,

x
i


)




-


y
2
T





v


(
X
)












-
μ

/
S

-
Y






-

(

X
+
S
-

X
UB


)







-

o


(


x
ij

,

x
i


)








-

v


(
X
)






]

=
0





(
55
)







Introducing μ/X=Zx, μ/S=Zs in EQ. (55) yields EQ. (56):










[






L
X













L
S













L
Y









L

y





1














L

y





2






]

=


[







f


(
X
)



-

Z
x

-
Y
-


y
1
T





o


(


x
ij

,

x
i


)




-


y
2
T





v


(
X
)











-

Z
s


-
Y






-

(

X
+
S
-

X
UB


)







-

o


(


x
ij

,

x
i


)








-

v


(
X
)










Z
x

·
X

-

μ





E









Z
s

·
S

-

μ





E





]

=
0





(
56
)







Using Newton method to solve the above non-linear equation, produces the linear equation EQ. (57), where H is the Hessian matrix defined in EQ. (58).










H
·

[




Δ





X






Δ





S






Δ





Y






Δ






y
1







Δ






y
2







Δ






Z
x







Δ






Z
s





]


=

-

[







f


(
X
)



-

Z
x

-
Y
-


y
1

·



o


(


x
ij

,

x
i


)




-



y
2

·
§







v


(
X
)










-
Y

-

Z
s







-

(

X
+
S
-

X
UB


)







-

o


(


x
ij

,

x
i


)








-

v


(
X
)










Z


·
X

-

μ





E









Z
s

·
S

-

μ





E





]






(
57
)







H
=

[




H
11



0



-
I




H
41
T




H
51
T




-
I



0




0


0



-
I



0


0


0



-
I






-
I




-
I



0


0


0


0


0





H
41



0


0


0


0


0


0





H
51



0


0


0


0


0


0





diag


(

Z
X

)




0


0


0


0



diag
(
X
)



0




0



diag


(

Z
S

)




0


0


0


0



diag


(
S
)





]











where




(
58
)













H
11

=

diag


(


V
x

,

W
x

,

V
u

,

W
U


)



,





(
59
)












H
41

=

[


-
I

,
R
,
0
,
0

]






(
60
)







R
=

[




[


R
11


I












R

1






N
1




I

]



0





0




0



[


R
21


I












R

2






N
2




I

]






0




0













0





0



[


R


N
1


1



I












R


N
1



N
1




I

]




]











and




(
61
)








(

H
51

)

ij

=

[

0
,

-
I

,








R
ij



A
ij
0


,








R
ij



B
ij
0


,








R
ij



C
ij
0


,








R
ij



D
ij
0


,







0


]





(
62
)







Note that all four diagonal blocks in the matrix H11 are themselves diagonal matrices by design, where (H51)ij is the row of branch ij.


Defining EQ. (63), EQ. (64) follows:










[







f


(
X
)



-

Z
x

-
Y
-


y
1
T





o


(


x
ij

,

x
i


)




-


y
2
T









v


(
X
)











-
Y

-

Z
s







-

(

X
+
S
-

X
UB


)







-

o


(


x
ij

,

x
i


)








-

v


(
X
)










Z
x

·
X

-

μ





E









Z
s

·
S

-

μ





E





]

=

[




r
X






r
S






r
Y






r

y
1







r

y
2







r

Z
x







r

Z
s





]





(
63
)








[




H
11



0



-
I




H
41
T




H
51
T




-
I



0




0


0



-
I



0


0


0



-
I






-
I




-
I



0


0


0


0


0





H
41



0


0


0


0


0


0





H
51



0


0


0


0


0


0





diag


(

Z
X

)




0


0


0


0



diag
(
X
)



0




0



diag


(

Z
S

)




0


0


0


0



diag


(
S
)





]



[




Δ





X






Δ





S






Δ





Y






Δ






y
1







Δ






y
2







Δ






Z
x







Δ






Z
s





]


=

-

[




r
X






r
S






r
Y






r

y
1







r

y
2







r

Z
x







r

Z
s





]






(
64
)







To solve the Newton equations, the dimension can be reduced as follows. From the last two equations, there is:





ΔZx=diag(X)−1(−TZx−diag(ZxX)  (65)





ΔZs=diag(S)−1(−TZs−diag(ZsS)  (66)


Substituting for the other equations and re-organizing the equations into primal and dual parts yields EQ. (67).










[




H
41



0


|


0


0


0





H
51



0


|


0


0


0





-
I




-
I



|


0


0


0




_


_







_


_


_






H
11

+



diag


(
X
)



-
1




diag


(

Z
x

)






0


|



-
I




H
41
T




H
51
T





0





diag


(
S
)



-
1




diag


(

Z
s

)





|



-
I



0


0



]






[




Δ





X






Δ





S





_





Δ





Y






Δ






y
1







Δ






y
2





]

=

[




-

r

y





1








-

r

y





2








-

r
Y






_






-

r
x


-



diag


(
X
)



-
1




r

Z
x










-

r
s


-



diag


(
S
)



-
1




r

Z
s







]







(
67
)











Defining












H
~

11

=


H
11

+



diag


(
X
)



-
1




diag


(

Z
x

)










(

68

a

)













H
~

22

=



diag


(
S
)



-
1




diag


(

Z
S

)








(

68

b

)













r
~

x

=


r
x

+



diag


(
X
)



-
1




r

Z
x









(

68

c

)













r
~

s

=


r
s

+



diag


(
S
)



-
1




r

Z
s









(

68

d

)












Δ





X

=

[




{

Δ






x
i


}






{

Δ






x
ij


}






{

Δ






u
ij


}






{

Δ






u
ij


}




]






(

68

e

)












Δ






y
1


=

{

Δ






y
1

x
i



}






(

68

f

)












Δ






y
2


=

{

Δ






y
2

x
ij



}






(

68

g

)







Therefore, one can have











[




H
41



0





H
51



0





-
I




-
I




]



[




Δ





X






Δ





S




]


=

[




-

r

y
1








-

r


y





2








-

r
Y





]





(
69
)









[





H
~

11



0




0




H
~

22




]



[




Δ





X






Δ





S




]


+


[




-
I




H
41
T




H
51
T






-
I



0


0



]








Δ





Y






Δ






y
1







Δ






y
2









=

[




-


r
~

x







-


r
~

s





]





(
70
)







3.1.2 Discrete SSE Model

An AC (SSE) model according to an embodiment of the invention assumes AC-only grid with state-dependent integer variable z and continuous variable x and controls u. In addition to that, no thermal capacity limits are enforced on branch power flows. The interior point cutting plane method (IPCPM), which possesses the advantages of both the interior pint method and the cutting plane method, becomes a suitable approach to a large-scale and mixed-integer SSE according to an embodiment of the invention. It employs a successive linearization and convexification process and iteratively solves the mixed integer linear program.


The cutting plane method is widely used to solve mixed-integer systems. However, a direct application of an existing cutting plane method to an SSE model according to an embodiment of the invention is problematic because of the following two reasons. Firstly, it is questionable whether and how well current cutting plane methods can handle a large-scale system. Secondly, an SSE model according to an embodiment of the invention is highly structural, which means every constraint is quite local and is with respect to only one node or branch. This sparsity structure is crucial for an interior point solver to work efficiently. Therefore, the cutting plane needs to be adaptive to the structure, i.e. it should also be a local constraint within a single node or branch and can be easily put into recursive computation. From this point of view, a straightforward use of a conventional cutting plane is improper since it requires computing an inverse matrix which will very likely destroy the sparsity structure.


According to an embodiment of the invention, a class of mixed-rounding cutting planes are provided which are suitable to an SSE model according to an embodiment of the invention and the main procedure for each iteration. In each iteration, a class of cutting planes is generated. The cutting plane can be either generic basis-independent or basis dependent. Both of them are only based on local information, i.e. constraints of a single branch.


3.1.2.1 SSE Model Specification

The original SSE model according to an embodiment of the invention is a nonlinear, nonconvex, mixed-integer large-scale model. Introducing certain convexification and linearization techniques yields a simplied linear program. According to an embodiment of the invention, it may be assumed that there are continuous state-dependent variables x and controls u that are always nonnegative.


3.1.2.2 Node Constraints

According to an embodiment of the invention, the following box-constraint family and flow balance constraints are defined for node i:










x
i
LB



x
i



x
i
UB





(

71

a

)







x
i

=




j
=
1

N




R
ij

·

x
ij







(

71

b

)







The node constraints are only a small part among all constrains of an SSE model according to an embodiment of the invention. The major and key part is the branch constraints described next.


3.1.2.3 Branch Constraints

To reformulate a convex set of branch constraints, predefined anchor vectors ui,k0,uj,k0,uij,k0,uji,k0 may be introduced for each branch (i, j). Accordingly, there are also 0-1 control variables zi,k0,zj,k0,zij,k0,zji,k0 to specify the anchor point around which the linearization is preformed. Therefore with predefined box constraints ui,kUB(LB),uj,kUB(LB),uij,kUB(LB),uji,kUB(LB), there are the following constrains for branch (i, j)













k
=
1


K
i





z

i
,
k

0

·

u

i
,
k

LB





u
i






k
=
1


K
i





z

i
,
k

0

·

u

i
,
k

UB







(

72

a

)










k
=
1


K
j





z

j
,
k

0

·

u

j
,
k

LB





u
j






k
=
1


K
j





z

j
,
k

0

·

u

j
,
k

UB







(

72

b

)










k
=
1


K
ij





z

ij
,
k

0

·

u

ij
,
k

LB





u
ij






k
=
1


K
ij





z

ij
,
k

0

·

u

ij
,
k

UB







(

72

c

)










k
=
1


K
ji





z

ji
,
k

0

·

u

ji
,
k

LB





u
ji






k
=
1


K
ji





z

ji
,
k

0

·

u

ji
,
k

UB







(

72

d

)







x
ij
LB



x
ij



x
ij
UB





(

72

e

)










k
=
1


K
i




z

i
,
k

0


=
1




(

72

f

)










k
=
1


K
j




z

j
,
k

0


=
1




(

72

g

)










k
=
1


K
ij




z

ij
,
k

0


=
1




(

72

h

)







z

i
,
k

0

,

z

j
,
k

0

,


z

ij
,
k

0



{

0
,
1

}






(

72

i

)







x
ij

=


R
ij

·


(



A
ij
0

·

u
i


+


B
ij
0

·

u
j


+


C
ij
0

·

u
ij


+


D
ij
0

·

u
ji


+

E
ij
0


)

.






(
73
)







3.1.2.4 Interior Point Method

A discrete SSE model formulation according to an embodiment of the invention is a generalization of ae continuous SSE formulation according to an embodiment of the invention, with the addition of discrete variables. An interior point method according to an embodiment of the invention for a discrete SSE formulation is a generalization of the interior point method for the continuous SSE formulation, and follows the same derivation as above, taking account of the additional discrete variables.


3.2 SSE Iterative Convex Approximation

An SSE model according to an embodiment of the invention is based on a novel convex approximation of the power flow constraints and objective functions. Note that the SE model is defined by the network topology, the state vector, the measurement vector, the network model and the measurement functions. The measurement function is a projection of the network model functions. The convex approximation applies to the network functions. Hence, a convex approximation may be developed for the SE model. According to an embodiment of the invention, the SE voltage law relations can be reformulated using complex plane representation such that it leads to a convex representation of the feasibility set for branch power flows Pij, Qij. The quality of convex approximation can be managed by properly adding more anchor points for branch voltages and phase angle difference. According to an embodiment of the invention, an MIP heuristic can be used to control this process in run-time. The heuristic is based on branch-and-cut mechanism and uses constraint infeasibility as the primal indicator for placing new anchor points. First of all, introduce a complex branch flow:






F
ij
=P
ij
+iQ
ij  (74)


Note that the voltage law relations include two terms:


a self-admittance term that only depends on single bus voltage; and


a cross-admittance term that depends on phase angles and cross-product of voltages


Thus, the complex branch flow can be represented as:






Fij=F
ij
S
+F
ij
C  (75)


The Euler representation of complex numbers in polar coordinates is used for both self- and cross-admittance terms:






F
ij
C=exp(TijC+ii−θj−αijC))  (76)






F
ij
S=exp(TijS+i(−αijS))  (77)


The modules rijC and rijS are driven by both voltages and admittances:






T
ij
C=ln Vi+ln aij+ln Vj+ln aji+ln RijC  (78)






T
ij
S=ln Vi+ln aii+ln Vi+ln aii+ln RijS  (79)


where RijS,RijCijSijC are driven by admittances only:










R
ij
S

=


[



(

G
ij
S

)

2

+


(

B
ij
S

)

2


]


1
2






(
80
)







R
ij
C

=


[



(

G
ij
C

)

2

+


(

B
ij
C

)

2


]


1
2






(
81
)







α
ij
S

=

arcsin


(


B
ij
S

/

R
ij
S


)






(
82
)







α
ij
C

=

arcsin


(


B
ij
C

/

R
ij
C


)






(
83
)







We switch to logs of bus voltages (equivalent to measure them in logarithmic scale). This transformation does not introduce new non-linearity into the model since the voltages only have box constraints.


Note that the voltage tensor product is now a linear sum in the expression for the modules rijC and rijS. Thus, a transformation introduces an easy way to preserve the Rank 1 property of the voltage tensor product.


Note that the chosen transformer taps (in the log scale) also appear linearly in the in the expression for the modules. Thus, a transformation according to an embodiment of the invention creates a new way to introduce a binary transformer tap choice, similar to that of the switching shunts and phase shift. This eliminates the need for an inflated set of transformer constraints in an SSE model formulation according to an embodiment of the invention and MIP enforcement of the binary choice performs much faster for this reformulation.



FIG. 5 illustrates the forms of the feasibility sets of FijS and FijC on the complex plane. The feasibility set for FijS is a line, because the phase angle is fixed to be equal to −αijS. The feasibility set for FijC is a sector of a ring provided by box intervals for its radius and angle.


The former tap choice implies different sectors and basically weighing them with exclusive binary choice variables.


Overall, the feasibility set of the Fij and, due to the power flow conservation constraint, the net power injection, Pi+iQi becomes a weighted sum of different ring sectors on the complex plane.


A ring sector is not a convex set. Thus, a sum of ring sectors is not a convex set. Moreover, such sum may take various geometric forms on the complex plane comprising pieces of ring sectors; that is, very unsystematic and highly non-convex.


However, it is easy to convexify a ring sector if its angle span is small: pick a middle point and cover it with a rectangle formed by the ring's tangent lines (at the middle point). Then, large-span sector is a combination of several disjoint small sectors and each of them can be covered by such a rectangle. Therefore, any ring sector can be covered with a high accuracy by a combination of properly centered, scaled and oriented rectangles.


The degree of coverage accuracy can be controlled by increasing the number of rectangles and also by their placement. Theoretically speaking, a ring sector could be convexified by any other convex geometric shapes coverage, so that convexification is similar to, say, triangulation of the ring sector. However, triangulation in general is a hard and numerically costly task while rectangulation is a natural choice for ring sector coverage and rectangles are very easy and numerically inexpensive to generate via tangent lines and polar coordinate intervals. FIG. 6 illustrates the idea of different rectangle coverage accuracy. Each black dot in FIG. 6 represents the anchor point for the corresponding rectangle.


Note that increasing the number of rectangles often does not lead to higher accuracy. Thus, proper placement of just a few anchor points can be the best coverage. Moreover, the whole coverage may not be needed right at the beginning of the solution process and new anchor points may be added in the solution run-time in case the solver finds it useful to place a new rectangle in the uncovered region. This is the core idea of an MIP heuristic according to an embodiment of the invention for placing new anchor points.


If each sector is covered by rectangles and there is a selection process for the rectangles within a sector such that only one of the rectangles is chosen at a time, then the feasibility set of Fij and, due to the Power Flow Conservation constraint, the net power injection, Pi+iQi, becomes a sum of rectangles, that is, a convex set, due to the preservation of convexity through set sum process. Thus, the overall SSE model can be convexified.


In the simple case where rectangles are generated by tangent lines and polar coordinate intervals, Voltage Law convexification is equivalent to a first-order approximation of the Euler representation's exponent for the complex power flow Fij in the neighborhood of the given anchor point ({tilde over (P)}ij,{tilde over (Q)}ij):










F
ij
s

=



F
~

ij
s

+






F
~

ij
s





v
i





(


v
i

-


v
~

i


)


+






F
~

ij
s





v
j





(


v
j

-


v
~

j


)


+






F
~

ij
s





θ
i





(


v
i

-


θ
~

i


)


+






F
~

ij
s





θ
j





(


θ
j

-


θ
~

j


)







(
84
)







F
ij
c

=



F
~

ij
c

+






F
~

ij
c





v
i





(


v
i

-


v
~

i


)


+






F
~

ij
c





v
j





(


v
j

-


v
~

j


)


+






F
~

ij
c





θ
i





(


v
i

-


θ
~

i


)


+






F
~

ij
c





θ
j





(


θ
j

-


θ
~

j


)







(
85
)












A
ij

=

[





2







P
~

ij
s


+


P
~

ij
c





-


Q
~

ij
c








2



Q
~

ij
s


+


Q
~

ij
c






P
~

ij
c




]






(
86
)












B
ij

=

[





P
~

ij
c





Q
~

ij
c







Q
~

ij
c






-
P

~

ij
c




]






(
87
)













E
ij

=

[




E

ij





1







E

ij





2





]











where





(
88
)












E

ij





1


=



P
~

ij
s

+


P
~

ij
c

-

2







v
~

i




P
~

ij
s


-



P
~

ij
c



(



v
~

i

+


v
~

j


)


+



Q
~

ij
c



(



θ
~

i

-


θ
~

j


)








(
89
)












E

ij





2


=



Q
~

ij
s

+


Q
~

ij
c

-

2







v
~

i




Q
~

ij
s


-



Q
~

ij
c



(



v
~

i

+


v
~

j


)


+



P
~

ij
c



(



θ
~

i

-


θ
~

j


)








(
90
)







This linearization is similar to an SLP linearization except that it uses log-scale voltages and transformer taps and thus it preserves the voltage tensor product Rank 1 property.


In the simplest case where only one anchor point is used, this approximation is similar to the DC representation of the SSE problem, except that it consider voltages as variables, not fixed as in conventional DC approximation schemes.


In general case, an MIP heuristic according to an embodiment of the invention can manage a solution process by placing anchor points and generating a covering of the SSE model feasible region with rectangles according to the following work flow, illustrated in the flow chart of FIG. 7:

  • (1) Choose starting anchor points (step 70).
  • (2) Pre-solve a few-iterations of the dual of the convexified SSE by relaxing constraints due to the SSE objective function (i.e. solving for any feasible solution without optimization) (step 71)
  • (3) Produce updated dual variables and infeasibility reduction directions (Step 72).
  • (4) Generate a linear cut for the chosen anchor points (step 73).
  • (5) Choose a step size towards chosen direction (step 74).
  • (6) Update the anchor points set through branching by making the chosen step (Step 75).
  • (7) Go back to step 2 until either a feasible solution is found or infeasibility check is true (Step (76).
  • (8) Pre-solve a few iterations of the primal of the convexified SSE (Step 77).
  • (9) Produce updated primal variables and reduced cost directions (Step 78).
  • (10) Go back to the step 4 unless either an optimal solution is found or an iteration limit is reached (Step 79).


This process resembles an SLP process, however a branch-and-cut mechanism is used instead of penalties. Branching ensures that the previously checked anchor points are not discarded but rather are traversed in a tree-like recursive way. Cutting provides a way to discard anchor points that are checked to be infeasible or inferior.


There other non-convex relations in an SSE model according to an embodiment of the invention, such as Branch Flow Cone (BFC) and Branch Flow Bilinear (BFB) constraints as well as Converter equations. BFC is convex constraint and thus can be included to the convexified SSE without any modifications. BFB is not convex and is due to branch capacity lower bound, and may be ignored.


Converter relations are a bit more challenging but can be convexified and managed by the same MIP process according to an embodiment of the invention though the quality of approximation may be lower due to some necessary simplification assumptions. However, realistic cases the fraction of Converter components is negligibly small compared to AC and DC nodes so that the approximation accuracy is not crucial.


3.3 Branch-and-Bound-and-Cut Discretization Management

To illustrate the concept of branch-and-bound, consider the following linear mixed-integer program.






min100x1−72x2−36x3  (91a)






s.t.−2x1+x2≦0  (91b)





−4x1+x3≦0  (91c)






x
1
+x
2≦1  (91d)






x
1
,x
2
,x
3ε{0,1}  (91e)



FIG. 8 shows a branch-and-bound tree of EQS. (91), where Sα denotes a feasible after fixing a subset of the binary variables to non-fractional values.


Note that an infeasibility condition holds for S0:










S
0

=

{



x


:







x
1


=
0

,


x
2


0

,


x
3


0

,



x
2

+

x
3



1


}





(
92
)






=


.





(
93
)







Let z10, z110 and z111 denote the objective values of a reduced linear program on the subset S10, S110 and S111, respectively:






z
111=−8≦x110=28≦z10=64  (94)


The solution of EQS. (91) is x1=1, x2=1, and x3=1.


Consider the following MILP:











max


x





1

,

x





2




γ

=



c
1
T



x
1


+


c
2
T



x
2







(

95

a

)









s
.
t
.





A
1




x
1


+


A
2



x
2



=
b




(

95

b

)








x
1




{
0.1
}

q


,


x
2


0





(

95

c

)







where x1 and x2 denote vectors of binary and fractional decision variables, respectively, in EQS. (95).


Let X denote the feasible region of EQS. (95) and C, its convex hull. Assume that an appropriate data structure, denoted N, is used to store the nodes generated through a branch-and-cut procedure. Further, let N denote the index set of N; that is, nεN is an active branch-and-cut node at the current stage of the algorithm.


A branch-and-cut algorithm is a branch-and-bound procedure with cutting planes. A branch-and-cut algorithm according to an embodiment of the invention is outlined as follows, and illustrated in the flow chart of FIG. 9:

  • (1) (Initialization) (Step 91) Initialize node list N with the original, possibly preprocessed, linear relaxation max{cTx: xεC}, and optimal solution (x1*,x2*) with the empty element. Set γ*:=−∞ and γ*:=+∞.
  • (2) If N is empty (Step 92), set (Step 92.2) γ*=γ*, (x1*,x2*)=({circumflex over (x)}1*,{circumflex over (x)}2*), exit with the optimal solution (x1*,x2*) and objective value γ*. Else, (Step 92.1) select and remove a node, n, from N; set k:=1, mn=0 and cutting plane Cnk:=Cn.
  • (3) (LP relaxation) (Step 93) Solve the linear program max {cTx: xεCnk} and store its objective value in γnk. If γnk=−∞ (i.e. if max {cTx: xεCnk} is infeasible) (Step 93.1), go to step 2.
  • (4) (Updating upper bound) (Step 94) Store an optimal solution in (x1nk,x2nk) and update γ* with the largest optimal objective value for a linear-programming relaxation among all current active branch-and-cut nodes.
  • (5) (Pruning) If γnkγ*(Step 95), go to step 2.
  • (6) (Updating lower bound) If (x1nk,x2nk) is feasible in EQS. (95); that is, if (x1nk,x2nk)εX (Step 96), set (Step 96.1) γ*nk, {circumflex over (x)}1*,{circumflex over (x)}2*)=(x1nk,x2nk), and go to step 2.
  • (7) (Cut generation) If mnmn (Step 97), go to step 8. Else, (Step 97.1) solve the separation to generate a finite number mnk of valid inequalities (or cutting planes), An(k+1)x≦bn(k+1), for Cnk. If mnk≦1, mn+=mnk, add the new mnk inequalities to Cnk producing a tighter feasible region Cn(k+1)=Cnk∩{x: An(k+1)x≦bn(k+1)}; set k+=1; go to step 3.
  • (8) (Branching) (Step 98) Choose a fractional scalar variable, x1l, from the sub-vector x1, and create two new branch-and-cut nodes. Index the two new nodes by n+1 and n+2, respectively. Add the rounding constraints xil≦└x1lnk┘ for one node, and x1l≧|x1lnk| for the other node, forming the constraint sets C( n+1) and C( n+2).


Add the newly created nodes to the node list N; set n=2. Go to step 2.


Note that the rounding constraints together with the binary nature of the components of the (optimal) subvector x1 in EQS. (95) can be equivalently reduced to x1l=0 and x1l=1, respectively. Hence the branching step can be viewed as a variable fixing step.


3.4 Solution Initialization Strategies

An SSE according to an embodiment of the invention can support four solution initialization strategies, which will prove particularly helpful for DSE, namely full warm-start, partial warm-start, partial cold-start and full coldstart, as outlined below.


Full Warm-Start:


This initialization strategy yields a very fast SSE solution. The full warm-start applies if no island or bus split occurs. This strategy uses the pre-SSE state to warm-start the continuous solver for linearized SSE.


Partial Warm-Start:


This initialization strategy yields a fast SSE solution. The partial warm-start applies if a switching event occurs with no island or bus split. This strategy uses local discrete event identification procedure, applies identified discrete event as a hot-fix of the state vector, then uses the updated state to warm-start the continuous solver for linearized SSE.


Partial Cold-Start:


This initialization strategy yields an SSE solution that may take a few extra seconds. The partial cold-start applies if a localized bus or island split occurs. This solution strategy uses the continuous parametric relaxation of SSE topology, updates the state vector to warm-start the continuous solver, introduces a handful of discretization points for the network with local topology change, and allows a few branch-and-cut iterations.


Full Cold-Start:


This initialization strategy yields an SSE that is more CPU intensive. The full cold-start applies if no warm-start information is re-usable. This solution strategy uses only new information (i.e. topology from NTP), introduces coarse discretization of every bottle-neck node/link, and allows enough branch-and-cut iterations to get a solution.


4 System Implementations

It is to be understood that embodiments of the present invention can be implemented in various forms of hardware, software, firmware, special purpose processes, or a combination thereof. In one embodiment, the present invention can be implemented in software as an application program tangible embodied on a computer readable program storage device. The application program can be uploaded to, and executed by, a machine comprising any suitable architecture.



FIG. 10 is a block diagram of an exemplary computer system for implementing an (SSE)-model-specific interior-point and cutting-plane method for state estimation in a distribution network according to an embodiment of the invention. Referring now to FIG. 10, a computer system 101 for implementing the present invention can comprise, inter alia, a central processing unit (CPU) 102, a memory 103 and an input/output (I/O) interface 104. The computer system 101 is generally coupled through the I/O interface 104 to a display 105 and various input devices 106 such as a mouse and a keyboard. The support circuits can include circuits such as cache, power supplies, clock circuits, and a communication bus. The memory 103 can include random access memory (RAM), read only memory (ROM), disk drive, tape drive, etc., or a combinations thereof. The present invention can be implemented as a routine 107 that is stored in memory 103 and executed by the CPU 102 to process the signal from the signal source 108. As such, the computer system 101 is a general purpose computer system that becomes a specific purpose computer system when executing the routine 107 of the present invention.


The computer system 101 also includes an operating system and micro instruction code. The various processes and functions described herein can either be part of the micro instruction code or part of the application program (or combination thereof) which is executed via the operating system. In addition, various other peripheral devices can be connected to the computer platform such as an additional data storage device and a printing device.


It is to be further understood that, because some of the constituent system components and method steps depicted in the accompanying figures can be implemented in software, the actual connections between the systems components (or the process steps) may differ depending upon the manner in which the present invention is programmed. Given the teachings of the present invention provided herein, one of ordinary skill in the related art will be able to contemplate these and similar implementations or configurations of the present invention.


While the present invention has been described in detail with reference to exemplary embodiments, those skilled in the art will appreciate that various modifications and substitutions can be made thereto without departing from the spirit and scope of the invention as set forth in the appended claims.

Claims
  • 1. A method approximating a solution of a stochastic state estimation (SSE) model of an electric grid, comprising the steps of: (1) choosing starting anchor points in an SSE model of an electric grid;(2) relaxing constraints of an SSE objective function to solve for a feasible solution of the SSE model;(3) calculating updated dual variables and infeasibility reduction directions from the feasible solution;(4) generating a linear cut for the chosen starting anchor points;(5) choosing a step size toward the reduction directions; and(6) updating the anchor points through branching by making the chosen step, wherein each anchor point defines a rectangle that at least partially covers a feasible solution set of the SSE model, wherein each rectangle is a convex set, and the set of rectangles covering the feasible solution set of the SSE model define an approximate solution of the SSE model of said electric grid.
  • 2. The method of claim 1, further comprising (7) repeating steps (2) through (6) until either a feasible solution is found or an infeasibility check is true.
  • 3. The method of claim 2, further comprising (8) pre-solving a few-iterations of a primal of a convexified SSE model.
  • 4. The method of claim 3, further comprising (9) calculating updated primal variables and reduced cost directions.
  • 5. The method of claim 4, further comprising (10) repeating steps (4) through (9) until either an optimal solution is found or an iteration limit is reached.
  • 6. A method of finding an optimal solution of a stochastic state estimation (SSE) model of an electric grid, comprising the steps of: (1) providing a convexified SSE model of an electric grid, said convexified SSE model including an objective function having an objective value, a plurality of constraints, and a convex hull;(2) initializing a node list with a solution of the SSE objective function in its convex hull, an optimal solution of the SSE model to an empty set, and upper and lower bounds of the objective value of the objective function;(3) selecting a node from the node list and initializing a first cutting plane to a constraint associated with said node;(4) solving the objective function subject for the first cutting plane to obtain a current solution and saving the objective value of the current solution of the objective function;(5) updating the objective value upper bound to a largest optimal objective value among current nodes;(6) if the current solution of the SSE model is a feasible solution of the SSE model, and if the objective value of the current solution is greater than the objective value lower bound, setting the objective value lower bound to the current solution objective value and the optimal solution of the SSE model to the current solution of the SSE model;(7) if a number of cutting plane is less than a predetermined maximum and if the objective value of the current solution is greater than the objective value lower bound, generate a plurality of new cutting planes for the current node to produce a tighter feasible region of the SSE model; and(8) if the number of cutting plane is greater than the predetermined maximum, create two new nodes and a constraint for each new mode, and add the new nodes to the node list.
  • 7. The method of claim 6, further comprising, if the node list is empty, setting the optimal solution of the SSE model to the current solution of the SSE model, and the optimal objective value of the SSE model to the current solution objective value.
  • 8. The method of claim 6, further comprising, if the current solution of the SSE model is infeasible, repeating steps (3) and (4).
  • 9. The method of claim 6, further comprising, if the objective value of the current solution is less than the objective value lower bound, repeating steps (3) through (5).
  • 10. A non-transitory program storage device readable by a computer, tangibly embodying a program of instructions executed by the computer to perform the method steps for approximating a solution of a stochastic state estimation (SSE) model of an electric grid, comprising the steps of: (1) choosing starting anchor points in an SSE model of an electric grid;(2) relaxing constraints of an SSE objective function to solve for a feasible solution of the SSE model;(3) calculating updated dual variables and infeasibility reduction directions from the feasible solution;(4) generating a linear cut for the chosen starting anchor points;(5) choosing a step size toward the reduction directions; and(6) updating the anchor points through branching by making the chosen step, wherein each anchor point defines a rectangle that at least partially covers a feasible solution set of the SSE model, wherein each rectangle is a convex set, and the set of rectangles covering the feasible solution set of the SSE model define an approximate solution of the SSE model of said electric grid.
  • 11. The computer readable program storage device of claim 10, the method further comprising (7) repeating steps (2) through (6) until either a feasible solution is found or an infeasibility check is true.
  • 12. The computer readable program storage device of claim 11, the method further comprising (8) pre-solving a few-iterations of a primal of a convexified SSE model.
  • 13. The computer readable program storage device of claim 12, the method further comprising (9) calculating updated primal variables and reduced cost directions.
  • 14. The computer readable program storage device of claim 13, the method further comprising (10) repeating steps (4) through (9) until either an optimal solution is found or an iteration limit is reached.
  • 15. A non-transitory program storage device readable by a computer, tangibly embodying a program of instructions executed by the computer to perform the method steps for finding an optimal solution of a stochastic state estimation (SSE) model of an electric grid, comprising the steps of: (1) providing a convexified SSE model of an electric grid, said convexified SSE model including an objective function having an objective value, a plurality of constraints, and a convex hull;(2) initializing a node list with a solution of the SSE objective function in its convex hull, an optimal solution of the SSE model to an empty set, and upper and lower bounds of the objective value of the objective function;(3) selecting a node from the node list and initializing a first cutting plane to a constraint associated with said node;(4) solving the objective function subject for the first cutting plane to obtain a current solution and saving the objective value of the current solution of the objective function;(5) updating the objective value upper bound to a largest optimal objective value among current nodes;(6) if the current solution of the SSE model is a feasible solution of the SSE model, and if the objective value of the current solution is greater than the objective value lower bound, setting the objective value lower bound to the current solution objective value and the optimal solution of the SSE model to the current solution of the SSE model;(7) if a number of cutting plane is less than a predetermined maximum and if the objective value of the current solution is greater than the objective value lower bound, generate a plurality of new cutting planes for the current node to produce a tighter feasible region of the SSE model; and(8) if the number of cutting plane is greater than the predetermined maximum, create two new nodes and a constraint for each new mode, and add the new nodes to the node list.
  • 16. The computer readable program storage device of claim 15, the method further comprising, if the node list is empty, setting the optimal solution of the SSE model to the current solution of the SSE model, and the optimal objective value of the SSE model to the current solution objective value.
  • 17. The computer readable program storage device of claim 15, the method further comprising, if the current solution of the SSE model is infeasible, repeating steps (3) and (4).
  • 18. The computer readable program storage device of claim 15, the method further comprising, if the objective value of the current solution is less than the objective value lower bound, repeating steps (3) through (5).
CROSS REFERENCE TO RELATED UNITED STATES APPLICATIONS

This application claims priority from “Stochastic State Estimation For Smart Grids Using Interior Point Method”, U.S. Provisional Application No. 61/410,084 of Motto, et al., filed Nov. 4, 2010, the contents of which are herein incorporated by reference in their entirety.

PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/US11/59270 11/4/2011 WO 00 10/17/2013
Provisional Applications (1)
Number Date Country
61410084 Nov 2010 US