FULL-DISTRIBUTED REACTIVE VOLTAGE CONTROL METHOD AND DEVICE, AND STORAGE MEDIUM

Information

  • Patent Application
  • 20230307912
  • Publication Number
    20230307912
  • Date Filed
    March 23, 2023
    a year ago
  • Date Published
    September 28, 2023
    a year ago
Abstract
A fully-distributed reactive voltage control method, includes: establishing a power grid reactive voltage optimization model of a power grid; parting the power grid reactive voltage optimization model into a plurality of area reactive voltage optimization models of a plurality of areas of the power grid; converting a power flow equation constraint in each of the plurality of area reactive voltage optimization models to a linear regression model; solving the linear regression model by using a robust recursive regression algorithm to obtain a solution result of the linear regression model; solving each of the plurality of area reactive voltage optimization models by using the solution result of the linear regression model, a gradient projection algorithm, and an alternating direction multiplier algorithm, so as to realize a reactive voltage optimization control of each of the plurality of areas.
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to Chinese Patent Application No. 202210300394.7, filed on Mar. 25, 2022, the entire disclosure of which is incorporated herein by reference.


TECHNICAL FIELD

The disclosure relates to the field of power system operation and control technologies, and more particularly, to a fully-distributed reactive voltage control method, an electronic device, and a storage medium.


BACKGROUND

Driven by energy and environmental issues, a proportion of clean and renewable distributed generators (DGs) is increasing in a power grid and the integration of large-scale, high-penetration DGs into the power grid has become current issues and hotspots in the international energy and power field. Due to the large dispersion and strong volatility of DGs, it has brought a series of negative effects on the voltage quality and dispatching operation of the distribution network and even the transmission network in the power grid. At the same time, DGs are often connected to the power grid through power electronic inverters, which has flexible and high-speed adjustment capabilities. To efficiently control DGs and improve the voltage quality of the high-penetration power grid, the reactive voltage control has become an important part of regulation and operation of the power grid. In the traditional power grid, the centralized optimization method based on the power grid model is used to realize the reactive voltage control, which can improve the network loss of the controlled power grid while eliminating the voltage limit.


However, the centralized optimization control method often faces key problems such as single-node failure, high communication burden, high computing burden, and serious influences caused by communication delay. Moreover, for multiple stakeholders in the power grid, the centralized method may not protect the data privacy of each stakeholder. Especially, in the high-penetration power grid, many controlled DGs and the complex network structure severely limit the centralized method and may not reasonably control high-speed resources.


SUMMARY

The disclosure aims to overcome deficiencies in the related art and proposes a fully-distributed reactive voltage control method, an electronic device, and a storage medium, for a power grid with a plurality of areas. The disclosure has flexible characteristics of fully-distributed control to realize fast reactive voltage control and does not need accurate system model parameters to realize model-free optimal reactive voltage control. The disclosure also has the robustness for the measured bad data by considering bad data in the power grid measurement, greatly improves the voltage quality of the power grid and reduces the network loss of the power grid operation.


A first aspect of the disclosure provides a fully-distributed reactive voltage control method, which includes: establishing a power grid reactive voltage optimization model of a power grid; parting the power grid reactive voltage optimization model into a plurality of area reactive voltage optimization models of a plurality of areas of the power grid; converting a power flow equation constraint in each of the plurality of area reactive voltage optimization models to a linear regression model; solving the linear regression model by using a robust recursive regression algorithm to obtain a solution result of the linear regression model; solving each of the plurality of area reactive voltage optimization models by using the solution result of the linear regression model, a gradient projection algorithm, and an alternating direction multiplier algorithm, so as to realize a reactive voltage optimization control of each of the plurality of areas.


In a specific embodiment of the disclosure, establishing the power grid reactive voltage optimization model by a formula of:





min ƒ=α1∥vt−vref22pPCCt






h(xt,yt)≤0






y
t
=g(xt)  (1)


where:


ƒ represents an objective function of the power grid reactive voltage optimization model,


superscript t represents time,


vt represents a vector formed by voltages of controllable nodes in the power grid at time t,


vref represents an expected voltage profile of controllable nodes in the power grid,


pPCCt represents an active power at a point of common coupling (PCC) of the power grid at time t,


xt represents a vector formed by control variables in the power grid at time t,


yt represents a vector formed by state variables in the power grid at time t,


h(•) represents operational constraints,


g(•) represents power flow equation constraints that the power grid needs to satisfy,


α1 represents a penalty coefficient of a voltage regulation cost, and


α2 represents a penalty coefficient of an active power loss.


In a specific embodiment of the disclosure, parting the power grid reactive voltage optimization model into the plurality of area reactive voltage optimization models of the plurality of areas of the power grid comprises:


noting N areas in the power grid, wherein a set of nodes in the power grid is expressed as I:=∪a=1NIa, Ia represents a set of nodes in an ath area in the power grid; a set of distributed generators (DGs) in the power grid is expressed as G:=∪a=1NGa, and Ga represents a set of DGs in the ath area in the power grid;


for the ath area where a∈[1, N], denoting yat as a vector formed by state variables in the ath area at time t, wherein yat comprises internal variables ya,intt and boundary variables ya,adjt, the boundary variables ya,adjt comprise parameters of overlapping parts of the ath area and other areas adjacent to the ath area at time t, ya,adjt comprise node voltage amplitudes, branch active powers, and branch reactive powers of the overlapping parts of the ath area and the other areas; ya,adjt:=∪b∈Oaya,bt, ya,bt represents node voltage amplitudes, branch active powers, and branch reactive powers of an overlapping part of the ath area and a bth area, and Oa represents a set of the other areas adjacent to the ath area; for the ath area where a∈{2, . . . , N} and that does not comprise the PCC, ya,intt represents a vector formed by voltages of internal controllable nodes in the ath area at time t; and for the ath area where a=1 and that comprises the PCC, ya,intt represents a vector formed by voltages of internal controllable nodes in the ath area at time t and a measurement value of the active power of the PCC at time t;


for the ath area, where a∈[1, N] establishing the area reactive voltage optimization model by a formula of:












min


x
a
t



χ
a
t





f
a

(

x
a
t

)


=


1
2



(



α
1







v
a
t

-

v
a
ref




2


+


α
2



p

a


t



)







y
a
t

=



F
^

a
t

×

[




x
a
t





1



]







y

a
,
b

t

=


s

a
,
b

t





b


O
a









(
2
)







where:


ƒa represents an objective function of the area reactive voltage optimization model of the ath area,


vat represents a vector formed by voltages of controllable nodes in the ath area at time t, varef represents an expected voltage profile of controllable nodes in the ath area,


yat represents a vector formed by state variables in the ath area at time t,


xat represents a vector formed by control variables in the ath area at time t,


sa,bt represents values of boundary variables between the ath area and the bth area at time t,


{circumflex over (F)}at represents a parameter matrix to be estimated corresponding to the ath area at time t after g(•) is linearized, control variables xat=qDGat={QGa,it|i∈Ga} that represent reactive power outputs of DGs of the ath area at time t, QGa,it represents a reactive power output of a DG with a node number i of the ath area at time t, qDGat represents a vector formed by reactive power outputs of all DGs of the ath area at time t;


