DATA-DRIVEN WIND FARM FREQUENCY CONTROL METHOD BASED ON DYNAMIC MODE DECOMPOSITION

Information

  • Patent Application
  • 20220195986
  • Publication Number
    20220195986
  • Date Filed
    September 01, 2021
    3 years ago
  • Date Published
    June 23, 2022
    2 years ago
Abstract
A data-driven wind farm frequency control method based on dynamic mode decomposition. The method enables a low-dimension nonlinear dynamic feature of a wind power system to perform global capturing in a high-dimension space through a state transition matrix given by a Koopman operator theory, thus fewer data samples are necessary while control requirements are satisfied with respect to a model fitting accuracy. Meanwhile, a pure linear feature of a control model also provides a favorable foundation for fast on-line dynamic response, thereby satisfying response accuracy and speed requirements simultaneously in an actual control step.
Description
FIELD OF TECHNOLOGY

The present invention belongs to the technical field of power and in particular, relates to a data-driven wind farm frequency control method based on dynamic mode decomposition.


BACKGROUND

Due to increasingly prominent environmental problems and energy crisis caused by fast consumption of conventional fossil energy, conventional energy demand of a power system is being gradually replaced by environment-friendly, efficient and sustainable clean energy, of which wind power has become an investment and construction focus worldwide as the most promising clean energy. With Europe as an example, installed capacity of wind power in Europe has increased at a rate of about 10 GW each year continuously in the recent 10 years. As of 2019, installed capacity of wind power in Europe reached 205 GW and wind power output reached as high as 15%, wherein domestic wind power output of Denmark reached as high as 48%. High wind power penetration rate brings a new challenge for operation control of a current grid and frequency stability of the grid is an important step thereof. With access of a large number of speed-variable wind turbines to the grid through power electronic converters, an active output and a frequency of a wind site present decoupling features of power electronic, resulting in reduction of overall equivalent inertia of a system and more serious frequency fluctuation of the grid under a same load disturbance, which are dangers for safe and stable operation of the grid. Therefore, the grid operation code of the world gradually uses capacity of the wind power for participation in frequency modulation as the precondition for grid entry. For example, Hydro-Quebec grid code of Canada requires that a wind farm having an installed capacity above 10 MW should be equipped with frequency correction control capacity. For China, the new Guide on Security and Stability for Power System prescribes that a wind power station and a photovoltaic power station of 35 kV and above should be equipped with a primary frequency modulation capability.


The technical solution for the current wind power to participate in the primary frequency modulation of the grid can be divided into a model-driven type and a data-driven type. With a model-driven control policy, a wind turbine dynamic model is built based on cognitive priors about a wind turbine energy transformation model. However, since a large number of device parameters in the site need to be measured and maintained regularly one by one, thus it is difficult to ensure accuracy and effectiveness of the model. As for a data-driven method, segmental linear fitting plays a major role currently. Methods of such type can build a dynamic model of a wind turbine through historical data. However, the segmental linear thinking pattern can not solve the nonlinear problem still of the wind turbine dynamic feature in different work conditions, as generally it is difficult for segmental number to balance conciseness and accuracy of the model. Therefore, it is necessary to study a wind turbine dynamic modeling and control method by combining model-driven and data-driven advantages, so as to adapt to actual requirements for fast and flexible participation of a wind site in grid frequency dynamic response.


SUMMARY

For the above problems, the present invention provides a data-driven wind farm frequency optimization control method based on dynamic mode decomposition. The optimization control method mainly consists of two modules: a wind turbine dynamic mode decomposition module and a wind farm frequency optimization control module. The specific steps of implementing optimization control comprises: measuring a wind turbine state in a wind farm at time t and transmitting it to a controller; performing wind turbine dynamic mode decomposition in the controller and calculation of an active frequency control instruction; and obtaining a control command at time t+1, thus transmitting it to the wind farm.


An object of the present invention for applying the optimization control method is a wind turbine generator system in a large wind site. Since the current investment and construction of a double-feed asynchronous wind turbine are of the largest scale, in an exemplary way, a control object is set as a double-feed asynchronous wind turbine. Meanwhile, wind turbines having similar operation situations and device parameters in the site can be aggregated into one unit for control.


