Network type hydrogen fuel cell energy storage grid-connected system control method and device

By modeling and adaptively adjusting the moment of inertia of the grid-type hydrogen fuel cell system, the impact of changes in the moment of inertia curve on frequency and dynamic performance was resolved, thereby improving the system's dynamic response capability and stability.

CN119813295BActive Publication Date: 2025-11-18ECONOMIC TECH RES INST STATE GRID QIANGHAI ELECTRIC POWER +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411615648.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-11-18
Estimated Expiration
2044-11-13

AI Technical Summary

Technical Problem

Existing grid-type hydrogen fuel cell systems do not consider the impact of changes in the moment of inertia curve on the output frequency and dynamic performance, which makes it impossible to accurately improve the system's overshoot and oscillation, and makes it difficult to improve the dynamic response capability of the system's output frequency and power.

Method used

By modeling the hydrogen fuel cell, the relationship between the rate of change of the virtual rotor angular velocity and the change of the moment of inertia of the virtual synchronous generator is determined. An adaptive formula for the moment of inertia is constructed, and corresponding control operations are performed to adaptively adjust the moment of inertia, ensuring stable operation of the system under grid frequency disturbances and active power oscillations.

Benefits of technology

It effectively improves the system's overshoot and oscillation, enhances the dynamic response capability of the system's output frequency and power, and ensures stable operation under grid frequency disturbances and active power oscillations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119813295B_ABST
    Figure CN119813295B_ABST
Patent Text Reader

Abstract

The application relates to a network-constructing hydrogen fuel cell energy storage grid-connected system control method and device, wherein the method comprises the following steps: introducing a rotational inertia adaptive control strategy into an existing network-constructing hydrogen fuel cell control link according to a network-constructing hydrogen fuel cell model and a control principle; and proposing a rotational inertia calculation mode based on a logarithmic function, so as to eliminate the sharp phenomenon of rotational inertia caused by unstable rotor frequency change in the adaptive process, weaken the overshoot and oscillation of the network-constructing hydrogen fuel cell system through rotational inertia adaptive adjustment, and improve the dynamic response capability of the output frequency and power of the network-constructing hydrogen fuel cell system. Therefore, the problems that the prior art does not consider the influence of the change of the rotational inertia curve of the network-constructing hydrogen fuel cell system on the output frequency and dynamic performance, cannot accurately improve the overshoot and oscillation of the system, and is difficult to improve the dynamic response capability of the output frequency and power of the system are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of modeling technology for grid-type hydrogen fuel cells, and in particular to a control method and device for a grid-type hydrogen fuel cell energy storage and grid-connected system. Background Technology

[0002] As the penetration rate of new energy sources continues to increase, the inertia of the power system is decreasing, leading to frequency fluctuations and dynamic stability issues. Grid-based energy storage systems combine conventional energy storage and reactive power compensation functions, significantly improving energy storage inertia and speed regulation response capabilities. Hydrogen energy, in particular, boasts advantages such as high utilization rate, non-toxicity, and high calorific value. However, existing hydrogen fuel cell systems cannot provide effective power support when faced with active power and grid frequency disturbances, easily causing grid frequency fluctuations and voltage instability.

[0003] The control strategy of grid-type hydrogen fuel cell systems enables converters to have high inertia and strong damping frequency response characteristics, which is key to solving the lack of inertia in power systems. Grid-type hydrogen fuel cells have the ability to automatically synchronize power through hydrogen energy storage systems, thus achieving the function of grid construction. In addition, the control of grid-type hydrogen fuel cells increases system damping, improves system stability, and reduces dependence on system mechanical inertia. However, most existing technologies based on grid-type hydrogen fuel cells do not consider the adaptive dynamic adjustment of rotational inertia, resulting in the inability to provide stable active power support when the grid frequency and system active power oscillations cannot be met.

[0004] In summary, existing technologies in modeling grid-type hydrogen fuel cells do not consider the impact of changes in the rotational inertia curve of the grid-type hydrogen fuel cell system on the output frequency and dynamic performance. This leads to problems such as spikes in the rotational inertia curve of traditional grid-type hydrogen fuel cells, making it impossible to accurately improve the overshoot and oscillation of the system and to enhance the dynamic response capability of the system's output frequency and power. These issues urgently need to be addressed. Summary of the Invention

[0005] This application provides a control method and apparatus for a grid-connected hydrogen fuel cell energy storage system, which solves the problems of existing technologies that do not consider the impact of changes in the rotational inertia curve of the grid-connected hydrogen fuel cell system on the output frequency and dynamic performance, cannot accurately improve the overshoot and oscillation of the system, and are difficult to improve the dynamic response capability of the system output frequency and power.

[0006] The first aspect of this application provides a control method for a grid-connected hydrogen fuel cell energy storage system, comprising the following steps: modeling a hydrogen fuel cell in a preset grid-connected hydrogen fuel cell energy storage system to obtain a mathematical model of the hydrogen fuel cell; based on the mathematical model of the hydrogen fuel cell and a preset control strategy for the grid-connected hydrogen fuel cell, determining the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia corresponding to the virtual synchronous generator in the grid-connected hydrogen fuel cell, and determining the moment of inertia change rule corresponding to the grid-connected hydrogen fuel cell according to the relationship and the preset oscillation process of the virtual rotor angular velocity; constructing an adaptive formula for the moment of inertia when the virtual synchronous generator meets preset stable operating conditions according to the relationship and the rule for the moment of inertia change, and performing corresponding control operations on the grid-connected hydrogen fuel cell energy storage system through the adaptive formula for the moment of inertia.

[0007] Optionally, in one embodiment of this application, determining the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia corresponding to the virtual synchronous generator in the grid-type hydrogen fuel cell based on the hydrogen fuel cell mathematical model and a preset grid-type hydrogen fuel cell control strategy includes: obtaining the mechanical and electromagnetic equations of the synchronous generator in the grid-type hydrogen fuel cell based on the hydrogen fuel cell mathematical model; applying the mechanical and electromagnetic equations to the grid-connected inverter in the grid-type hydrogen fuel cell to simulate the moment of inertia and damping coefficient of the rotor of the synchronous generator; and determining the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia based on the moment of inertia, the damping coefficient, and the grid-type hydrogen fuel cell control strategy, wherein the relationship is that the rate of change of the virtual rotor angular velocity is inversely proportional to the moment of inertia.

