Method and device for controlling energy storage grid-connected system of net-forming type hydrogen fuel cell

By modeling and determining the control strategy of the grid-type hydrogen fuel cell system, an adaptive formula for rotational guard volume is constructed, which solves the impact of the change in the grid-type hydrogen fuel cell system on the output frequency and dynamic performance, and realizes the stable operation and dynamic response capability of the system under the power grid frequency disturbance and active oscillation.

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

Patent Information

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

AI Technical Summary

Technical Problem

The prior art does not consider the impact of changes in the moment of inertia curve of the grid-type hydrogen fuel cell system on the output frequency and dynamic performance, resulting in problems such as spikes in the rotational inertia curve of the traditional grid-type hydrogen fuel cell, which cannot accurately improve the system's overshoot and oscillation, and it is difficult to improve the dynamic response capability of the system's output frequency and power.

Method used

By modeling the hydrogen fuel cell in the preset grid-type hydrogen fuel cell energy storage grid system, a mathematical model of the hydrogen fuel cell was obtained; based on the hydrogen fuel cell mathematical model and the preset grid-type hydrogen fuel cell control strategy, the change relationship between the virtual rotor angular velocity change rate and the moment of inertia corresponding to the virtual synchronous generator is determined, and the rotational inertia changes rules are determined based on the change relationship and the oscillation process of the preset virtual rotor angular velocity; an adaptive formula for the rotational guard quantity when the virtual synchronous generator meets the preset stable operating conditions, and the corresponding control operation is carried out on the grid-type hydrogen fuel cell energy storage grid-type hydrogen fuel cell energy storage grid-type.

Benefits of technology

By adaptively adjusting the rotational inertia moment of inertia of the grid type hydrogen fuel cell, the stable operation of the grid type hydrogen fuel cell system under grid frequency disturbance and active oscillation is solved, and the dynamic response capability of the system output frequency and power is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119813295A_ABST
    Figure CN119813295A_ABST
Patent Text Reader

Abstract

The invention relates to a control method and device for an energy storage grid-connected system of a net-forming type hydrogen fuel cell, and the method comprises the steps: introducing a rotational inertia self-adaptive control strategy in an existing control link of the net-forming type hydrogen fuel cell according to a net-forming type hydrogen fuel cell model and a control principle, and proposing a rotational inertia calculation mode based on a logarithmic function, the spike phenomenon of rotational inertia caused by unstable rotor frequency change in the self-adaption process is eliminated, overshoot and oscillation of the net-forming type hydrogen fuel cell system are weakened through rotational inertia self-adaption adjustment, and the dynamic response capacity of output frequency and power of the net-forming type hydrogen fuel cell system is improved. Therefore, the problems that in the prior art, the influence of the rotational inertia curve change of the net-forming type hydrogen fuel cell system on the output frequency and the dynamic performance is not considered, overshoot and oscillation of the system cannot be accurately improved, and the dynamic response capacity of the output frequency and power of the system is difficult to improve are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of grid-type hydrogen fuel cell modeling, and in particular to a control method and device for a grid-type hydrogen fuel cell energy storage grid-connected system. Background Art

[0002] As the penetration rate of new energy continues to increase, the inertia of the power system continues to decrease, causing power system frequency fluctuations and dynamic stability problems. The grid-type energy storage system combines conventional energy storage, reactive power compensation and other functions, which can greatly improve the inertia and speed response capabilities of energy storage. Hydrogen energy has the advantages of high utilization rate, non-toxicity, and high calorific value. However, the existing hydrogen fuel cell system cannot provide effective power support when facing active power and grid frequency disturbances, which can easily cause grid frequency fluctuations and voltage instability problems.

[0003] The control strategy of the grid-type hydrogen fuel cell system enables the inverter to have high inertia and strong damping frequency response characteristics, which is the key to solving the lack of inertia in the power system; the grid-type hydrogen fuel cell has the ability to automatically synchronize power through the hydrogen energy storage system to achieve the function of grid-building. In addition, the grid-type hydrogen fuel cell control increases the system damping, improves the system stability, and reduces the dependence on the mechanical inertia of the system. However, most of the existing technologies based on grid-type hydrogen fuel cells do not consider the dynamic adjustment of the rotational inertia adaptation, resulting in the inability to provide stable active support when the grid frequency and system active power oscillate.