For convenient statement, setting a local control step of the double-feed asynchronous wind turbine can enable an active output of an converter to be adjusted with an external active instruction. Meanwhile, rotation speed is locally controlled through a propeller pitch angle for constraint protection.


The data-driven wind farm frequency optimization control method based on dynamic mode decomposition specifically comprises the following steps:


S1: Building an Initial Data Set


building a state equation of a power generation unit from a frequency modulation control perspective, as indicated by formula (1)





ωk+1=fk,uk)  (1)


wherein ωk denotes a wind turbine rotation speed at time k, f denotes a nonlinear state transition relation function and an input variable uk is defined as:










u
k

=

[




P

ref
,
k







v

w
,
k





]





(
2
)







wherein, Pref,k is an active instruction of an external input and vw,k is a current wind speed. From a data driving perspective, a dynamic feature thereof should be restored according to historical data accumulated in a wind turbine operation process. However, such state transition relation is mainly comprised in a data pair having a timing sequence correspondence relation, which is denoted as:






X=[x1x2 . . . xN],Y=[y1y2 . . . yN]  (3)


wherein,






(



x
k

=





[




ω
k






u
k




]


,


y
k

=





[




ω

k
+
1







u

k
+
1





]



)




is a data pair at time k, with N pairs in total, and wherein, ωk+1 and uk+1 respectively denote a state quantity and an input quantity of a next step size. It should be noted that data matrices can be column-exchanged, as long as two matrices therebetween satisfy the column correspondence relation.


S2: Dynamic Mode Decomposition


A mode can be understood as an inherent element in a wind turbine dynamic feature. For a double-feed asynchronous wind turbine, an initiative nonlinear dynamic feature thereof comes from a wind energy transformation process described in a wind energy transformation equation.






p
m=½ρArotcp(λ,θ)vw3  (4)


Wherein, pm is a mechanical power captured by a wind turbine blade; ρ is an air density; Arot is an area of a wind-affected section decided by a radius of a wind turbine blade; and cp is a wind energy utilization rate of a wind turbine as a nonlinear function of a wind turbine tip speed ratio






λ
=


ω

R


υ
ω






and a blade propeller pitch angle θ, wherein, ω is a wind turbine rotation speed, R is a radius of a wind turbine blade and vw is a current wind speed. It can be seen from formula (4) that the wind energy transformation model enables presence of a strong nonlinear coupling relation between the state quantity and the input quantity of the wind turbine, which is a great challenge for solution of the optimization control problem. If a model-driven modeling policy is adopted, estimation or measurement of multiple parameters are certainly involved therein, resulting in the difficulty for ensuring control effects in a scene where the model is not complete. A dynamic mode decomposition thinking pattern involves mapping a low-dimension nonlinear dynamic process to a high-dimension observation space through an observation function based on cognitive priors about a wind turbine physical model, enabling a nonlinear dynamic feature of a low-dimension space to present a linear trend in a high-dimension space, such that a dynamic feature thereof is decomposed with a matrix linear algebra operation. The thinking pattern can not only perform a data-driven flexibility advantage, without abandoning a model-driven theoretical foundation, but also enable acquisition of an accurate dynamic mode with fewer samples.


Specifically, for state data (ωk,uk) at time k, an observation function Ψ effects, thereby obtaining a high-dimension observation state vector:










Ψ


(


ω
k

,

u
k


)


=


[




ω
k






1

υ

ω
,
k








e


-

0
.
1




ω
k



υ

ω
,
k









ω
k
2






u
k




]

=

[




ψ


(


ω
k

,

u
k


)







u
k




]






(
5
)







It can be seen that a mapping-transformed vector and an initial state vector are maintained at a same dimensional number level. Thus, the operation does not add a burden of processing too much data. A mapping transformation effects for each column of an initial data set, thereby obtaining a high-dimension observation set matrix:






X
lift=[Ψ(ω1,u1)Ψ(ω2,u2) . . . Ψ(ωN,uN)]






Y
lift=[Ψ(ω2,u2)Ψ(ω3,u3) . . . Ψ(ωN+1,uN+1)]  (6)


For trail data of a high-dimension observation space, a high-dimension linear dynamic feature of a wind turbine can be fitted through a state transition matrix value of limited dimensions according to related theories of a Koopman operator, that is, a search matrix A enables ∥Ylift−AliftXlift2 to be minimum; and an optimization problem is solved and a wind turbine dynamic model is obtained through an algebra operation as follows:






A
lift
=Y
lift
X
lift
  (7)


Wherein, † denotes a pseudo-inverse operation of a matrix. From a control perspective, it is also necessary to split a matrix Alift according to dimensional number of a high-dimension observation space and dimensional number of an input quantity; for a high-dimension mapping function structure employed by the method, a sub-block on a left upper side 4×4 of a matrix Alift is split as a state transition matrix A of a dynamic equation, and a sub-block on a right upper side 4×2 of a matrix Alift is split to obtain an input matrix B. By now, a wind turbine high-dimension linear dynamic model via dynamic mode decomposition can be represented as the following form:





ψ(θk+1,uk+1)=Aψ(ωk,uk)+Buk  (8)


S3: A Central Wind Site Control Model


According to a dynamic mode decomposition method, a dynamic model of M power generation units in a wind site can be obtained.





ψ(ωk+1i,uk+1i)=Aiψ(ωki,uki)+Biuki=1,2, . . . ,M  (9)


on such a basis, a state vector in a central control model is defined as follows:










χ
k

=


[




ψ
(

ω
k
1

,

u
k
1

)











ψ


(


ω
k
M

,

u
k
M


)





]


4

M
×
1






(
10
)







meanwhile, an input vector in a central control model is defined as follows:










η
k

=


[




u
k
1











u
k
M




]


2

M
×
1






(
11
)







A control model corresponding to a central state vector is provided from formula (9):





χk+1=Aχk+Bηk  (12)


Wherein, a matrix A,B can be structured according to the following diagonal forms by a state transition matrix of each power generation unit:









A
=

[




A
1









































A
M




]





(
13
)






B
=

[




B
1









































B
M




]





(
14
)







Wherein, A1 . . . AM respectively denotes a state transition matrix of M power generation units, and B1 . . . BM respectively denotes an input matrix of M power generation units.


It can be seen that the matrix A,B structured in this manner is provided with a special sparsity structure, so as to provide more convenient conditions for fast solution of an on-line dynamic optimization control problem.


S4: On-Line Dynamic Optimization


On the basis of obtaining a wind turbine linear dynamic model through a data-driven method, a wind site dynamic optimization control algorithm can be represented as indicated by formula (15) according to a general form of a model prediction and control framework:











min


u
k

,

χ
k






J


(



(

υ
k

)


k
=
0


T
-
1


,


(

χ
k

)


k
=
0

T


)







subject





to










χ

k
+
1


=


A


χ
k


+

B






υ
k




,

k
=
0

,





,

T
-
1












E
k



χ
k


+


F
k



υ
k





b
i


,

k
=
0

,





,

T
-
1










E
T



χ
T




b
T






(
15
)







Wherein, T is a prediction range length of a model prediction and control algorithm and a target function J is shown in the following form:










J


(



(

υ
k

)


k
=
0


T
-
1


,


(

χ
k

)


k
=
0

T


)


=



χ
T
T



Q
T



χ
T


+


q
T
T



χ
T


+




k
=
0


T
-
1





χ
k
T



Q
k



χ
k



+


υ
k
T



R
k



υ
k


+


q
k
T



χ
k


+


r
k
T



υ
k







(
16
)







Wherein, Qk, QT is a positive semi-definite target coefficient matrix of a state variable at time k and time T, Rk is a positive semi-definite target coefficient matrix of an input variable at time k, qkτ, qTτ is a target coefficient vector of a state variable at time k and time T, rkτ is a target coefficient vector of an input variable at time k, Ek is a state variable boundary constraint coefficient matrix at time k, Fk is an input variable boundary constraint coefficient matrix at time k, and bk is a boundary constraint coefficient vector at time k. Design of a coefficient matrix and a coefficient vector depends on a wind site dynamic optimization control objective. Qk, Rk is a positive semi-definite coefficient matrix, a matrix Ek, Fk and a vector bk correspond to a state quantity at time k and a boundary constraint of an input quantity respectively, ET, bT is a boundary constraint of a state quantity at time T, and χT is a state quantity at time T. Design of a coefficient matrix and a coefficient vector depends on a wind site dynamic optimization control objective.


