Disclosure of Invention
In view of the above, the invention provides an energy storage control method, an energy storage control device and a virtual power plant, which improve the control precision of load power through hierarchical energy storage control and ensure the stability of the virtual power plant when participating in power grid operation or power transaction.
In order to achieve the above purpose, the invention provides the following specific technical scheme:
an energy storage control method is applied to a controller of a virtual power plant, and the virtual power plant further comprises the following steps: the virtual power plant energy storage system comprises a first-level energy storage system and a second-level energy storage system, wherein the first-level energy storage system is connected to a power distribution system of the virtual power plant, the second-level energy storage system is deployed in a park microgrid in the virtual power plant, and the method comprises the following steps:
determining an operating mode of the virtual power plant;
determining a first power interval of the park microgrid grid-connected point and a second power interval of the virtual power plant grid-connected point according to the operation mode of the virtual power plant;
controlling the charging or discharging of the secondary energy storage system, and controlling the power output from the park microgrid grid-connected point to the power distribution system within the first power interval;
and controlling the primary energy storage system to operate a peak clipping and valley filling mode, and controlling the output power of the power distribution system within the second power interval.
Optionally, when the operation mode of the virtual power plant is internal load management, the first power interval of the campus microgrid grid-connected point and the second power interval of the virtual power plant grid-connected point are determined according to the operation mode of the virtual power plant, including:
acquiring power historical data of the park microgrid grid-connected point in a preset time period;
calculating a maximum demand control value and an optimal storage capacity value of the energy storage of the microgrid in the park according to the historical power data in the preset time period;
determining a charging boundary power value of the energy stored by the park micro-grid according to the optimal storage capacity value of the energy stored by the park micro-grid;
determining the maximum demand control value of the park micro-grid energy storage as the upper limit value of the first power interval, and determining the charging boundary power value of the park micro-grid energy storage as the lower limit value of the first power interval;
and calculating the upper limit value and the lower limit value of the second power interval by using the maximum demand control value of the energy storage of the microgrid in the park and the peak clipping and valley filling margin coefficient.
Optionally, the calculating a maximum demand control value and an optimal storage capacity value of the campus microgrid energy storage according to the historical power data of the campus microgrid grid-connected point in a preset time period includes:
for each calculation period in the preset time period, calculating to obtain a plurality of energy storage capacity values and a plurality of energy storage power values in the calculation period according to power historical data in the calculation period and the initial value and increment of a preset target demand value, and calculating the optimal energy storage capacity value and the optimal energy storage power value in the calculation period according to the maximum user side profit optimization target;
and determining the optimal energy storage capacity value and the optimal energy storage power value in the preset time period according to the optimal energy storage capacity value and the optimal energy storage power value in each calculation period in the preset time period, and determining the optimal energy storage power value in the preset time period as the maximum demand control value of the park micro-grid energy storage.
Optionally, the calculating the upper limit value and the lower limit value of the second power interval by using the maximum demand control value of the energy storage of the campus microgrid and the peak clipping and valley filling margin coefficient includes:
determining the sum of the maximum demand control values of all the park micro-grid energy storage in the virtual power plant as the maximum demand value of the primary energy storage system;
determining the product value of the maximum demand value of the primary energy storage system and the primary peak clipping and valley filling discharge margin coefficient as the upper limit value of the second power interval;
and determining the product value of the upper limit value of the second power interval and the first-stage peak clipping and valley filling charge margin coefficient as the lower limit value of the second power interval.
Optionally, the controlling the charging or discharging of the secondary energy storage system, and controlling the power output from the campus microgrid grid-connected point to the power distribution system within the first power interval includes:
when the power of the park microgrid grid-connected point exceeds the upper limit value of the first power interval, controlling the secondary energy storage system to discharge, and controlling the power output by the park microgrid grid-connected point to the power distribution system within the first power interval;
and when the power of the park microgrid grid-connected point is lower than the lower limit value of the first power interval, controlling the secondary energy storage system to charge, and controlling the power output from the park microgrid grid-connected point to the power distribution system within the first power interval.
Optionally, the controlling the primary energy storage system to operate a peak clipping and valley filling mode, and controlling the output power of the power distribution system in the second power interval includes:
when the power of the grid-connected point of the virtual power grid exceeds the upper limit value of the second power interval, controlling the primary energy storage system to discharge with first preset power, and controlling the output power of the power distribution system in the second power interval, wherein the first preset power is larger than the upper limit value of the second power interval;
and when the power of the virtual grid connection point is lower than the lower limit value of the second power interval, controlling the primary energy storage system to be charged with second preset power, and controlling the output power of the power distribution system in the second power interval, wherein the second preset power is smaller than the lower limit value of the second power interval.
Optionally, when the operation mode of the virtual power plant is external power transaction, the first power interval of the campus microgrid grid-connected point and the second power interval of the virtual power plant grid-connected point are determined according to the operation mode of the virtual power plant, and the determining includes:
determining an upper limit value and a lower limit value of the first power interval of the campus microgrid grid-connected point according to a supply and demand protocol of external power transaction and external load information;
and determining the maximum demand value of the primary energy storage system by using the upper limit value of the first power interval of the park microgrid grid-connected point, and calculating the upper limit value and the lower limit value of the second power interval according to the maximum demand value of the primary energy storage system and the peak clipping and valley filling margin coefficient.
An energy storage control device is arranged in a controller of a virtual power plant, and the virtual power plant further comprises: one-level energy storage system and second grade energy storage system, one-level energy storage system inserts the distribution system of virtual power plant, second grade energy storage system deploys garden microgrid in the virtual power plant, the device includes:
an operation mode determination unit for determining an operation mode of the virtual power plant;
the power interval determining unit is used for determining a first power interval of the park microgrid grid-connected point and a second power interval of the virtual power plant grid-connected point according to the operation mode of the virtual power plant;
the secondary energy storage system control unit is used for controlling the secondary energy storage system to charge or discharge and controlling the power output from the park microgrid grid-connected point to the power distribution system within the first power interval;
and the primary energy storage system control unit is used for controlling the primary energy storage system to operate a peak clipping and valley filling mode and controlling the output power of the power distribution system in the second power interval.
Optionally, when the operation mode of the virtual power plant is internal load management, the power interval determining unit includes:
the acquisition subunit is used for acquiring power historical data of the park microgrid grid-connected point in a preset time period;
the first calculating subunit is configured to calculate a maximum demand control value and an optimal storage capacity value of the campus microgrid energy storage according to the historical power data in the preset time period;
the first determining subunit is configured to determine a charging boundary power value of the energy stored by the campus microgrid according to the optimal storage capacity value of the energy stored by the campus microgrid;
the second determining subunit is configured to determine the maximum demand control value of the campus microgrid energy storage as the upper limit value of the first power interval, and determine the charging boundary power value of the campus microgrid energy storage as the lower limit value of the first power interval;
and the second calculating subunit calculates an upper limit value and a lower limit value of the second power interval by using the maximum demand control value of the energy storage of the microgrid in the park and the peak clipping and valley filling margin coefficient.
Optionally, the first calculating subunit is specifically configured to, for each calculation cycle in the preset time period, obtain a plurality of energy storage capacity values and a plurality of energy storage power values in the calculation cycle by calculation according to the power history data in the calculation cycle and an initial value and an increment of a preset target demand value, and calculate an optimal energy storage capacity value and an optimal energy storage power value in the calculation cycle with a maximum user-side profit as an optimization target;
and determining the optimal energy storage capacity value and the optimal energy storage power value in the preset time period according to the optimal energy storage capacity value and the optimal energy storage power value in each calculation period in the preset time period, and determining the optimal energy storage power value in the preset time period as the maximum demand control value of the park micro-grid energy storage.
Optionally, the peak clipping and valley filling margin coefficient includes a first-stage peak clipping and valley filling discharge margin coefficient and a first-stage peak clipping and valley filling charge margin coefficient, and the second calculating subunit is specifically configured to:
determining the sum of the maximum demand control values of all the park micro-grid energy storage in the virtual power plant as the maximum demand value of the primary energy storage system;
determining the product value of the maximum demand value of the primary energy storage system and the primary peak clipping and valley filling discharge margin coefficient as the upper limit value of the second power interval;
and determining the product value of the upper limit value of the second power interval and the first-stage peak clipping and valley filling charge margin coefficient as the lower limit value of the second power interval.
Optionally, the secondary energy storage system control unit is specifically configured to:
when the power of the park microgrid grid-connected point exceeds the upper limit value of the first power interval, controlling the secondary energy storage system to discharge, and controlling the power output by the park microgrid grid-connected point to the power distribution system within the first power interval;
and when the power of the park microgrid grid-connected point is lower than the lower limit value of the first power interval, controlling the secondary energy storage system to charge, and controlling the power output from the park microgrid grid-connected point to the power distribution system within the first power interval.
Optionally, the primary energy storage system control unit is specifically configured to:
when the power of the grid-connected point of the virtual power grid exceeds the upper limit value of the second power interval, controlling the primary energy storage system to discharge with first preset power, and controlling the output power of the power distribution system in the second power interval, wherein the first preset power is larger than the upper limit value of the second power interval;
and when the power of the virtual grid connection point is lower than the lower limit value of the second power interval, controlling the primary energy storage system to be charged with second preset power, and controlling the output power of the power distribution system in the second power interval, wherein the second preset power is smaller than the lower limit value of the second power interval.
Optionally, when the operation mode of the virtual power plant is external power transaction, the power interval determining unit is specifically configured to:
determining an upper limit value and a lower limit value of the first power interval of the campus microgrid grid-connected point according to a supply and demand protocol of external power transaction and external load information;
and determining the maximum demand value of the primary energy storage system by using the upper limit value of the first power interval of the park microgrid grid-connected point, and calculating the upper limit value and the lower limit value of the second power interval according to the maximum demand value of the primary energy storage system and the peak clipping and valley filling margin coefficient.
A virtual power plant, comprising:
a controller for performing the energy storage control method as defined in any one of the above;
a power distribution system;
the system comprises at least one park microgrid, a power distribution system and a control system, wherein the park microgrid is connected to the power distribution system and comprises energy storage equipment, power generation equipment and load equipment;
a primary energy storage system and a secondary energy storage system;
the primary energy storage equipment is connected into the power distribution system;
the secondary energy storage system is deployed in the park microgrid.
Compared with the prior art, the invention has the following beneficial effects:
according to the energy storage control method disclosed by the invention, the power output from the grid-connected point of the microgrid in the park to the power distribution system is controlled within a controllable range by controlling the charging or discharging of the secondary energy storage system, and the output power of the power distribution system is kept within a stable range by controlling the operation of the primary energy storage system in a peak clipping and valley filling mode, so that the stability of a virtual power plant participating in the operation of the power grid and the power transaction is ensured.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The inventor finds out through research that: the current virtual power plant technology cannot control the load power of a grid-connected point in a stable range according to the operation requirement and the electric power transaction requirement of a power grid, so that the stability of the virtual power plant when participating in the operation and the electric power transaction of the power grid cannot be ensured.
In order to solve the above technical problem, the present invention provides an energy storage control method, which is applied to a controller of a virtual power plant, please refer to fig. 1, where fig. 1 is a schematic structural diagram of the virtual power plant, and the virtual power plant further includes: the system comprises a first-level energy storage system and a second-level energy storage system, wherein the first-level energy storage system is connected to a power distribution system of a virtual power plant, the second-level energy storage system is deployed in a park microgrid in the virtual power plant, and at least one park microgrid is arranged. Under the condition that the operation mode of the virtual power plant is determined, the power output from the grid-connected point of the microgrid in the park to the power distribution system is controlled within a controllable range under the operation mode by controlling the charging or discharging of the secondary energy storage system, and the output power of the power distribution system is kept within a stable range by controlling the operation of the primary energy storage system in a peak clipping and valley filling mode, so that the stability of the virtual power plant when participating in power grid operation or power transaction is ensured.
Specifically, referring to fig. 2, the energy storage control method disclosed in this embodiment includes the following steps:
s101: determining an operation mode of a virtual power plant;
the virtual power plant can run in different running modes to meet different running requirements of the virtual power plant, and the running modes of the virtual power plant comprise internal load management and external power transaction.
When the virtual power plant operates in the internal load management mode, power control is performed on loads in the park microgrid, at the moment, the loads consume power, the power is positive, and the park microgrid operates in a demand management mode.
When the virtual power plant operates in an external power trading mode, power is supplied externally, the power is negative, and the park microgrid enters a power generation mode.
S102: determining a first power interval of a park microgrid grid-connected point and a second power interval of the virtual power plant grid-connected point according to the operation mode of the virtual power plant;
it should be noted that different operation modes correspond to different first power intervals of the campus microgrid grid-connected point and different second power intervals of the virtual power plant grid-connected point.
S103: controlling the charging or discharging of the secondary energy storage system, and controlling the power output from the park microgrid grid-connected point to the power distribution system within a first power interval;
specifically, when the power of the park microgrid grid-connected point exceeds the upper limit value of a first power interval, the secondary energy storage system is controlled to discharge, and the power output from the park microgrid grid-connected point to the power distribution system is controlled within the first power interval;
and when the power of the park microgrid grid-connected point is lower than the lower limit value of the first power interval, controlling the secondary energy storage system to charge, and controlling the power output from the park microgrid grid-connected point to the power distribution system in the first power interval.
S104: and controlling the primary energy storage system to operate a peak clipping and valley filling mode, and controlling the output power of the power distribution system within a second power interval.
Specifically, when the power of the grid-connected point of the virtual power grid exceeds the upper limit value of a second power interval, the primary energy storage system is controlled to discharge with first preset power, the output power of the power distribution system is controlled in the second power interval, and the first preset power is larger than the upper limit value of the second power interval;
and when the power of the virtual grid connection point is lower than the lower limit value of a second power interval, controlling the primary energy storage system to be charged with second preset power, and controlling the output power of the power distribution system in the second power interval, wherein the second preset power is smaller than the lower limit value of the second power interval.
The first preset power and the second preset power can be preset according to an actual application scene.
When the virtual power plant operates in an internal load management mode, power control is carried out on loads in the park microgrid in the virtual power plant, the power output to the power distribution system by the park microgrid grid-connected point is kept in a controllable range, the output power of the power distribution system of the virtual power plant is kept in a stable range, and internal aggregation management and coordination optimization are achieved.
When the virtual power plant operates in an external power transaction mode, power control is performed on loads in the park microgrid in the simulated power plant according to a supply and demand protocol of the external power transaction and external load information, so that the power output from a park microgrid grid-connected point to a power distribution system is kept in a controllable range, the output power of the power distribution system of the virtual power plant is kept in a stable range, and the stable power which accords with the power transaction is output externally.
That is, no matter which mode the virtual power plant operates in, the purpose of the secondary energy storage control is to manage the internal demand, and the purpose of the primary energy storage control is to perform peak clipping and valley filling on the external output power, specifically referring to fig. 3, where fig. 3 is a schematic diagram illustrating the energy storage control effect in different operation modes in this embodiment.
The following specifically describes how to determine a first power interval of a campus microgrid grid-connected point and a second power interval of a virtual power plant grid-connected point in two operation modes.
Management of internal loads
Referring to fig. 4, in the internal load management mode, the method for determining the first power interval of the campus microgrid grid-connected point and the second power interval of the virtual power plant grid-connected point includes the following steps:
s201: acquiring power historical data of a park microgrid grid-connected point in a preset time period;
in order to accurately calculate the maximum demand control value and the optimal storage capacity value of the microgrid energy storage in the park based on the power historical data, the time of the preset time period is preferably one month or more than one month.
S202: calculating a maximum demand control value and an optimal storage capacity value of the energy storage of the microgrid in the park according to power historical data in a preset time period;
specifically, for each calculation period in a preset time period, according to power historical data in the calculation period and an initial value and increment of a preset target demand value, a plurality of energy storage capacity values and a plurality of energy storage power values in the calculation period are obtained through calculation, and the maximum profit at the user side is used for optimizing the optimal energy storage capacity value and the optimal energy storage power value in the target calculation period;
and determining the optimal energy storage capacity value and the optimal energy storage power value in the preset time period according to the optimal energy storage capacity value and the optimal energy storage power value of each calculation period in the preset time period, and determining the optimal energy storage power value in the preset time period as the maximum demand control value of the energy storage of the microgrid in the park.
Wherein, the calculation period may be one day.
For each day of power history data within a preset time period, performing the following steps:
(1) and taking the power data P [ ], and obtaining the maximum power demand value Pmax in one day.
(2) And setting an initial value and an increment of the target demand value according to the maximum power demand value.
The target demand value represents a target value of the demand value, and the calculation formula of the target demand value is as follows:
Ps=aPmax+j*(1/n)*Pmax
wherein a is the percentage of the algorithm starting value;
the value a is set to reduce the calculation amount of the algorithm, and the value a can be set by selecting a percentage from 0 to 99 percent according to the actual impact load condition of an enterprise;
aPmax represents the initial value of the target demand value;
j 1, 2, 3,.. n, which represents a total of j;
n is the average division of Pmax into n equal parts;
for more refinement, the larger the n value, the better the n value can be determined according to the actual situation;
j (1/n) Pmax represents the increment of the target demand value, and the larger j is, the larger the increment of the target demand value is;
(3) integrating the difference value between the actual load power of each sampling point in one day and the target demand value to obtain an energy storage capacity value;
the actual load power of each sampling point can be obtained according to the real-time power historical data in one day.
Specifically, the calculation formula of the energy storage capacity is as follows:
S=∫(P-Ps)dt
when P-Ps is less than or equal to 0, let P be Ps.
The energy storage capacity is the integral of the difference value between the actual load power and the target demand value, and the integral duration is one whole day.
(5) And outputting n energy storage capacity values and n energy storage power values in one day according to the initial value and the increment of the set target demand value along with the continuous increase of the increment of the target demand value.
(6) And calculating the user side income by adopting a cyclic algorithm and taking the energy storage capacity value and the energy storage power value as variables, and calculating the optimal energy storage capacity value and the optimal energy storage power value in the calculation period by taking the maximum user side income as an optimization target.
The maximum benefit obtained by the user side is as follows:
Cymax (profit-cost) max [ b PL- (β S [ + g PL)
Wherein, Cy is the maximum income obtained by the user side;
b is the demand electricity price coefficient;
beta is the cost coefficient of the stored energy power;
g is the inverter cost coefficient;
and when the gain Cy obtained by the user side reaches the maximum, taking the obtained energy storage capacity value and energy storage power value as the optimal energy storage capacity value and the optimal energy storage power value output by the algorithm. Outputting the optimal energy storage capacity value and the optimal energy storage power value in one day through the boundary condition;
the method for determining the optimal energy storage capacity value and the optimal energy storage power value in the preset time period according to the optimal energy storage capacity value and the optimal energy storage power value in each calculation cycle in the preset time period comprises the following steps:
sequencing the optimal energy storage capacity value and the optimal energy storage power value of each calculation cycle in the preset time period;
and determining the optimal energy storage capacity value and the optimal energy storage power value, of which the probability greater than other optimal energy storage capacity values and optimal energy storage power values in the sequence meets a preset probability value, as the optimal energy storage capacity value and the optimal energy storage power value in the preset time period.
For example, the preset probability value can be set to 99%, and the influence of factors such as no working on the enterprise holiday, sudden load change, load fault and the like on the calculation result is eliminated.
It can be understood that, if there is no optimal energy storage capacity value and/or optimal energy storage power value within the preset time period calculated in the above steps, the energy storage product on the market needs to correct the optimal energy storage capacity value and/or optimal energy storage power value within the preset time period calculated in the above steps, and the optimal energy storage capacity value and/or optimal energy storage power value may be corrected according to the principle that the optimal energy storage capacity value and/or optimal energy storage power value are not taken down.
Specifically, an energy storage product set is preset, the energy storage product set comprises all energy storage products on the market at present, and each energy storage product has an energy storage capacity value and an energy storage power value. When the optimal energy storage capacity value and/or the optimal energy storage power value in the preset time period do not exist in the preset energy storage product set, in the energy storage product of which the energy storage capacity value is not less than the optimal energy storage capacity value in the preset time period and the energy storage power value is not less than the optimal energy storage power value in the preset time period, the energy storage capacity value and the energy storage power value of the energy storage product which are closest to the optimal energy storage capacity value and the optimal energy storage power value in the preset time period are determined as the corrected optimal energy storage capacity value and the optimal energy storage power value in the preset time period.
Meanwhile, if the enterprise has a load to be planned in the future to be put into operation, the capacity increase and the work expansion of the stored energy are carried out according to the planned value.
And setting an optimal demand control limit value according to the optimal energy storage power value and a demand control margin coefficient in the preset time period, wherein the demand control margin coefficient is set according to the ratio of the number of peaks exceeding the maximum energy control demand in the preset time period to the total number of peaks in the preset time period.
Specifically, the optimal demand control value is calculated by the following formula:
P_goal=h*PL
and h is a demand control margin coefficient, and P _ goal is a maximum demand control value of the energy storage of the microgrid in the park.
The demand control margin coefficient h is selected according to the percentage of the power impact exceeding peak value of the actual system in order to ensure the control margin set for eliminating the maximum load demand.
S203: determining a charging boundary power value of the energy stored by the park micro-grid according to the optimal storage capacity value of the energy stored by the park micro-grid;
the charging boundary power value setting method includes the following steps that a plurality of influence factors are set, the most important influence factor is the optimal storage capacity value of the energy stored in the microgrid in the park, and various methods can be used for selecting other influence factors and how to set the charging boundary power value by using the plurality of influence factors, and the setting can be performed according to actual application scenarios without specific limitation.
S204: determining a maximum demand control value of the energy storage of the park micro-grid as an upper limit value of a first power interval, and determining a charging boundary power value of the energy storage of the park micro-grid as a lower limit value of the first power interval;
s205: and calculating an upper limit value and a lower limit value of a second power interval by using the maximum demand control value of the energy storage of the microgrid in the park and the peak clipping and valley filling margin coefficient.
Specifically, firstly, determining the sum of the maximum demand control values of the micro-grid energy storage of all parks in the virtual power plant as the maximum demand value of a primary energy storage system;
Pmax_goal=∑(P_goal1,。。。。。P_goaln)
pmax _ good represents the maximum demand value of the primary energy storage system, and P _ good1,。。。。。P_goalnAnd respectively representing the maximum demand control value of each park microgrid for energy storage.
Then, determining the product value of the maximum demand value of the primary energy storage system and the primary peak clipping and valley filling discharge margin coefficient as the upper limit value of a second power interval;
Pt_goal=Pmax_goal*γ
wherein, Pt _ coarse is the upper limit value of the second power interval, and gamma is the first-level peak clipping and valley filling discharge margin coefficient, preferably (0.6-1).
And finally, determining the product value of the upper limit value of the second power interval and the first-stage peak clipping and valley filling charge margin coefficient as the lower limit value of the second power interval.
Pyu_goal=Pt_goal*α
Wherein Pyu _ good is the lower limit of the second power interval, and α is the peak clipping, valley filling and charge margin coefficient of the primary energy storage system, preferably (0.8-0.9).
Second, external electric power transaction
Referring to fig. 5, in the external power transaction mode, the method for determining the first power interval of the campus microgrid grid-connected point and the second power interval of the virtual power plant grid-connected point includes the following steps:
s301: determining an upper limit value and a lower limit value of the first power interval of the park microgrid grid-connected point according to a supply and demand protocol of external power transaction and external load information;
s302: and determining the maximum demand value of the primary energy storage system by using the upper limit value of the first power interval of the park microgrid grid-connected point, and calculating the upper limit value and the lower limit value of the second power interval according to the maximum demand value of the primary energy storage system and the peak clipping and valley filling margin coefficient.
The sum of the upper limit values of the first power intervals of the microgrid grid-connected points of all the parks is determined as the maximum demand value of the primary energy storage system.
And calculating an upper limit value and a lower limit value of the second power interval according to the maximum demand value and the peak clipping and valley filling margin coefficient of the primary energy storage system, please refer to an internal load management mode, and details are not repeated herein.
Based on the energy storage control method disclosed in the above embodiment, this embodiment correspondingly discloses an energy storage control device, which is arranged in a controller of a virtual power plant, and the virtual power plant further includes: referring to fig. 6, the apparatus includes a first-stage energy storage system and a second-stage energy storage system, where the first-stage energy storage system is connected to a power distribution system of the virtual power plant, and the second-stage energy storage system is deployed in a campus microgrid in the virtual power plant:
an operation mode determination unit 100 for determining an operation mode of the virtual power plant;
a power interval determining unit 200, configured to determine, according to the operation mode of the virtual power plant, a first power interval of the campus microgrid grid-connected point and a second power interval of the virtual power plant grid-connected point;
the secondary energy storage system control unit 300 is configured to control the secondary energy storage system to charge or discharge, and control the power output from the campus microgrid grid-connected point to the power distribution system within the first power interval;
and the primary energy storage system control unit 400 is configured to control the primary energy storage system to operate a peak clipping and valley filling mode, and control the output power of the power distribution system within the second power interval.
Optionally, when the operation mode of the virtual power plant is internal load management, the power interval determining unit includes:
the acquisition subunit is used for acquiring power historical data of the park microgrid grid-connected point in a preset time period;
the first calculating subunit is configured to calculate a maximum demand control value and an optimal storage capacity value of the campus microgrid energy storage according to the historical power data in the preset time period;
the first determining subunit is configured to determine a charging boundary power value of the energy stored by the campus microgrid according to the optimal storage capacity value of the energy stored by the campus microgrid;
the second determining subunit is configured to determine the maximum demand control value of the campus microgrid energy storage as the upper limit value of the first power interval, and determine the charging boundary power value of the campus microgrid energy storage as the lower limit value of the first power interval;
and the second calculating subunit calculates an upper limit value and a lower limit value of the second power interval by using the maximum demand control value of the energy storage of the microgrid in the park and the peak clipping and valley filling margin coefficient.
Optionally, the first calculating subunit is specifically configured to, for each calculation cycle in the preset time period, obtain a plurality of energy storage capacity values and a plurality of energy storage power values in the calculation cycle by calculation according to the power history data in the calculation cycle and an initial value and an increment of a preset target demand value, and calculate an optimal energy storage capacity value and an optimal energy storage power value in the calculation cycle with a maximum user-side profit as an optimization target;
and determining the optimal energy storage capacity value and the optimal energy storage power value in the preset time period according to the optimal energy storage capacity value and the optimal energy storage power value in each calculation period in the preset time period, and determining the optimal energy storage power value in the preset time period as the maximum demand control value of the park micro-grid energy storage.
Optionally, the peak clipping and valley filling margin coefficient includes a first-stage peak clipping and valley filling discharge margin coefficient and a first-stage peak clipping and valley filling charge margin coefficient, and the second calculating subunit is specifically configured to:
determining the sum of the maximum demand control values of all the park micro-grid energy storage in the virtual power plant as the maximum demand value of the primary energy storage system;
determining the product value of the maximum demand value of the primary energy storage system and the primary peak clipping and valley filling discharge margin coefficient as the upper limit value of the second power interval;
and determining the product value of the upper limit value of the second power interval and the first-stage peak clipping and valley filling charge margin coefficient as the lower limit value of the second power interval.
Optionally, the secondary energy storage system control unit is specifically configured to:
when the power of the park microgrid grid-connected point exceeds the upper limit value of the first power interval, controlling the secondary energy storage system to discharge, and controlling the power output by the park microgrid grid-connected point to the power distribution system within the first power interval;
and when the power of the park microgrid grid-connected point is lower than the lower limit value of the first power interval, controlling the secondary energy storage system to charge, and controlling the power output from the park microgrid grid-connected point to the power distribution system within the first power interval.
Optionally, the primary energy storage system control unit is specifically configured to:
when the power of the grid-connected point of the virtual power grid exceeds the upper limit value of the second power interval, controlling the primary energy storage system to discharge with first preset power, and controlling the output power of the power distribution system in the second power interval, wherein the first preset power is larger than the upper limit value of the second power interval;
and when the power of the virtual grid connection point is lower than the lower limit value of the second power interval, controlling the primary energy storage system to be charged with second preset power, and controlling the output power of the power distribution system in the second power interval, wherein the second preset power is smaller than the lower limit value of the second power interval.
Optionally, when the operation mode of the virtual power plant is external power transaction, the power interval determining unit is specifically configured to:
determining an upper limit value and a lower limit value of the first power interval of the campus microgrid grid-connected point according to a supply and demand protocol of external power transaction and external load information;
and determining the maximum demand value of the primary energy storage system by using the upper limit value of the first power interval of the park microgrid grid-connected point, and calculating the upper limit value and the lower limit value of the second power interval according to the maximum demand value of the primary energy storage system and the peak clipping and valley filling margin coefficient.
In summary, the embodiment further discloses a virtual power plant, please refer to fig. 1, the virtual power plant includes:
a controller for executing the following energy storage control method:
determining an operating mode of the virtual power plant;
determining a first power interval of the park microgrid grid-connected point and a second power interval of the virtual power plant grid-connected point according to the operation mode of the virtual power plant;
controlling the charging or discharging of the secondary energy storage system, and controlling the power output from the park microgrid grid-connected point to the power distribution system within the first power interval;
and controlling the primary energy storage system to operate a peak clipping and valley filling mode, and controlling the output power of the power distribution system within the second power interval.
Further, when the operation mode of the virtual power plant is internal load management, determining a first power interval of the campus microgrid grid-connected point and a second power interval of the virtual power plant grid-connected point according to the operation mode of the virtual power plant, including:
acquiring power historical data of the park microgrid grid-connected point in a preset time period;
calculating a maximum demand control value and an optimal storage capacity value of the energy storage of the microgrid in the park according to the historical power data in the preset time period;
determining a charging boundary power value of the energy stored by the park micro-grid according to the optimal storage capacity value of the energy stored by the park micro-grid;
determining the maximum demand control value of the park micro-grid energy storage as the upper limit value of the first power interval, and determining the charging boundary power value of the park micro-grid energy storage as the lower limit value of the first power interval;
and calculating the upper limit value and the lower limit value of the second power interval by using the maximum demand control value of the energy storage of the microgrid in the park and the peak clipping and valley filling margin coefficient.
Further, the calculating a maximum demand control value and an optimal storage capacity value of the park microgrid energy storage according to the historical power data of the park microgrid grid-connected point in a preset time period includes:
for each calculation period in the preset time period, calculating to obtain a plurality of energy storage capacity values and a plurality of energy storage power values in the calculation period according to power historical data in the calculation period and the initial value and increment of a preset target demand value, and calculating the optimal energy storage capacity value and the optimal energy storage power value in the calculation period according to the maximum user side profit optimization target;
and determining the optimal energy storage capacity value and the optimal energy storage power value in the preset time period according to the optimal energy storage capacity value and the optimal energy storage power value in each calculation period in the preset time period, and determining the optimal energy storage power value in the preset time period as the maximum demand control value of the park micro-grid energy storage.
Further, the calculating the upper limit value and the lower limit value of the second power interval by using the maximum demand control value of the energy storage of the campus microgrid and the peak clipping and valley filling margin coefficient includes:
determining the sum of the maximum demand control values of all the park micro-grid energy storage in the virtual power plant as the maximum demand value of the primary energy storage system;
determining the product value of the maximum demand value of the primary energy storage system and the primary peak clipping and valley filling discharge margin coefficient as the upper limit value of the second power interval;
and determining the product value of the upper limit value of the second power interval and the first-stage peak clipping and valley filling charge margin coefficient as the lower limit value of the second power interval.
Further, the controlling the charging or discharging of the secondary energy storage system and the controlling the power output from the campus microgrid grid-connected point to the power distribution system in the first power interval include:
when the power of the park microgrid grid-connected point exceeds the upper limit value of the first power interval, controlling the secondary energy storage system to discharge, and controlling the power output by the park microgrid grid-connected point to the power distribution system within the first power interval;
and when the power of the park microgrid grid-connected point is lower than the lower limit value of the first power interval, controlling the secondary energy storage system to charge, and controlling the power output from the park microgrid grid-connected point to the power distribution system within the first power interval.
Further, the controlling the primary energy storage system to operate a peak clipping and valley filling mode to control the output power of the power distribution system within the second power interval includes:
when the power of the grid-connected point of the virtual power grid exceeds the upper limit value of the second power interval, controlling the primary energy storage system to discharge with first preset power, and controlling the output power of the power distribution system in the second power interval, wherein the first preset power is larger than the upper limit value of the second power interval;
and when the power of the virtual grid connection point is lower than the lower limit value of the second power interval, controlling the primary energy storage system to be charged with second preset power, and controlling the output power of the power distribution system in the second power interval, wherein the second preset power is smaller than the lower limit value of the second power interval.
Further, when the operation mode of the virtual power plant is external power transaction, according to the operation mode of the virtual power plant, a first power interval of the campus microgrid grid-connected point and a second power interval of the virtual power plant grid-connected point are determined, including:
determining an upper limit value and a lower limit value of the first power interval of the campus microgrid grid-connected point according to a supply and demand protocol of external power transaction and external load information;
and determining the maximum demand value of the primary energy storage system by using the upper limit value of the first power interval of the park microgrid grid-connected point, and calculating the upper limit value and the lower limit value of the second power interval according to the maximum demand value of the primary energy storage system and the peak clipping and valley filling margin coefficient.
The virtual power plant further comprises:
a power distribution system;
the system comprises at least one park microgrid, a power distribution system and a control system, wherein the park microgrid is connected to the power distribution system and comprises energy storage equipment, power generation equipment and load equipment;
a primary energy storage system and a secondary energy storage system;
the primary energy storage equipment is connected into the power distribution system;
the secondary energy storage system is deployed in the park microgrid.
The primary energy storage system and the secondary energy storage system are divided according to voltage grades.
Because most of the current provinces implement two power generation prices, and many small and medium-sized enterprises are provided with energy storage batteries for reducing the demand, on the basis, the virtual power plant can complete the distributed energy aggregation control of each park microgrid only by adding a first-level energy storage system.
And by adopting a multi-stage energy storage system, the requirement on the charge and discharge power of stored energy is lower, and aggregated resources are easily matched.
The load control precision is higher by adopting the multi-stage energy storage than the single-stage energy storage, the power output from the park microgrid grid-connected point to the power distribution system is controlled in a controllable range under the operation mode by controlling the charging or discharging of the secondary energy storage system, and the output power of the power distribution system is kept in a stable range by controlling the operation peak clipping and valley filling mode of the primary energy storage system, so that the stability of the virtual power plant when participating in power grid operation or power transaction is ensured.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.