[0008] Optionally, in one embodiment of this application, determining the rotational inertia change rule corresponding to the grid-type hydrogen fuel cell based on the change relationship and the preset oscillation process of the virtual rotor angular velocity includes: dividing the oscillation process of the virtual rotor angular velocity into intervals to obtain a first oscillation interval, a second oscillation interval, a third oscillation interval, and a fourth oscillation interval corresponding to the oscillation process; when the virtual rotor angular velocity is in the first oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are greater than 0, and the rotational inertia shows an increasing trend; when the virtual rotor angular velocity is in the second oscillation interval, the change in virtual rotor angular velocity is greater than 0, the rate of change of virtual rotor angular velocity is less than 0, and the rotational inertia shows a decreasing trend; when the virtual rotor angular velocity is in the third oscillation interval, the change in virtual rotor angular velocity is less than 0, the rate of change of virtual rotor angular velocity is greater than 0, and the rotational inertia shows an increasing trend; when the virtual rotor angular velocity is in the fourth oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are less than 0, and the rotational inertia shows a decreasing trend.

[0009] Optionally, in one embodiment of this application, the adaptive formula for the moment of inertia is:

[0010]

[0011] Wherein, J represents the moment of inertia of the virtual synchronous generator when it meets the preset stable operating conditions; D represents the damping coefficient of the virtual synchronous generator when it meets the preset stable operating conditions; K j K represents the adjustment coefficient for the moment of inertia. d T represents the adjustment coefficient of the damping coefficient; j T represents the threshold value for the rate of change of the angular velocity of the virtual synchronous generator; d The threshold value for the angular velocity change of the virtual synchronous generator is represented by D0; the initial value of the damping coefficient is represented by J0; and the initial value of the moment of inertia is represented by J0.

[0012] A second aspect of this application provides a control device for a grid-connected hydrogen fuel cell energy storage system, comprising: a modeling module for modeling a hydrogen fuel cell in a preset grid-connected hydrogen fuel cell energy storage system to obtain a mathematical model of the hydrogen fuel cell; a variation rule module for determining the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia of the virtual synchronous generator in the grid-connected hydrogen fuel cell based on the mathematical model of the hydrogen fuel cell and a preset control strategy for the grid-connected hydrogen fuel cell, and determining the moment of inertia variation rule corresponding to the grid-connected hydrogen fuel cell according to the variation relationship and the preset oscillation process of the virtual rotor angular velocity; and a control module for constructing an adaptive formula for the moment of inertia when the virtual synchronous generator meets preset stable operating conditions based on the variation relationship and the moment of inertia variation rule, and performing corresponding control operations on the grid-connected hydrogen fuel cell energy storage system through the adaptive formula for the moment of inertia.

[0013] Optionally, in one embodiment of this application, the change rule module includes: an acquisition unit, configured to acquire the mechanical and electromagnetic equations of the synchronous generator in the grid-type hydrogen fuel cell based on the mathematical model of the hydrogen fuel cell; a simulation unit, configured to apply the mechanical and electromagnetic equations to the grid-connected inverter in the grid-type hydrogen fuel cell, so that the grid-connected inverter simulates the moment of inertia and damping coefficient corresponding to the rotor of the synchronous generator; and a determination unit, configured to determine the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia based on the moment of inertia, the damping coefficient, and the control strategy of the grid-type hydrogen fuel cell, wherein the relationship is that the rate of change of the virtual rotor angular velocity is inversely proportional to the moment of inertia.

[0014] Optionally, in one embodiment of this application, the change rule module further includes: a division unit, used to divide the oscillation process of the virtual rotor angular velocity into intervals to obtain a first oscillation interval, a second oscillation interval, a third oscillation interval, and a fourth oscillation interval corresponding to the oscillation process; a first analysis unit, used to, when the virtual rotor angular velocity is in the first oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are greater than 0, and the moment of inertia shows an increasing trend; a second analysis unit, used to, when the virtual rotor angular velocity is in the second oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are less than 0, and the moment of inertia shows a decreasing trend; a third analysis unit, used to, when the virtual rotor angular velocity is in the third oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are less than 0, and the moment of inertia shows an increasing trend; and a fourth analysis unit, used to, when the virtual rotor angular velocity is in the fourth oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are less than 0, and the moment of inertia shows a decreasing trend.

[0015] Optionally, in one embodiment of this application, the adaptive formula for the moment of inertia is:

[0016]

[0017] Wherein, J represents the moment of inertia of the virtual synchronous generator when it meets the preset stable operating conditions; D represents the damping coefficient of the virtual synchronous generator when it meets the preset stable operating conditions; K j K represents the adjustment coefficient for the moment of inertia. d T represents the adjustment coefficient of the damping coefficient; j T represents the threshold value for the rate of change of the angular velocity of the virtual synchronous generator; d The threshold value for the angular velocity change of the virtual synchronous generator is represented by D0; the initial value of the damping coefficient is represented by J0; and the initial value of the moment of inertia is represented by J0.

[0018] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the program to implement the grid-connected hydrogen fuel cell energy storage system control method as described in the above embodiments.

[0019] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described grid-connected hydrogen fuel cell energy storage system control method.

[0020] A fifth aspect of this application provides a computer program product, including a computer program that is executed to implement the above-described grid-connected hydrogen fuel cell energy storage system control method.

[0021] Therefore, the embodiments of this application have the following beneficial effects:

[0022] The embodiments of this application can obtain a mathematical model of the hydrogen fuel cell by modeling the hydrogen fuel cell in a preset grid-connected hydrogen fuel cell energy storage system. Based on the mathematical model of the hydrogen fuel cell and the preset grid-connected hydrogen fuel cell control strategy, the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia of the virtual synchronous generator in the grid-connected hydrogen fuel cell is determined. The moment of inertia change rule corresponding to the grid-connected hydrogen fuel cell is determined according to the relationship and the preset oscillation process of the virtual rotor angular velocity. An adaptive formula for moment of inertia is constructed based on the relationship and the rule for moment of inertia change, when the virtual synchronous generator meets the preset stable operating conditions. The grid-connected hydrogen fuel cell energy storage system is then controlled accordingly using this adaptive formula. This application ensures the stable operation of the grid-connected hydrogen fuel cell system under grid frequency disturbances and active power oscillations by adaptively adjusting the moment of inertia. This solves the problems of existing technologies that do not consider the impact of changes in the moment of inertia curve of the grid-connected hydrogen fuel cell system on the output frequency and dynamic performance, cannot accurately improve system overshoot and oscillation, and are difficult to improve the dynamic response capability of the system's output frequency and power.

[0023] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0024] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0025] Figure 1 This is a flowchart of a grid-connected hydrogen fuel cell energy storage system control method according to an embodiment of this application;

[0026] Figure 2 A schematic diagram of a grid-connected hydrogen fuel cell energy storage system provided as an embodiment of this application;

[0027] Figure 3 A voltage output characteristic curve and an output power characteristic curve of a fuel cell are provided as an embodiment of this application;

[0028] Figure 4 A schematic diagram of a grid-type hydrogen fuel cell structure is provided for one embodiment of this application;

[0029] Figure 5 A schematic diagram illustrating the influence of rotational inertia and damping coefficient on power response of a grid-type hydrogen fuel cell, provided as an embodiment of this application;

[0030] Figure 5 (a) is a schematic diagram of the effect of rotational inertia on power response provided in an embodiment of this application;

[0031] Figure 5 (b) is a schematic diagram of the effect of damping coefficient on power response provided in an embodiment of this application;

[0032] Figure 6 A schematic diagram of frequency and power response under active power command disturbance is provided as an embodiment of this application;

[0033] Figure 6 (a) is a schematic diagram of frequency fluctuation under active power command disturbance provided in an embodiment of this application;

[0034] Figure 6 (b) is a schematic diagram of active power fluctuation under active power command disturbance provided in an embodiment of this application;

[0035] Figure 7 A schematic diagram of frequency and power response under frequency perturbation is provided as an embodiment of this application;

[0036] Figure 7 (a) is a schematic diagram of frequency fluctuation under frequency disturbance provided in an embodiment of this application;

[0037] Figure 7 (b) is a schematic diagram of active power fluctuation under frequency disturbance provided in an embodiment of this application;

[0038] Figure 8 A schematic diagram of an adaptive moment of inertia curve provided for one embodiment of this application;

[0039] Figure 9 This is an example diagram of a grid-connected hydrogen fuel cell energy storage system control device according to an embodiment of this application;

[0040] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0041] Among them, 10-grid-type hydrogen fuel cell energy storage grid-connected system control device; 100-modeling module, 200-change rule module, 300-control module; 1001-memory, 1002-processor, 1003-communication interface. Detailed Implementation

[0042] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0043] The following describes a control method and apparatus for a grid-connected hydrogen fuel cell energy storage system according to embodiments of this application, with reference to the accompanying drawings. Addressing the problems mentioned in the background section, this application provides a control method for a grid-connected hydrogen fuel cell energy storage system. In this method, a mathematical model of the hydrogen fuel cell is obtained by modeling the hydrogen fuel cell in a pre-defined grid-connected hydrogen fuel cell energy storage system. Based on the mathematical model and a pre-defined grid-connected hydrogen fuel cell control strategy, the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia corresponding to the virtual synchronous generator in the grid-connected hydrogen fuel cell is determined. The moment of inertia change rule corresponding to the grid-connected hydrogen fuel cell is determined based on the relationship and the pre-defined oscillation process of the virtual rotor angular velocity. An adaptive formula for the moment of inertia is constructed based on the relationship and the rule, assuming the virtual synchronous generator meets pre-defined stable operating conditions. The grid-connected hydrogen fuel cell energy storage system is then controlled accordingly using this adaptive formula. This application ensures stable operation of the grid-connected hydrogen fuel cell system under grid frequency disturbances and active power oscillations by adaptively adjusting the moment of inertia of the grid-connected hydrogen fuel cell. This solves the problems of existing technologies that do not consider the impact of changes in the rotational inertia curve of a grid-type hydrogen fuel cell system on the output frequency and dynamic performance, making it impossible to accurately improve the system's overshoot and oscillation, and making it difficult to improve the dynamic response capability of the system's output frequency and power.

[0044] Specifically, Figure 1 This is a flowchart illustrating a grid-connected hydrogen fuel cell energy storage system control method provided in an embodiment of this application.

[0045] like Figure 1 As shown, the control method for this grid-connected hydrogen fuel cell energy storage system includes the following steps:

[0046] In step S101, the hydrogen fuel cell in the preset grid-connected hydrogen fuel cell energy storage system is modeled to obtain a mathematical model of the hydrogen fuel cell.

[0047] It should be noted that, in the embodiments of this application, based on such Figure 2The grid-connected hydrogen fuel cell energy storage system shown in the diagram allows the DC voltage of the hydrogen fuel cell to reach a stable output voltage after passing through a boost circuit. This voltage is then connected to the grid after passing through a three-phase full-bridge inverter and an LC filter. As a DC power source, the hydrogen fuel cell only provides active power to the grid, with zero reactive power output. Therefore, the DC bus voltage U of the hydrogen fuel cell is controlled accordingly. dc ;also, Figure 2 The q shown ref and q in These are the reference input hydrogen flow rate and the input hydrogen flow rate, respectively.

[0048] In practical applications, hydrogen fuel cells utilize proton exchange membrane fuel cells (PEMFCs). PEMFCs offer faster start-up speeds, reaching full power operation within minutes, making them suitable for applications requiring rapid response. This application's embodiment utilizes the theoretical voltage U of a single hydrogen fuel cell. nernst Subtracting the voltage loss from the value yields the actual output voltage U of a single fuel cell under this condition, as shown in the following formula:

[0049] U = U nernst -U act -U ohm -U conc (1)

[0050] Among them, U nernst U represents the theoretical electromotive force of a fuel cell; act For activation overvoltage; U ohm For ohmic overvoltage of fuel cells; U conc For the concentration difference overvoltage of the fuel cell, the specific mathematical expressions for the above parameters can be obtained from thermodynamic formulas as follows:

[0051]

[0052] Where T is the fuel cell temperature; I is the battery current; R M R is the equivalent resistance of the membrane; t P is the equivalent resistance of the membrane transfer. H2 P O2 α1 and α2 are the pressure values ​​of hydrogen and oxygen in the fuel cell; α1 and α2 are the mass transfer coefficients.

[0053] Understandably, since the output voltage of a single fuel cell is relatively low, this embodiment uses multiple cells to form a fuel cell stack to increase its output voltage, and uses the mathematical model of the aforementioned hydrogen fuel cell for modeling, thereby obtaining the mathematical model of the hydrogen fuel cell, as follows. Figure 3 The fuel cell voltage output characteristic curve and output power characteristic curve are shown.

[0054] In step S102, based on the mathematical model of the hydrogen fuel cell and the preset control strategy of the grid-type hydrogen fuel cell, the relationship between the rate of change of the virtual rotor angular velocity and the change of the moment of inertia corresponding to the virtual synchronous generator in the grid-type hydrogen fuel cell is determined, and the change rule of the moment of inertia corresponding to the grid-type hydrogen fuel cell is determined according to the change relationship and the preset oscillation process of the virtual rotor angular velocity.

[0055] Furthermore, in the embodiments of this application, such as Figure 4 The L in the grid-type hydrogen fuel cell structure shown f C f and L g These are the filter inductor, filter capacitor, and grid-connected impedance, respectively. The grid-connected side adopts a grid-type hydrogen fuel cell control strategy with adaptive rotational inertia. The relationship between the rate of change of virtual rotor angular velocity and the change of rotational inertia corresponding to the virtual synchronous generator in the grid-type hydrogen fuel cell is then determined. Based on the relationship and the oscillation process of the virtual rotor angular velocity, the rotational inertia change rule corresponding to the grid-type hydrogen fuel cell is obtained.

[0056] Optionally, in one embodiment of this application, based on a mathematical model of a hydrogen fuel cell and a preset control strategy for a grid-type hydrogen fuel cell, the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia corresponding to the virtual synchronous generator in the grid-type hydrogen fuel cell is determined, including: obtaining the mechanical and electromagnetic equations of the synchronous generator in the grid-type hydrogen fuel cell based on the mathematical model of the hydrogen fuel cell; applying the mechanical and electromagnetic equations to the grid-connected inverter in the grid-type hydrogen fuel cell so that the grid-connected inverter simulates the moment of inertia and damping coefficient corresponding to the rotor of the synchronous generator; and determining the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia based on the moment of inertia, the damping coefficient, and the control strategy for the grid-type hydrogen fuel cell, wherein the relationship is that the rate of change of the virtual rotor angular velocity is inversely proportional to the moment of inertia.

[0057] In practical implementation, grid-connected control technology can apply the mechanical and electromagnetic equations of a synchronous generator to the grid-connected inverter, enabling the inverter to simulate the rotational inertia and damping coefficient of the synchronous generator rotor. The core control part of the grid-connected hydrogen fuel cell mainly consists of active power-frequency regulation and reactive power-voltage regulation, and its expression is as follows:

[0058]

[0059] Where J is the moment of inertia of the synchronous generator; w0 is the angular velocity of grid synchronization; T m T e and T d These represent the mechanical torque, electromagnetic torque, and damping torque of the synchronous generator, respectively; D P D is the active damping coefficient;q This is the reactive damping coefficient.

[0060] As can be seen from equation (3), the rate of change of the virtual rotor angular velocity is inversely proportional to the moment of inertia. That is, when the moment of inertia is small, the rate of change of the virtual rotor angular velocity will increase, which will lead to a decrease in the stability of the grid-type hydrogen fuel cell system. When the moment of inertia is large, the rate of change of the virtual rotor angular velocity is small, the grid-type hydrogen fuel cell system has high stability, but at the same time, it will also lead to a decrease in the dynamic adjustment capability of the grid-type hydrogen fuel cell system.

[0061] Optionally, in one embodiment of this application, the rotational inertia change rule corresponding to the grid-type hydrogen fuel cell is determined according to the change relationship and the preset oscillation process of the virtual rotor angular velocity, including: dividing the oscillation process of the virtual rotor angular velocity into intervals to obtain a first oscillation interval, a second oscillation interval, a third oscillation interval, and a fourth oscillation interval corresponding to the oscillation process; when the virtual rotor angular velocity is in the first oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are greater than 0, and the rotational inertia shows an increasing trend; when the virtual rotor angular velocity is in the second oscillation interval, the change in virtual rotor angular velocity is greater than 0, the rate of change of virtual rotor angular velocity is less than 0, and the rotational inertia shows a decreasing trend; when the virtual rotor angular velocity is in the third oscillation interval, the change in virtual rotor angular velocity is less than 0, the rate of change of virtual rotor angular velocity is greater than 0, and the rotational inertia shows an increasing trend; when the virtual rotor angular velocity is in the fourth oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are less than 0, and the rotational inertia shows a decreasing trend.

[0062] It should be noted that, in this embodiment, the rotor angular velocity oscillation process is divided into four oscillation intervals, and the design of the rotational inertia parameters for adaptive control is analyzed as follows:

[0063] 1. The actual power in interval I (i.e., the first oscillation interval) is greater than the electromagnetic power. At this time, the actual angular velocity is greater than the rated angular velocity, and the rate of change of angular velocity dw / dt>0. Therefore, it is necessary to increase the moment of inertia to suppress the amplitude and rate of change of angular velocity. dw / dt>0 in interval I first increases and then gradually decreases. The larger the moment of inertia, the worse the performance of the system. Therefore, the amplitude of change of moment of inertia J should be kept within a certain range.