In the problem of frequency modulation for wind power, the control objective needs to be optimized in two aspects: wind farm active frequency modulation instruction's following effect and transient stability of a rotation speed of a power generation unit. Therefore, by using a fluctuation degree of a wind turbine rotation speed to measure its transient stability, the following optimization objective is given:










min

P
ref







i
=
1

M



(





k
=
0


T
-
1








Δ


P


r

e

f

,
k

i


-


K

d

f



Δ





f




2


+


Q
x






k
=
0


T
-
1








ω

k
+
1

i

-

ω
k
i




2




)






(
17
)







Wherein, an active adjusting amount ΔPref,ki is defined as:





ΔPref,ki=Pref,ki−PMPPT,ki  (18)


formula (18) denotes an adjusting amount of a wind turbine active instruction Pref,ki relative to a control instruction PMPPT,ki provided by a local controller under a maximum power tracking model.





ΔPref,ki=Pref,ki−Pdeload,ki=Pref,ki−Rd·PMPPT,ki  (19)


wherein, Pdeload,ki is an active instruction of a load-reduction work mode and Rd is a load-reduction amplitude coefficient; a frequency offset amount is defined as:





Δf=fmeas−fref  (20)


formula (20) denotes an offset amount of a grid entry point measurement frequency fmeas relative to a reference frequency fref. A parameter Kdf is a droop coefficient of a wind farm in an external power-frequency feature curve and Qx is a weighting coefficient for balancing two optimization objectives. By adjusting an active instruction based on a local control instruction, a first item









i
=
1

M






k
=
0


T
-
1








Δ


P


r

e

f

,
k

i


-


K

d

f



Δ





f




2






of an optimization objective in formula (17) enables allocation of a wind turbine frequency modulation task to be performed on the basis of considering a respective power generation level so as to enable an overall allocation of an active output to correspond to a wind turbine local working condition, such that a wind farm group also ensures overall wind energy transformation effects of the wind farm group while providing a frequency modulation service. By optimizing a fluctuation degree of a wind turbine rotation speed, a second item







Q
x






i
=
1

M






k
=
0


T
-
1








ω

k
+
1

i

-

ω
k
i




2







of an optimization objective enables a wind turbine operation state more stable, so as to reduce mechanical fatigue of a wind turbine which is caused by participation of the wind turbine in a frequency modulation response process, and is added to a gearbox and other fragile mechanical components, thereby prolonging the service life of the wind turbine.


On the basis of the optimization objective, a timing sequence constraint, a state quantity boundary constraint, an input constraint and an initial state constraint of a central state vector are provided and respectively indicated as formula (21), formula (22), formula (23) and formula (24):





χk+1=Aχk+Bvk,k=0,1, . . . ,T−1  (21)





ωmincustom-characterωki=ψ(ωki,uki)(1)custom-characterωmax,i=1, . . . ,M,k=1, . . . ,T  (22)






P
ref,min
custom-character
u
k
i(1)custom-characterPref,max,k=0,1, . . . ,T−1  (23)





χ0=[ψ(ω01,u01) . . . ψ(ω0M,u0M)]τ  (24)


Wherein, χ0 denotes an initial state of a central state vector χk, and


formula (17) to formula (24) constitute a complete wind farm frequency dynamic optimization control method. Since both a constraint condition and a target function have concavity, thus the entire model constitutes a secondary planning problem belonging to convex optimization, which can be rapidly and accurately solved through the current optimization solution procedure.


The present invention provides a data-driven control method based on dynamic mode decomposition for dynamic frequency control of a high-rate wind power independent power system. The method enables a low-dimension nonlinear dynamic feature of a wind power system to perform global capturing in a high-dimension space through a state transition matrix provided by a Koopman operator theory, thus fewer data samples are necessary while control requirements are satisfied with respect to a model fitting accuracy. Meanwhile, a pure linear feature of a control model also provides a favorable foundation for fast on-line dynamic response, thereby satisfying response accuracy and speed requirements simultaneously in an actual control step.


Other features and advantages of the present invention will be stated in the subsequent description and partially become apparent from the description or will be understood by implementing the present invention. The purpose and other advantages of the present invention can be realized and obtained by a structure as pointed out in the description, claims and accompanying drawings.





BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions in the embodiments of the present invention or in the prior art more clearly, the following briefly describes the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show some embodiments of the present invention, and the person skilled in the art may still derive other drawings from these accompanying drawings without creative efforts.