[0004] In summary, in the modeling of grid-type hydrogen fuel cells, the existing technology does 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, resulting in problems such as spikes in the rotational inertia curve of the traditional grid-type hydrogen fuel cell. It is impossible to accurately improve the overshoot and oscillation of the system, and it is difficult to improve the dynamic response capability of the system output frequency and power, which needs to be solved urgently. Summary of the invention

[0005] The present application provides a control method and device for a grid-connected hydrogen fuel cell energy storage grid-connected system to solve the problems that the prior art does 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 the overshoot and oscillation of the system, and is difficult to improve the dynamic response capability of the system output frequency and power.

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

[0007] Optionally, in one embodiment of the present application, the relationship between the change rate 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 based on the hydrogen fuel cell mathematical model and the preset grid-type hydrogen fuel cell control strategy, including: based on the hydrogen fuel cell mathematical model, obtaining the mechanical equations and electromagnetic equations of the synchronous generator in the grid-type hydrogen fuel cell; applying 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 simulates the moment of 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, determining the relationship between the change rate of the virtual rotor angular velocity and the moment of inertia, wherein the change relationship is that the change rate of the virtual rotor angular velocity is inversely proportional to the moment of inertia.

[0008] Optionally, in one embodiment of the present application, determining the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell according to 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, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both greater than 0, and the moment of inertia shows an increasing trend; when the virtual rotor angular velocity is in the second oscillation interval, the virtual rotor angular velocity change amount is greater than 0, the virtual rotor angular velocity change rate is less than 0, and the moment of inertia shows a decreasing trend; when the virtual rotor angular velocity is in the third oscillation interval, the virtual rotor angular velocity change amount is less than 0, the virtual rotor angular velocity change rate is greater than 0, and the moment of inertia shows an increasing trend; when the virtual rotor angular velocity is in the fourth oscillation interval, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both less than 0, and the moment of inertia shows a decreasing trend.

[0009] Optionally, in one embodiment of the present 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 condition; D represents the damping coefficient of the virtual synchronous generator when it meets the preset stable operating condition; K j represents the adjustment coefficient of the moment of inertia; K d represents the adjustment coefficient of the damping coefficient; T j represents the angular velocity change rate threshold of the virtual synchronous generator; T d represents the angular velocity change threshold of the virtual synchronous generator; D0 represents the initial value of the damping coefficient; J0 represents the initial value of the moment of inertia.

[0012] The second aspect of the present application provides a grid-type hydrogen fuel cell energy storage grid-connected system control device, including: a modeling module, used to model the hydrogen fuel cell in a preset grid-type hydrogen fuel cell energy storage grid-connected system to obtain a hydrogen fuel cell mathematical model; a change rule module, used to determine the change relationship between the virtual rotor angular velocity change rate 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 the preset grid-type hydrogen fuel cell control strategy, and determine the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell according to the change relationship and the preset virtual rotor angular velocity oscillation process; a control module, used to construct a moment of inertia adaptive formula when the virtual synchronous generator meets the preset stable operating conditions according to the change relationship and the moment of inertia change rule, and perform corresponding control operations on the grid-type hydrogen fuel cell energy storage grid-connected system through the moment of inertia adaptive formula.

[0013] Optionally, in one embodiment of the present application, the change rule module includes: an acquisition unit, used to acquire the mechanical equations and electromagnetic equations of the synchronous generator in the grid-type hydrogen fuel cell based on the hydrogen fuel cell mathematical model; a simulation unit, used to apply the mechanical equations and the electromagnetic equations to the grid-connected inverter in the grid-connected 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; a determination unit, used to determine the change relationship between the virtual rotor angular velocity change rate 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 change relationship is that the virtual rotor angular velocity change rate is inversely proportional to the moment of inertia.

[0014] Optionally, in one embodiment of the present 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, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both 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, the virtual rotor angular velocity change amount is greater than 0, the virtual rotor angular velocity change rate is 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, the virtual rotor angular velocity change amount is less than 0, the virtual rotor angular velocity change rate is greater than 0, and the moment of inertia shows an increasing trend; a fourth analysis unit, used to, when the virtual rotor angular velocity is in the fourth oscillation interval, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both less than 0, and the moment of inertia shows a decreasing trend.