pt satisfies Σa=1Npt=pPCCt; wherein the power grid is regarded as a macro graph with the PCC as a root node, each area in the power grid is a child node of the macro graph, if (ia0, ja0)∈La denotes a line connecting a node corresponding to the ath area and its parent node and Lalower-line⊆La denotes a set of connection lines connecting the node corresponding to the ath area and its child nodes, pt=pa(ia0ja0)t−Σ(i,j)∈Lalower-linepa(ij)t, pa(ij)t represents a branch active power on line (i, j) of the ath area at time t, and pa(ia0ja0)t represents a branch active power on line (ia0, ja0) of the ath area at time t;


χat:={χa,it|i∈Ga} represents a feasible zone of the reactive power output of the DG in the ath area at time t, wherein for DG i∈Ga in the ath area at time t, a corresponding feasible zone of the reactive power output of the DG a is defined as a formula of:












"\[LeftBracketingBar]"


Q

Ga
,
i

t



"\[RightBracketingBar]"







(

S

Ga
,
i

t

)

2

-


(


P
_


Ga
,
i

t

)

2







(
3
)







wherein SGa,it represents an installed capacity at DG i at time t, and PGa,it represents an active power at DG i at time t.


In a specific embodiment of the disclosure, converting the power flow equation constraint in each of the plurality of area reactive voltage optimization models to the linear regression model and solving the linear regression model by using the robust recursive regression algorithm to obtain the solution result of the linear regression model comprises:

    • 1) expressing a measurement vector of the ath area at time t as {tilde over (y)}at=[{tilde over (y)}a,intt; {tilde over (y)}a,adjt], where {tilde over (y)}a,intt represents measurement values of internal state variables of the ath area at time t, and {tilde over (y)}a,adjt represents measurement values of boundary variables of the ath area at time t;


wherein for the ath area where a∈{2, . . . , N}, {tilde over (y)}a,intt={{tilde over (v)}a,it|i∈Iobservea}, {tilde over (v)}a,it represents a voltage amplitude measurement at an internal observable node i of the ath area at time t, and Iobservea⊆Ia represents a set of observable nodes that need to be controlled in the ath area;


for the ath area where a=1 and that connected to the PCC, {tilde over (y)}a,intt={{tilde over (v)}a,it; {tilde over (p)}PCCt|i∈Iobservea}, {tilde over (p)}PCCt represents a measurement value of the active power of the PCC at time t;


for corresponding system measurements of each area, establishing an initial linear regression model of each area by a formula of:






{tilde over (y)}
a
t
={circumflex over (F)}
a
t
×u
a
t

a
t
+v
a
t
,∀a∈[1,N]  (4)


where, {circumflex over (F)}atcustom-characterLa×(Ga+1) represents the parameter matrix to be estimated in the ath area at time t, {tilde over (y)}atcustom-characterLa represents the measurement vector of the ath area at time t, uat=[(xat)T, 1]Tcustom-characterGa+1 represents auxiliary variables of the ath area at time t, bad data in measurements in the ath area at time t are modeled as a sparse vector ôatcustom-characterLa, vatcustom-characterLa represents an environmental noise vector in the ath area at time t, La represents a number of measurements in the ath area, and Ga represents a number of DGs in the ath area;

    • 2) transforming the model established in step 1) into a corresponding robust least squares estimation problem model as a formula of:










(



F
^

a
t

,


{


o
^

a
v

}


v
=
1

t


)





arg

min


(

F
,


{

o
v

}


v
=
1

t


)







v
=
1

t


[



1
2








y
~

a
v

-

Fu
a
t

-

o
v





R

noise
,
a


-
1


2


+


λ
LASSO
a






o
v



1



]







(
5
)







where, λLASSOa represents a set coefficient of the ath area, Rnoise,a represents a weight matrix that is set for an error of each measurement in the ath area, Rnoise,a−1 represents an inversion calculation value of the matrix Rnoise,a;

    • 3) for ∀t≥t0+1, converting the model established in step 2) into a regression model as a formula of:












o
^

a
t






arg

min

o



1
2








y
~

a
t

-



F
^

a

t
-
1




u
a
t


-
o



2


+


λ
LASSO
a





o


1









F
^

a
t

:=

HRLS

(



F
^

a

t
-
1


,

(


u
a
t

,



y
~

a
t

-


o
^

a
t



)


)






(
6
)







where, t0 represents an initialization time parameter, HRLS({circumflex over (F)}at−1, (uat, {tilde over (y)}at−ôat)) represents using a robust hierarchical recursive least squares for performing recursion and updating on a parameter matrix.


In a specific embodiment of the disclosure, before solving each of the plurality of area reactive voltage optimization models by using the solution result of the linear regression model, the gradient projection algorithm, and the alternating direction multiplier algorithm, the method further comprises:


initializing model parameters;


wherein initializing the model parameters comprises:

    • 1) denoting a dual variable in the ath area and corresponding to the bth area as λa,bt and initializing λa,bt, where b∈Oa;
    • 2) setting the initialization time parameter t0 wherein t0>Ga, and the ath area using t0 to initialize linear estimation parameters as a formula of:










(



F
^

a

t
0


,


{


o
^

a
v

}


v
=
1


t
0



)





arg

min


(

F
,


{

o
v

}


v
=
1


t
0



)







v
=
1


t
0



[



1
2








y
~

a
v

-

Fu
a
t

-

o
v





R

noise
,
a


-
1


2


+


λ
LASSO
a






o
v



1



]







(
7
)







where uav, {tilde over (y)}av, and ôav respectively represent values at time t=v of uat, {tilde over (y)}at, and ôat;

    • 3) the ath area initializing local parameters as a formula of:











ω
_

a

t
0


:=





R

noise
,
a


-
1








R

uu
,

t
0

,
a





+


o




ω
_

,
a







(
8
)














F
^

a


t
0

/
2


:=



F
^

a


t
0

-
1


-


α


ω
_

a

t
0






R

noise
,
a


-
1


(




F
^

a


t
0

-
1




R

uu
,

t
0

,
a



-

R

yu
,

t
0

,
a


+

R



o
^


u

,

t
0

,
a



)







(
9
)














F
^

a

t
0


:=


F
^

a


t
0

/
2






(
10
)







wherein {tilde over (ω)}at0 is a real number; {circumflex over (F)}at0/2 represents a matrix at time t0 and is an intermediate variable;


ò{tilde over (ω)},a is an initialization parameter of the ath area; Ruu,t0,a=(1/(Σv=1t0βt0−v))Σv=1t0t0−vuav(uav)T), Ryu,t0,a=(1/(Σv=1t0βt0−v))Σv=1t0t0−v{tilde over (y)}av(uav)T), and Rôu,t0,a=(1/(Σv=1t0βt0−v))Σv=1t0t0−vôav(uav)T), β is a constant real number and represents a forgetting factor coefficient, 0<β≤1.


In a specific embodiment of the disclosure, solving each of the plurality of area reactive voltage optimization models by using the solution result of the linear regression model, the gradient projection algorithm, and the alternating direction multiplier algorithm to realize the reactive voltage optimization control of each of the plurality of areas comprises:

    • 1) obtaining the measurement vector {tilde over (y)}at of the ath area at time t;
    • 2) making current auxiliary variables u=uat, a current parameter matrix to be estimated F={circumflex over (F)}at, a current measurement vector of state variables y={tilde over (y)}at, a current dimension of the state variables L=La, and a current error weight matrix R−1=Rnoise,a−1, wherein uat=[(xat)T, 1]T represents an auxiliary vector of the ath area at time t;