FIG. 1 shows a wind farm frequency optimization control module relation based on dynamic mode decomposition according to embodiments of the present invention; and



FIG. 2 shows implementation steps of wind farm frequency optimization control based on dynamic mode decomposition according to embodiments of the present invention.





DESCRIPTION OF THE EMBODIMENTS

To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by the person skilled in the art based on the embodiments of the present invention without creative efforts fall within the protection scope of the present invention.


The present invention provides a data-driven wind site frequency optimization control method based on dynamic mode decomposition. FIG. 1 shows a wind farm frequency optimization control module relation based on dynamic mode decomposition. It can be known from FIG. 1 that the optimization control method mainly consists of two modules: a wind turbine dynamic mode decomposition module and a wind farm frequency optimization control module. FIG. 2 shows implementation steps of wind farm frequency optimization control based on dynamic mode decomposition. It can be known from FIG. 2 that the implementation steps of optimization control comprises: measuring a wind turbine state in a wind farm at time t and transmitting it to a controller; performing wind turbine dynamic mode decomposition in the controller and calculation of an active frequency control instruction; and obtaining a control command at time t+1, thus transmitting it to the wind farm.


An object of the present invention for applying the optimization control method is a wind turbine generator system in a large wind site. Since the current investment and construction of a double-feed asynchronous wind turbine are of the largest scale, in an exemplary way, a control object is set as a double-feed asynchronous wind turbine. Meanwhile, wind turbines having similar operation situations and device parameters in the site can be aggregated into one unit for control.


For convenient statement, setting a local control step of the double-feed asynchronous wind turbine can enable an active output of an inverter to be adjusted with an external active instruction. Meanwhile, rotation speed is locally controlled through a propeller pitch angle for constraint protection.


The data-driven wind farm frequency optimization control method based on dynamic mode decomposition specifically comprises the following steps:


S1: Building an Initial Data Set


building a state equation of a power generation unit from a frequency modulation control perspective, as indicated by formula (1)





ωk+1=fk,uk)  (1)


wherein, ωk denotes a wind turbine rotation speed at time k, f denotes a nonlinear state transition relation function and an input variable uk is defined as:










u
k

=

[




P


r

e

f

,
k







υ

ω
,
k





]





(
2
)







wherein, Pref,k is an active instruction of an external input and vw,k is a current wind speed; From a data driving perspective, a dynamic feature thereof should be restored according to historical data accumulated in a wind turbine operation process. However, such state transition relation is mainly comprised in a data pair having a timing sequence correspondence relation, which is denoted as:






X=[x1x2 . . . xN],Y=[y1y2 . . . yN]  (3)


wherein,






(



x
k

=





[




ω
k






u
k




]


,


y
k

=





[




ω

k
+
1







u

k
+
l





]



)




is a data pair at time k, with N pairs in total, and wherein ωk+1 and uk+1 respectively denote a state quantity and an input quantity of a next step size. It should be noted that a data matrix can be column-exchanged, as long as two matrices therebetween satisfy the column correspondence relation.


S2: Dynamic Mode Decomposition


A mode can be understood as an inherent element in a wind turbine dynamic feature. For a double-feed asynchronous wind turbine, an initiative nonlinear dynamic feature thereof comes from a wind energy transformation process described in a wind energy transformation equation.






p
m=½ρArotcp(λ,θ)vw3  (4)


Wherein, pm is a mechanical power captured by a wind turbine blade; ρ is an air density; Arot is an area of a wind-affected section decided by a radius of a wind turbine blade; and cp is a wind energy utilization rate of a wind turbine as a nonlinear function of a wind turbine tip speed ratio






λ
=


ω

R


υ
ω






and a blade propeller pitch angle θ, wherein ω is a wind turbine rotation speed, R is a radius of a wind turbine blade and vw is a current wind speed. It can be seen from formula (4) that the wind energy transformation model enables presence of a strong nonlinear coupling relation between the state quantity and the input quantity of the wind turbine, which is a great challenge for solution of the optimization control problem. If a model-driven modeling policy is adopted, estimation or measurement of multiple parameters are certainly involved therein, resulting in difficulty for ensuring control effects in a scene where the model is not complete. A dynamic mode decomposition thinking pattern involves mapping a low-dimension nonlinear dynamic process to a high-dimension observation space through an observation function based on cognitive priors about a wind turbine physical model, enabling a nonlinear dynamic feature of a low-dimension space to present a linear trend in a high-dimension space, such that a dynamic feature thereof is decomposed with a matrix linear algebra operation. The thinking pattern can not only perform a data-driven flexibility advantage, without abandoning a model-driven theoretical foundation, but also enable acquisition of an accurate dynamic mode with fewer samples.