[0015] Optionally, in one embodiment of the present 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 condition; D represents the damping coefficient of the virtual synchronous generator when it meets the preset stable operating condition; K j represents the adjustment coefficient of the moment of inertia; K d represents the adjustment coefficient of the damping coefficient; T j represents the angular velocity change rate threshold of the virtual synchronous generator; T d represents the angular velocity change threshold of the virtual synchronous generator; D0 represents the initial value of the damping coefficient; J0 represents the initial value of the moment of inertia.

[0018] The third aspect of the present application provides an electronic device, comprising: 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 control method of the grid-connected hydrogen fuel cell energy storage system as described in the above embodiment.

[0019] The fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, it implements the above-mentioned grid-connected hydrogen fuel cell energy storage grid-connected system control method.

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

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

[0022] The embodiment of the present application can obtain a hydrogen fuel cell mathematical model by modeling the hydrogen fuel cell in the preset grid-type hydrogen fuel cell energy storage grid-connected system; based on the hydrogen fuel cell mathematical model and the preset grid-type hydrogen fuel cell control strategy, determine the change relationship between the virtual rotor angular velocity change rate and the moment of inertia corresponding to the virtual synchronous generator in the grid-type hydrogen fuel cell, and determine the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell according to the change relationship and the preset virtual rotor angular velocity oscillation process; construct a moment of inertia adaptive formula when the virtual synchronous generator meets the preset stable operating conditions according to the change relationship and the moment of inertia change rule, and perform corresponding control operations on the grid-type hydrogen fuel cell energy storage grid-connected system through the moment of inertia adaptive formula. The present application ensures that the grid-type hydrogen fuel cell system operates stably under grid frequency disturbances and active power oscillations by adaptively adjusting the moment of inertia of the grid-type hydrogen fuel cell. Thus, the existing technology solves the problem that the influence of the moment of inertia curve change of the grid-type hydrogen fuel cell system on the output frequency and dynamic performance is not considered, the overshoot and oscillation of the system cannot be accurately improved, and the dynamic response capability of the system output frequency and power is difficult to improve.

[0023] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0025] Figure 1 A flowchart of a control method for a grid-connected hydrogen fuel cell energy storage grid-connected system provided according to an embodiment of the present application;

[0026] Figure 2 A schematic diagram of the structure of a grid-connected hydrogen fuel cell energy storage grid-connected system provided for one embodiment of the present application;

[0027] Figure 3 A fuel cell voltage output characteristic curve and output power characteristic curve provided for one embodiment of the present application;

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

[0029] Figure 5 A schematic diagram of a curve showing the influence of the moment of inertia and damping coefficient of a grid-type hydrogen fuel cell on power response provided in one embodiment of the present application;

[0030] Figure 5 (a) is a schematic diagram of a curve showing the influence of rotational inertia on power response provided by an embodiment of the present application;

[0031] Figure 5 (b) is a schematic diagram of a curve showing the influence of a damping coefficient on a power response provided by an embodiment of the present application;

[0032] Figure 6 A schematic diagram of frequency and power response under active power instruction disturbance provided by an embodiment of the present application;

[0033] Figure 6 (a) is a schematic diagram of frequency fluctuation under active power instruction disturbance provided by an embodiment of the present application;

[0034] Figure 6 (b) is a schematic diagram of active power fluctuation under active power instruction disturbance provided by an embodiment of the present application;

[0035] Figure 7 A schematic diagram of frequency and power response under frequency disturbance provided by an embodiment of the present application;

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

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

[0038] Figure 8 A schematic diagram of a moment of inertia adaptive curve provided for an embodiment of the present application;

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

[0040] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present 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 DESCRIPTION

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

[0043] The following describes the control method and device of the grid-type hydrogen fuel cell energy storage grid-connected system of the embodiment of the present application with reference to the accompanying drawings. In view of the problems mentioned in the above background technology, the present application provides a control method of a grid-type hydrogen fuel cell energy storage grid-connected system, in which a hydrogen fuel cell in a preset grid-type hydrogen fuel cell energy storage grid-connected system is modeled to obtain a hydrogen fuel cell mathematical model; based on the hydrogen fuel cell mathematical model and the preset grid-type hydrogen fuel cell control strategy, the relationship between the change rate 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, and the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell is determined according to the change relationship and the oscillation process of the preset virtual rotor angular velocity; according to the change relationship and the moment of inertia change rule, an adaptive formula of the moment of inertia is constructed when the virtual synchronous generator meets the preset stable operating conditions, and the grid-type hydrogen fuel cell energy storage grid-connected system is controlled accordingly by the adaptive formula of the moment of inertia. The present application ensures that the grid-type hydrogen fuel cell system operates stably under grid frequency disturbance and active power oscillation by adaptively adjusting the moment of inertia of the grid-type hydrogen fuel cell. This solves the problem that the existing technology does not consider the impact of the change of the rotational inertia curve of the grid-type 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 system output frequency and power.

