Disclosure of Invention
In order to solve the defects in the prior art, the invention provides a wind-solar energy storage exchange control method and system of a virtual synchronous generator.
The technical scheme provided by the invention is as follows:
a wind and solar energy storage exchange control method of a virtual synchronous generator comprises the following steps:
determining deviation power according to the power grid dispatching requirement and the power output of the distributed system;
supplementing the offset power based on a control strategy of an energy exchanger;
wherein the control strategy of the energy exchanger comprises: distributed system and centralized energy storage system control strategy.
Preferably, the offset power is calculated as follows:
in the formula,. DELTA.Pp_iFor the deviation power, the deviation of the grid demand reference from the actual power output, P0Dispatching a demand reference value for the power grid; pj_iMechanical power for a virtual synchronous generator; ploadThe local load of the microgrid system is obtained; and i is the number of the virtual synchronous generators.
Preferably, the energy exchange based control strategy supplements the offset power; the method comprises the following steps:
the energy exchanger selects a centralized energy storage system to supply power or a distributed layered regulation and control strategy to supplement the power required by the power grid based on the working state of the distributed power generation system;
when the distributed power generation system is in maximum power output, the energy exchanger selects the centralized energy storage system for scheduling;
otherwise, the energy exchanger selects to be combined with the distributed system or the distributed system and the energy storage system connected with the distributed system in parallel for scheduling.
Preferably, when the distributed power generation system is at the maximum power output, the energy exchanger selects the centralized energy storage system for scheduling, including:
the energy exchanger performs power allocation as follows:
in the formula,. DELTA.Pp_iThe deviation power is the deviation of the power grid demand reference value and the actual power output; pstr_iOutputting power of the energy storage system; n is the number of energy storage systems; f. ofx_iTo call a conditional function of the energy storage system.
Preferably, the energy exchanger is selected to be scheduled by a distributed system or a combination of the distributed system and an energy storage system connected in parallel with the distributed system, and the method includes:
the energy exchanger performs power allocation as follows:
in the formula,. DELTA.Pp_iThe deviation power is the deviation of the power grid demand reference value and the actual power output; pstr_iOutputting power of the energy storage system; n is the number of energy storage systems; f. ofx_iCalling a condition function of the energy storage system; peng_kOutputting power for distributed energy; m is the number of distributed energy sources; pstr_iOutputting power of the energy storage system; f. ofy_kThe condition function of the photovoltaic/wind power generation system is called.
Preferably, the distributed system includes: wind stores up system and light and stores up the system.
Another objective of the present invention is to provide a wind-solar energy storage exchange control system of a virtual synchronous generator, comprising: the device comprises a deviation determining module and an analysis processing module;
the deviation determining module is used for determining deviation power according to the power grid dispatching requirement and the power output of the distributed system;
the analysis processing module is used for supplementing the deviation power based on a control strategy of an energy exchanger including a distributed system and a centralized energy storage system, wherein the control strategy of the energy exchanger comprises: distributed system and centralized energy storage system control strategy.
Preferably, the deviation determining module includes: a calculation submodule;
the calculating submodule is used for calculating the deviation power according to the following formula:
in the formula,. DELTA.Pp_iFor the deviation power, the deviation of the grid demand reference from the actual power output, P0Dispatching a demand reference value for the power grid; pj_iMechanical power for a virtual synchronous generator; ploadThe local load of the microgrid system is obtained; and i is the number of the virtual synchronous generators.
Preferably, the analysis processing module includes: an analysis submodule and a processing submodule;
the analysis submodule is used for selecting a centralized energy storage system to supply power or a distributed layered regulation and control strategy to supplement the power required by the power grid based on the working state of the distributed power generation system by the energy exchanger;
the processing submodule is used for selecting the centralized energy storage system for scheduling by the energy exchanger when the distributed power generation system is in maximum power output;
otherwise, the energy exchanger selects to be combined with the distributed system or the distributed system and the energy storage system connected with the distributed system in parallel for scheduling.
Preferably, the processing sub-module includes: a centralized scheduling unit;
the centralized scheduling unit is used for selecting the centralized energy storage system for scheduling by the energy exchanger when the distributed power generation system is in maximum power output, and performing power distribution according to the following formula,
in the formula,. DELTA.Pp_iThe deviation power is the deviation of the power grid demand reference value and the actual power output; pstr_iOutputting power of the energy storage system; n is the number of energy storage systems; f. ofx_iTo call a conditional function of the energy storage system.
Preferably, the processing sub-module further includes: a distributed scheduling unit;
the distributed scheduling unit is used for the energy exchanger to select the combination of a distributed system or the combination of the distributed system and an energy storage system connected with the distributed system in parallel for scheduling, and performs power distribution according to the following formula:
in the formula, Peng_kOutputting power for distributed energy; m is the number of distributed energy sources; f. ofy_kThe condition function of the photovoltaic/wind power generation system is called. Preferably, the distributed system includes: wind stores up system and light and stores up the system.
Compared with the prior art, the invention has the beneficial effects that:
the technical scheme provided by the invention determines the deviation power according to the power grid dispatching requirement and the power output of the distributed system; supplementing the offset power based on a control strategy of an energy exchanger; the control strategy of the energy exchanger comprises: distributed system and centralized energy storage system control strategy. When the energy exchange between distributed energy and the whole microgrid system is considered, a centralized-distributed multi-layer energy exchange control strategy is adopted, seamless switching of different distributed energy sources to a main inverter is realized, and meanwhile, the seamless switching of the stable operation of the whole microgrid system and the grid-connected/isolated island operation mode of the microgrid system is also realized.
According to the technical scheme, in the process of considering multilayer energy exchange, based on the centralized-distributed energy exchange control of the multilayer energy storage system, the energy storage elements on the network side of the energy exchanger effectively simulate the rotational inertia of a synchronous generator, the whole energy exchanger can simulate the output of the synchronous generator to support the frequency of a power grid under the condition that the frequency of the power grid is reduced, and the synchronous generator can be simulated to store energy into different energy storage systems under the condition that the frequency of the power grid is too high.
The energy exchange control method in the technical scheme provided by the invention has strong practicability, and can be used in a micro-grid system with different distributed energy combinations to improve the operation stability of a power system and realize active support of a large power grid.
Detailed Description
For a better understanding of the present invention, reference is made to the following description taken in conjunction with the accompanying drawings and examples.
According to the characteristics of distributed energy grid connection, a wind-solar energy storage exchange control method based on a virtual synchronous generator is provided: the output end of photovoltaic/wind power generation in the wind storage and light storage two systems is connected with an energy storage device and an inverter device in parallel, the inverter device is connected with the microgrid in a virtual synchronous generator mode, when energy exchange between distributed energy and the whole microgrid system is considered, a centralized-distributed hierarchical energy exchange control strategy is adopted, and the lower-layer control mode mainly considers the independent energy exchange control mode of light storage/wind storage; the upper-layer control mode mainly considers the energy exchange between the centralized energy storage device and the lower-layer light storage/wind storage, realizes the seamless switching of different distributed energy sources to the main inverter in different operation modes, and accurately and quickly meets the scheduling requirements of the micro-grid system and the power grid.
A wind and solar energy storage exchange control method of a virtual synchronous generator comprises the following steps:
determining deviation power according to the power grid dispatching requirement and the power output of the distributed system;
supplementing the offset power based on a control strategy of an energy exchanger;
wherein the control strategy of the energy exchanger comprises: distributed system and centralized energy storage system control strategy.
Specifically, a wind-solar energy storage exchange control method based on a virtual synchronous generator, wherein a microgrid system inverter is controlled as shown in fig. 1. The method comprises the following steps:
firstly, taking a direct-drive permanent magnet wind generating set as an example, in order to realize the voltage stabilization of the output of a wind power generating system and the decoupling control of active power and reactive power, a grid-side converter adopts a directional voltage vector control strategy on a rotor magnetic field, and the obtained steady-state voltage equation is
Wherein k ispA fixed resistance value for the d-q axis; i.e. idrefOutputting a d-axis component of a reference current for the grid-side converter; i.e. iqrefOutputting a q-axis component of a reference current for the grid-side converter; id and iq are current d-q axis components output by the grid-side converter; ud and uq are d-q axis components of voltage output by the grid-side converter; omega is synchronous rotating speed; u. ofgIs the grid voltage; k is a radical ofiA d-q axis time-varying resistance value; l is the inductance value of the three-phase incoming line reactor; and R is a line resistance value of the three-phase incoming line reactor.
Active power P output by network side convertergReactive power QgAre respectively as
Wherein u isgdIs the d-axis component of the power output to the grid; u. ofgqIs the q-axis component of the power output to the grid.
When the grid-side converter of the wind power generation system is controlled, the actual values of active power and reactive power are compared with the reference value, the difference value signal is sent to the PI control unit, the component of the current on the d-q axis is calculated, the current value is sent to the PI control unit, and the modulated voltage value is obtained.
Second, calculating the output current i of the photovoltaic cellpvIs composed of
Wherein, KIBoltzmann constant; i isscrThe short circuit current value of the photovoltaic cell under ideal conditions; t is an ambient temperature value; srThe number of the photovoltaic panels; i isrsIs a diode reverse saturation current; q is the electron charge amount; u shapedcIs the output voltage value; a is polar tube polarity factor.
The photovoltaic adopts a maximum power tracking control mode, and the output voltage and current are sampled in real time to obtain the power value P output by the photovoltaic cellpvIs composed of
Ppv=Udcipv(4)
Sampling the photovoltaic output at the same time interval, and solving the difference value delta P of the output power of the battery with the difference delta t between two time nodespvIf Δ PpvWhen the power output is more than 0, the power output is changed according to the power output trend (the direction of power increase); if ΔPpv< 0, power output is performed in the opposite direction (the direction of power increase) at this time.
Thirdly, in order to maintain the stable output of the voltage and the power of the wind power generation system and the photovoltaic system, an energy storage battery is required to be incorporated into the distributed energy system, and the real-time state of charge (SOC) of the energy storage battery is
Therein, SOC0A state of charge as a starting point; i.e. ibCharging current for the energy storage battery; and E is the total capacity of the battery.
Output voltage value U of energy storage batterybIs composed of
Wherein A is the amplitude within the voltage output index range; t is0Is a time constant; u shape0Is the opening voltage value; rbIs the internal resistance; k is the capacity coefficient.
Fourthly, regarding the inverter connected with the distributed energy sources as a virtual synchronous generator, and providing a mechanical motion equation of the virtual synchronous generator as
Wherein, ω isiIs the electrical angular velocity; j. the design is a squareiIs the moment of inertia; pj_iIs mechanical power; pc_iIs the electromagnetic power; diIs the damping coefficient. i is different inverters, i is a photovoltaic inverter; and i-2 is a wind power generation system inverter.
Wherein,is a synchronous generator three-phase potential;is the three-phase current of the synchronous generator.
Fifthly, adjusting the virtual mechanical power P of the virtual synchronous generatorj_iObtaining an active power command P according to the grid-connected inverterref_iThereby calculating the frequency deviation to obtain a feedback command delta Pf_i=Pref_i-Pj_iThe power deviation instruction is input into the inverter from the energy storage device through the bidirectional DC/DC converter so as to compensate the power deviation.
If the frequency deviation is satisfied
ΔPf_i=kf_if0-kf_ifi(9)
Wherein k isf_iAdjusting coefficients for active power of different virtual synchronous generators; f. of0Rated frequency for the distribution network; f. ofiIs the port frequency of the virtual synchronous generator.
The mechanical power of the virtual synchronous generator is further arranged to be
Pj_i=Pref_i-(kf_if0-kf_ifi) (10)
Sixthly, adjusting virtual electric potential e of the virtual synchronous generator to realize the terminal voltage and reactive power value, wherein the virtual electric potential eiIs expressed as
ei=e0_i+ΔeU_i+ΔeQ_i=e0_i+kU_i(urefs_i-us_i)+kQ_i(urefQ_i-uQ_i)
(11)
Wherein e is0_iIs the no-load potential energy of the virtual synchronous generator; Δ eU_iAdjusting the output potential energy for the virtual synchronous generator voltage or excitation; Δ eQ_iAdjusting the corresponding reactive power value for the virtual synchronous generator; k is a radical ofU_iTo adjust the voltage difference coefficient; k is a radical ofQ_iAdjusting the reactive difference coefficient; u. ofrefs_iA reference value for the inverter output voltage; u. ofs_iAn actual value for the inverter output voltage; u. ofrefQ_iA reference value for the output power of the inverter; u. ofQ_iIs the actual value of the inverter output voltage.
Seventhly, determining the power output value of the whole distributed system according to the power grid dispatching center, and calculating the deviation delta P between the power grid demand reference value and the actual power output according to the fixed time delta tp_i. And the power grid requirements are met through the energy exchanger integrated dispatching.
Wherein, P0For grid power demand, when P0> 0, represents the output power to the grid when P0If the power is less than 0, the power is supplied by the power grid for representing the microgrid; pj_iMechanical power for a virtual synchronous generator; ploadThe local load of the microgrid system is obtained; and i is the number of the virtual synchronous generators.
The photovoltaic system and the wind power generation system are connected to form two virtual synchronous generators, as shown in fig. 2-3, the two virtual synchronous generators and a centralized energy storage system form an energy exchanger together, and power output of the distributed power supply can meet requirements of the microgrid and meanwhile power transmission to the large power grid is guaranteed.
Eighthly, the energy exchanger supplements the power delta P required by the power grid by considering a centralized-distributed hierarchical regulation and control strategy of the distributed actual operation condition according to the power grid requirementp_i。
1) If the photovoltaic power generation system works in the maximum power tracking state P at the momentMPPT_iWhen the wind generating set is already operating at rated power output, the energy exchange system needs to schedule the energy storage device to meet the power grid scheduling requirement.
And calculating the basic characteristics of the operation of each energy storage system to carry out power output distribution.
Wherein, Pstr_iOutputting power of the energy storage system; n is the number of energy storage systems; f. ofx_iIn order to call the condition functions of the energy storage system, including the state of charge, the real-time power, the upper and lower limits of the power and capacity of the energy storage unit, and consider the line loss, etc., an upper-layer scheduling strategy is generally adopted, and a centralized energy storage system is considered as a priority scheduling object.
2) If the distributed energy does not meet the maximum power output, the energy exchange system needs to consider a lower-layer scheduling strategy and schedule the distributed energy or the combination of the distributed energy and the stored energy to meet the scheduling requirement of the power grid.
And calculating the basic characteristics of the operation of each energy storage system to carry out power output distribution.
Wherein, Peng_kOutputting power for distributed energy; m is the number of distributed energy sources; f. ofy_kThe method comprises the steps of calling condition functions of the photovoltaic/wind power generation system, wherein the condition functions comprise real-time power output values of a virtual synchronous generator of the photovoltaic/wind power generation system and the like.
Another objective of the present invention is to provide a wind and solar energy storage switching control system of a virtual synchronous generator, which has the same principle as the wind and solar energy storage switching control method of the virtual synchronous generator, and the system is further described below:
the system comprises: the device comprises a deviation determining module and an analysis processing module;
the deviation determining module is used for determining deviation power according to the power grid dispatching requirement and the power output of the distributed system;
an analysis processing module for supplementing the offset power based on an energy switch including a distributed system and a centralized energy storage system control strategy, wherein the energy switch control strategy comprises: distributed system and centralized energy storage system control strategy.
A deviation determination module comprising: a calculation submodule;
a calculation submodule for calculating the offset power according to:
in the formula,. DELTA.Pp_iFor the deviation power, the deviation of the grid demand reference from the actual power output, P0A power grid demand reference value; pj_iMechanical power for a virtual synchronous generator; ploadThe local load of the microgrid system is obtained; and i is the number of the virtual synchronous generators.
An analysis processing module comprising: an analysis submodule and a processing submodule;
the analysis submodule is used for selecting a centralized energy storage system to supply power or a distributed layered regulation and control strategy to supplement the power required by the power grid based on the working state of the distributed power generation system by the energy exchanger;
the processing submodule is used for selecting the centralized energy storage system for scheduling by the energy exchanger when the distributed power generation system is in maximum power output;
otherwise, the energy exchanger selects to be combined with the distributed system or the distributed system and the energy storage system connected with the distributed system in parallel for scheduling.
A processing submodule, comprising: a centralized scheduling unit;
the centralized scheduling unit is used for selecting the centralized energy storage system for scheduling by the energy exchanger when the distributed power generation system is in maximum power output, and performing power distribution according to the following formula,
in the formula,. DELTA.Pp_iThe deviation power is the deviation of the power grid demand reference value and the actual power output; pstr_iOutputting power of the energy storage system; n is the number of energy storage systems; f. ofx_iTo call a conditional function of the energy storage system.
The processing submodule further comprises: a distributed scheduling unit;
the distributed scheduling unit is used for the energy exchanger to select the combination of a distributed system or the combination of the distributed system and an energy storage system connected with the distributed system in parallel for scheduling, and performs power distribution according to the following formula:
in the formula, Peng_kOutputting power for distributed energy; m is the number of distributed energy sources; f. ofy_kThe condition function of the photovoltaic/wind power generation system is called. A distributed system, comprising: wind stores up system and light and stores up the system.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The present invention is not limited to the above embodiments, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention are included in the scope of the claims of the present invention which are filed as the application.