Specifically, for state data (ωk, uk) at time k, an observation function Ψ effects, thereby obtaining a high-dimension observation state vector:










Ψ


(


ω
k

,

u
k


)


=


[




ω
k






1

υ

ω
,
k








e


-

0
.
1




ω
k



υ

ω
,
k









ω
k
2






u
k




]

=

[




ψ


(


ω
k

,

u
k


)







u
k




]






(
5
)







It can be seen that a mapping-transformed vector and an initial state vector are maintained at a same dimensional number level. Thus, the operation does not add a burden of processing too much data. A mapping transformation effects for each column of an initial data set, thereby obtaining a high-dimension observation set matrix:






X
lift=[Ψ(ω1,u1)Ψ(ω2,u2) . . . Ψ(ωN,uN)]






Y
lift=[Ψ(ω2,u2)Ψ(ω3,u3) . . . Ψ(ωN+1,uN+1)]  (6)


For trail data of a high-dimension observation space, a high-dimension linear dynamic feature of a wind turbine can be fitted through a state transition matrix value of limited dimensions according to related theories of a Koopman operator, that is, a search matrix Alift enables ∥Ylift−AliftXlift2 to be minimum; and an optimization problem is solved and a wind turbine dynamic model is obtained through an algebra operation as follows:






A
lift
=Y
lift
X
lift
  (7)


Wherein, † denotes a pseudo-inverse operation of a matrix. From a control perspective, it is also necessary to split a matrix Alift according to dimensional number of a high-dimension observation space and dimensional number of an input quantity; for a high-dimension mapping function structure employed by the method, a sub-block on a left upper side 4×4 of a matrix Alift is split as a state transition matrix A of a dynamic equation, and a sub-block on a right upper side 4×2 of a matrix Alift is split to obtain an input matrix B. By now, a wind turbine high-dimension linear dynamic model via dynamic mode decomposition can be represented as the following form:





ψ(θk+1,uk+1)=Aψ(ωk,uk)+Buk  (8)


S3: A Central Wind Site Control Model


According to a dynamic mode decomposition method, a dynamic model of M power generation units in a wind site can be obtained.





ψ(ωk+1i,uk+1i)=Aiψ(ωki,uki)+Biuki=1,2, . . . ,M  (9)


on such a basis, a state vector in a central control model is defined as follows:










χ
k

=


[




ψ


(


ω
k
1

,

u
k
1


)












ψ


(


ω
k
M

,

u
k
M


)





]


4

M
×
1






(
10
)







meanwhile, an input vector in a central control model is defined as follows:










η
k

=


[




u
k
1











u
k
M




]


2

M
×
1






(
11
)







A control model corresponding to a central state vector is provided from formula (9):





χk+1=Aχk+Bηk  (12)


Wherein, a matrix A,B can be structured according to the following diagonal forms by a state transition matrix of each power generation unit:









A
=

[




A
1









































A
M




]





(
13
)






B
=

[




B
1









































B
M




]





(
14
)







Wherein, A1 . . . AM respectively denotes a state transition matrix of M power generation units, and B1 . . . BM respectively denotes an input matrix of M power generation units.


It can be seen that the matrix A,B structured in this manner is provided with a special sparsity structure, so as to provide more convenient conditions for fast solution of an on-line dynamic optimization control problem.


S4: On-Line Dynamic Optimization


On the basis of obtaining a wind turbine linear dynamic model through a data-driven method, a wind farm dynamic optimization control algorithm can be represented as indicated by formula (15) according to a general form of a model prediction and control framework:











min


u
k

,

χ
k





J


(



(

υ
k

)


k
=
0


T
-
1


,


(

χ
k

)


k
=
0

T


)











subject





to






χ

k
+
1



=


A


χ
k


+

B






υ
k




,

k
=
0

,





,

T
-
1












E
k



χ
k