[0044] Specifically, Figure 1 A flow chart of a control method for a grid-connected hydrogen fuel cell energy storage grid-connected system provided in an embodiment of the present application.

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

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

[0047] It should be noted that in the embodiments of the present application, based on Figure 2In the grid-connected hydrogen fuel cell energy storage grid-connected system shown in the figure, the DC voltage of the hydrogen fuel cell can reach a stable output voltage after passing through the Boost circuit, and then connected to the grid after passing through the three-phase full-bridge inverter and LC filter; the hydrogen fuel cell, as a DC power source, only provides active power to the grid, and the output reactive power is zero, so the DC bus voltage U of the hydrogen fuel cell is controlled dc ;also, Figure 2 As shown in ref and q in are the reference input hydrogen flow rate and the input hydrogen flow rate, respectively.

[0048] In the actual implementation process, the hydrogen fuel cell uses a proton exchange membrane fuel cell, which has a faster startup speed and can reach full power operation within a few minutes, which is suitable for application scenarios that require fast response; the embodiment of the present application uses the theoretical voltage U of a single hydrogen fuel cell nernst The actual output voltage U of a single fuel cell under this condition can be obtained by subtracting the lost voltage value from the value, as shown in the following formula:

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

[0050] Among them, U nernst is the theoretical electromotive force of the fuel cell; U act is the activation overvoltage; U ohm is the ohmic overvoltage of the fuel cell; U conc is the concentration difference overvoltage of the fuel cell. The specific mathematical expressions of the above parameters can be obtained from the thermodynamic formula:

[0051]

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

[0053] It is understandable that, since the output voltage of a single fuel cell is relatively low, the embodiment of the present application uses multiple cells to form a fuel cell stack to increase its output voltage, and uses the above-mentioned mathematical model of the hydrogen fuel cell to model, thereby obtaining a mathematical model of the hydrogen fuel cell, that is, Figure 3 The fuel cell voltage output characteristic curve and output power characteristic curve are shown.

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

[0055] Further, in the embodiments of the present application, Figure 4 The L in the grid-type hydrogen fuel cell structure shown f , C f and L g They are filter inductance, filter capacitance and grid-connected impedance respectively, and the grid-connected side adopts a grid-connected hydrogen fuel cell control strategy with adaptive moment of inertia, thereby determining the relationship between the change rate 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 based on the change relationship and the oscillation process of the virtual rotor angular velocity, the moment of inertia change rule corresponding to the grid-connected hydrogen fuel cell is obtained.

[0056] Optionally, in one embodiment of the present application, based on a hydrogen fuel cell mathematical model and a preset grid-type hydrogen fuel cell control strategy, the relationship between the change rate 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: based on the hydrogen fuel cell mathematical model, obtaining the mechanical equations and electromagnetic equations of the synchronous generator in the grid-type hydrogen fuel cell; applying the mechanical equations 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; based on the moment of inertia, the damping coefficient and the grid-type hydrogen fuel cell control strategy, determining the relationship between the change rate of the virtual rotor angular velocity and the moment of inertia, wherein the change relationship is that the change rate of the virtual rotor angular velocity is inversely proportional to the moment of inertia.

[0057] In the specific implementation process, the grid-connected control technology can act on the grid-connected inverter according to the mechanical equations and electromagnetic equations of the synchronous generator, so that the grid-connected inverter simulates the moment of inertia and damping coefficient of the synchronous generator rotor; the core control part of the grid-connected hydrogen fuel cell is mainly composed of active-frequency regulation and reactive-voltage regulation, and its expression is:

[0058]

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