using the robust hierarchical recursive least squares to perform the following calculations in sequence:












o

0
,
1


=


o

0
,
2


=

o

𝓋

0








(
11
)















o
0

=


(


o

0
,
1


+

o

0
,
2



)

/
2






(
12
)
















o


1
/
2

,
i


=



α
o



o
0


+


(

1
-

α
o


)



o

0
,
i





,

i


{

1
,
2

}







(
13
)















o

1
,
1


=



(


R

-
1


+

I
/

λ
o
a



)


-
1




(



R

-
1


(

y
-

F

u


)

+


o


1
/
2

,
1


/

λ
o
a










(
14
)















[

o

1
,
2


]

d

=



[

o


1
/
2

,
2


]

d

·

(

1
-



λ

L

A

S

S

O

a



λ
o
a



max



{



λ

L

A

S

S

O

a



λ
o
a


,



"\[LeftBracketingBar]"



[

o


1
/
2

,
2


]

d



"\[RightBracketingBar]"



}




)



,



d


{

1
,
2
,


,
L

}







(
15
)















o
1

=


(


o

1
,
1


+

o

1
,
2



)

/
2






(
16
)







wherein, λoa is a positive real number, ov0 is a vector representing an initial assignment of ôat, α0∈(0.5, 1] is a real number, λLASSOa is a positive real number, [o1,2]d represents a dth element in vector o1,2, and [o1/2,2]d represents a dth element in vector o1/2,2;

    • 3) letting a number of iterations n=2 and performing the following iterative update steps:











o


n
/
2

,
i


=


o


n
-

2
/
2


,
i


-


α
o



o

n
-
2



-


(

1
-

α
o


)



o


n
-
2

,
i



+

o

n
-
1




,

i


{

1
,
2

}






(
17
)















o

n
,
1


=



(


R

-
1


+

I
/

λ
o
a



)


-
1




(



R

-
1


(

y
-

F

u


)

+


o


n
/
2

,
1


/

λ
o
a










(
18
)















[

o

n
,
2


]

d

=



[

o


n
/
2

,
2


]

d

·

(

1
-



λ

L

A

S

S

O

a



λ
o
a



max



{



λ

L

A

S

S

O

a



λ
o
a


,



"\[LeftBracketingBar]"



[

o


n
/
2

,
2


]

d



"\[RightBracketingBar]"



}




)



,



d


{

1
,
2
,


,
L

}







(
19
)















o
n

=


(


o

n
,
1


+

o

n
,
2



)

/
2






(
20
)









    • 4) determining n:





if n is less than a set upper limit of iteration times Ja, letting n=n+1, and then returning to step 3);


if n is greater than or equal to Ja, stopping the iteration and outputting;

    • 5) letting {circumflex over (F)}t−2={circumflex over (F)}at−2, {circumflex over (F)}t−1={circumflex over (F)}at−1, and using the robust hierarchical recursive least squares to perform the following calculations in sequence:













q
t

:=


R

uu
,
t




p

t
-
1




,


p
t

:=


q
t

/



q
t










(
21
)















ϖ
t

:=





R

noise
,
a

1






(

p
t

)

T



R

uu
,
t




p
t


+

ò

ϖ
,
a








(
22
)














F
ˆ


t
/
2


:=



F
ˆ


t
-
1


+


F
ˆ


t
-

2
/
2



-


F
ˆ


t
-
2


+


α

ϖ

t
-
1






R

noise
,
a

1

(




F
ˆ


t
-
2




R

uu
,

t
-
1




-

R

yu
,

t
-
1



+

R

ôu
,

t
-
1




)


-


1

ϖ
t





R

noise
,
a


-
1


(




F
ˆ


t
-
1




R

uu
,
t



-

R

yu
,
t


+

R


ô

u

,
t



)







(
23
)
















F
^

a
t

:=


F
ˆ


t
/
2







(
24
)







where pt represents a vector, when t=t0, an initial value of pt is a matrix obtained by performing eigen decomposition on uat0(uat0)T, and when t>t0, a calculation expression is shown in formula (21);


qt represents a vector, {tilde over (ω)}t represents a real number, {circumflex over (F)}t/2 represents a matrix corresponding to time t, {circumflex over (F)}t−1 represents a matrix corresponding to time t−1, {circumflex over (F)}t−2/2 and {circumflex over (F)}t−2 represent matrixes corresponding to time t−2, all of which are intermediate variables in the robust hierarchical recursive least squares; Ruu,t=(1/Btv=t0+1tβt−vuav(uav)T, Ryu,t=(1/Btv=t0+1tβt−v{tilde over (y)}av(uav)T, Rôu,t=(1/Btv=t0+1tβt−vôav(uav)T, wherein Bt:=Σv=t0+1tβt−v;

    • 6) according to the gradient projection algorithm, calculating control variables xat+1 of the ath area at time t+1:












x
a

t
+
1


=


P

𝒳
a
t


(


x
a
t

-

d
×




x
a



L
a




)






(
25
)
















x
a



L
a


=






x
a



f
a





"\[LeftBracketingBar]"


x
a
t



+






b


O
a





{



F
ˆ


a
,
b

t

[



(

λ

a
,
b

t

)

T

+


ρ
2



(



y
~


a
,
b

t

-

ô

a
,
b

t

-

s

a
,
b

t


)



]

}







(
26
)

















x
a



f
a





"\[LeftBracketingBar]"


x
a
t



=




α
1






v
a
t





x
a





(


v
a
t

-

v
a
ref


)


+



α
2

2






p

a

Σ

t





x
a





p

a

Σ

t




"\[LeftBracketingBar]"


x
a
t




=



α
1





F
ˆ


a
,
v

t

(



v
~

a
t

-

v
a
ref

-

ô

a
,
v

t


)


+



α
2

2





F
ˆ


a
,

p

Σ


t

(



p
~


a

Σ

t

-

ô

a
,

p

Σ


t


)








(
27
)







where d represents a step size, Pχat(xat−d×∇xaLa) represents an operator of the gradient projection algorithm; {circumflex over (F)}a,bt, {circumflex over (F)}a,vt, and {circumflex over (F)}a,pΣt respectively represent sub-matrixes associated with measurement values of boundary variables {tilde over (y)}a,bt, measurement values of voltages {tilde over (v)}at, and measurement values of active powers {tilde over (p)}t in {circumflex over (F)}at, and ôa,bt, ôa,vt, and ôa,pΣt respectively represent sub-items associated with measurement values of boundary variables {tilde over (y)}a,bt, measurement values of voltages {tilde over (v)}at, and measurement values of active powers {tilde over (p)}t in ôat;

    • 7) executing xat+1 by DGs of the ath area to realize the reactive voltage optimization control of the ath area;
    • 8) calculating estimated values of boundary variables at time t+1 for all adjacent areas b∈Oa by a formula of:






ŷ
a,b
t+1

a,b
t
−ô
a,b
t  (28)


where ôa,bt represents estimated values of bad data in measurements of boundary variables at time t, and is a sub-item corresponding to boundary variables in ôat;