+


F
k



υ
k





b
i


,

k
=
0

,





,

T
-
1










E
T



χ
T




b
T






(
15
)







Wherein, is a prediction range length of a model prediction and control algorithm and a target function is shown in the following form:










J


(



(

υ
k

)


k
=
0


T
-
1


,


(

χ
k

)


k
=
0

T


)


=



χ
T




Q
T



χ
T


+


q
T




χ
T


+




k
=
0


T
-
1





χ
k




Q
k



χ
k



+


υ
k




R
k



υ
k


+


q
k




χ
k


+


r
k




υ
k







(
16
)







Wherein, Qk, QT is a positive semi-definite target coefficient matrix of a state variable at time k and time T, Rk is a positive semi-definite target coefficient matrix of an input variable at time qkT, qTτ is a target coefficient vector of a state variable at time k and time T, rkτ is a target coefficient vector of an input variable at time k, Ek is a state variable boundary constraint coefficient matrix at time k, Fk is an input variable boundary constraint coefficient matrix at time k, and bk is a boundary constraint coefficient vector at time k. Design of a coefficient matrix and a coefficient vector depends on a wind site dynamic optimization control objective. Qk, Rk is a positive semi-definite coefficient matrix, a matrix Ek, Fk and a vector bk correspond to a state quantity at time k and a boundary constraint of an input quantity respectively, ET, bT is a boundary constraint of a state quantity at time T, and χT is a state quantity at time T. Design of a coefficient matrix and a coefficient vector depends on a wind site dynamic optimization control objective.


In the problem of frequency modulation for wind power, the control objective needs to be optimized in two aspects: wind farm active frequency modulation instruction's following effect and transient stability of a rotation speed of a power generation unit. Therefore, by using a fluctuation degree of a wind turbine rotation speed to measure its transient stability, the following optimization objective is given:










min

P
ref







i
=
1

M



(





k
=
0


T
-
1








Δ






P


r

e

f

,
k

i


-


K

d

f



Δ





f




2


+


Q
x






k
=
0


T
-
1








ω

k
+
1

i

-

ω
k
i




2




)






(
17
)







Wherein, an active adjusting amount ΔPref,ki is defined as:





ΔPref,ki=Pref,ki−PMPPT,ki  (18)


formula (18) denotes an adjusting amount of a wind turbine active instruction Pref,ki relative to a control instruction PMPPT,ki provided by a local controller under a maximum power tracking model.





ΔPref,ki=Pref,ki−Pdeload,ki=Pref,ki−Rd·PMPPT,ki  (19)


wherein, Pdeload,ki is an active instruction of a load-reduction work mode and Rd is a load-reduction amplitude coefficient; a frequency offset amount is defined as:





Δf=fmeas−fref  (20)


formula (20) denotes an offset amount of a grid entry point measurement frequency fmeas relative to a reference frequency fref. A parameter Kdf is a droop coefficient of a wind farm in an external power-frequency feature curve and Q is a weighting coefficient for balancing two optimization objectives. By adjusting an active instruction based on a local control instruction, a first item









i
=
1

M






k
=
0


T
-
1








Δ


P


r

e

f

,
k

i


-


K

d

f



Δ





f




2






of an optimization objective in formula (17) enables allocation of a wind turbine frequency modulation task to be performed on the basis of considering a respective power generation level so as to enable an overall allocation of an active output to correspond to a wind turbine local working condition, such that a wind farm group also ensures overall wind energy transformation effects of the wind farm group while providing a frequency modulation service. By optimizing a fluctuation degree of a wind turbine rotation speed, a second item







Q
x






i
=
1

M






k
=
0


τ
-
1








ω

k
+
1

i

-

ω
k
i




2







of an optimization objective enables a wind turbine operation state more stable, so as to reduce mechanical fatigue of a wind turbine which is caused by participation of the wind turbine in a frequency modulation response process, and is added to a gearbox and other fragile mechanical components, thereby prolonging the service life of the wind turbine.


On the basis of the optimization objective, a timing sequence constraint, a state boundary constraint, an input boundary constraint and an initial state constraint of a central state vector are provided and respectively indicated as formula (21), formula (22), formula (23) and formula (24):





χk+1=Aχk+Bvk,k=0,1, . . . ,T−1  (21)