[0060] It can be seen from formula (3) that the rate of change of the virtual rotor angular velocity is inversely proportional to the moment of inertia, that is, when the inertia value is small, the rate of change of the virtual rotor angular velocity will increase, resulting in a decrease in the stability of the grid-type hydrogen fuel cell system; when the inertia value is large, the rate of change of the virtual rotor angular velocity is small, and the grid-type hydrogen fuel cell system has high stability, but at the same time it will also cause the dynamic adjustment ability of the grid-type hydrogen fuel cell system to decrease.

[0061] Optionally, in one embodiment of the present application, the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell is determined according to the change relationship and the oscillation process of the preset 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, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both greater than 0, and the moment of inertia shows an increasing trend; when the virtual rotor angular velocity is in the second oscillation interval, the virtual rotor angular velocity change amount is greater than 0, the virtual rotor angular velocity change rate is less than 0, and the moment of inertia shows a decreasing trend; when the virtual rotor angular velocity is in the third oscillation interval, the virtual rotor angular velocity change amount is less than 0, the virtual rotor angular velocity change rate is greater than 0, and the moment of inertia shows an increasing trend; when the virtual rotor angular velocity is in the fourth oscillation interval, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both less than 0, and the moment of inertia shows a decreasing trend.

[0062] It should be noted that the embodiment of the present application divides the rotor angular velocity oscillation process into four oscillation intervals, and analyzes the design of the moment of inertia parameters of the adaptive control as follows:

[0063] 1. The actual power corresponding to 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 angular velocity change rate dw / dt>0. Therefore, it is necessary to increase the moment of inertia to suppress the change amplitude and change rate of the 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 change amplitude of the 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, and dw / dt>0 first decreases and then increases, and the overall situation remains under the premise of dw / dt>0. Therefore, it is necessary to reduce the moment of inertia to make the system return to stability;

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

[0066] Table 1

[0067]

[0068]

[0069] It can be seen from Table 1 that the selection of the moment of inertia is determined by both the change amount and the change rate of the virtual rotor angular velocity.

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

[0071] Furthermore, the embodiment of the present application can also construct a new adaptive formula for the moment of inertia based on the change relationship and the change rule of the moment of inertia. Putting the relevant quantity as an independent variable into the formula can better reflect the relationship between the moment of inertia and it. Taking into account the amplitude limitation of the moment of inertia, a large range of adjustment of the moment of inertia J has high requirements on the system capacity. Constructing a moment of inertia calculation method based on a logarithmic function effectively solves the problem of excessive increase in the moment of inertia.

[0072] It can be understood that the embodiment of the present application is based on an adaptive control strategy to adjust the size of J and D in real time, eliminating the spike phenomenon of the moment of inertia caused by the unstable change of the rotor frequency during the adaptive process, and weakening the overshoot and oscillation of the grid-type hydrogen fuel cell system through adaptive adjustment of the moment of inertia, thereby improving the dynamic response capability of the output frequency and power of the grid-type hydrogen fuel cell system.

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

[0074]

[0075] 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 Indicates the adjustment coefficient of the moment of inertia; K d Indicates the adjustment coefficient of the damping coefficient; T j represents the angular velocity change rate threshold of the virtual synchronous generator; T d represents the angular velocity change threshold of the virtual synchronous generator; D0 represents the initial value of the damping coefficient; J0 represents the initial value of the moment of inertia.

[0076] Since the moment of inertia J is related to the rotor angular velocity change rate and the rotor angular velocity offset (i.e., the rotor angular velocity change amount), the embodiment of the present application proposes a new adaptive formula for the moment of inertia. Putting the relevant quantity as an independent variable into the formula can better reflect the relationship between the moment of inertia and the moment of inertia. Considering the amplitude limit of the moment of inertia, a large range of adjustment of the moment of inertia J requires a high system capacity. Therefore, a moment of inertia calculation method based on a logarithmic function is constructed, thereby effectively solving the problem of excessive increase in the moment of inertia. The adaptive formula for the moment of inertia is as follows:

[0077]

[0078] 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 Indicates the adjustment coefficient of the moment of inertia; K d Indicates the adjustment coefficient of the damping coefficient; T j represents the angular velocity change rate threshold of the virtual synchronous generator; T d represents the angular velocity change threshold of the virtual synchronous generator; D0 represents the initial value of the damping coefficient; J0 represents the initial value of the moment of inertia.