the ath area and the bth area exchange ŷa,bt+1 and ŷb,at+1;

    • 9) calculating local update consistency variables at time t+1 according to the following formula:











s

a
,
b


t
+
1


=




y
ˆ


a
,
b


t
+
1


+


y
ˆ


b
,
a


t
+
1



2


,



b


O
a







(
29
)









    • 10) according to Nesterov accelerated gradient update method, updating the dual variable at time t+1:

















η

a
,
b


t
+
1


=


λ

a
,
b

t

+

ρ


(



y
ˆ


a
,
b


t
+
1


-

s

a
,
b


t
+
1



)




,



b


O
a










λ

a
,
b


t
+
1


=


η

a
,
b


t
+
1


+



t
ADMM



t
ADMM

+
3




(


η

a
,
b


t
+
1


-

η

a
,
b

t


)










(
30
)







where tADMM represents a number of iterations of the alternating direction multiplier algorithm combining the gradient projection algorithm, ρ represents a penalty coefficient of the alternating direction multiplier algorithm, and ηa,bt+1 represents an intermediate calculation variable corresponding to λa,bt+1;

    • 11) letting t=t+1, and then going back to step 1).


A second aspect of the disclosure provides an electronic device. The electronic device comprises a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to perform the above fully-distributed reactive voltage control method.


A third aspect of the disclosure provides a non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of an electronic device, causes the electronic device to perform the above fully-distributed reactive voltage control method.


The features and beneficial effects of the disclosure may be as follows.


The disclosure proposes a data-driven fully-distributed framework combining the gradient projection algorithm and the alternating direction multiplier algorithm (ADMM). By adopting the feedback optimization control architecture, the real-time measurement data in the power grid are continuously collected, and a controller in each area adopts the measurement data to carry out robust regression to obtain linear relationships between control variables and state variables, and only exchanges limited boundary information with its adjacent areas, so as to calculate the control strategy of the area and execute the control instructions locally.


On one hand, the disclosure gives full play to advantages of speed and privacy protection of fully-distributed control, and the controller in each area only needs to communicate with adjacent areas in limited data and can perform rapid control according to real-time local measurement and robust regression results. It is especially suitable for reactive voltage control of high-speed DGs; on the other hand, a robust regression algorithm in the field of signal processing, namely the robust hierarchical recursive least squares (HRLS), is proposed to be applied to the online estimation of the linear power flow model of the power grid, which is robust to bad data that may exist in practical applications, has fast computing performance, ensures the optimal operation of the system in the case of incomplete models and obtains the optimal control strategy.


The disclosure greatly improves the efficiency, safety and flexibility of the power grid reactive voltage control method in the scenario of incomplete model, and is especially suitable for the use of the area grid with the serious model incompleteness problem, which not only saves the high cost caused by repeated maintenance of the accurate model, but also gives full play to the flexible and efficient advantages of distributed control. At the same time, it is robust to the measured bad data, avoiding the problems of single-node failure, high communication burden, high computing burden, and serious influences caused by communication delay, and it is suitable for large-scale promotion.

    • 1. In the disclosure, the controller in each area only needs to carry out a small amount of data communication with the adjacent areas when performing the control operation, which can protect the data privacy of each area.
    • 2. According to the real-time feedback of the power grid, the controller in each area in the disclosure quickly generates control instructions, the calculation cost of each step is low, the high-speed flexible resources can be efficiently utilized, and the efficiency of reactive voltage control is improved.
    • 3. Based on the robust online estimation method, the disclosure can approximate the linear power flow model online, learn the characteristics of the power grid only through the control process data, perform model-free optimization, and still control the reactive distribution of the power grid to be in an optimized state in the case of incomplete models, and is robust to bad data that may appear in the measurement.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is an overall flowchart of a fully-distributed reactive voltage control method in an embodiment of the disclosure.





DETAILED DESCRIPTION

The disclosure provides a fully-distributed reactive voltage control method, an electronic device, and a storage medium, which are described in detail below with reference to the accompanying drawing and specific embodiments.


Embodiments of the first aspect of the disclosure propose a fully-distributed reactive voltage control method. The overall process is shown in FIG. 1, including the following steps.

    • 1) According to an overall reactive voltage control objective of a power grid, a power grid reactive voltage optimization model of the power grid is established and the power grid reactive voltage optimization model is parted into a plurality of area reactive voltage optimization models of a plurality of areas of the power grid. The specific steps are as follows.
    • 1-1) The power grid reactive voltage optimization model is established by a formula of:





min ƒ=α1∥vt−vref22pPCCt






h(xt,yt)≤0






y
t
=g(xt)  (1)


where: ƒ represents an objective function of the power grid reactive voltage optimization model, superscript t represents time, vt represents a vector formed by voltages of controllable nodes in the power grid at time t, vref represents an expected voltage profile of controllable nodes in the power grid, pPCCt represents an active power at a point of common coupling (PCC) of the power grid at time t, xt represents a vector formed by control variables in the power grid at time t such as reactive power output values of the DGs, yt represents a vector formed by state variables in the power grid at time t such as node voltage, branch active power, branch reactive power, h(•) represents operational constraints including output constraints of the DGs, g(•) represents power flow equation constraints that the power grid needs to satisfy, α1 represents a penalty coefficient of a voltage regulation cost, and α2 represents a penalty coefficient of an active power loss. The specific values α1 and α2 should be determined according to actual conditions of the controlled power grid and actual control requirements, and typically, they can be taken as 10 and 8, respectively.

    • 1-2) The optimization model established in step 1-1) is parted to the plurality of area reactive voltage optimization models of the plurality of areas of the power grid.


In a specific embodiment of the disclosure, the controlled power grid is divided into N areas according to actual controller installation situations. Each area represents a virtual power plant and is equipped with a local controller that can quickly acquire measurements in the area and be able to communicate with adjacent areas. Under this division, a set of nodes in the power grid is expressed as I:=∪a=1NIa, Ia represents a set of nodes in an ath area in the power grid; and a set of DGs in the power grid is expressed as G:=∪a=1NGa, and Ga represents a set of DGs in the ath area in the power grid.


For the ath area where a∈[1, N], yat is denoted as a vector formed by state variables in the ath area at time t, in which yat includes internal variables ya,intt and boundary variables ya,adjt. The boundary variables ya,adjt include parameters of overlapping parts of the ath area and other areas adjacent to the ath area at time t. In detail, ya,adjt include node voltage amplitudes, branch active powers, and branch reactive powers of the overlapping parts of the ath area and the other areas. ya,adjt:=∪b∈Oaya,bt, ya,bt represents node voltage amplitudes, branch active powers, and branch reactive powers of an overlapping part of the ath area and a bth area, and Oa represents a set of the other areas adjacent to the ath area. There are two cases for internal variables. For the ath area where a∈{2, . . . , N} and that does not include the PCC, ya,intt represents a vector formed by voltages of internal controllable nodes in the ath area at time t; and for the ath area where a=1 and that includes the PCC, ya,intt represents a vector formed by voltages of internal controllable nodes in the ath area at time t and a measurement value of the active power of the PCC at time t.


For the ath area, where a∈[1, N] the area reactive voltage optimization model is established by a formula of:












min


x
a
t



𝒳
a
t








f
a

(

x
a
t

)

=


1
2