ωmincustom-characterωki=ψ(ωki,uki)(1)custom-characterωmax,i=1, . . . ,M,k=1, . . . ,T  (22)






P
ref,min
custom-character
u
k
i(1)custom-characterPref,max,k=0,1, . . . ,T−1  (23)





χ0=[ψ(ω01,u01) . . . ψ(ω0M,u0M)]τ  (24)


Wherein, χ0 denotes an initial state of a central state vector χk, and


formula (17) to formula (24) constitute a complete wind site frequency dynamic optimization control method. Since both a constraint condition and a target function have concavity, thus the entire model constitutes a secondary planning problem belonging to convex optimization, which can be rapidly and accurately solved through the current optimization solution procedure.


The present invention provides a data-driven control method based on dynamic mode decomposition for dynamic frequency control of a high-rate wind power independent power system. The method enables a low-dimension nonlinear dynamic feature of a wind power system to perform global capturing in a high-dimension space through a state transition matrix given by a Koopman operator theory, thus fewer data samples are necessary while control requirements are satisfied with respect to a model fitting accuracy. Meanwhile, a pure linear feature of a control model also provides a favorable foundation for fast on-line dynamic response, thereby satisfying response accuracy and speed requirements simultaneously in an actual control step.


Although the present invention is described in detail with reference to the foregoing embodiments, the person skilled in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features thereof. These modifications or replacements do not enable the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims
  • 1. A data-driven wind farm frequency control method based on dynamic mode decomposition, wherein the method comprises the following steps: S1: building a state equation of a power generation unit;S2: mapping state data in the state equation to a high-dimension observation state vector through an observation function, thereby obtaining a wind turbine high-dimension linear dynamic model through a matrix algebra operation;S3: according to a dynamic mode decomposition method in the step S2, obtaining a dynamic model of the power generation unit in a wind site; and further defining a state vector in a central control model while defining a wind speed of the power generation unit and an input vector of an active instruction, thereby obtaining a central wind farm control model; andS4: according to a wind farm active frequency modulation instruction and a wind turbine rotation speed fluctuation degree, designing a control optimization objective; and obtaining a constraint condition of a central state vector based on the optimization objective, thus building a complete wind farm frequency dynamic optimization control method.
  • 2. The data-driven wind farm frequency control method based on dynamic mode decomposition according to claim 1, wherein the state equation of the power generation unit in the step S1 is indicated by formula (1): ωk+1=f(ωk,uk)  (1)Wherein, ωk denotes a wind turbine rotation speed at time k, f denotes a nonlinear state transition relation function and an input variable uk is defined as:
  • 3. The data-driven wind farm frequency control method based on dynamic mode decomposition according to claim 1, wherein in the step S2, for state data (ωk, uk) at time k, an observation function Ψ effects, thereby obtaining a high-dimension observation state vector:
  • 4. The data-driven wind farm frequency control method based on dynamic mode decomposition according to claim 1, wherein in the step S3, the dynamic model of M power generation units in the wind site is indicated by formula (8): ψ(ωk+1i,uk+1i)=Aiψ(ωki,uki)+Biuki=1,2, . . . ,M  (8)on such a basis, a state vector in a central control model is defined as indicated by formula (9):
  • 5. The data-driven wind farm frequency control method based on dynamic mode decomposition according to claim 1, wherein in the step S4, the optimization objective is indicated by formula (14):
  • 6. The data-driven wind farm frequency control method based on dynamic mode decomposition according to claim 1, wherein in the step S4, the constraint condition of the central state vector is a timing sequence constraint, a state boundary constraint, an input constraint and an initial state constraint, which are respectively indicated as formula (18), formula (19), formula (20) and formula (21): χk+1=Aχk+Bvk,k=0,1, . . . ,T−1  (18)ωminωki=ψ(ωki,uki)(1)ωmax,i=1, . . . ,M,k=1, . . . ,T  (19)Pref,minuki(1)Pref,max,k=0,1, . . . ,T−1  (20)χ0=[ψ(ω01,u01) . . . ψ(ω0M,u0M)]τ  (21)Wherein, χ0 denotes an initial state of a central state vector χk, and formula (14) to formula (21) constitute a complete wind farm frequency dynamic optimization control method.
Priority Claims (1)
Number Date Country Kind
2020115212624 Dec 2020 CN national