[0079] According to the grid-type hydrogen fuel cell model and control principle, the embodiment of the present application introduces a rotational inertia adaptive control strategy into the existing grid-type hydrogen fuel cell control link, and proposes a rotational inertia calculation method based on a logarithmic function, thereby obtaining relevant conclusions:

[0080] (1) When the active power command of the grid-connected 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 adjustment time increases, and the system robustness decreases.

[0081] (2) When the grid frequency decreases, both the grid frequency and active power fluctuate. The adaptive moment of inertia control strategy can effectively reduce the oscillation of frequency and active power, thereby increasing the robustness of the system.

[0082] The following further illustrates and explains the control method of the grid-connected hydrogen fuel cell energy storage system of the present application through a specific embodiment and in combination with the accompanying drawings.

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

[0084] Table 2

[0085]

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

[0087] In addition, the specific embodiment of the present application sets the input active power command step disturbance and the grid frequency disturbance respectively, and the specific operations are as follows:

[0088] 1) The initial active power value 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 the specific embodiments of the present application:

[0091] The frequency and power response under active power command disturbance is as follows: Figure 6 As shown. Figure 6 It can be seen from (a) that when the active power command of the grid-type hydrogen fuel cell system is disturbed, the overshoot of frequency fluctuation is significantly reduced by the method of the present application compared with the grid-type hydrogen fuel cell control method, the recovery speed is accelerated, the transient adjustment process is shortened, the oscillation amplitude is weakened, and the dynamic performance of the system is improved. Figure 6 It can be seen from (b) that the overshoot of the system output active power during fluctuation 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 active power instruction changes; therefore, the control strategy of the present application can effectively weaken the oscillation of system power and frequency caused by the active power instruction changes, and improve the system robustness.

[0092] The frequency and power response under frequency disturbance is as follows Figure 7 As shown. 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 weakened, the overshoot is reduced, the transient adjustment process is shortened, and the system performance is improved. Figure 7 It can be seen from (b) that, compared with the grid-type fuel cell control method, the overshoot of active power fluctuation 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 and improve the robustness of the system.

[0093] According to Table 1, the change of the corresponding moment of inertia J should conform to the corresponding change rules. However, most adaptive change control strategies ignore the changes in the second stage, so that when the power changes suddenly, the adaptive process of the moment of inertia only shows two changes: first increase and then decrease. The improved control strategy solves this problem well, and the control effect is improved. Figure 8 The change of the moment of inertia under the improved adaptive control strategy.

[0094] The adaptive process of the moment of inertia did not show any spike phenomenon caused by excessive angular velocity change rate. According to the analysis of the four intervals divided by the rotor angular velocity oscillation process, the corresponding change trend of the moment of inertia is consistent with the analysis in Table 1. The calculation formula of the improved adaptive moment of inertia J can better reflect the relationship between the moment of inertia J and the rotor angular velocity change rate dw / dt and the rotor angular velocity change Δw.

[0095] According to the control method of the grid-type hydrogen fuel cell energy storage grid-connected system proposed in the embodiment of the present application, the hydrogen fuel cell in the preset grid-type hydrogen fuel cell energy storage grid-connected system is modeled to obtain a hydrogen fuel cell mathematical model; based on the hydrogen fuel cell mathematical model and the preset grid-type hydrogen fuel cell control strategy, the relationship between the change rate 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, and the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell is determined according to the change relationship and the oscillation process of the preset virtual rotor angular velocity; according to the change relationship and the moment of inertia change rule, an adaptive formula for the moment of inertia is constructed when the virtual synchronous generator meets the preset stable operating conditions, and the grid-type hydrogen fuel cell energy storage grid-connected system is controlled accordingly through the adaptive formula for the moment of inertia. The present application ensures the stable operation of the grid-type hydrogen fuel cell system under grid frequency disturbance and active power oscillation by adaptively adjusting the moment of inertia of the grid-type hydrogen fuel cell.

[0096] Secondly, the grid-connected hydrogen fuel cell energy storage grid-connected system control device proposed in accordance with the embodiment of the present application is described with reference to the accompanying drawings.

[0097] Fig. 9 It is a block diagram of a grid-connected hydrogen fuel cell energy storage grid-connected system control device according to an embodiment of the present application.

[0098] like Fig. 9 As shown, the grid-connected 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 cell in the preset grid-connected hydrogen fuel cell energy storage system to obtain a mathematical model of the hydrogen fuel cell.