(



α
1







v
a
t

-

v
a
ref




2


+


α
2



p

a

Σ

t



)












y
a
t

=



F
ˆ

a
t

×

[




x
a
t





1



]















y

a
,
b

t

=

s

a
,
b

t







b


O
a












(
2
)







where: ƒa represents an objective function of the area reactive voltage optimization model of the ath area, vat represents a vector formed by voltages of controllable nodes in the ath area at time t, varef represents an expected voltage profile of controllable nodes in the ath area, yat represents a vector formed by state variables in the ath area at time t, xat represents a vector formed by control variables in the ath area at time t. sa,bt is a global variable vector and represents values of boundary variables between the ath area and the bth area at time t, {circumflex over (F)}at represents a parameter matrix to be estimated corresponding to the ath area at time t after g(•) is linearized, control variables xat=qDGat={QGa,it|i∈Ga} that represent reactive power outputs of DGs of the ath area at time t, QGa,it represents a reactive power output of a DG with a node number i of the ath area at time t, qDGat represents a vector formed by reactive power outputs of all DGs of the ath area at time t; pt satisfies Σa=1Npt=pPCCt; in which the power grid is regarded as a macro graph with the PCC as a root node, each area in the power grid is a child node of the macro graph, if (ia0, ja0)∈La denotes a line connecting a node corresponding to the ath area and its parent node and Lalower-line⊆La denotes a set of connection lines connecting the node corresponding to the ath area and its child nodes, pt=pa(ia0ja0)t−Σ(i,j)∈Lalower-linepa(ij)t, pa(ij)t represents a branch active power on line (i, j) of the ath area at time t, and pa(ia0ja0)t represents a branch active power on line (ia0, ja0) of the ath area at time t;


χat:={χa,it|i∈Ga} in formula (2) represents a feasible zone of the reactive power output of the DG in the ath area at time t, in which for DG i∈Ga in the ath area at time t, a corresponding feasible zone of the reactive power output of the DG i is defined as a formula of:












"\[LeftBracketingBar]"


Q

Ga
,
i

t



"\[RightBracketingBar]"







(

S

Ga
,
i

t

)

2

-


(


P
¯


Ga
,
i

t

)

2







(
3
)







SGa,it represents an installed capacity at DG i at time t, and PGa,it represents an active power at DG i at time t.

    • 2) According to the area reactive voltage control optimization model established in step 1) and the actual configuration of the power grid, a power flow equation constraint in each of the plurality of area reactive voltage optimization models is converted into a linear regression model, and the linear regression model is solved by using a robust recursive regression algorithm to obtain a solution result of the linear regression model. The specific steps are as follows.
    • 2-1) A measurement vector of the ath area at time t is expressed as {tilde over (y)}at=[{tilde over (y)}a,intt; {tilde over (y)}a,adjt], where {tilde over (y)}a,intt represents measurement values of internal state variables of the ath area at time t, and {tilde over (y)}a,adjt represents measurement values of boundary variables of the ath area at time t. For the ath area where a∈{2, . . . , N}, {tilde over (y)}a,intt={{tilde over (v)}a,it|i∈Iobservea}, {tilde over (v)}a,it represents a voltage amplitude measurement at an internal observable node a of the ath area at time t, and Iobservea⊆Ia represents a set of observable nodes that need to be controlled in the ath area; for the ath area where a=1 and that connected to the PCC, {tilde over (y)}a,intt={{tilde over (v)}a,it; {tilde over (p)}PCCt|i∈Iobservea}, {tilde over (p)}PCCt represents a measurement value of the active power of the PCC at time t.


For corresponding system measurements of each area, an initial linear regression model of each area is established by a formula of:






{tilde over (y)}
a
t
={circumflex over (F)}
a
t
×u
a
t

a
t
+v
a
t
,∀a∈[1,N]  (4)


where, {circumflex over (F)}atcustom-characterLa×(Ga+1) represents the parameter matrix to be estimated in the ath area at time t, {tilde over (y)}atcustom-characterLa represents the measurement vector of the ath area at time t, uat=[(xat)T, 1]Tcustom-characterGa+1 represents auxiliary variables of the ath area at time t, bad data in measurements in the ath area at time t are modeled as a sparse vector ôatcustom-characterLa, vatcustom-characterLa represents an environmental noise vector in the ath area at time t, La represents a number of measurements in the ath area, and Ga represents a number of DGs in the ath area.

    • 2-2) The model established in step 2-1) is converted into a corresponding robust least squares estimation problem model as a formula of:










(



F
ˆ

a
t

,


{

ô
a
𝓋

}


𝓋
=
1

t


)





arg


min



(

F
,


{

o
𝓋

}


𝓋
=
1

t


)







𝓋
=
1

t



[



1
2








y
~

a
𝓋

-

Fu
a
t

-

o
𝓋





R

noise
,
a


-
1


2


+


λ
LASSO
a






o
𝓋



1



]







(
5
)







where, λLASSOa represents a set coefficient of the ath area, and the value of the coefficient depends on the sparseness of the actual bad data vector, which can be adjusted according to actual situations, and the typical value can be taken as 0.1. Rnoise,a represents a weight matrix that is set for an error of each measurement in the ath area, Rnoise,a−1 represents an inversion calculation value of the matrix Rnoise,a If the precision information of each measurement data is known, the data with the higher measurement precision can be given the higher weight; and if the precision information of each measurement data is unknown, the weight matrix can be set as the identity matrix.

    • 2-3) For ∀t≥t0+1, the model established in step 2) is converted into a two-step regression model:











ô
a
t




arg


min



1
2








y
~

a
t

-



F
ˆ

a

t
-
1




u
a
t


-
o



2


+


λ

L

A

S

S

O

a





o


1









F
ˆ

a
t

:=

HRLS

(



F
ˆ

a

t
-
1


,

(


u
a
t

,



y
~

a
t

-

ô
a
t



)


)






(
6
)







where, t0 represents initialization time parameter, HRLS({circumflex over (F)}at−1, (uat, {tilde over (y)}at−ôat)) represents using a robust hierarchical recursive least squares for performing recursion and updating on a parameter matrix.

    • 3) The related control process variables and model parameters are initialized.


For the ath area where a∈[1, N], the specific steps are as follows.

    • 3-1) A dual variable in the ath area and corresponding to the bth area is denoted as λa,bt and λa,bt is initialized, where b∈Oa. The typical initialization value can be taken as a zero vector.
    • 3-2) Let the initialization time parameter be t0 where t0>Ga, and the ath area uses t0 to initialize linear estimation parameters as a formula of:










(



F
ˆ

a

t
0


,


{

Ô
a
𝓋

}


𝓋
=
1


t
0



)





arg


min



(

F
,


{

o
𝓋

}


𝓋
=
1


t
0



)







𝓋
=
1


t
0




[



1
2








y
~

a
𝓋

-

Fu
a
t

-

o
𝓋





R

noise
,
a


-
1


2


+


λ
LASSO
a






o
𝓋



1



]







(
7
)







where uav, {tilde over (y)}av, and ôav respectively represent values at time t=v of uat, {tilde over (y)}at, and ôat.

    • 3-3) The ath area initializes local parameters as a formula of:










ϖ
a

t
0


:=





R

noise
,
a


-
1








R

uu
,

t
0

,
a





+

ò

ϖ
,
a







(
8
)