[0064] The actual angular velocity corresponding to interval II (i.e. the second oscillation interval) is greater than the rated angular velocity. dw / dt>0 first decreases and then increases, and overall remains under the premise that dw / dt>0. Therefore, it is necessary to reduce the moment of inertia to bring the system back to stability.

[0065] The analysis process for intervals III (i.e., the third oscillation interval) and IV (i.e., the fourth oscillation interval) is the same as that for intervals I and II. Specifically, the variation rules of the moment of inertia J are shown in Table 1:

[0066] Table 1

[0067]

[0068]

[0069] As shown in Table 1, the selection of the moment of inertia is determined by both the change in the virtual rotor's angular velocity and its rate of change.

[0070] In step S103, an adaptive formula for the moment of inertia is constructed based on the changing relationship and the rule of moment of inertia change when the virtual synchronous generator meets the preset stable operating conditions, and the corresponding control operation is performed on the grid-type hydrogen fuel cell energy storage grid-connected system through the adaptive formula for moment of inertia.

[0071] Furthermore, this application embodiment can also construct a new adaptive formula for moment of inertia based on the changing relationship and the rule of moment of inertia change. Including relevant quantities as independent variables in the formula can better reflect the relationship between moment of inertia and them. Considering the amplitude limit of moment of inertia, large-scale adjustment of moment of inertia J has high requirements for system capacity. Constructing a moment of inertia calculation method based on logarithmic function effectively solves the problem of excessive increase in moment of inertia.

[0072] It is understood that the embodiments of this application are based on an adaptive control strategy, which adjusts the values ​​of J and D in real time, eliminating the spike phenomenon of rotational inertia caused by the unstable change of rotor frequency during the adaptive process, and weakening the overshoot and oscillation of the grid-type hydrogen fuel cell system through adaptive adjustment of rotational inertia, thereby improving the dynamic response capability of the grid-type hydrogen fuel cell system in terms of output frequency and power.

[0073] Optionally, in one embodiment of this application, the adaptive formula for the moment of inertia is:

[0074]

[0075] Where J represents the moment of inertia of the virtual synchronous generator when it meets the preset stable operating conditions; D represents the damping coefficient of the virtual synchronous generator when it meets the preset stable operating conditions; K j K represents the adjustment coefficient for the moment of inertia. d The adjustment coefficient representing the damping coefficient; T j The threshold value for the rate of change of angular velocity of the virtual synchronous generator; T d The threshold value for the angular velocity change of the virtual synchronous generator is represented by ; D0 represents the initial value of the damping coefficient; and J0 represents the initial value of the moment of inertia.

[0076] Since the moment of inertia J is related to both the rate of change of rotor angular velocity and the offset of rotor angular velocity (i.e., the change in rotor angular velocity), this application proposes a new adaptive formula for the moment of inertia. Including these quantities as independent variables in the formula better reflects the relationship between the moment of inertia and these variables. Considering the amplitude limitation of the moment of inertia, large-scale adjustments to the moment of inertia J place high demands on system capacity. Therefore, a calculation method for the moment of inertia based on a logarithmic function is constructed, which effectively solves the problem of excessively large increases in the moment of inertia. The adaptive formula for the moment of inertia is as follows:

[0077]

[0078] Where J represents the moment of inertia of the virtual synchronous generator when it meets the preset stable operating conditions; D represents the damping coefficient of the virtual synchronous generator when it meets the preset stable operating conditions; K j K represents the adjustment coefficient for the moment of inertia. d The adjustment coefficient representing the damping coefficient; T j The threshold value for the rate of change of angular velocity of the virtual synchronous generator; T d The threshold value for the angular velocity change of the virtual synchronous generator is represented by ; D0 represents the initial value of the damping coefficient; and J0 represents the initial value of the moment of inertia.

[0079] Based on the grid-type hydrogen fuel cell model and control principle, this application introduces an adaptive control strategy for rotational inertia into the existing grid-type hydrogen fuel cell control process. It proposes a rotational inertia calculation method based on a logarithmic function, leading to the following conclusions:

[0080] (1) When the active power command of the grid-type hydrogen fuel cell system is disturbed, the grid frequency and active power fluctuate. As the moment of inertia increases, the system damping ratio decreases, the overshoot increases, the settling time increases, and the system robustness decreases.

[0081] (2) When the grid frequency drops, both the grid frequency and active power fluctuate. By using an adaptive rotational inertia control strategy, the frequency and active power oscillations are effectively reduced, thus increasing the system robustness.

[0082] The following detailed description, in conjunction with the accompanying drawings, further illustrates and explains the grid-connected hydrogen fuel cell energy storage system control method of this application.

[0083] To verify and analyze the correctness of the hydrogen fuel cell model established in this application, the model can be built and subsystems can be packaged in Matlab / Simulink. The system simulation parameters are shown in Table 2.

[0084] Table 2

[0085]

[0086] In one specific embodiment of this application, the grid-type hydrogen fuel cell has an output power of 25kW, and the dynamic response of the output power under different moments of inertia and damping coefficients is as follows: Figure 5 As shown. By Figure 5 It can be seen that when the control variable J increases, the system damping ratio decreases, the overshoot increases, and the settling time increases; when the control variable D increases, the system damping ratio increases, the overshoot decreases, and the settling time decreases. The moment of inertia J affects the system oscillation frequency, and the damping coefficient affects the system oscillation decay rate.

[0087] Furthermore, specific embodiments of this application respectively set input active power command step disturbance and grid frequency disturbance, the specific operation is as follows:

[0088] 1) The initial active power is 25kW; at t=1s, the active power command jumps to 50kW; at t=3s, it returns to 25kW.

[0089] 2) At t=2s, the grid frequency drops by 0.2Hz, and at t=4s, it returns to normal, and the reactive power command is set to 0;