[0100] The change rule module 200 is used to determine the change relationship between the virtual rotor angular velocity change rate 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 the preset grid-type hydrogen fuel cell control strategy, and determine the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell according to the change relationship and the oscillation process of the preset 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 according to the change relationship and the moment of inertia change rule, and to perform corresponding control operations on the grid-connected hydrogen fuel cell energy storage system through the adaptive formula for the moment of inertia.

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

[0103] Among them, the acquisition unit is used to obtain the mechanical equations 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 equations and electromagnetic equations to the grid-connected inverter in the grid-connected 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.

[0105] The determination unit is used to determine the changing relationship between the virtual rotor angular velocity change rate 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 changing relationship is that the virtual rotor angular velocity change rate is inversely proportional to the moment of inertia.

[0106] Optionally, in one embodiment of the present 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 a first oscillation interval, a second oscillation interval, a third oscillation interval and a fourth oscillation interval corresponding to the oscillation process.

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

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

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

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

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

[0113]

[0114] 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 Indicates the adjustment coefficient of the moment of inertia; K d Indicates the adjustment coefficient of the damping coefficient; T j represents the angular velocity change rate threshold of the virtual synchronous generator; T d represents the angular velocity change threshold of the virtual synchronous generator; D0 represents the initial value of the damping coefficient; J0 represents the initial value of the moment of inertia.

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

[0116] According to the control device of the grid-type hydrogen fuel cell energy storage grid-connected system proposed in the embodiment of the present application, it includes a modeling module, which is used to model the hydrogen fuel cell in the preset grid-type hydrogen fuel cell energy storage grid-connected system to obtain a hydrogen fuel cell mathematical model; a change rule module, which is used to determine the change relationship between the virtual rotor angular velocity change rate 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 the preset grid-type hydrogen fuel cell control strategy, and determine the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell according to the change relationship and the oscillation process of the preset virtual rotor angular velocity; a control module, which is used to construct an adaptive formula for the moment of inertia when the virtual synchronous generator meets the preset stable operating conditions according to the change relationship and the moment of inertia change rule, and perform corresponding control operations on the grid-type hydrogen fuel cell energy storage grid-connected system through the adaptive formula for the moment of inertia. The present application ensures the stable operation of the grid-type hydrogen fuel cell system under grid frequency disturbance and active power oscillation by adaptively adjusting the moment of inertia of the grid-type hydrogen fuel cell.

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

[0118] A memory 1001 , a processor 1002 , and a computer program stored in the memory 1001 and executable on the processor 1002 .

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

[0120] Furthermore, the electronic device further comprises:

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

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

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

[0124] If the memory 1001, the processor 1002 and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001 and the processor 1002 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

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

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

[0127] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned grid-connected hydrogen fuel cell energy storage grid-connected system control method.

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

[0129] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

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

[0131] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0132] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.

[0133] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0134] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0135] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0136] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A control method for a grid-connected hydrogen fuel cell energy storage grid-connected system, characterized in that: The following steps are involved: Modeling the hydrogen fuel cell in the preset grid-connected hydrogen fuel cell energy storage system to obtain a hydrogen fuel cell mathematical model; Based on the hydrogen fuel cell mathematical model and the preset grid-type hydrogen fuel cell control strategy, determine the relationship between the change rate of the virtual rotor angular velocity and the moment of inertia corresponding to the virtual synchronous generator in the grid-type hydrogen fuel cell, and determine the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell according to the change relationship and the oscillation process of the preset virtual rotor angular velocity; According to the change relationship and the moment of inertia change rule, an adaptive formula for the moment of inertia is constructed when the virtual synchronous generator meets the preset stable operating conditions, and the grid-connected hydrogen fuel cell energy storage grid-connected system is controlled accordingly through the adaptive formula for the moment of inertia.

2. The method according to claim 1, characterized in that The determining of the relationship between the change rate 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 the preset grid-type hydrogen fuel cell control strategy includes: Based on the hydrogen fuel cell mathematical model, obtaining the mechanical equation and electromagnetic equation of the synchronous generator in the grid-type hydrogen fuel cell; Applying the mechanical equation and the electromagnetic equation to the grid-connected inverter in the grid-connected 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; Based on the moment of inertia, the damping coefficient and the grid-type hydrogen fuel cell control strategy, the changing relationship between the virtual rotor angular velocity change rate and the moment of inertia is determined, wherein the changing relationship is that the virtual rotor angular velocity change rate is inversely proportional to the moment of inertia.