F
ˆ

a


t
0

/
2


:=



F
ˆ

a


t
0

-
1


-


α

ϖ
a

t
0






R

noise
,
a


-
1


(




F
ˆ

a


t
0

-
1




R

uu
,

t
0

,
a



-

R

yu
,

t
0

,
a


+

R

ôu
,

t
0

,
a



)







(
9
)














F
ˆ

a

t
0


:=


F
ˆ

a


t
0

/
2






(
10
)







where {tilde over (ω)}at0 is a real number; {circumflex over (F)}at0/2 represents a matrix at time t0 and is an intermediate variable and only represents the symbol in the intermediate steps of mathematical iterative calculation. The computation steps in (8)-(10) follow the initialization steps in the HRLS.


ò{acute over (ω)},a is an initialization parameter of the ath area; Ruu,t0,a=(1/(Σv=1t0βt0−v))Σv=1t0t0−vuav(uav)T), Ryu,t0,a=(1/(Σv=1t0βt0−v))Σv=1t0t0−v{tilde over (y)}av(uav)T), and Rôu,t0,a=(1/(Σv=1t0βt0−v))Σv=1t0t0−vôav(uav)T), β is a constant real number and represents a forgetting factor coefficient, 0<β≤1.

    • 4) The local controller of each area executes the following control steps at time t to realize the reactive voltage optimal control of this area. Each area executes in parallel without interfering with each other.


For the ath area, the specific steps are as follows.

    • 4-1) The measurement vector {tilde over (y)}at of the ath area at time t is obtained by obtaining a measurement signal from a measurement device of the area.
    • 4-2) According to the local measurement vector {tilde over (y)}at, the auxiliary vector uat=[(xat)T, 1]T represented by control variables, and the set initialization parameters, it makes current auxiliary variables u=uat, a current parameter matrix to be estimated F={circumflex over (F)}at, a current measurement vector of state variables y={tilde over (y)}at, a current dimension of the state variables L=La, and a current error weight matrix R−1=Rnoise,a−1.


Then the robust hierarchical recursive least squares may be used to perform the following calculations in sequence:












o

0
,
1


=


o

0
,
2


=

o

𝓋

0








(
11
)















o
0

=


(


o

0
,
1


=

o

0
,
2



)

/
2






(
12
)
















o


1
/
2

,
i


=



α
o



o
0


+


(

1
-

a
o


)



o

0
,
i





,

i


{

1
,
2

}







(
13
)















o

1
,
1


=



(


R

-
1


+

I
/

λ
o
a



)


-
1




(



R

-
1


(

y
-

F

u


)

+


o


1
/
2

,
1


/

λ
o
a










(
14
)















[

o

1
,
2


]

d

=



[

o


1
/
2

,
2


]

d

·

(

1
-



λ

L

A

S

S

O

a



λ
o
a



max



{



λ

L

A

S

S

O

a



λ
o
a


,



"\[LeftBracketingBar]"



[

o


1
/
2

,
2


]

d



"\[RightBracketingBar]"



}




)



,



d


{

1
,
2
,


,
L

}







(
15
)















o
1

=


(


o

1
,
1


+

o

1
,
2



)

/
2






(
16
)







o0,1 and o0,2 in formula (11) are initialized to ov0 which has been defined above; o0,1 and o0,2 correspond to the situation of on,1 and on,2 when n=0 respectively, which are intermediate variables in the iterative calculation steps.


In formula (13), i takes 1 and 2, indicating that the two variables o1/2,1 and o1/2,2 take the same calculation steps of this formula, representing the intermediate variables in the mathematical calculation steps.


λoa is a positive real number, ov0 is a vector representing an initial assignment of ôat, α0∈(0.5, 1] is a real number, λLASSOa is a positive real number, [o1,2]d represents a dth element in vector o1,2, and [o1/2,2]d represents a dth element in vector o1/2,2.


In formulas (11)-(16), the variables on the left side of the formulas are all intermediate variables in the calculation steps of the robust hierarchical recursive least squares algorithm, and their values are updated with the changes of the iteration steps.

    • 4-3) Let a number of iterations n=2 and the following iterative update steps are performed:











o


n
/
2

,
i


=


o


n
-

2
/
2


,
i


-


α
o



o

n
-
2



-


(

1
-

α
o


)



o


n
-
2

,
i



+

o

n
-
1




,

i


{

1
,
2

}






(
17
)















o

n
,
1


=



(


R

-
1


+

I
/

λ
o
a



)


-
1




(



R

-
1


(

y
-

F

u


)

+


o


n
/
2

,
1


/

λ
o
a










(
18
)















[

o

n
,
2


]

d

=



[

o


n
/
2

,
2


]

d

·

(

1
-



λ

L

A

S

S

O

a



λ
o
a



max



{



λ

L

A

S

S

O

a



λ
o
a


,



"\[LeftBracketingBar]"



[

o


n
/
2

,
2


]

d



"\[RightBracketingBar]"



}




)



,



d


{

1
,
2
,


,
L

}







(
19
)















o
n

=


(


o

n
,
1


+

o

n
,
2



)

/
2






(
20
)









    • 4-4) Determining n:





if n is less than a set upper limit of iteration times Ja, letting n=n+1, and then returning to step 4-3); if n is greater than or equal to Ja, stopping the iteration and outputting.


Ja is the fixed upper limit of the number of iterations, and the typical value can be taken as 100.

    • 4-5) Let {circumflex over (F)}t−2={circumflex over (F)}at−2, {circumflex over (F)}t−1={circumflex over (F)}at−1, and according to the set initialization parameter õ{tilde over (ω)},a (a positive real number), the robust hierarchical recursive least squares is used to perform the following calculations in sequence:













q
t

:=


R

uu
,
t




p

t
-
1




,


p
t

:=


q
t

/



q
t










(
21
)















ϖ
t

:=





R

noise
,
a

1






(

p
t

)

T



R

uu
,
t




p
t


+

ò

ϖ
,
a








(
22
)














F
ˆ


t
/
2


:=



F
ˆ


t
-
1


+


F
ˆ


t
-

2
/
2



-


F
ˆ


t
-
2


+


α

ϖ

t
-
1






R

noise
,
a

1

(




F
ˆ


t
-
2




R

uu
,

t
-
1




-

R

yu
,

t
-
1



+

R

ôu
,

t
-
1




)


-


1

ϖ
t





R

noise
,
a


-
1


(




F
ˆ


t
-
1




R

uu
,
t



-

R

yu
,
t


+

R


ô

u

,
t



)







(
23
)
















F
^

a
t

:=


F
ˆ


t
/
2







(
24
)







where pt represents a vector, when t=t0, an initial value of pt is a matrix obtained by performing eigen decomposition on uat0(uat0)T when t=t0, and when t>t0, a calculation expression is shown in formula (21). qt represents a vector, {tilde over (ω)}t represents a real number, {circumflex over (F)}t/2 represents a matrix corresponding to time t, {circumflex over (F)}t−1 represents a matrix corresponding to time t−1, {circumflex over (F)}t−2/2 and {circumflex over (F)}t−2 represent matrixes corresponding to time t−2, all of which are intermediate variables in the robust hierarchical recursive least squares.