[0090] The following is a comparison of the simulation conditions in specific embodiments of this application:

[0091] Frequency and power response under active command disturbances, as follows Figure 6 As shown. By Figure 6 As can be seen in (a) of the paper, when the active power command of a grid-type hydrogen fuel cell system is disturbed, the method of this application, compared with the grid-type hydrogen fuel cell control method, significantly reduces the overshoot of frequency fluctuations, accelerates the recovery speed, shortens the transient adjustment process, weakens the oscillation amplitude, and improves the dynamic performance of the system. Figure 6 As can be seen from (b) in the figure, the overshoot of the system output active power during fluctuations is reduced, the oscillation amplitude is weakened, the transient adjustment process is reduced, the oscillation amplitude is reduced, and the active power can quickly follow the changes in active power command; therefore, the control strategy of this application can effectively reduce the oscillation of system power and frequency caused by changes in active power command and improve system robustness.

[0092] Frequency and power responses under frequency disturbances Figure 7 As shown. By Figure 7 As can be seen from (a) in the figure, compared with the grid-type hydrogen fuel cell control method, the output frequency oscillation amplitude is reduced, the overshoot is decreased, the transient adjustment process is shortened, and the system performance is improved. Figure 7 As can be seen from (b) above, compared with the grid-type fuel cell control method, the overshoot of active power fluctuations is reduced, the oscillation amplitude is weakened, and the transient adjustment process is reduced. Therefore, the control strategy of this application can maintain a good suppression effect when the grid frequency fluctuates, thus improving the robustness of the system.

[0093] According to Table 1, the change in the moment of inertia J should conform to the corresponding change rule. However, most adaptive control strategies ignore the change in the second stage, resulting in only two changes in the adaptive process of moment of inertia—first increasing and then decreasing—during power surges. The improved control strategy effectively solves this problem and enhances the control performance. Figure 8 This shows how the moment of inertia changes under the improved adaptive control strategy.

[0094] No spike phenomenon caused by excessive angular velocity change rate occurred during the adaptive moment of inertia process. According to the analysis of the four intervals divided by the rotor angular velocity oscillation process, the corresponding trend of moment of inertia change is consistent with the analysis in Table 1. The improved formula for calculating the adaptive moment of inertia J better reflects the relationship between moment of inertia J and rotor angular velocity change rate dw / dt and rotor angular velocity change amount Δw.

[0095] According to the control method for a grid-connected hydrogen fuel cell energy storage system proposed in this application, a mathematical model of the hydrogen fuel cell is obtained by modeling the hydrogen fuel cell in the pre-defined grid-connected hydrogen fuel cell energy storage system. Based on the mathematical model of the hydrogen fuel cell and the pre-defined grid-connected hydrogen fuel cell control strategy, the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia corresponding to the virtual synchronous generator in the grid-connected hydrogen fuel cell is determined. The change rule of the moment of inertia corresponding to the grid-connected hydrogen fuel cell is determined based on the change relationship and the pre-defined oscillation process of the virtual rotor angular velocity. An adaptive formula for the moment of inertia is constructed based on the change relationship and the rule for the moment of inertia, under the pre-defined stable operating conditions of the virtual synchronous generator. The grid-connected hydrogen fuel cell energy storage system is then controlled accordingly using this adaptive formula. This application ensures the stable operation of the grid-connected hydrogen fuel cell system under grid frequency disturbances and active power oscillations by adaptively adjusting the moment of inertia of the grid-connected hydrogen fuel cell.

[0096] Secondly, the control device for a grid-type hydrogen fuel cell energy storage grid-connected system according to an embodiment of this application is described with reference to the accompanying drawings.

[0097] Figure 9 This is a block diagram of the control device for a grid-connected hydrogen fuel cell energy storage system according to an embodiment of this application.

[0098] like Figure 9 As shown, the grid-type hydrogen fuel cell energy storage grid-connected system control device 10 includes: a modeling module 100, a change rule module 200, and a control module 300.

[0099] The modeling module 100 is used to model the hydrogen fuel cells in the preset grid-connected hydrogen fuel cell energy storage system to obtain the mathematical model of the hydrogen fuel cell.

[0100] The variation rule module 200 is used to determine the relationship between the rate of change of virtual rotor angular velocity and moment of inertia of the virtual synchronous generator in the grid-type hydrogen fuel cell based on the mathematical model of the hydrogen fuel cell and the preset control strategy of the grid-type hydrogen fuel cell, and to determine the variation rule of moment of inertia of the grid-type hydrogen fuel cell based on the variation relationship and the preset oscillation process of virtual rotor angular velocity.

[0101] The control module 300 is used to construct an adaptive formula for the moment of inertia when the virtual synchronous generator meets the preset stable operating conditions based on the changing relationship and the rule of moment of inertia change, and to perform corresponding control operations on the grid-type hydrogen fuel cell energy storage grid-connected system through the adaptive formula of moment of inertia.

[0102] Optionally, in one embodiment of this application, the change rule module 200 includes: an acquisition unit, a simulation unit, and a determination unit.

[0103] The acquisition unit is used to acquire the mechanical and electromagnetic equations of the synchronous generator in the grid-type hydrogen fuel cell based on the mathematical model of the hydrogen fuel cell.

[0104] The simulation unit is used to apply mechanical and electromagnetic equations to the grid-connected inverter in a grid-type hydrogen fuel cell, so that the grid-connected inverter can simulate the rotational inertia and damping coefficient of the rotor of a synchronous generator.

[0105] The determination unit is used to determine the relationship between the rate of change of virtual rotor angular velocity and the change of rotational inertia based on the rotational inertia, damping coefficient and grid-type hydrogen fuel cell control strategy, wherein the relationship is that the rate of change of virtual rotor angular velocity is inversely proportional to the rotational inertia.

[0106] Optionally, in one embodiment of this application, the change rule module 200 further includes: a division unit, a first analysis unit, a second analysis unit, a third analysis unit, and a fourth analysis unit.