3. The method according to claim 2, characterized in that The step of determining the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell according to the change relationship and the oscillation process of the preset 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, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both greater than 0, and the moment of inertia shows an increasing trend; When the virtual rotor angular velocity is in the second oscillation interval, the virtual rotor angular velocity change is greater than 0, the virtual rotor angular velocity change rate is less than 0, and the moment of inertia shows a decreasing trend; When the virtual rotor angular velocity is in the third oscillation interval, the virtual rotor angular velocity change is less than 0, the virtual rotor angular velocity change rate 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, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both less than 0, and the moment of inertia shows a decreasing trend.

4. The method according to claim 1, characterized in that: The adaptive formula for the moment of inertia is: Wherein, J represents the moment of inertia of the virtual synchronous generator when it meets the preset stable operating condition; D represents the damping coefficient of the virtual synchronous generator when it meets the preset stable operating condition; K j represents the adjustment coefficient of the moment of inertia; K d represents the adjustment coefficient of the damping coefficient; T j represents the angular velocity change rate threshold of the virtual synchronous generator; T d represents the angular velocity change threshold of the virtual synchronous generator; D0 represents the initial value of the damping coefficient; J0 represents the initial value of the moment of inertia.

5. A grid-connected hydrogen fuel cell energy storage grid-connected system control device, characterized in that: include: A modeling module is used to model the hydrogen fuel cell in the preset grid-connected hydrogen fuel cell energy storage system to obtain a hydrogen fuel cell mathematical model; A change rule module is used to determine the change relationship between the virtual rotor angular velocity change rate 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 the preset grid-type hydrogen fuel cell control strategy, and determine the moment of inertia change rule corresponding to the grid-type hydrogen fuel cell according to the change relationship and the preset virtual rotor angular velocity oscillation process; A 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 according to the change relationship and the moment of inertia change rule, and to perform corresponding control operations on the grid-connected hydrogen fuel cell energy storage system through the adaptive formula for the moment of inertia.

6. The device according to claim 5, characterized in that The change rule module includes: An acquisition unit, used for acquiring the mechanical equation and the electromagnetic equation of the synchronous generator in the grid-type hydrogen fuel cell based on the hydrogen fuel cell mathematical model; A simulation unit, used for applying the mechanical equation and the electromagnetic equation to the grid-connected inverter in the grid-connected 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; A determination unit is used to determine the changing relationship between the virtual rotor angular velocity change rate and the rotational inertia based on the rotational inertia, the damping coefficient and the grid-type hydrogen fuel cell control strategy, wherein the changing relationship is that the virtual rotor angular velocity change rate is inversely proportional to the rotational inertia.

7. The device according to claim 6, characterized in that The change rule module also includes: a dividing unit, configured 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 analyzing unit, configured to: when the virtual rotor angular velocity is in the first oscillation interval, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both greater than 0, and the moment of inertia shows an increasing trend; a second analyzing unit, configured to: when the virtual rotor angular velocity is in the second oscillation interval, the virtual rotor angular velocity change is greater than 0, the virtual rotor angular velocity change rate is less than 0, and the moment of inertia shows a decreasing trend; a third analyzing unit, configured to, when the virtual rotor angular velocity is in the third oscillation interval, the virtual rotor angular velocity change is less than 0, the virtual rotor angular velocity change rate is greater than 0, and the moment of inertia shows an increasing trend; The fourth analyzing unit is used for: when the virtual rotor angular velocity is within the fourth oscillation interval, the virtual rotor angular velocity change amount and the virtual rotor angular velocity change rate are both less than 0, and the moment of inertia shows a decreasing trend.

8. An electronic device, characterized in that: include: 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 control method for the grid-connected hydrogen fuel cell energy storage system as described in any one of claims 1 to 4.

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

10. A computer program product, comprising a computer program, characterized in that The computer program is executed to implement the control method of the grid-connected hydrogen fuel cell energy storage system as described in any one of claims 1 to 4.

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

  • Method, system and equipment for controlling network-forming type energy storage current converter and storage medium

    CN117691648A

  • Microgrid adaptive virtual synchronous control method and apparatus, medium, and device

    WO2024040781A1