Ruu,t=(1/Btv=t0+1tβt−vuav(uav)T, Ryu,t=(1/Btv=t0+1tβt−v{tilde over (y)}av(uav)T, Rôu,t=(1/Btv=t0+1tβt−vôav(uav)T, wherein Bt:=Σv=t0+1tβt−v represents a summed value with respect to β.

    • 4-6) According to the gradient projection algorithm, control variables xat+1 of the ath area at time t+1 is calculated:












x
a

t
+
1


=


P

χ
a
t


(


x
a
t

-

d
×




X
a



L
a




)






(
25
)
















x
a



L
a


=






x
a



f
a





"\[LeftBracketingBar]"


χ
a
t



+






b


O
a





{



F
ˆ


a
,
b

t

[



(

λ

a
,
b

t

)

T

+


ρ
2



(



y
~


a
,
b

t

-


o
^


a
,
b

t

-

s

a
,
b

t


)



]

}







(
26
)




















x
a



f
a





"\[LeftBracketingBar]"


χ
a
t



=



α
1






v
a
t





x
a





(


v
a
t

-

v
a
ref


)


+



α
2

2






p

a

Σ

t





x
a





p

a

Σ

t






"\[RightBracketingBar]"



χ
a
t


=



α
1





F
ˆ


a
,
v

t

(



v
~

a
t

-

v
a
ref

-


o
^


a
,
v

t


)


+



α
2

2





F
ˆ


a
,

p

Σ


t

(



p
~


a

Σ

t

-


o
^


a
,

p

Σ


t


)







(
27
)







where d represents a step size, Pχat(xat−d×∇xaLa) represents an operator of the gradient projection algorithm; {circumflex over (F)}a,bt, {circumflex over (F)}a,vt, and {circumflex over (F)}a,pΣt respectively represent sub-matrixes associated with measurement values of boundary variables {tilde over (y)}a,bt, measurement values of voltages {tilde over (v)}at, and measurement values of active powers {tilde over (p)}t in {circumflex over (F)}at, and ôa,bt, ôa,vt, and ôa,pΣt respectively represent sub-items associated with measurement values of boundary variables {tilde over (y)}a,bt, measurement values of voltages {tilde over (v)}at, and measurement values of active powers {tilde over (p)}t in ôat.

    • 4-7) The controller issues xat+1 to the local controlled flexibility resources (i.e., DGs), and the local DGs execute control according to the control instructions to realize the reactive voltage optimization control of this area.
    • 4-8) The estimated values of boundary variables are calculated at time t+1 for all adjacent areas b∈Oa by a formula of:






ŷ
a,b
t+1

a,b
t
−ô
a,b
t  (28)


where ôa,bt estimated values of bad data in measurements of boundary variables at time t, and is a sub-item corresponding to boundary variables in ôat. The ath area and the bth area exchange ŷa,bt+1 and ŷb,at+1 through the communication system.

    • 4-9) Local update consistency variables at time t+1 are calculated according to the following formula:











s

a
,
b


t
+
1


=




y
ˆ


a
,
b


t
+
1


+


y
ˆ


b
,
a


t
+
1



2


,




(
29
)











b


O
a








    • 7-10) According to Nesterov accelerated gradient update method, the dual variable at time t+1 is updated:














η

a
,
b


t
+
1


=


λ

a
,
b

t

+

ρ

(



y
ˆ


a
,
b


t
+
1


-

s

a
,
b


t
+
1



)



,




(
30
)











b


O
a









λ

a
,
b


t
+
1


=


η

a
,
b


t
+
1


+



t

A

D

M

M




t

A

D

M

M


+
3




(


η

a
,
b


t
+
1


-

η

a
,
b

t


)







where tADMM represents a number of iterations of the gradient projection algorithm, ρ represents a penalty coefficient of the alternating direction multiplier algorithm and the typical value can be taken as 0.1, and ηa,bt+1 represents an intermediate calculation variable corresponding to λa,bt+1; The first formula in formula (30) follows the gradient descent algorithm, and the second formula represents that the updating of λa,bt+1 may contain the update of the sub-representation of historical gradient information

    • 5) Let t=t+1, and then go back to step 4).


Embodiments of a second aspect of the disclosure provide an electronic device. The electronic device comprises a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to perform the above fully-distributed reactive voltage control method.


Embodiments of a third aspect of the disclosure provide a non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of an electronic device, causes the electronic device to perform the above fully-distributed reactive voltage control method.


In the description of the disclosure, reference throughout this specification to “an embodiment,” “some embodiments,” “example,” “a specific example,” or “some examples,” means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the disclosure. In the specification, the terms mentioned above are not necessarily referring to the same embodiment or example of the disclosure. Furthermore, the particular features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples. Besides, any different embodiments and examples and any different characteristics of embodiments and examples may be combined by those skilled in the art without contradiction.


In addition, terms such as “first” and “second” are used herein for purposes of description and are not intended to indicate or imply relative importance or significance. Furthermore, the feature defined with “first” and “second” may comprise one or more this feature distinctly or implicitly. In the description of the disclosure, “a plurality of” means two or more than two, unless specified otherwise.


Any procedure or method described in the flow charts or described in any other way herein may be understood to comprise one or more modules, portions or parts for storing executable codes that realize particular logic functions or procedures. Moreover, advantageous embodiments of the disclosure comprises other implementations in which the order of execution is different from that which is depicted or discussed, including executing functions in a substantially simultaneous manner or in an opposite order according to the related functions, which should be understood by those skilled in the art.


The logic and/or steps described in other manners herein or illustrated in the flow chart, for example, a particular sequence table of executable instructions for realizing the logical function, may be specifically achieved in any computer readable medium to be used by the instruction execution system, device or equipment (such as the system based on computers, the system comprising processors or other systems capable of obtaining the instruction from the instruction execution system, device and equipment and executing the instruction), or to be used in combination with the instruction execution system, device and equipment. As to the specification, “the computer readable medium” may be any device adaptive for including, storing, communicating, propagating or transferring programs to be used by or in combination with the instruction execution system, device or equipment. More specific examples of the computer readable medium comprise but are not limited to: an electronic connection (an electronic device) with one or more wires, a portable computer enclosure (a magnetic device), a random access memory (RAM), a read only memory (ROM), an erasable programmable read-only memory (EPROM or a flash memory), an optical fiber device and a portable compact disk read-only memory (CDROM). In addition, the computer readable medium may even be a paper or other appropriate medium capable of printing programs thereon, this is because, for example, the paper or other appropriate medium may be optically scanned and then edited, decrypted or processed with other appropriate methods when necessary to obtain the programs in an electric manner, and then the programs may be stored in the computer memories.


It should be understood that each part of the disclosure may be realized by the hardware, software, firmware or their combination. In the above embodiments, a plurality of steps or methods may be realized by the software or firmware stored in the memory and executed by the appropriate instruction execution system. For example, if it is realized by the hardware, likewise in another embodiment, the steps or methods may be realized by one or a combination of the following techniques known in the art: a discrete logic circuit having a logic gate circuit for realizing a logic function of a data signal, an application-specific integrated circuit having an appropriate combination logic gate circuit, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.


Those skilled in the art shall understand that all or parts of the steps in the above exemplifying method of the disclosure may be achieved by commanding the related hardware with programs. The programs may be stored in a computer readable storage medium, and the programs comprise one or a combination of the steps in the method embodiments of the disclosure when run on a computer.