[0107] The division unit is used to divide the oscillation process of the virtual rotor angular velocity into intervals to obtain the first oscillation interval, the second oscillation interval, the third oscillation interval and the fourth oscillation interval corresponding to the oscillation process.

[0108] The first analysis unit is used when the virtual rotor angular velocity is in the first oscillation range, the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are both greater than 0, and the moment of inertia shows an increasing trend.

[0109] The second analysis unit is used when the virtual rotor angular velocity changes more than 0, the rate of change of virtual rotor angular velocity is less than 0, and the moment of inertia shows a decreasing trend when the virtual rotor angular velocity is in the second oscillation range.

[0110] The third analysis unit is used when the virtual rotor angular velocity is in the third oscillation range, the change in virtual rotor angular velocity is less than 0, the rate of change of virtual rotor angular velocity is greater than 0, and the moment of inertia shows an increasing trend.

[0111] The fourth analysis unit is used when the virtual rotor angular velocity is within the fourth oscillation interval, and both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are less than 0, and the moment of inertia shows a decreasing trend.

[0112] Optionally, in one embodiment of this application, the adaptive formula for the moment of inertia is:

[0113]

[0114] Where J represents the moment of inertia of the virtual synchronous generator when it meets the preset stable operating conditions; D represents the damping coefficient of the virtual synchronous generator when it meets the preset stable operating conditions; K j K represents the adjustment coefficient for the moment of inertia. d The adjustment coefficient representing the damping coefficient; T j The threshold value for the rate of change of angular velocity of the virtual synchronous generator; T d The threshold value for the angular velocity change of the virtual synchronous generator is represented by ; D0 represents the initial value of the damping coefficient; and J0 represents the initial value of the moment of inertia.

[0115] It should be noted that the foregoing explanation of the control method embodiment for the grid-connected hydrogen fuel cell energy storage system also applies to the control device of the grid-connected hydrogen fuel cell energy storage system in this embodiment, and will not be repeated here.

[0116] The control device for a grid-connected hydrogen fuel cell energy storage system proposed in this application includes a modeling module for modeling the hydrogen fuel cells in a preset grid-connected hydrogen fuel cell energy storage system to obtain a mathematical model of the hydrogen fuel cell; a variation rule module for determining the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia of the virtual synchronous generator in the grid-connected hydrogen fuel cell based on the mathematical model of the hydrogen fuel cell and a preset control strategy for the grid-connected hydrogen fuel cell, and determining the variation rule of the moment of inertia of the grid-connected hydrogen fuel cell based on the variation relationship and the preset oscillation process of the virtual rotor angular velocity; and a control module for constructing an adaptive formula for the moment of inertia when the virtual synchronous generator meets preset stable operating conditions based on the variation relationship and the moment of inertia variation rule, and performing corresponding control operations on the grid-connected hydrogen fuel cell energy storage system through the adaptive formula for the moment of inertia. This application ensures the stable operation of the grid-connected hydrogen fuel cell system under grid frequency disturbances and active power oscillations by adaptively adjusting the moment of inertia of the grid-connected hydrogen fuel cell.

[0117] Figure 10A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include:

[0118] The memory 1001, the processor 1002, and the computer program stored on the memory 1001 and capable of running on the processor 1002.

[0119] When the processor 1002 executes the program, it implements the grid-connected hydrogen fuel cell energy storage system control method provided in the above embodiments.

[0120] Furthermore, electronic devices also include:

[0121] Communication interface 1003 is used for communication between memory 1001 and processor 1002.

[0122] The memory 1001 is used to store computer programs that can run on the processor 1002.

[0123] The memory 1001 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0124] If the memory 1001, processor 1002, and communication interface 1003 are implemented independently, then the communication interface 1003, memory 1001, and processor 1002 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized into address buses, data buses, control buses, etc. For ease of representation, Figure 10 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0125] Optionally, in a specific implementation, if the memory 1001, processor 1002, and communication interface 1003 are integrated on a single chip, then the memory 1001, processor 1002, and communication interface 1003 can communicate with each other through an internal interface.

[0126] The processor 1002 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0127] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described grid-connected hydrogen fuel cell energy storage system control method.

[0128] This application also provides a computer program product, including a computer program, which, when executed, is used to implement the above-described grid-connected hydrogen fuel cell energy storage system control method.

[0129] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0130] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0131] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0132] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0133] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0134] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0135] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0136] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.

Claims

