Disclosure of Invention
The invention aims to provide a method for identifying the working scene of an energy storage power station based on feature extraction, which has high reliability, is scientific and reasonable and has better effect.
The invention provides a method for identifying a working scene of an energy storage power station based on feature extraction, which comprises the following steps:
s1, calculating to obtain active output required by peak regulation, active output required by frequency modulation and reactive output required by voltage regulation according to real-time data of a power grid and established peak regulation, frequency modulation and voltage regulation strategies;
s2, calculating the effectiveness index of the energy storage power station, and accordingly determining the effectiveness of the capacity of the energy storage power station and the capacity of the current converter on each scene of the energy storage power station;
s3, calculating an urgency index of the energy storage power station;
s4, calculating an importance evaluation index of the energy storage power station;
s5, determining the priority of the energy storage power station participating in each scene according to the urgency index of the step S3 and the importance assessment index of the step S4;
and S6, determining the current main working scene and auxiliary working scene of the energy storage power station according to the priority result obtained in the step S5.
The method for identifying the working scene of the energy storage power station based on the feature extraction further comprises the following steps:
and S7, determining the active power output and the reactive power output of the energy storage power station according to the active power output required by peak shaving, the active power output required by frequency modulation, the reactive power output required by voltage regulation, the apparent power of a current converter of the energy storage power station obtained in the step S1 and the current main working scene and auxiliary working scene of the energy storage power station obtained in the step S6.
Step S2, calculating an effectiveness index of the energy storage power station, so as to determine the effectiveness of the capacity of the energy storage power station and the capacity of the converter in each scene of the energy storage power station, specifically, calculating the effectiveness index and determining the effectiveness by using the following steps:
A. calculating the peak regulation effectiveness index a by adopting the following formula1:
In the formula,. DELTA.P
fActive power output, Δ P, required for peak shaving
f0Initial value of active power output when peak shaving power is applied to energy storage power station, E
Bess0Is the energy storage capacity;
adjusting the total power consumption for peak clipping and valley filling;
B. calculating the frequency modulation effectiveness index a by adopting the following formula2:
In the formula,. DELTA.P
pActive power required for frequency modulation, Δ P
p0For storing energyInitial value of active output, E, when the power station is performing frequency modulated output
Bess0Is the energy storage capacity;
the total electric quantity consumed for frequency modulation;
C. the pressure regulation effectiveness index a is calculated by adopting the following formula3:
In the formula, delta Q is reactive output required by voltage regulation, and S is the converter capacity of the energy storage node;
D. the effectiveness of the capacity of the energy storage power station and the capacity of the current converter on the energy storage power station participating in each scene is judged by adopting the following rules:
if the peak regulation effectiveness index is 1, indicating that the energy storage power station can participate in a peak regulation working scene; if the peak regulation effectiveness index is 0, indicating that the energy storage power station cannot participate in a peak regulation working scene;
if the frequency modulation effectiveness index is 1, indicating that the energy storage power station can participate in a frequency modulation working scene; if the frequency modulation effectiveness index is 0, indicating that the energy storage power station cannot participate in a frequency modulation working scene;
if the pressure regulation effectiveness index is 1, indicating that the energy storage power station can participate in a pressure regulation working scene; and if the pressure regulating effectiveness index is 0, indicating that the energy storage power station cannot participate in the pressure regulating working scene.
Step S3, calculating the urgency index of the energy storage power station, specifically, calculating the urgency index by adopting the following steps:
a. calculating the peak regulation urgency index b by adopting the following formula1:
In the formula,. DELTA.PcIs the deviation of the actual power curve from its mean value, Δ Pc1Is the lower limit of the absolute value of the deviation, Δ Pc2Is the upper limit of the absolute value of the deviation value;
b. calculating the frequency modulation urgency index b by adopting the following formula2:
In the formula,. DELTA.fcIs a frequency deviation,. DELTA.fc1Is the lower limit of the absolute value of the frequency deviation, Δ fc2Is the upper limit of the absolute value of the frequency deviation;
c. calculating the index b of urgency of pressure regulation by adopting the following formula3:
In the formula,. DELTA.ucFor voltage deviation, Δ uc1Is the lower limit of the absolute value of the voltage deviation, Δ uc2Is the upper limit of the absolute value of the voltage deviation;
d. the peak-regulation urgency index b is calculated as follows1Frequency modulation urgency index b2And the urgency index b of regulating blood pressure3And (5) correcting:
in the formula b1·As a corrected peak regulation urgency index, b2·For the modified urgency index of frequency modulation, b3·The corrected index of the urgency of pressure regulation; dPc(dt) is the voltage to power conversion ratio; df is acThe/dt is the change rate of the power grid frequency; du muc/dtIs the voltage rate of change; k is a radical of1、k2And k3Is a set constant; pcThe power value is the power value of the power grid; f. ofcThe frequency value of the power grid is obtained; u. ofcIs the value of the voltage of the power grid.
And step S4, calculating the importance evaluation index of the energy storage power station, specifically, constructing and determining the importance evaluation index of the energy storage power station by adopting an analytic hierarchy process.
The method for calculating the importance evaluation index of the energy storage power station specifically comprises the following steps of:
(1) constructing a contrast matrix under three scenes of peak regulation, frequency regulation and pressure regulation;
(2) calculating the characteristic vector of the matrix and the relative weight under three scenes;
(3) and checking the consistency of the matrix.
The construction of the contrast matrix in the three scenes of peak regulation, frequency modulation and pressure regulation in the step (1) specifically comprises the following steps:
the importance levels of element i and element j are equally divided into five levels: grade one, grade two, grade three, grade four, grade five;
when the importance degree of the element i and the element j to the previous level factor is the same, aij=1;
When element i is slightly more important than element j, aij3; the less important definition is: the importance degree is ranked one higher, such as: a grade two-ratio grade I, a grade three-ratio grade II, a grade four-ratio grade III and a grade five-ratio grade IV;
when element i is more important than element j, aij(ii) 5; the important definitions are: the importance degree is ranked two high levels, such as: a grade three-ratio grade I, a grade four-ratio grade II and a grade five-ratio grade III;
when element i is more important than element j, aij7; the much more important definition is: the importance degree is higher and higher, such as: grade four is to grade one, grade five is to grade two;
when element i is more important than element j, aij9; saidThe extremely important definitions are: the importance degree grades are four high, such as: grade five to grade one;
when the importance of the elements i and j is between aij2n-1 and aij2n +1, aij=2n;n=1,2,3。
Calculating the feature vector of the matrix and the relative weight under three scenes in the step (2), specifically, calculating the feature vector and the relative weight by adopting the following steps:
1) summing the columns of the matrix;
2) carrying out normalization processing on each column;
3) summing each row of the normalized matrix obtained in step 2) to obtain a feature vector;
4) and carrying out normalization processing on the feature vectors obtained in the step 3) again to obtain relative weight.
And (4) checking the consistency of the matrix in the step (3), specifically, checking the consistency by adopting the following steps:
calculating the maximum characteristic root of the matrix;
calculating the consistency index of the matrix according to the maximum characteristic root of the matrix;
calculating a random consistency ratio; and performing a consistency check of the matrix according to the calculated random consistency ratio.
Determining the current main working scene and the auxiliary working scene of the energy storage power station in the step S6, specifically determining the current main working scene and the auxiliary working scene of the energy storage power station by adopting the following rules:
calculating a scene determination value:
the peak regulation scene decision value is the corrected peak regulation urgency index and the corrected peak regulation urgency index weight;
the frequency modulation scene decision value x is corrected to obtain a frequency modulation urgency index weight;
the pressure regulating scene decision value is x, and the corrected pressure regulating urgency index is the pressure regulating urgency index weight;
x is a set adjustment coefficient between 0 and 1;
judging a working scene:
if the peak-shaving scene decision value is maximum, taking the peak shaving as a main scene and the frequency and pressure modulation as an auxiliary scene;
if the frequency modulation scene decision value is maximum, the frequency modulation is used as a main scene, and the peak-load regulation and the pressure regulation are used as auxiliary scenes;
and if the judgment value of the voltage regulating scene is the maximum, the voltage regulation is used as a main scene, and the peak regulation and frequency modulation are used as an auxiliary scene.
Determining the active power output and the reactive power output of the energy storage power station in the step S7, specifically calculating the active power output and the reactive power output of the energy storage power station by using the following equations:
when the peak regulation is a main scene and the frequency and voltage regulation is an auxiliary scene, the active output P of the energy storage power station
c=ΔP
fReactive power of energy storage power station
When the frequency modulation is used as a main scene and the peak and voltage regulation is used as an auxiliary scene, the active output P of the energy storage power station
c=ΔP
pReactive power of energy storage power station
When the voltage regulation is a main scene and the peak regulation and frequency modulation are auxiliary scenes, the active output of the energy storage power station
Reactive output Q of energy storage power station
c=ΔQ;
In the formula,. DELTA.PfActive output required for peak shaving, S is converter capacity at the energy storage node, Δ PpThe delta Q is the active output required for frequency modulation and the reactive output required for voltage regulation.
According to the energy storage power station working scene recognition method based on the feature extraction, the working parameters of the power grid and the working parameters of the energy storage power station are obtained through the feature extraction mode, comprehensive study, judgment and analysis are carried out, so that the working scene of the energy storage power station can be recognized and judged, meanwhile, corresponding output control of the energy storage power station can be carried out based on the judgment and the identification of the working scene, and therefore the reliable and stable operation of the power grid is guaranteed.
Detailed Description
FIG. 1 is a schematic flow chart of the method of the present invention: the invention provides a method for identifying a working scene of an energy storage power station based on feature extraction, which comprises the following steps:
s1, calculating to obtain active output required by peak regulation, active output required by frequency modulation and reactive output required by voltage regulation according to real-time data of a power grid and established peak regulation, frequency modulation and voltage regulation strategies;
the energy storage peak regulation strategy is based on the power grid side power data delta P detected by the system,
Obtaining the active output delta P of the energy storage peak regulation
fThe energy storage voltage regulation strategy is based on the power grid side voltage data delta u detected by the system,
Obtaining the reactive output delta Q of the energy storage voltage regulation, wherein the energy storage frequency modulation strategy is carried out according to the power grid side frequency data delta f detected by the system,
Obtaining the active output delta P of the energy storage frequency modulation
p;
S2, calculating the effectiveness index of the energy storage power station, and accordingly determining the effectiveness of the capacity of the energy storage power station and the capacity of the current converter on each scene of the energy storage power station; specifically, the effectiveness index is calculated and the effectiveness is judged by adopting the following steps:
A. calculating the peak regulation effectiveness index a by adopting the following formula1:
In the formula,. DELTA.P
fActive power output, Δ P, required for peak shaving
f0Initial value of active power output when peak shaving power is applied to energy storage power station, E
Bess0Is the energy storage capacity;
adjusting the total power consumption for peak clipping and valley filling;
B. calculating the frequency modulation effectiveness index a by adopting the following formula2:
In the formula,. DELTA.P
pActive power required for frequency modulation, Δ P
p0Initial value of active output when frequency-modulated output is applied to an energy-storage power station, E
Bess0Is the energy storage capacity;
the total electric quantity consumed for frequency modulation;
C. the pressure regulation effectiveness index a is calculated by adopting the following formula3:
In the formula, delta Q is reactive output required by voltage regulation, and S is the converter capacity of the energy storage node;
D. the effectiveness of the capacity of the energy storage power station and the capacity of the current converter on the energy storage power station participating in each scene is judged by adopting the following rules:
if the peak regulation effectiveness index is 1, indicating that the energy storage power station can participate in a peak regulation working scene; if the peak regulation effectiveness index is 0, indicating that the energy storage power station cannot participate in a peak regulation working scene;
if the frequency modulation effectiveness index is 1, indicating that the energy storage power station can participate in a frequency modulation working scene; if the frequency modulation effectiveness index is 0, indicating that the energy storage power station cannot participate in a frequency modulation working scene;
if the pressure regulation effectiveness index is 1, indicating that the energy storage power station can participate in a pressure regulation working scene; if the pressure regulation effectiveness index is 0, indicating that the energy storage power station cannot participate in a pressure regulation working scene;
s3, calculating an urgency index of the energy storage power station; specifically, the method comprises the following steps of:
a. calculating the peak regulation urgency index b by adopting the following formula1:
In the formula,. DELTA.PcIs the deviation of the actual power curve from its mean value, Δ Pc1Is the lower limit of the absolute value of the deviation, Δ Pc2Is the upper limit of the absolute value of the deviation value;
b. calculating the frequency modulation urgency index b by adopting the following formula2:
In the formula,. DELTA.fcIs a frequency deviation,. DELTA.fc1Is the lower limit of the absolute value of the frequency deviation, Δ fc2Is the upper limit of the absolute value of the frequency deviation;
c. calculating the index b of urgency of pressure regulation by adopting the following formula3:
In the formula,. DELTA.ucFor voltage deviation, Δ uc1Is the lower limit of the absolute value of the voltage deviation, Δ uc2Is the upper limit of the absolute value of the voltage deviation;
d. the peak-regulation urgency index b is calculated as follows1Frequency modulation urgency index b2And the urgency index b of regulating blood pressure3And (5) correcting:
in the formula b1·As a corrected peak regulation urgency index, b2·For the modified urgency index of frequency modulation, b3·The corrected index of the urgency of pressure regulation; dPc(dt) is the voltage to power conversion ratio; df is acThe/dt is the change rate of the power grid frequency; du muc(ii) dt is the rate of change of voltage; k is a radical of1、k2And k3Is a set constant; pcThe power value is the power value of the power grid; f. ofcThe frequency value of the power grid is obtained; u. ofcThe value is the voltage value of the power grid;
s4, calculating an importance evaluation index of the energy storage power station; specifically, an importance evaluation index of the energy storage power station is constructed and determined by adopting an analytic hierarchy process; specifically, the importance evaluation index is calculated by the following steps:
(1) constructing a contrast matrix under three scenes of peak regulation, frequency regulation and pressure regulation; specifically, a contrast matrix is constructed by adopting the following rules:
the importance levels of element i and element j are equally divided into five levels: grade one, grade two, grade three, grade four, grade five;
when the importance degree of the element i and the element j to the previous level factor is the same, aij=1;
When element i is slightly more important than element j, aij3; the less important definition is: the importance degree is ranked one higher, such as: a grade two-ratio grade I, a grade three-ratio grade II, a grade four-ratio grade III and a grade five-ratio grade IV;
when element i is more important than element j, aij(ii) 5; the important definitions are: degree of importanceThe degree is two-level higher, such as: a grade three-ratio grade I, a grade four-ratio grade II and a grade five-ratio grade III; when element i is more important than element j, aij7; the much more important definition is: the importance degree is higher and higher, such as: grade four is to grade one, grade five is to grade two;
when element i is more important than element j, aij9; the extremely important definitions are: the importance degree grades are four high, such as: grade five to grade one;
the method for grading the importance degree and judging the comparison of the importance degree only represents a specific mode, the grading and judging method can also be a definition mode of different numerical values, for example, the importance degree can be divided into more than five grades, and the evaluation method is correspondingly modified in adaptability;
when the importance of the elements i and j is between aij2n-1 and aij2n +1, aij=2n;n=1,2,3;
(2) Calculating the characteristic vector of the matrix and the relative weight under three scenes; the method comprises the following steps of:
1) summing the columns of the matrix;
2) normalizing each column
Thereby obtaining a matrix B;
3) summing each row of the normalized matrix B obtained in the step 2) to obtain a feature vector;
4) normalizing the characteristic vector obtained in the step 3) again
Thereby obtaining a relative weight c
1=W
1,c
2=W
2,c
3=W
3;
(3) Checking the consistency of the matrix; the method specifically comprises the following steps of checking consistency:
calculating maximum special of matrixRoot of Chinese wampee
Calculating the consistency index of the matrix according to the maximum characteristic root of the matrix
Calculating a random consistency ratio; and according to the calculated random consistency ratio, carrying out the consistency check of the matrix; in particular to calculate the random consistency ratio
R.i. is an average random consistency index, which is a constant calculated from experience; if the C.R. > 0.1 indicates that the significant level is not maintained, the contrast matrix needs to be adjusted; if the C.R. is less than or equal to 0.1, the significance level is kept, and the contrast matrix is kept consistent;
s5, determining the priority of the energy storage power station participating in each scene according to the urgency index of the step S3 and the importance assessment index of the step S4;
s6, determining the current main working scene and auxiliary working scene of the energy storage power station according to the priority result obtained in the step S5; specifically, the following rules are adopted to determine the current main working scene and auxiliary working scene of the energy storage power station:
calculating a scene determination value:
the peak regulation scene decision value is the corrected peak regulation urgency index and the corrected peak regulation urgency index weight;
the frequency modulation scene decision value x is corrected to obtain a frequency modulation urgency index weight;
the pressure regulating scene decision value is x, and the corrected pressure regulating urgency index is the pressure regulating urgency index weight;
x is a set adjustment coefficient between 0 and 1;
judging a working scene:
if the peak-shaving scene decision value is maximum, taking the peak shaving as a main scene and the frequency and pressure modulation as an auxiliary scene;
if the frequency modulation scene decision value is maximum, the frequency modulation is used as a main scene, and the peak-load regulation and the pressure regulation are used as auxiliary scenes;
if the judgment value of the voltage regulating scene is maximum, the voltage regulation is used as a main scene, and the peak regulation and frequency modulation are used as an auxiliary scene;
s7, determining the active output and the reactive output of the energy storage power station according to the active output required by peak regulation, the active output required by frequency modulation, the reactive output required by voltage regulation, the apparent power of a current converter of the energy storage power station obtained in the step S1 and the current main working scene and auxiliary working scene of the energy storage power station obtained in the step S6: specifically, the active power output and the reactive power output of the energy storage power station are calculated by adopting the following formulas:
when the peak regulation is a main scene and the frequency and voltage regulation is an auxiliary scene, the active output P of the energy storage power station
c=ΔP
fReactive power of energy storage power station
When the frequency modulation is used as a main scene and the peak and voltage regulation is used as an auxiliary scene, the active output P of the energy storage power station
c=ΔP
pReactive power of energy storage power station
When the voltage regulation is a main scene and the peak regulation and frequency modulation are auxiliary scenes, the active output of the energy storage power station
Reactive output Q of energy storage power station
c=ΔQ;
In the formula,. DELTA.PfActive output required for peak shaving, S is converter capacity at the energy storage node, Δ PpThe delta Q is the active output required for frequency modulation and the reactive output required for voltage regulation.