Control method and device of power storage device and computer program product
By adopting the control method of power storage devices in the wind farm and using the grid-type and grid-type control modes, the problem of power supply interruption in the wind farm when the grid is faulty is solved, the stable power supply of the wind turbine is achieved, and the system reliability is improved.
Patent Information
- Application Number
- CN202411812721.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-03-28
AI Technical Summary
Wind farms often face power supply interruptions in grid failure or extreme weather, causing the key systems of wind turbines to fail to work properly, increasing the risk of equipment damage, and the existing diesel generators are low in reliability and cannot supply stable power.
A control method for power storage devices is provided, which is charged when the power grid is normal and is converted into a grid-type control mode when the power grid is interrupted, and is discharged and powered to the wind turbine unit.
It realizes power supply to the wind turbine when the wind farm and the power grid are interrupted, reduces the risk of equipment damage and improves the reliability and stability of the wind farm.
Smart Images

Figure CN119727076A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wind power generation, and in particular to a control method, device and computer program product of an electricity storage device. Background Art
[0002] Wind farms often face power outages when encountering power grid failures or extreme weather. In this case, critical systems and safety equipment of wind turbines, such as control systems and yaw systems, may not work properly due to the loss of power support, increasing the risk of equipment damage. In the prior art, offshore wind turbines are usually equipped with diesel generators to provide auxiliary power to the wind turbines in the event of a power outage. However, diesel generators require regular maintenance, are prone to failure in harsh environments, have low reliability, and cannot stably supply power to wind turbines.
[0003] Therefore, in the related art, there is a problem of power outage of wind turbines due to interruption between wind farms and power grids.
[0004] With regard to the problem of power outage of wind turbines due to interruption between wind farms and power grids in related technologies, no effective solution has been proposed so far.
[0005] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology. Summary of the invention
[0006] The embodiments of the present application provide a control method, device and computer program product for an electricity storage device, so as to at least solve the problem in the related art that the interruption between the wind farm and the power grid causes the wind turbine to lose power.
[0007] According to one aspect of an embodiment of the present application, there is provided a control method for an electric storage device, which is applied to a wind farm, wherein the wind farm comprises a plurality of wind turbines, the plurality of wind turbines are connected to a power grid, the electrical systems of the plurality of wind turbines comprise a box-type transformer, and the electric storage device is connected to a low-voltage side of the box-type transformer, the method comprising: in response to an electric storage instruction, controlling the electric storage device to charge in a grid-following control mode, wherein the grid-following control mode indicates that the electric storage device operates according to grid parameters; in case it is determined that the state of charge value of the electric storage device reaches a preset value, controlling the electric storage device to stop charging; in case it is detected that the connection between the wind farm and the power grid is interrupted, controlling the electric storage device to discharge in a grid-forming control mode, wherein the grid-forming control mode indicates that the electric storage device operates independently.
[0008] In an exemplary embodiment, the power storage device includes a battery, an inverter and a circuit breaker, the battery is connected to the inverter, the inverter is connected to the circuit breaker, the circuit breaker is connected to the low-voltage side of the box-type transformer, the circuit breaker is used to control the disconnection and connection of the circuit of the power storage device, the inverter includes a grid-based control module, and controls the power storage device to be charged in a grid-based control mode, including: determining the common connection point frequency, the common connection point phase angle, the common connection point orthogonal axis current control target value through the grid-based control module, and the first A DC axis current control target value at the front end of an inverter filter capacitor and a first inverter modulation voltage control target value, wherein a common connection point represents a connection point between the power storage device and the low voltage side of the box-type transformer; and the working mode of the inverter is adjusted according to the common connection point frequency, the common connection point phase angle, the common connection point DC axis current control target value, the first inverter filter capacitor front end DC axis current control target value and the first inverter modulation voltage control target value to control the power storage device to charge in the grid-based control mode.
[0009] In an exemplary embodiment, the grid-based control module includes a phase-locked loop phase angle calculation unit, a current outer loop calculation unit, a current intermediate loop calculation unit, and a current inner loop calculation unit. The grid-based control module is used to determine the common connection point frequency, the common connection point phase angle, the common connection point orthogonal axis current control target value, the first inverter filter capacitor front end orthogonal axis current control target value, and the first inverter modulation voltage control target value, including: inputting the three-phase voltage measured by the power grid into the phase-locked loop phase angle calculation unit to obtain the common connection point frequency and the common connection point phase angle output by the phase-locked loop phase angle calculation unit; inputting the power grid into the phase-locked loop phase angle calculation unit to obtain the common connection point frequency and the common connection point phase angle output by the phase-locked loop phase angle calculation unit; The three-phase voltage is measured, and the three-phase current of the power grid is measured. The active reference value and reactive reference value of the power grid are input into the current outer loop calculation unit to obtain the orthogonal axis current control target value of the common connection point output by the current outer loop calculation unit; the orthogonal axis current control target value of the common connection point is input into the current intermediate loop calculation unit to obtain the orthogonal axis current control target value of the front end of the first inverter filter capacitor output by the current intermediate loop calculation unit; the three-phase current measurement value of the front end of the inverter filter capacitor is input into the current inner loop calculation unit to obtain the first inverter modulation voltage control target value output by the current inner loop calculation unit.
[0010] In an exemplary embodiment, the method also includes: the inverter also includes a meshing control module, which controls the power storage device to discharge in a meshing control mode, including: determining the common connection point rectangular axis voltage control target value, the second inverter filter capacitor front end rectangular axis current control target value and the second inverter modulation voltage control target value through the meshing control module; adjusting the working mode of the inverter according to the common connection point rectangular axis voltage control target value, the second inverter filter capacitor front end rectangular axis current control target value and the second inverter modulation voltage control target value to control the power storage device to discharge in the meshing control mode.
[0011] In an exemplary embodiment, the meshed control module includes a power synchronization calculation unit, a voltage outer loop calculation unit and the current inner loop calculation unit. The meshed control module is used to determine the common connection point orthogonal axis voltage control target value, the second inverter filter capacitor front end orthogonal axis current control target value and the second inverter modulation voltage control target value, including: inputting the three-phase voltage measured by the power grid, the three-phase current measured by the power grid, the power grid active reference value and the power grid reactive reference value into the power synchronization calculation unit to obtain the common connection point orthogonal axis voltage control target value output by the power synchronization calculation unit; inputting the common connection point orthogonal axis voltage control target value into the voltage outer loop calculation unit to obtain the second inverter filter capacitor front end orthogonal axis current control target value output by the voltage outer loop calculation unit; inputting the three-phase current measurement value of the inverter filter capacitor front end into the current inner loop calculation unit to obtain the second inverter modulation voltage control target value output by the current inner loop calculation unit.
[0012] In an exemplary embodiment, when it is detected that the connection between the wind farm and the power grid is interrupted, after controlling the power storage device to discharge in a grid-forming control mode, the method further includes: powering the multiple wind turbines with the electric energy generated by the discharge of the power storage device; and controlling the multiple wind turbines to perform yaw adjustment so that the multiple wind turbines can perform real-time yaw to face the wind.
[0013] According to another aspect of an embodiment of the present application, a control device for an electricity storage device is also provided, including: a first control module, for responding to an electricity storage instruction, controlling the electricity storage device to charge in a grid-based control mode, wherein the grid-based control mode indicates that the electricity storage device operates according to grid parameters; a second control module, for controlling the electricity storage device to stop charging when it is determined that the state of charge value of the electricity storage device reaches a preset value; and a third control module, for controlling the electricity storage device to discharge in a grid-based control mode when it is detected that the connection between the wind farm and the grid is interrupted, wherein the grid-based control mode indicates that the electricity storage device operates independently.
[0014] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the control method of the power storage device when running.
[0015] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the control method of the power storage device through the computer program.
[0016] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.
[0017] Through this application, the power storage device can be controlled to charge in a grid-following control mode in response to the power storage instruction. When it is determined that the state of charge value of the power storage device reaches a preset value, the power storage device is controlled to stop charging. When it is detected that the connection between the wind farm and the power grid is interrupted, the power storage device is controlled to discharge in a grid-forming control mode. This solves the problem of power loss of wind turbines caused by the interruption of wind farms and power grids in related technologies, and achieves the effect of supplying power to wind turbines when the wind farm and power grid are interrupted. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] Figure 1 It is a hardware structure block diagram of a computer terminal of a control method of a power storage device according to an embodiment of the present application;
[0021] Figure 2 is a flow chart of a control method of a power storage device according to an embodiment of the present application;
[0022] Figure 3 is a circuit structure diagram of a wind farm according to an embodiment of the present application;
[0023] Figure 4 is a circuit structure diagram of a unit maintenance and auxiliary power supply according to an embodiment of the present application;
[0024] Figure 5 is a circuit structure diagram of a grid-connected control module of an inverter of an electric storage device according to an embodiment of the present application;
[0025] Figure 6 is a schematic diagram of a phase angle calculation process of a phase-locked loop according to an embodiment of the present application;
[0026] Figure 7 is a circuit structure diagram of a grid-type control module of an inverter of an electric storage device according to an embodiment of the present application;
[0027] Figure 8 is a schematic flow chart of a control method of a power storage device according to an embodiment of the present application;
[0028] Fig. 9 It is a structural block diagram of a control device of a power storage device according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 1 is a hardware structure block diagram of a computer terminal of a control method for a power storage device according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA)) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0032] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the control method of the power storage device in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0033] A wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0034] In this embodiment, a control method for an electric storage device is provided, which is applied to a wind farm, wherein the wind farm includes a plurality of wind turbines connected to a power grid, wherein an electrical system of the plurality of wind turbines includes a box-type transformer, and the electric storage device is connected to a low-voltage side of the box-type transformer. Figure 2 is a flow chart of a control method of a power storage device according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0035] Step S202, in response to the power storage instruction, controlling the power storage device to charge in a grid-based control mode, wherein the grid-based control mode indicates that the power storage device operates according to grid parameters;
[0036] Step S204, when it is determined that the state of charge value of the power storage device reaches a preset value, controlling the power storage device to stop charging;
[0037] Step S206, when it is detected that the connection between the wind farm and the power grid is interrupted, controlling the power storage device to discharge in a grid-forming control mode, wherein the grid-forming control mode indicates that the power storage device operates independently.
[0038] Through the above steps, the power storage device can be controlled to charge in a grid-following control mode in response to the power storage instruction, and the power storage device can be controlled to stop charging when the state of charge value of the power storage device reaches a preset value. When the disconnection between the wind farm and the grid is detected, the power storage device can be controlled to discharge in a grid-building control mode. This solves the problem of power loss to the wind turbine set due to the disconnection between the wind farm and the grid in the related art, and achieves the effect of supplying power to the wind turbine set when the wind farm and the grid are disconnected.
[0039] In an optional embodiment, the connection relationship between the wind farm, wind turbines, and power storage device is as follows: Figure 3 As shown, an offshore wind farm has n collectors 6, and each collector is equipped with 4 wind turbines of 10MW or above, which can be direct drive, semi-direct drive and double-fed wind turbines. The electrical system of each wind turbine is mainly composed of a box transformer 2, a unit maintenance and auxiliary power supply 3, a converter 4, a wind turbine 5, etc. The low-voltage side of the box transformer 2 in the electrical system of the wind turbine at the end of each collector (the end close to the AC bus 8) is connected to the power storage device 1. The power storage device 1 is mainly composed of a battery 1-1, an inverter 1-2, a circuit breaker 1-3, etc. Each collector is connected to the 66kV AC bus of the booster station through a circuit breaker 7, and then the voltage is increased to 220kV through the transformer of the booster station and then connected to the power grid. The battery power of the power storage device is configured to be 1.1 times the total power of the maintenance and auxiliary power supply of each unit of the collector, and meets the requirements of charging and discharging for more than 12 hours.
[0040] In an optional embodiment, the configuration scheme of the above unit maintenance and auxiliary power supply is as follows: Figure 4As shown, the unit maintenance and auxiliary power supply 3 is composed of a dry-type transformer 310, a tower base maintenance and auxiliary power supply 320, and a cabin maintenance and auxiliary power supply 330. The dry-type transformer 310 is mainly composed of a circuit breaker 311 and a step-down winding 312. The tower base maintenance and auxiliary power supply 320 is composed of a circuit breaker 321, a transformer 322, a circuit breaker 323, a UPS (Uninterruptible Power Supply) power supply 324, a tower base 24V power supply 325, an inverter auxiliary power supply 326, a tower tube lighting 327, a video surveillance 328, an elevator power supply 329, and the like. The cabin maintenance and auxiliary power supply 330 is composed of a circuit breaker 331, a cabin 24V power supply 332, a circuit breaker 333, a yaw system auxiliary power supply 334, a gearbox auxiliary power supply 335, a generator auxiliary power supply 336, a video-fire-CMS (Central Monitoring System) auxiliary power supply 337, a cabin maintenance socket and lighting 338, etc.
[0041] In an exemplary embodiment, the power storage device includes a battery, an inverter and a circuit breaker, the battery is connected to the inverter, the inverter is connected to the circuit breaker, the circuit breaker is connected to the low-voltage side of the box-type transformer, the circuit breaker is used to control the disconnection and connection of the circuit of the power storage device, the inverter includes a grid-based control module, and the above step S202 controls the power storage device to be charged in a grid-based control mode, including: determining the common connection point frequency, the common connection point phase angle, and the common connection point orthogonal axis current control target by the grid-based control module The common connection point represents the connection point between the power storage device and the low-voltage side of the box-type transformer; the working mode of the inverter is adjusted according to the common connection point frequency, the common connection point phase angle, the common connection point direct-axis current control target value, the first inverter filter capacitor front-end direct-axis current control target value and the first inverter modulation voltage control target value to control the power storage device to charge in the grid-based control mode.
[0042] Optionally, in the above embodiment, the structure of the power storage device is as follows: Figure 3 As shown, it is composed of battery 1-1, inverter 1-2, circuit breaker 1-3, etc. The working mode of the inverter can be changed by adjusting the parameters of the inverter. The grid-following control mode means that the inverter adjusts its output frequency, voltage and phase according to the state of the power grid. In this mode, the stability and quality of the inverter output power are low, which is suitable for application scenarios with stable power grid and relatively low requirements for inverter control.
[0043] In an exemplary embodiment, the grid-based control module includes a phase-locked loop phase angle calculation unit, a current outer loop calculation unit, a current intermediate loop calculation unit, and a current inner loop calculation unit. The grid-based control module is used to determine the common connection point frequency, the common connection point phase angle, the common connection point orthogonal axis current control target value, the first inverter filter capacitor front end orthogonal axis current control target value, and the first inverter modulation voltage control target value, including: inputting the three-phase voltage measured by the power grid into the phase-locked loop phase angle calculation unit to obtain the common connection point frequency and the common connection point phase angle output by the phase-locked loop phase angle calculation unit; inputting the power grid into the phase-locked loop phase angle calculation unit to obtain the common connection point frequency and the common connection point phase angle output by the phase-locked loop phase angle calculation unit; The three-phase voltage is measured, and the three-phase current of the power grid is measured. The active reference value and reactive reference value of the power grid are input into the current outer loop calculation unit to obtain the orthogonal axis current control target value of the common connection point output by the current outer loop calculation unit; the orthogonal axis current control target value of the common connection point is input into the current intermediate loop calculation unit to obtain the orthogonal axis current control target value of the front end of the first inverter filter capacitor output by the current intermediate loop calculation unit; the three-phase current measurement value of the front end of the inverter filter capacitor is input into the current inner loop calculation unit to obtain the first inverter modulation voltage control target value output by the current inner loop calculation unit.
[0044] In an optional embodiment, the grid-connected control module of the inverter of the power storage device is as follows: Figure 5 As shown, it includes a phase-locked loop phase angle calculation unit 10, a current outer loop calculation unit 11, a current middle loop calculation unit 12 and a current inner loop calculation unit 13.
[0045] like Figure 5 As shown, the input of the phase-locked loop phase angle calculation unit 10 is the three-phase voltage measured by the power grid, and the output is the power grid PCC (Point of Common Coupling) frequency (equivalent to the above-mentioned common connection point frequency) and the power grid PCC phase angle (equivalent to the above-mentioned common connection point phase angle). The specific calculation process is as follows Figure 6 As shown, first set the initial phase to θ, substitute it into the dq coordinate transformation, and calculate the grid voltage u od and u oq Value, where the dq coordinate transformation is used to convert the three variables (three phases of voltage or current) in the three-phase system into two orthogonal direct axis (d axis) and quadrature axis (q axis) components. The specific calculation formula is as follows:
[0046]
[0047] Among them, T abc-dq represents dq coordinate transformation, u oa ,u ob ,u oc Indicates that the power grid measures three-phase voltage.
[0048] will u oq Substitute into the PI formula to calculate the power grid PCC frequency ω, the formula is as follows:
[0049]
[0050] Among them, K pPLL represents the proportional gain of the phase-locked loop, K iPLL represents the integral gain of the phase-locked loop, represents the integral term.
[0051] Then, integrate ω to calculate the grid PCC phase angle θ * , the formula is as follows:
[0052]
[0053] If u oq If it is not close to 0, the calculated grid PCC phase angle θ * Substitute into formulas (1) to (4) to recalculate the grid PCC frequency and phase angle until u oq Close to 0, locking the grid PCC frequency and phase angle.
[0054] like Figure 5 As shown, the input of the current outer loop calculation unit 11 is the three-phase voltage u measured by the power grid. oabc , the power grid measures the three-phase current i oabc , grid active reference value P ref , grid reactive power reference value Q ref The output is the PCC point dq axis current control target value i odq * (equivalent to the above-mentioned common connection point orthogonal axis current control target value); the current outer loop calculation unit 11 includes a power calculation component 11-1 and a PI (Proportional-Integral) calculation component 11-2;
[0055] like Figure 5 As shown, the power calculation component 11-1 inputs the three-phase voltage and current measured by the power grid, and outputs the active power P measured by the power grid. e and the grid to measure reactive power Q e First, the three-phase voltage u measured by the power grid is converted into oabc , the power grid measures the three-phase current i oabc Converted into dq axis voltage component u odq (including d-axis voltage component u od and the q-axis voltage component u oq ) and dq axis current component i odq (including the d-axis current component i od and the q-axis current component ioq ), and then substitute it into formula (5) to calculate the grid measured active power P e and the grid to measure reactive power Q e .
[0056]
[0057] like Figure 5 As shown, the input of the PI calculation component 11-2 is P e , Q e , P ref and Q ref The output is the PCC point dq axis current control target value i odq * (including d-axis current control target value and q-axis current control target value ), the calculation formula is as follows:
[0058]
[0059] Among them, K pPQ represents the proportional gain of the PI controller for active power and reactive power control, K iPQ represents the integral gain of the PI controller for active power and reactive power control, represents the integral term that integrates the error.
[0060] like Figure 5 As shown, the input of the current intermediate loop calculation unit 12 is the PCC point dq axis current control target value i odq * The output is the inverter filter capacitor front end dq axis current control target value i dq * (equivalent to the above-mentioned orthogonal axis current control target value at the front end of the first inverter filter capacitor.) The current intermediate loop calculation unit 12 includes a differential operation component 12-1 and a dq conversion component 12-2.
[0061] like Figure 5 As shown, the differential operation component 12-1 is used to measure the three-phase voltage u of the power grid. oabc Perform differential operation to calculate the inverter filter capacitor current i Cabc (including phase a filter capacitor current i Ca , b phase filter capacitor current i Cb , c-phase filter capacitor current i Cc ), the calculation formula is as follows:
[0062]
[0063] Among them, C fRepresents the capacity of the filter capacitor, and s represents the differential operator of the differential with respect to time.
[0064] like Figure 5 As shown, the dq conversion component 12-2 is used to convert the inverter filter capacitor current i Cabc and the grid PCC phase angle θ * Substituting into the dq coordinate transformation, the inverter filter capacitor dq axis current i is calculated Cdq Finally, the PCC point dq axis current control target value i odq * and the inverter filter capacitor dq axis current i Cdq Add together to get the inverter filter capacitor front end dq axis current control target value i dq * .
[0065] like Figure 5 As shown, the input of the current inner loop calculation unit 13 is the three-phase current measurement value i of the front end of the inverter filter capacitor abc , the output is the inverter modulation voltage control target value u abc * The current inner loop calculation unit 13 includes a PI calculation component 13 - 1 and a PI calculation component 13 - 2 , a dq coordinate transformation component 13 - 3 and a dq coordinate inverse transformation component 13 - 4 .
[0066] like Figure 5 As shown, first, the three-phase current measurement value i of the front end of the inverter filter capacitor is converted into abc Through dq transformation, it is converted into the dq axis current i at the front end of the inverter filter capacitor dq Then, the voltage value u corresponding to the current loop is calculated by the PI calculation component 13-1 and the PI calculation component 13-2 respectively. id and u iq , the calculation formula is as follows:
[0067]
[0068] Among them, K pc represents the proportional gain of the PI controller for current control, K ic represents the integral gain of the PI controller for current control, represents the integral term for integrating the error, i d Represents the measured value of the direct axis current, i q Indicates the measured value of the quadrature-axis current.
[0069] Then, the inverter dq axis voltage control target value is obtained by introducing the dq axis cross-influence term. The calculation formula is as follows:
[0070]
[0071] Among them, L f Indicates the value of the filter inductor.
[0072] Finally, the inverter dq axis voltage control target value u dq * Substitute the dq coordinate inverse transformation to calculate the inverter modulation voltage control target value u abc * , the calculation formula is as follows:
[0073]
[0074] In an exemplary embodiment, the method also includes: the inverter also includes a meshing control module, and the above step S206 controls the power storage device to discharge in a meshing control mode, including: determining the common connection point rectangular axis voltage control target value, the second inverter filter capacitor front end rectangular axis current control target value and the second inverter modulation voltage control target value through the meshing control module; adjusting the working mode of the inverter according to the common connection point rectangular axis voltage control target value, the second inverter filter capacitor front end rectangular axis current control target value and the second inverter modulation voltage control target value to control the power storage device to discharge in the meshing control mode.
[0075] Optionally, in the above embodiment, the grid-forming control mode refers to the inverter actively generating the frequency, voltage and phase of the output. In this mode, the inverter can operate independently of the grid, and can operate stably even when the grid does not exist. It is suitable for occasions that require high reliability and stability, especially in areas with weak or unstable grids, or occasions where independent operation is required when the grid fails.
[0076] In an exemplary embodiment, the meshed control module includes a power synchronization calculation unit, a voltage outer loop calculation unit and the current inner loop calculation unit. The meshed control module is used to determine the common connection point orthogonal axis voltage control target value, the second inverter filter capacitor front end orthogonal axis current control target value and the second inverter modulation voltage control target value, including: inputting the three-phase voltage measured by the power grid, the three-phase current measured by the power grid, the power grid active reference value and the power grid reactive reference value into the power synchronization calculation unit to obtain the common connection point orthogonal axis voltage control target value output by the power synchronization calculation unit; inputting the common connection point orthogonal axis voltage control target value into the voltage outer loop calculation unit to obtain the second inverter filter capacitor front end orthogonal axis current control target value output by the voltage outer loop calculation unit; inputting the three-phase current measurement value of the inverter filter capacitor front end into the current inner loop calculation unit to obtain the second inverter modulation voltage control target value output by the current inner loop calculation unit.
[0077] In an optional embodiment, the grid-type control module of the inverter of the power storage device is as follows: Figure 7 As shown, it includes a power synchronization calculation unit 15, a voltage outer loop calculation unit 14 and a current inner loop calculation unit 13.
[0078] like Figure 7 As shown, the input of the power synchronization calculation unit 15 is the three-phase voltage u measured by the power grid. oabc , the power grid measures the three-phase current i oabc , grid active reference value P ref , grid reactive power reference value Q ref The output is the PCC point dq axis voltage control target value u odq * (Equivalent to the above-mentioned common connection point orthogonal axis voltage control target value) The power synchronization calculation unit 15 includes a power calculation component 15-1, a droop control component 15-2 and a dq conversion component 15-3.
[0079] The power calculation component 15-1 has the same function as the power calculation component 11-1 of the grid-based control module. The input is the three-phase voltage and the three-phase current measured by the grid, and the output is the active power P measured by the grid. e and the grid to measure reactive power Q e The specific calculation process can refer to the power calculation component 11-1 of the above-mentioned grid-based control module, which will not be repeated here.
[0080] like Figure 7 As shown, the input of the droop control component 15-2 is the grid measured active power P e and the grid to measure reactive power Q e , Active reference value P ref and reactive power reference value Q ref , the output is the PCC point voltage control target value and the grid PCC phase angle control target value The formula is as follows:
[0081]
[0082] Where, ω represents the PCC frequency of the power grid, ω N represents the rated frequency of the power grid PCC, m represents the droop coefficient of active power control, which is used to adjust the frequency according to the active power error, U N represents the rated voltage of the power grid, n represents the droop coefficient of reactive power control, which is used to adjust the voltage according to the reactive power error, Represents the integral term integrating frequency.
[0083] like Figure 7As shown, the dq transformation component 15-3 is used to convert the PCC point three-phase voltage control target value into the dq axis voltage control target value, and the input of the dq transformation component 15-3 is the PCC point voltage control target value. and the grid PCC phase angle control target value The output is the PCC point dq axis voltage control target value u odq * (including d-axis voltage control target value and q-axis voltage control target value ), the calculation formula is as follows:
[0084]
[0085] like Figure 7 As shown, the input of the voltage outer loop calculation unit 14 is the PCC point dq axis voltage control target value u odq * The output is the inverter filter capacitor front end dq axis current control target value i dq * The voltage outer loop calculation unit 14 includes PI calculation components 14 - 1 and 14 - 2 , and dq coordinate transformation components 14 - 3 and 14 - 4 .
[0086] like Figure 7 As shown, first, the three-phase voltage measurement value u at the PCC point is converted by the dq coordinate transformation component 14-3. oabc Converted into dq axis voltage u through dq transformation odq (including d-axis voltage u od and q-axis voltage u oq ). Then the current value i corresponding to the voltage loop is calculated by the PI calculation component 14-1 and the PI calculation component 14-2 respectively. dq , the calculation formula is as follows:
[0087]
[0088] Among them, K pu represents the proportional gain of the PI controller for voltage control, K iu represents the integral gain of the PI controller for voltage control, represents the integral term that integrates the error.
[0089] Afterwards, the three-phase current measurement value i of the PCC point is converted into oabc Converted into dq axis current i odq Finally, by introducing the dq axis cross-influence term, the inverter filter capacitor front dq axis current control target value i is obtained. dq * , the calculation formula is as follows:
[0090]
[0091] like Figure 7 As shown, the input of the current inner loop calculation unit 13 is the three-phase current measurement value i of the front end of the inverter filter capacitor abc , the output is the inverter modulation voltage control target value u abc * The current inner loop calculation unit 13 includes PI calculation components 13-1 and PI calculation components 13-2, dq coordinate transformation components 13-3 and dq coordinate inverse transformation components 13-4. The specific calculation process can refer to the current inner loop calculation unit 13 of the above-mentioned grid-based control module, which will not be repeated here.
[0092] In an exemplary embodiment, when it is detected that the connection between the wind farm and the power grid is interrupted, after controlling the power storage device to discharge in a grid-forming control mode, the method further includes: powering the multiple wind turbines with the electric energy generated by the discharge of the power storage device; and controlling the multiple wind turbines to perform yaw adjustment so that the multiple wind turbines can perform real-time yaw to face the wind.
[0093] Obviously, the above-described embodiments are only a part of the embodiments of the present application, not all of the embodiments. In order to better understand the above-mentioned method for determining the power generation area, the above-mentioned process is described below in conjunction with the embodiments, but it is not intended to limit the technical solutions of the embodiments of the present application, specifically:
[0094] In an optional embodiment, in combination Figure 8 The control method of the power storage device of the present application is further described. Figure 8 As shown, the specific steps include:
[0095] Step S801: The SCADA system prompts that the typhoon entry time is less than 24 hours.
[0096] Step S802: Enter the backup power supply preparation mode. Check the wind farm power grid, communication network, personnel status, etc., all wind turbines are connected to the grid normally, and the power storage device is charged in the grid-based control mode.
[0097] Step S803: Determine whether the SOC of the power storage device is greater than 90% or the typhoon entry time is less than 12 hours. If so, execute step S804; otherwise, execute step S802.
[0098] Step S804: determine whether the yaw error is greater than the pre-cable unwinding angle, for example, determine whether the current twisting angle of each wind turbine is greater than 360° (equivalent to the pre-cable unwinding angle). If yes, execute step S805; otherwise, execute step S806.
[0099] Step S805: Perform yaw untwisting to release the twisted cable angle by 360° to leave a margin for adjusting the yaw angle in the next stage.
[0100] Step S806: Each wind turbine generator system enters a high wind power generation mode, and the energy storage device stops charging and discharging.
[0101] Step S807: When a typhoon strikes, determine whether the wind speed is greater than a set value (cut-out wind speed) or the typhoon entry time is less than 4 hours. If so, execute step S808; otherwise, execute step S806.
[0102] Step S808: The wind turbine generator system enters the typhoon resistance mode and shuts down.
[0103] Step S809: Determine whether the power grid is off. If the power grid is cut off, execute step S810. If the power grid is not cut off, use the mains power of the power grid to supply power for maintenance and auxiliary power of each unit, and then execute step S811.
[0104] Step S810: Enter the backup power supply start-up mode. Disconnect the circuit breakers of each collector line, and the power storage device discharges in a grid-type control mode. ref and Q ref The droop control is used for setting, and the specific formula is as follows:
[0105]
[0106] Step S811: determine whether the yaw error is greater than the yaw to wind threshold, if yes, execute step S812, otherwise execute step S813.
[0107] Step S812: Yaw to the wind. In the typhoon resistance mode, except for the early warning and alarm signals related to personal safety and serious equipment safety, other early warning and alarm signals are shielded, and each wind turbine sets yaw to the wind in real time, and adjust the upwind or downwind direction of the wind set according to the average yaw error within 30 seconds.
[0108] Step S813: Determine whether the wind speed (10-minute average) < the set value and the SCADA system prompts that a typhoon has entered the country. If so, execute step S814; otherwise, execute step S812.
[0109] Step S814: Check whether the unit self-checks the status. The SCADA system activates each unit to enter the recovery detection mode, which includes: resetting the early warning and alarm signals that were blocked during the typhoon; checking whether the unit status is normal; checking whether the power grid is normal; and checking whether the entire wind farm communication network is normal. If the self-check result is normal, execute step S815; otherwise, execute step S816.
[0110] Step S815: The unit resumes automatic operation.
[0111] Step S816: Manually inspect and maintain, troubleshoot, and restore the unit to operation.
[0112] Through the above embodiments, the problem of long-term power outage of wind turbines after failure of the submarine cable sent out by the wind farm during a typhoon or power outage of the power grid can be effectively solved. The inverter grid control of the energy storage device supplies power to each wind turbine of each collector line for maintenance and auxiliary power supply, so that the wind turbine has automatic yaw, dehumidification and anti-corrosion functions during power outage, ensuring that the wind turbine is in a safe and controllable state. The solution of the present application connects the energy storage device to the low-voltage AC side of the wind turbine box at the end of each collector line, which can be applicable to multiple types of direct-drive, semi-direct-drive and double-fed wind turbines, and can effectively reduce the cost of the energy storage device and improve reliability.
[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0114] In this embodiment, a control device for a power storage device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0115] Fig. 9 : is a structural block diagram of a control device for an electric storage device according to an embodiment of the present application, the device comprising:
[0116] A first control module 92, for controlling the power storage device to charge in a grid-based control mode in response to the power storage instruction, wherein the grid-based control mode indicates that the power storage device operates according to grid parameters;
[0117] A second control module 94 is used to control the power storage device to stop charging when it is determined that the state of charge value of the power storage device reaches a preset value;
[0118] The third control module 96 is used to control the power storage device to discharge in a grid-forming control mode when it is detected that the connection between the wind farm and the grid is interrupted. The grid-forming control mode means that the power storage device operates independently.
[0119] Through the above device, the power storage device can be controlled to charge in a grid-following control mode in response to the power storage instruction. When it is determined that the state of charge value of the power storage device reaches a preset value, the power storage device is controlled to stop charging. When it is detected that the connection between the wind farm and the power grid is interrupted, the power storage device is controlled to discharge in a grid-forming control mode. This solves the problem of power loss of wind turbines caused by the interruption of wind farms and power grids in related technologies, and achieves the effect of supplying power to wind turbines when the wind farm and power grid are interrupted.
[0120] In an exemplary embodiment, the power storage device includes a battery, an inverter and a circuit breaker, the battery is connected to the inverter, the inverter is connected to the circuit breaker, the circuit breaker is connected to the low-voltage side of the box-type transformer, and the circuit breaker is used to control the disconnection and connection of the circuit of the power storage device. The inverter includes a grid-based control module, a first control module 92, and is also used to: determine the common connection point frequency, the common connection point phase angle, the common connection point orthogonal axis current control target value, the first inverter filter capacitor front end orthogonal axis current control target value and the first inverter modulation voltage control target value through the grid-based control module, wherein the common connection point represents the connection point between the power storage device and the low-voltage side of the box-type transformer; according to the common connection point frequency, the common connection point phase angle, the common connection point orthogonal axis current control target value, the first inverter filter capacitor front end orthogonal axis current control target value and the first inverter modulation voltage control target value, the working mode of the inverter is adjusted to control the power storage device to charge using the grid-based control mode.
[0121] In an exemplary embodiment, the grid-based control module includes a phase-locked loop phase angle calculation unit, a current outer loop calculation unit, a current intermediate loop calculation unit and a current inner loop calculation unit, and the first control module 92 is further used to: input the three-phase voltage measured by the power grid into the phase-locked loop phase angle calculation unit to obtain the common connection point frequency and the common connection point phase angle output by the phase-locked loop phase angle calculation unit; input the three-phase voltage measured by the power grid, the three-phase current measured by the power grid, the active power reference value of the power grid and the reactive power reference value of the power grid into the current outer loop calculation unit to obtain the common connection point orthogonal axis current control target value output by the current outer loop calculation unit; input the common connection point orthogonal axis current control target value into the current intermediate loop calculation unit to obtain the first inverter filter capacitor front end orthogonal axis current control target value output by the current intermediate loop calculation unit; input the three-phase current measurement value of the inverter filter capacitor front end into the current inner loop calculation unit to obtain the first inverter modulation voltage control target value output by the current inner loop calculation unit.
[0122] In an exemplary embodiment, the method also includes: the inverter also includes a meshing control module, a third control module 96, and is also used to: determine the common connection point rectangular axis voltage control target value, the second inverter filter capacitor front end rectangular axis current control target value and the second inverter modulation voltage control target value through the meshing control module; adjust the working mode of the inverter according to the common connection point rectangular axis voltage control target value, the second inverter filter capacitor front end rectangular axis current control target value and the second inverter modulation voltage control target value to control the power storage device to discharge using the meshing control mode.
[0123] In an exemplary embodiment, the grid-type control module includes a power synchronization calculation unit, a voltage outer loop calculation unit and the current inner loop calculation unit. The third control module 96 is also used to: input the three-phase voltage measured by the power grid, the three-phase current measured by the power grid, the active reference value of the power grid and the reactive reference value of the power grid into the power synchronization calculation unit to obtain the direct-axis voltage control target value of the common connection point output by the power synchronization calculation unit; input the direct-axis voltage control target value of the common connection point into the voltage outer loop calculation unit to obtain the direct-axis current control target value of the front end of the second inverter filter capacitor output by the voltage outer loop calculation unit; input the three-phase current measurement value of the front end of the inverter filter capacitor into the current inner loop calculation unit to obtain the second inverter modulation voltage control target value output by the current inner loop calculation unit.
[0124] In an exemplary embodiment, the device is also used to: power the multiple wind turbines with the electric energy generated by discharging the power storage device; control the multiple wind turbines to perform yaw adjustment so that the multiple wind turbines can perform real-time yaw to the wind.
[0125] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0126] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0127] S1, in response to the power storage instruction, controlling the power storage device to charge in a grid-based control mode, wherein the grid-based control mode means that the power storage device operates according to grid parameters;
[0128] S2, when it is determined that the state of charge value of the power storage device reaches a preset value, controlling the power storage device to stop charging;
[0129] S3, when it is detected that the connection between the wind farm and the power grid is interrupted, controlling the power storage device to discharge in a grid-forming control mode, wherein the grid-forming control mode indicates that the power storage device operates independently.
[0130] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0131] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0132] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0133] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0134] S1, in response to the power storage instruction, controlling the power storage device to charge in a grid-based control mode, wherein the grid-based control mode means that the power storage device operates according to grid parameters;
[0135] S2, when it is determined that the state of charge value of the power storage device reaches a preset value, controlling the power storage device to stop charging;
[0136] S3, when it is detected that the connection between the wind farm and the power grid is interrupted, controlling the power storage device to discharge in a grid-forming control mode, wherein the grid-forming control mode indicates that the power storage device operates independently.
[0137] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0138] An embodiment of the present application further provides a computer program product, comprising a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program product, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.
[0139] Optionally, in this embodiment, the above computer program may be configured to implement the following steps when executed by a processor:
[0140] S1, in response to the power storage instruction, controlling the power storage device to charge in a grid-based control mode, wherein the grid-based control mode means that the power storage device operates according to grid parameters;
[0141] S2, when it is determined that the state of charge value of the power storage device reaches a preset value, controlling the power storage device to stop charging;
[0142] S3, when it is detected that the connection between the wind farm and the power grid is interrupted, controlling the power storage device to discharge in a grid-forming control mode, wherein the grid-forming control mode indicates that the power storage device operates independently.
[0143] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0144] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0145] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A control method for an electric storage device, characterized in that: Applied to a wind farm, the wind farm includes a plurality of wind turbines, the plurality of wind turbines are connected to a power grid, the electrical systems of the plurality of wind turbines include a box-type transformer, and the power storage device is connected to the low-voltage side of the box-type transformer. The method includes: In response to the power storage instruction, controlling the power storage device to charge in a grid-based control mode, wherein the grid-based control mode indicates that the power storage device operates according to grid parameters; When it is determined that the state of charge value of the power storage device reaches a preset value, controlling the power storage device to stop charging; When it is detected that the connection between the wind farm and the power grid is interrupted, the power storage device is controlled to discharge in a grid-forming control mode, where the grid-forming control mode means that the power storage device operates independently.
2. The method according to claim 1, characterized in that: The power storage device includes a battery, an inverter and a circuit breaker. The battery is connected to the inverter, the inverter is connected to the circuit breaker, the circuit breaker is connected to the low-voltage side of the box-type transformer, and the circuit breaker is used to control the disconnection and connection of the circuit of the power storage device. The inverter includes a grid-based control module to control the power storage device to charge in a grid-based control mode, including: Determine the common connection point frequency, the common connection point phase angle, the common connection point DC axis current control target value, the first inverter filter capacitor front end DC axis current control target value and the first inverter modulation voltage control target value through the grid-based control module, wherein the common connection point represents the connection point between the power storage device and the low voltage side of the box-type transformer; The working mode of the inverter is adjusted according to the common connection point frequency, the common connection point phase angle, the common connection point orthogonal axis current control target value, the first inverter filter capacitor front end orthogonal axis current control target value and the first inverter modulation voltage control target value to control the power storage device to charge using the grid-based control mode.
3. The method according to claim 2, characterized in that The grid-based control module includes a phase-locked loop phase angle calculation unit, a current outer loop calculation unit, a current intermediate loop calculation unit, and a current inner loop calculation unit. The grid-based control module is used to determine the common connection point frequency, the common connection point phase angle, the common connection point orthogonal axis current control target value, the first inverter filter capacitor front end orthogonal axis current control target value, and the first inverter modulation voltage control target value, including: Inputting the three-phase voltage measured by the power grid into the phase-locked loop phase angle calculation unit to obtain the common connection point frequency and the common connection point phase angle output by the phase-locked loop phase angle calculation unit; Input the three-phase voltage measured by the power grid, the three-phase current measured by the power grid, the active reference value of the power grid and the reactive reference value of the power grid into the current outer loop calculation unit to obtain the common connection point orthogonal axis current control target value output by the current outer loop calculation unit; Inputting the common connection point rectangular axis current control target value into the current intermediate loop calculation unit to obtain the first inverter filter capacitor front end rectangular axis current control target value output by the current intermediate loop calculation unit; The three-phase current measurement value at the front end of the inverter filter capacitor is input into the current inner loop calculation unit to obtain the first inverter modulation voltage control target value output by the current inner loop calculation unit.
4. The method according to claim 2, characterized in that: The inverter further includes a grid-type control module, which controls the power storage device to discharge in a grid-type control mode, including: The grid-type control module determines the target value of the DC-axis voltage at the common connection point, the target value of the DC-axis current at the front end of the second inverter filter capacitor, and the target value of the second inverter modulation voltage control; the working mode of the inverter is adjusted according to the target value of the DC-axis voltage at the common connection point, the target value of the DC-axis current at the front end of the second inverter filter capacitor, and the target value of the second inverter modulation voltage control, so as to control the power storage device to discharge using the grid-type control mode.
5. The method according to claim 4, characterized in that The meshed control module includes a power synchronization calculation unit, a voltage outer loop calculation unit and the current inner loop calculation unit. The meshed control module determines the common connection point orthogonal axis voltage control target value, the second inverter filter capacitor front end orthogonal axis current control target value and the second inverter modulation voltage control target value, including: Inputting the three-phase voltage measured by the power grid, the three-phase current measured by the power grid, the active reference value of the power grid and the reactive reference value of the power grid into the power synchronization calculation unit to obtain the control target value of the direct-axis voltage of the common connection point output by the power synchronization calculation unit; Inputting the common connection point rectangular axis voltage control target value into the voltage outer loop calculation unit to obtain the second inverter filter capacitor front end rectangular axis current control target value output by the voltage outer loop calculation unit; The three-phase current measurement value at the front end of the inverter filter capacitor is input into the current inner loop calculation unit to obtain the second inverter modulation voltage control target value output by the current inner loop calculation unit.
6. The method according to claim 1, characterized in that In the case where it is detected that the connection between the wind farm and the power grid is interrupted, after controlling the power storage device to discharge in a grid-forming control mode, the method further includes: The electric energy generated by discharging the electric storage device is used to supply power to the multiple wind turbines; The multiple wind turbines are controlled to perform yaw adjustment so that the multiple wind turbines can perform real-time yaw to face the wind.
7. A control device for an electric storage device, characterized in that: include: A first control module, configured to control the power storage device to charge in a grid-based control mode in response to a power storage instruction, wherein the grid-based control mode indicates that the power storage device operates according to grid parameters; A second control module is used to control the power storage device to stop charging when it is determined that the state of charge value of the power storage device reaches a preset value; The third control module is used to control the power storage device to discharge in a grid-forming control mode when it is detected that the connection between the wind farm and the power grid is interrupted. The grid-forming control mode means that the power storage device operates independently.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 6 when executed.
9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.