1. A control method for a grid-connected hydrogen fuel cell energy storage system, characterized in that, Includes the following steps: Modeling is performed on the hydrogen fuel cells in the pre-defined grid-connected hydrogen fuel cell energy storage system to obtain the mathematical model of the hydrogen fuel cells. Based on the mathematical model of the hydrogen fuel cell and the preset control strategy of the grid-type hydrogen fuel cell, the relationship between the rate of change of the virtual rotor angular velocity and the change of the moment of inertia corresponding to the virtual synchronous generator in the grid-type hydrogen fuel cell is determined, and the change rule of the moment of inertia corresponding to the grid-type hydrogen fuel cell is determined according to the relationship and the preset oscillation process of the virtual rotor angular velocity. Based on the changing relationship and the changing inertia rule, an adaptive formula for the inertia is constructed when the virtual synchronous generator meets the preset stable operating conditions, and the corresponding control operation is performed on the grid-type hydrogen fuel cell energy storage grid-connected system through the adaptive formula for inertia. The step of determining the relationship between the rate of change of virtual rotor angular velocity and the change of moment of inertia corresponding to the virtual synchronous generator in the grid-type hydrogen fuel cell, based on the hydrogen fuel cell mathematical model and the preset grid-type hydrogen fuel cell control strategy, includes: Based on the mathematical model of the hydrogen fuel cell, the mechanical and electromagnetic equations of the synchronous generator in the grid-type hydrogen fuel cell are obtained. The mechanical equations and the electromagnetic equations are applied to the grid-connected inverter in the grid-type hydrogen fuel cell so that the grid-connected inverter simulates the rotational inertia and damping coefficient corresponding to the rotor of the synchronous generator. Based on the moment of inertia, the damping coefficient, and the grid-type hydrogen fuel cell control strategy, the relationship between the rate of change of the virtual rotor angular velocity and the moment of inertia is determined, wherein the relationship is that the rate of change of the virtual rotor angular velocity is inversely proportional to the moment of inertia. The step of determining the rotational inertia variation rule corresponding to the grid-type hydrogen fuel cell based on the variation relationship and the preset virtual rotor angular velocity oscillation process includes: The oscillation process of the virtual rotor angular velocity is divided into intervals to obtain the first oscillation interval, the second oscillation interval, the third oscillation interval, and the fourth oscillation interval corresponding to the oscillation process; When the virtual rotor angular velocity is within the first oscillation range, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are greater than 0, and the moment of inertia shows an increasing trend. When the virtual rotor angular velocity is in the second oscillation range, the change in virtual rotor angular velocity is greater than 0, the rate of change of virtual rotor angular velocity is less than 0, and the moment of inertia shows a decreasing trend. When the virtual rotor angular velocity is in the third oscillation range, the change in the virtual rotor angular velocity is less than 0, the rate of change of the virtual rotor angular velocity is greater than 0, and the moment of inertia shows an increasing trend. When the virtual rotor angular velocity is within the fourth oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are less than 0, and the moment of inertia shows a decreasing trend. The adaptive formula for the moment of inertia is: in, J This represents the moment of inertia of the virtual synchronous generator when it meets the preset stable operating conditions. D This represents the damping coefficient when the virtual synchronous generator meets the preset stable operating conditions; K j This represents the adjustment coefficient for the moment of inertia; K d This represents the adjustment coefficient of the damping coefficient; T j This represents the threshold value for the rate of change of the angular velocity of the virtual synchronous generator; T d This represents the threshold value for the angular velocity change of the virtual synchronous generator; D 0 represents the initial value of the damping coefficient; J 0 represents the initial value of the moment of inertia.

2. A control device for a grid-connected hydrogen fuel cell energy storage system, characterized in that, include: The modeling module is used to model the hydrogen fuel cells in the preset grid-connected hydrogen fuel cell energy storage system to obtain the mathematical model of the hydrogen fuel cell. The change rule module is used to determine the relationship between the rate of change of virtual rotor angular velocity and the moment of inertia of the virtual synchronous generator in the grid-type hydrogen fuel cell based on the mathematical model of the hydrogen fuel cell and the preset control strategy of the grid-type hydrogen fuel cell, and to determine the change rule of the moment of inertia of the grid-type hydrogen fuel cell according to the change relationship and the preset oscillation process of the virtual rotor angular velocity. The control module is used to construct an adaptive formula for the moment of inertia when the virtual synchronous generator meets the preset stable operating conditions based on the changing relationship and the rule of moment of inertia, and to perform corresponding control operations on the grid-type hydrogen fuel cell energy storage grid-connected system through the adaptive formula of moment of inertia. The change rule module includes: The acquisition unit is used to acquire the mechanical and electromagnetic equations of the synchronous generator in the grid-type hydrogen fuel cell based on the mathematical model of the hydrogen fuel cell. The simulation unit is used to apply the mechanical equations and the electromagnetic equations to the grid-connected inverter in the grid-type hydrogen fuel cell, so that the grid-connected inverter can simulate the rotational inertia and damping coefficient of the rotor of the synchronous generator. The determining unit is used to determine the relationship between the rate of change of the virtual rotor angular velocity and the rate of change of the rotational inertia based on the rotational inertia, the damping coefficient and the grid-type hydrogen fuel cell control strategy, wherein the relationship is that the rate of change of the virtual rotor angular velocity is inversely proportional to the rotational inertia; The change rule module also includes: The division unit is used to divide the oscillation process of the virtual rotor angular velocity into intervals to obtain the first oscillation interval, the second oscillation interval, the third oscillation interval and the fourth oscillation interval corresponding to the oscillation process; The first analysis unit is configured such that when the virtual rotor angular velocity is in the first oscillation range, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are greater than 0, and the moment of inertia shows an increasing trend. The second analysis unit is used to determine that when the virtual rotor angular velocity is in the second oscillation range, the change in the virtual rotor angular velocity is greater than 0, the rate of change of the virtual rotor angular velocity is less than 0, and the moment of inertia shows a decreasing trend. The third analysis unit is used when the virtual rotor angular velocity is in the third oscillation range, the change in the virtual rotor angular velocity is less than 0, the rate of change of the virtual rotor angular velocity is greater than 0, and the moment of inertia shows an increasing trend. The fourth analysis unit is used to ensure that when the virtual rotor angular velocity is within the fourth oscillation interval, both the change in virtual rotor angular velocity and the rate of change of virtual rotor angular velocity are less than 0, and the moment of inertia shows a decreasing trend. The adaptive formula for the moment of inertia is: in, J This represents the moment of inertia of the virtual synchronous generator when it meets the preset stable operating conditions. D This represents the damping coefficient when the virtual synchronous generator meets the preset stable operating conditions; K j This represents the adjustment coefficient for the moment of inertia; K d This represents the adjustment coefficient of the damping coefficient; T j This represents the threshold value for the rate of change of the angular velocity of the virtual synchronous generator; T d This represents the threshold value for the angular velocity change of the virtual synchronous generator; D 0 represents the initial value of the damping coefficient; J 0 represents the initial value of the moment of inertia.

3. An electronic device, characterized in that, include: The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the grid-connected hydrogen fuel cell energy storage system control method as described in claim 1.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the grid-connected hydrogen fuel cell energy storage system control method as described in claim 1.

5. A computer program product, comprising a computer program, characterized in that, The computer program is executed to implement the grid-connected hydrogen fuel cell energy storage system control method as described in claim 1.

Citation Information

Patent Citations

  • Adaptive control method of moment of inertia suitable for virtual synchronous generator

    CN109861279A

  • Self-adaptive control strategy for virtual synchronous generator in complex oscillation environment

    CN115912405A