In addition, each function cell of the embodiments of the disclosure may be integrated in a processing module, or these cells may be separate physical existence, or two or more cells are integrated in a processing module. The integrated module may be realized in a form of hardware or in a form of software function modules. When the integrated module is realized in a form of software function module and is sold or used as a standalone product, the integrated module may be stored in a computer readable storage medium.


The storage medium mentioned above may be read-only memories, magnetic disks or CD, etc. Although explanatory embodiments have been illustrated and described, it would be appreciated by those skilled in the art that the above embodiments are exemplary and cannot be construed to limit the disclosure, and changes, modifications, alternatives and varieties can be made in the embodiments by those skilled in the art without departing from scope of the disclosure.

Claims
  • 1. A fully-distributed reactive voltage control method, comprising: establishing a power grid reactive voltage optimization model of a power grid;parting the power grid reactive voltage optimization model into a plurality of area reactive voltage optimization models of a plurality of areas of the power grid;converting a power flow equation constraint in each of the plurality of area reactive voltage optimization models to a linear regression model;solving the linear regression model by using a robust recursive regression algorithm to obtain a solution result of the linear regression model; andsolving each of the plurality of area reactive voltage optimization models by using the solution result of the linear regression model, a gradient projection algorithm, and an alternating direction multiplier algorithm, so as to realize a reactive voltage optimization control of each of the plurality of areas.
  • 2. The method according to claim 1, wherein establishing the power grid reactive voltage optimization model by a formula of: min ƒ=α1∥vt−vref∥2+α2pPCCt h(xt,yt)≤0yt=g(xt)  (1)
  • 3. The method according to claim 2, wherein parting the power grid reactive voltage optimization model into the plurality of area reactive voltage optimization models of the plurality of areas of the power grid comprises: noting N areas in the power grid, wherein a set of nodes in the power grid is expressed as I:=∪a=1NIa, Ia represents a set of nodes in an ath area in the power grid; a set of distributed generators (DGs) in the power grid is expressed as G:=∪a=1NGa, and Ga represents a set of DGs in the ath area in the power grid;for the ath area where a∈[1, N], denoting yat as a vector formed by state variables in the ath area at time t, wherein yat comprises internal variables ya,intt and boundary variables ya,adjt, the boundary variables ya,adjt comprise parameters of overlapping parts of the ath area and other areas adjacent to the ath area at time t, ya,adjt comprise node voltage amplitudes, branch active powers, and branch reactive powers of the overlapping parts of the ath area and the other areas; ya,adjt:=∪b∈Oaya,bt, ya,bt represents node voltage amplitudes, branch active powers, and branch reactive powers of an overlapping part of the ath area and a bth area, and Oa represents a set of the other areas adjacent to the ath area; for the ath area where a∈{2, . . . , N} and that does not comprise the PCC, ya,intt represents a vector formed by voltages of internal controllable nodes in the ath area at time t; and for the ath area where a=1 and that comprises the PCC, ya,intt represents a vector formed by voltages of internal controllable nodes in the ath area at time t and a measurement value of the active power of the PCC at time t;for the ath area, where a∈[1, N], establishing the area reactive voltage optimization model by a formula of:
  • 4. The method according to claim 3, wherein converting the power flow equation constraint in each of the plurality of area reactive voltage optimization models to the linear regression model and solving the linear regression model by using the robust recursive regression algorithm to obtain the solution result of the linear regression model comprises: 1) expressing a measurement vector of the ath area at time t as {tilde over (y)}at=[{tilde over (y)}a,intt; {tilde over (y)}a,adjt], where {tilde over (y)}a,intt represents measurement values of internal state variables of the ath area at time t, and {tilde over (y)}a,adjt represents measurement values of boundary variables of the ath area at time t;wherein for the ath area where a∈{2, . . . , N}, {tilde over (y)}a,intt={{tilde over (v)}a,it|i∈Iobservea}, {tilde over (v)}a,it represents a voltage amplitude measurement at an internal observable node i of the ath area at time t, and Iobservea⊆Ia represents a set of observable nodes that need to be controlled in the ath area;for the ath area where a=1 and that connected to the PCC, {tilde over (y)}a,intt={{tilde over (v)}a,it; {tilde over (p)}PCCt|i∈Iobservea}, pPCCt represents a measurement value of the active power of the PCC at time t;for corresponding system measurements of each area, establishing an initial linear regression model of each area by a formula of: {tilde over (y)}at={circumflex over (F)}at×uat+ôat+vat,∀a∈[1,N]  (4)
  • 5. The method according to claim 4, wherein before solving each of the plurality of area reactive voltage optimization models by using the solution result of the linear regression model, the gradient projection algorithm, and the alternating direction multiplier algorithm, the method further comprises: initializing model parameters;wherein initializing the model parameters comprises:1) denoting a dual variable in the ath area and corresponding to the bth area as λa,bt and initializing λa,bt, where b∈Oa;2) setting the initialization time parameter t0 wherein t0>Ga, and the ath area using t0 to initialize linear estimation parameters as a formula of:
  • 6. The method according to claim 5, wherein solving each of the plurality of area reactive voltage optimization models by using the solution result of the linear regression model, the gradient projection algorithm, and the alternating direction multiplier algorithm to realize the reactive voltage optimization control of each of the plurality of areas comprises: 1) obtaining the measurement vector {tilde over (y)}at of the ath area at time t;2) making current auxiliary variables u=uat, a current parameter matrix to be estimated F={circumflex over (F)}at, a current measurement vector of state variables y={tilde over (y)}at, a current dimension of the state variables L=La, and a current error weight matrix R−1=Rnoise,a−1, wherein uat=[(xat)T, 1]T represents an auxiliary vector of the ath area at time t;using the robust hierarchical recursive least squares to perform the following calculations in sequence:
  • 7. An electronic device, comprising: a processor; anda memory for storing instructions executable by the processor;wherein the processor is configured to:establish a power grid reactive voltage optimization model of a power grid;part the power grid reactive voltage optimization model into a plurality of area reactive voltage optimization models of a plurality of areas of the power grid;convert a power flow equation constraint in each of the plurality of area reactive voltage optimization models to a linear regression model;solve the linear regression model by using a robust recursive regression algorithm to obtain a solution result of the linear regression model; andsolve each of the plurality of area reactive voltage optimization models by using the solution result of the linear regression model, a gradient projection algorithm, and an alternating direction multiplier algorithm, so as to realize a reactive voltage optimization control of each of the plurality of areas.
  • 8. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of an electronic device, causes the electronic device to perform a fully-distributed reactive voltage control method, the method comprising: establishing a power grid reactive voltage optimization model of a power grid;parting the power grid reactive voltage optimization model into a plurality of area reactive voltage optimization models of a plurality of areas of the power grid;converting a power flow equation constraint in each of the plurality of area reactive voltage optimization models to a linear regression model;solving the linear regression model by using a robust recursive regression algorithm to obtain a solution result of the linear regression model; andsolving each of the plurality of area reactive voltage optimization models by using the solution result of the linear regression model, a gradient projection algorithm, and an alternating direction multiplier algorithm, so as to realize a reactive voltage optimization control of each of the plurality of areas.
Priority Claims (1)
Number Date Country Kind
202210300394.7 Mar 2022 CN national