Simulation system, test method, equipment and readable storage medium for hydrogen energy system

By simulating the operating parameters and calculating the hydrogen production results through the hydrogen energy system simulation system, the space and environmental limitations of physical bench testing are resolved, flexible hydrogen energy system testing and safe performance evaluation are achieved, and the deployment speed of the hydrogen energy system is improved.

CN114706321BActive Publication Date: 2025-09-26SUNGROW POWER SUPPLY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210294636.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-24
Publication Date
2025-09-26
Estimated Expiration
2042-03-24

AI Technical Summary

Technical Problem

Existing hydrogen energy system testing is limited to physical test benches, which take up a lot of space and are constrained by environmental conditions, making it impossible to flexibly test various operating conditions.

Method used

A simulation system for a hydrogen energy system is provided, including a hydrogen energy controller model, an electrolyzer model, and a hydrogen separator model. The system calculates hydrogen production results by simulating operating parameters, thus avoiding the site and hardware limitations of physical testing.

Benefits of technology

Testing the hydrogen production performance of the hydrogen energy system in a simulation system avoids the production of real hydrogen, improves the flexibility and safety of the test, and shortens the deployment time of the physical hydrogen energy system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114706321B_ABST
    Figure CN114706321B_ABST
Patent Text Reader

Abstract

The present invention discloses a simulation system, testing method, device, and readable storage medium for a hydrogen energy system. The simulation system includes a hydrogen energy controller model, an electrolyzer model, and a hydrogen separator model. The hydrogen energy controller model is configured to output operating parameters set based on an operating parameter setting operation to the electrolyzer model. The electrolyzer model is configured to calculate a first pressure and a first flow rate of a hydrogen-containing electrolyte based on the operating parameters. The hydrogen separator model is configured to calculate hydrogen production result data based on the first pressure and the first flow rate. The present invention enables testers to test the hydrogen production performance of a hydrogen energy system within the simulation system, without being restricted by test sites or test hardware.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of testing technology, and in particular to a simulation system, testing method, equipment and readable storage medium for a hydrogen energy system. Background Art

[0002] Hydrogen energy systems produce hydrogen through the electrolysis of water. Currently, these systems typically require testing before deployment. However, this testing typically involves building a physical test bench for the hydrogen energy system. This testing method is limited by the physical properties of the test bench, the large production area occupied by the equipment, and is easily constrained by environmental conditions. Summary of the Invention

[0003] The main purpose of the present invention is to provide a simulation system, testing method, equipment and readable storage medium for a hydrogen energy system, aiming to provide a simulation system for a hydrogen energy system so that testers can test the basic hydrogen production function of the hydrogen energy system based on the simulation system, avoiding the limitations of the physical test bench.

[0004] To achieve the above objectives, the present invention provides a simulation system for a hydrogen energy system, which includes a hydrogen energy controller model, an electrolyzer model, and a hydrogen separator model:

[0005] The hydrogen energy controller model is used to output the operating parameters set based on the operating parameter setting operation to the electrolyzer model;

[0006] The electrolyzer model is used to calculate a first pressure and a first flow rate of the hydrogen-containing electrolyte based on the operating parameters;

[0007] The hydrogen separator model is used to calculate hydrogen production result data based on the first pressure and the first flow rate.

[0008] Optionally, the simulation system of the hydrogen energy system further includes an oxygen separator model;

[0009] The electrolytic cell model is further used to calculate a second pressure and a second flow rate of the oxygen-containing electrolyte based on the operating parameters;

[0010] The oxygen separator model is used to calculate oxygen production result data based on the second pressure and the second flow rate.

[0011] Optionally, the simulation system of the hydrogen energy system further includes a liquid level control valve model and a PID model;

[0012] The hydrogen separator model is further configured to calculate a liquid level of the hydrogen separator based on the first pressure and the first flow rate, and output the liquid level of the hydrogen separator to the liquid level regulating valve model and the hydrogen energy controller model;

[0013] The hydrogen energy controller model is further configured to output a liquid level control signal to the liquid level regulating valve model when it is determined based on the liquid level of the hydrogen separator that liquid level regulation is required;

[0014] The liquid level regulating valve model is configured to calculate, upon receiving the liquid level control signal, a liquid level regulating valve opening based on the hydrogen separator liquid level and the PID liquid level control parameters set in the PID model, and calculate a volume of the electrolyte to be refluxed based on the liquid level regulating valve opening, and output the volume of the electrolyte to be refluxed to the hydrogen separator model;

[0015] The hydrogen separator model is further used to update the hydrogen separator liquid level based on the volume of the electrolyte to be refluxed.

[0016] Optionally, the simulation system of the hydrogen energy system further includes a pressure regulating valve model;

[0017] The hydrogen separator model is further configured to output the first pressure to the pressure regulating valve model and the hydrogen energy controller model;

[0018] The hydrogen energy controller model is further configured to output a pressure control signal to the pressure regulating valve model when it is determined based on the first pressure that pressure regulation is required;

[0019] The pressure regulating valve model is used to calculate the pressure regulating valve opening based on the first pressure and the PID pressure control parameter set in the PID model when receiving the pressure control signal, and calculate the pressure in the hydrogen separator model at the next moment based on the pressure regulating valve opening to update the first pressure.

[0020] Optionally, the simulation system of the hydrogen energy system further includes a temperature regulating valve model;

[0021] The electrolyzer model is further configured to calculate a first temperature of the hydrogen-containing electrolyte based on the operating condition parameters, and output the first temperature to the temperature regulating valve model and the hydrogen energy controller model;

[0022] The hydrogen energy controller model is further configured to output a temperature control signal to the temperature control valve model when determining that temperature adjustment is required based on the first temperature;

[0023] The temperature control valve model is used to calculate the temperature control valve opening based on the first temperature and the PID temperature control parameters set in the PID model when receiving the temperature control signal, and calculate the temperature in the hydrogen separator model at the next moment based on the temperature control valve opening to update the first temperature.

[0024] Optionally, the hydrogen energy controller model is further configured to output a liquid level control parameter adjustment instruction to the PID model when it is determined that the liquid level of the hydrogen separator is abnormal; and / or, the hydrogen energy controller model is further configured to output a pressure control parameter adjustment instruction to the PID model when it is determined that the first pressure is abnormal; and / or, the hydrogen energy controller model is further configured to output a temperature control parameter adjustment instruction to the PID model when it is determined that the first temperature is abnormal;

[0025] The PID model is also used to adjust the PID liquid level control parameters in the PID model based on the liquid level control parameter adjustment instruction; and / or, the PID model is also used to adjust the PID pressure control parameters in the PID model based on the pressure control parameter adjustment instruction; and / or, the PID model is also used to adjust the PID temperature control parameters in the PID model based on the temperature control parameter adjustment instruction.

[0026] Optionally, the simulation system of the hydrogen energy system further includes a liquid level model, wherein the initial electrolyte volume is preset in the liquid level model;

[0027] The liquid level regulating valve model is further used to output the volume of the electrolyte to be refluxed to the liquid level model;

[0028] The liquid level model is used to calculate the actual electrolyte volume in the liquid level model based on the current hydrogen production time of the simulation system of the hydrogen energy system, the preset initial electrolyte volume and the volume of the electrolyte to be refluxed, and output the actual electrolyte volume.

[0029] Optionally, the liquid level model is further used to calculate and output the volume of raw water consumed in hydrogen production based on the current hydrogen production time of the simulation system of the hydrogen energy system.

[0030] Optionally, the electrolytic cell model includes an electrolysis chamber model and a power conversion model;

[0031] The electrolysis chamber model is used to calculate the actual available power based on the operating parameters;

[0032] The power conversion model is used to calculate the first pressure and the first flow rate of the hydrogen-containing electrolyte based on the actual available power.

[0033] Optionally, each model in the simulation system of the hydrogen energy system is also used to determine the output time of each calculated result based on a preset time scaling ratio and a preset actual processing time corresponding to each model, so as to output each calculated result according to the output time.

[0034] To achieve the above objectives, the present invention further provides a method for testing a hydrogen energy system. The method is applied to a simulation system of a hydrogen energy system. The simulation system of the hydrogen energy system includes a hydrogen energy controller model, an electrolyzer model, and a hydrogen separator model. The method comprises the following steps:

[0035] Outputting the operating condition parameters set based on the operating condition parameter setting operation to the electrolyzer model through the hydrogen energy controller model;

[0036] Calculating a first pressure and a first flow rate of the hydrogen-containing electrolyte based on the operating parameters using the electrolyzer model;

[0037] The hydrogen production result data is calculated based on the first pressure and the first flow rate by the hydrogen separator model.

[0038] To achieve the above-mentioned objectives, the present invention also provides a test device for a hydrogen energy system, which includes: a memory, a processor, and a test program for the hydrogen energy system stored in the memory and runnable on the processor. When the test program for the hydrogen energy system is executed by the processor, the steps of the simulation system of the hydrogen energy system as described above are implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer-readable storage medium, on which a test program of a hydrogen energy system is stored. When the test program of the hydrogen energy system is executed by a processor, the steps of the simulation system of the hydrogen energy system as described above are implemented.

[0040] In the present invention, a simulation system for a hydrogen energy system is set up, and a hydrogen energy controller model is set up in the simulation system to output the operating parameters set based on the operating parameter setting operation to the electrolyzer model, and the electrolyzer model is set up to calculate the pressure and flow of the hydrogen-containing electrolyte based on the operating parameters to simulate the process of electrolyzing water in the physical electrolyzer, and a hydrogen separator model is set up to calculate the hydrogen production result data based on the pressure and flow of the hydrogen-containing electrolyte to simulate the process of separating hydrogen by the physical hydrogen separator, so that the tester can test the hydrogen production performance of the hydrogen energy system in the simulation system without being restricted by the test site and test hardware, and no hydrogen will be actually generated during the test process, thereby not posing a hidden danger to the personal safety of the tester. In addition, the tester can set the operating parameters by triggering the operating parameter setting operation in the simulation system to test the hydrogen production performance of the hydrogen energy system under various operating conditions, without having to first deploy the physical hydrogen energy system for various operating conditions before starting the test. When it is necessary to develop a new physical hydrogen energy system, testing can also be carried out simultaneously through the simulation system during the development phase of the physical equipment, without having to wait for the development of each device of the physical hydrogen energy system to be completed before starting testing, which can help improve the deployment speed of the physical hydrogen energy system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of the system architecture involved in an embodiment of a simulation system for a hydrogen energy system of the present invention;

[0042] Figure 2 A schematic diagram of a system architecture related to another embodiment of a simulation system for a hydrogen energy system according to the present invention;

[0043] Figure 3 This is a flow chart of an embodiment of a method for testing a hydrogen energy system according to the present invention;

[0044] Figure 4 This is a schematic diagram of the structure of the hardware operating environment involved in the embodiment of the present invention.

[0045] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0046] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0047] Example 1

[0048] Reference Figure 1 , an embodiment of the present invention provides a simulation system for a hydrogen energy system, that is, a simulation system for a physical hydrogen energy system is provided, which can be used to test the physical hydrogen energy system by simulation. For the sake of convenience of description, it is referred to as a simulation system below. The simulation system can be deployed in devices such as personal computers or servers, and is not limited in this embodiment. In this embodiment, the simulation system can specifically include a hydrogen energy controller model, an electrolyzer model, and a hydrogen separator model. In a specific implementation manner, in addition to including these three models, the simulation system can also be configured to include other models as needed. Each model in the simulation system can be a model obtained by converting each component in the hydrogen energy system through a simulation method. In this embodiment, there is no limitation on the simulation method. For example, it can be implemented by Matlab or Simulink software.

[0049] The hydrogen energy controller model is used to output the operating parameters set based on the operating parameter setting operation to the electrolyzer model.

[0050] The hydrogen energy controller model is configured to allow testers to set operating parameters. In a specific embodiment, the user interface of the simulation system can display diagrams of each model, and a working condition parameter UI component can be displayed for the diagram of the hydrogen energy controller model. Based on the working condition parameter UI component, the tester can input the working condition parameters to be set to trigger the working condition parameter setting operation. The hydrogen energy controller model receives the input working condition parameters according to the working condition parameter setting operation and can save them. After the test starts, the working condition parameters are output to the electrolyzer model. Among them, the working condition parameters may include parameters such as power supply power and ambient temperature. The working condition parameters are factors that can affect the hydrogen production results of the hydrogen energy system. For example, by setting different power supplies, the hydrogen production results of the hydrogen energy system at different powers can be tested, and then the tester can understand what kind of power supply power should be used in the physical hydrogen energy system to achieve a higher hydrogen production efficiency; for example, by setting different ambient temperatures, the hydrogen production efficiency of the hydrogen energy system at different ambient temperatures can be tested, and then the tester can understand the hydrogen production efficiency of the hydrogen energy system at locations with different ambient temperatures, and then select the location where the hydrogen energy system is set.

[0051] The electrolyzer model is used to calculate a first pressure and a first flow rate of the hydrogen-containing electrolyte based on the operating parameters;

[0052] The physical hydrogen energy system includes an electrolyzer, in which an electrolyte and raw water are placed, and a reaction of electrolyzing water is carried out when the power is turned on, and then the hydrogen-containing electrolyte is discharged to the hydrogen separator. Among them, the hydrogen discharged from the electrolyzer to the hydrogen separator contains a small amount of electrolyte, so it is called a hydrogen-containing electrolyte in this embodiment, or it can also be understood as hydrogen containing electrolyte. In this embodiment, the electrolyzer model is a model for simulating a physical electrolyzer, and the reaction of electrolyzing water in the electrolyzer is simulated by calculating the pressure (hereinafter referred to as the first pressure) and flow (hereinafter referred to as the first flow) of the hydrogen-containing electrolyte based on the operating parameters. It can be understood that the input data of the electrolyzer model are operating parameters, which are processed by the electrolyzer model to obtain the first pressure and the first flow. In this embodiment, the specific calculation formula of the electrolyzer model is not limited, and the formula can be obtained by data fitting. In a specific embodiment, multiple sets of operating data from a deployed physical hydrogen energy system can be pre-acquired. Each set of operating data includes a piece of operating parameter data for a physical electrolyzer model and a piece of pressure and flow data for a hydrogen-containing electrolyte. A formula reflecting the corresponding relationship between the operating parameters and the pressure and flow of the hydrogen-containing electrolyte can be fitted using these multiple sets of operating data. This formula can then be used as the formula for the electrolyzer model. Fitting these multiple sets of operating data can be performed using methods such as curve approximation, polynomial fitting, least squares method, and machine learning, without limitation.

[0053] It should be noted that other models in the simulation system can also select corresponding input data and output data from the operating data of the physical hydrogen energy system for fitting to obtain the calculation formula used by the model.

[0054] After calculating the first pressure and the first flow rate of the hydrogen-containing electrolyte, the electrolyzer model outputs the first pressure and the first flow rate to the hydrogen separator model to simulate the process of the electrolyzer discharging the hydrogen-containing electrolyte to the hydrogen separator in the physical hydrogen energy system.

[0055] The hydrogen separator model is used to calculate hydrogen production result data based on the first pressure and the first flow rate.

[0056] The hydrogen separator in a physical hydrogen energy system is used to separate the hydrogen-containing electrolyte discharged from the electrolyzer and discharge the separated hydrogen to a hydrogen storage device. In this embodiment, the hydrogen separator model is used to simulate a physical hydrogen separator. By calculating hydrogen production result data based on a first pressure and a first flow rate, the process of separating hydrogen and electrolyte by the hydrogen separator is simulated. In this embodiment, the specific calculation formula of the hydrogen separator model is not limited; the formula can be obtained through data fitting. For example, in a specific embodiment, the fitting method of the electrolyzer model described above can be referred to.

[0057] The hydrogen production result data may be data related to the results of hydrogen production by the hydrogen energy system. The specific data that may be included is not limited in this embodiment and may be set by the tester based on the data that needs to be observed. For example, the data may include the volume of separated hydrogen, the volume of the electrolyte, and the percentage of hydrogen and electrolyte in the total volume, so that the tester can understand the amount of hydrogen produced.

[0058] After the hydrogen separator model calculates the hydrogen production result data, it can be output in real time or saved first. The specific settings can be set as needed and are not limited in this embodiment. In a specific embodiment, a UI component for displaying the hydrogen production result data can be provided in the user interface of the simulation system. The tester can trigger a viewing operation for viewing the hydrogen production result data based on this UI component. In response to this viewing operation, the simulation system outputs the hydrogen production result data calculated by the hydrogen separator model to the user interface for display.

[0059] Furthermore, in one embodiment, the calculation results of each model can be displayed in the user interface of the simulation system, or when a viewing operation for the calculation results of each model is detected, the calculation results of the model can be displayed in the diagram of the corresponding model in response to the viewing operation, so that the test personnel can understand the situation of each model during the test process, thereby assisting in analyzing the operation of each component in the hydrogen energy system during the test process.

[0060] In this embodiment, a simulation system for a hydrogen energy system is set up, and a hydrogen energy controller model is set up in the simulation system to output the operating parameters set based on the operating parameter setting operation to the electrolyzer model, and the electrolyzer model is set up to calculate the pressure and flow of the hydrogen-containing electrolyte based on the operating parameters to simulate the process of electrolyzing water in the physical electrolyzer, and a hydrogen separator model is set up to calculate the hydrogen production result data based on the pressure and flow of the hydrogen-containing electrolyte to simulate the process of separating hydrogen in the physical hydrogen separator, so that the tester can test the hydrogen production performance of the hydrogen energy system in the simulation system without being restricted by the test site and test hardware, and no hydrogen will be actually generated during the test process, thereby not posing a hidden danger to the personal safety of the tester. In addition, the tester can set the operating parameters by triggering the operating parameter setting operation in the simulation system to test the hydrogen production performance of the hydrogen energy system under various operating conditions, without having to first deploy the physical hydrogen energy system for various operating conditions before starting the test. When it is necessary to develop a new physical hydrogen energy system, testing can also be carried out simultaneously through the simulation system during the development phase of the physical equipment, without having to wait for the development of each device of the physical hydrogen energy system to be completed before starting testing, which can help improve the deployment speed of the physical hydrogen energy system.

[0061] Furthermore, in one embodiment, the simulation system may also include an oxygen separator model. In a physical hydrogen energy system, after the electrolysis of water is carried out in the electrolyzer, oxygen-containing electrolyte is also discharged to the oxygen separator. Among them, the oxygen discharged from the electrolyzer to the oxygen separator contains a small amount of electrolyte, so it is called oxygen-containing electrolyte in this embodiment, or it can also be understood as oxygen containing electrolyte. In this embodiment, the electrolyzer model is also used to calculate the pressure (hereinafter referred to as the second pressure) and flow (hereinafter referred to as the second flow) of the oxygen-containing electrolyte based on the operating parameters. It can be understood that the electrolyzer model has a dual-channel characteristic, and the input data is the operating parameters. After being processed by the electrolyzer model, the first pressure and the first flow, as well as the second pressure and the second flow, are obtained respectively.

[0062] After calculating the second pressure and the second flow rate of the oxygen-containing electrolyte, the electrolyzer model outputs the second pressure and the second flow rate to the oxygen separator model to simulate the process of the electrolyzer discharging the oxygen-containing electrolyte to the oxygen separator in the physical hydrogen energy system.

[0063] The oxygen separator model is used to calculate oxygen production result data based on the second pressure and the second flow rate.

[0064] The oxygen separator in the physical hydrogen energy system is used to separate the oxygen-containing electrolyte discharged from the electrolyzer and discharge the separated oxygen to an oxygen storage device. In this embodiment, the oxygen separator model is a model used to simulate the physical oxygen separator. By calculating the oxygen production result data based on the second pressure and the second flow rate, the oxygen separator simulates the process of separating oxygen and electrolyte. In this embodiment, the specific calculation formula of the oxygen separator model is not limited. The formula can be obtained by data fitting. For example, in the specific embodiment, the fitting method of the electrolyzer model described above can be referred to.

[0065] The oxygen production result data may be data related to the results of oxygen production by the hydrogen energy system. The specific data included is not limited in this embodiment and can be set by the tester to determine the data required for observation. For example, the data may include the volume of separated oxygen, the volume of the electrolyte, and the percentage of oxygen and electrolyte in the total volume, so that the tester can understand the amount of oxygen produced during the hydrogen production process.

[0066] After the oxygen separator model calculates the oxygen production result data, it can be output in real time or saved first. The specific configuration can be as needed and is not limited in this embodiment. In a specific embodiment, a UI component for displaying the oxygen production result data can be provided in the user interface of the simulation system. The tester can trigger a viewing operation based on this UI component to view the oxygen production result data. In response to this viewing operation, the simulation system outputs the oxygen production result data calculated by the oxygen separator model to the user interface for display.

[0067] Furthermore, in one embodiment, the power of the power supply in the physical hydrogen energy system is not necessarily fully utilized for the electrolysis of water, but the actual power utilized varies depending on the operating parameters. For example, under very low temperature operating conditions, a portion of the power needs to be used for heating so that a certain temperature is reached in the electrolyzer. Taking this into account, in this embodiment, the electrolyzer model may specifically include an electrolysis chamber model and a power conversion model. The electrolysis chamber model is used to calculate the actual available power based on the operating parameters, and is used to simulate the power utilization of the electrolyzer. After calculating the actual available power, the electrolysis chamber model can output the actual available power to the power conversion model. The power conversion model is used to calculate the first pressure and the first flow rate of the hydrogen-containing electrolyte based on the actual available power, or in a further embodiment, to calculate the second pressure and the second flow rate of the oxygen-containing electrolyte based on the actual available power.

[0068] In this embodiment, the electrolytic cell model is set to specifically include an electrolytic chamber model and a power conversion model. The electrolytic chamber model is used to simulate the actual power utilization of the electrolytic cell, so that the simulation system can more accurately reflect the actual situation of the hydrogen energy system when used for testing the hydrogen energy system, thereby improving the accuracy of the test results.

[0069] Example 2

[0070] Based on the above embodiment 1, the simulation system of the hydrogen energy system may further include a liquid level control valve model and a PID model.

[0071] In a physical hydrogen energy system, the liquid level control valve is controlled by PID parameters to maintain liquid level balance, preventing excessive liquid levels in the hydrogen separator. In this embodiment, a liquid level control valve model and a PID model are set up in the simulation system to simulate the liquid level control valve and PID controller, allowing testers to test the liquid level balance function of the liquid level control valve and the closed-loop control function of the PID controller in the hydrogen energy system.

[0072] Specifically, after obtaining the first pressure and the first flow rate, the hydrogen separator model can also be used to calculate the liquid level in the hydrogen separator (hereinafter referred to as the hydrogen separator liquid level) based on the first pressure and the first flow rate. The hydrogen separator liquid level refers to the volume or height of the electrolyte in the hydrogen separator. Adjusting the liquid level balance means adjusting the hydrogen separator liquid level within a certain range.

[0073] The hydrogen separator model is also used to output the hydrogen separator liquid level to the liquid level control valve model and the hydrogen energy controller model. In a specific embodiment, the hydrogen separator model can be used to directly output the hydrogen separator liquid level to the liquid level control valve model and the hydrogen energy controller model, or it can be used to first output the hydrogen separator liquid level to the liquid level control valve model, and then output the hydrogen separator liquid level to the hydrogen energy controller model through the liquid level control valve model.

[0074] The hydrogen energy controller model is also used to output a liquid level control signal to the liquid level control valve model when it is determined that liquid level adjustment is required based on the liquid level of the hydrogen separator. In a specific embodiment, the hydrogen energy controller model can compare the hydrogen separator liquid level with a preset minimum liquid level. When it is higher than the preset minimum liquid level, it is determined that liquid level adjustment is required. Other models, such as the hydrogen separator model, can also compare the hydrogen separator liquid level with a preset minimum liquid level. When it is higher than the preset minimum liquid level, a signal is output to the hydrogen energy controller model to prompt that liquid level adjustment is required. The preset minimum liquid level can be set as needed, which represents the minimum limit for liquid level adjustment. That is, when the hydrogen separator liquid level is lower than the preset minimum liquid level, there is no need to open the valve of the liquid level control valve and there is no need to reflux the electrolyte. When it is higher than the preset minimum liquid level, adjustment must be started to avoid the liquid level being too high. The need for liquid level regulation means determining that PID control parameters need to be used to intervene in the valve opening of the liquid level control valve to control the electrolyte in the hydrogen separator model to flow back into the electrolyzer and reduce the liquid level in the hydrogen separator model. The liquid level control signal output by the hydrogen energy controller model to the liquid level control valve model is a signal for instructing the liquid level control valve model to use PID control parameters to adjust the valve opening.

[0075] The liquid level control valve model is used to calculate the liquid level control valve opening based on the hydrogen separator liquid level and the PID liquid level control parameters set in the PID model when receiving the liquid level control signal. Specifically, the liquid level control valve model can be used to obtain the PID liquid level control parameters from the PID model, or receive the PID liquid level control parameters output by the PID model, calculate the error between the hydrogen separator liquid level and the preset maximum liquid level, and calculate a liquid level control valve opening through the PID liquid level control parameters and the error. The specific calculation process can refer to the PID control principle. Among them, the preset maximum liquid level can be set as needed, which represents the highest electrolyte liquid level allowed in the hydrogen separator. The purpose of liquid level balance is to ensure that the liquid level in the hydrogen separator is not higher than the preset maximum liquid level.

[0076] The liquid level control valve model is also used to calculate the volume of electrolyte to be refluxed based on the liquid level control valve opening, and output this volume to the hydrogen separator model. The volume of electrolyte to be refluxed refers to the volume of electrolyte that needs to be returned to the electrolyzer. In other words, if the volume of electrolyte in the hydrogen separator is excessive and the valve needs to be opened to return the electrolyte to the electrolyzer, the liquid level control valve model simulates and calculates the volume of electrolyte that will return to the electrolyzer after the liquid level control valve has been opened for a period of time.

[0077] The hydrogen separator model is also used to update the hydrogen separator liquid level based on the volume of the electrolyte to be refluxed. Specifically, in a physical hydrogen energy system, after the electrolyte in the hydrogen separator flows back to the electrolyzer, the electrolyte in the hydrogen separator will become less. In this embodiment, the hydrogen separator model updates the hydrogen separator liquid level based on the calculated volume of the electrolyte to be refluxed to simulate the process of the electrolyte in the hydrogen separator decreasing after reflux. In a specific embodiment, the hydrogen separator model can subtract the volume of the electrolyte to be refluxed from the current hydrogen separator liquid level to obtain the updated hydrogen separator liquid level.

[0078] In this embodiment, by setting a liquid level control valve model and a PID model in the simulation system to simulate the liquid level control valve and the PID controller, the tester can test the liquid level balance function of the liquid level control valve and the closed-loop control function of the PID controller in the hydrogen energy system based on the simulation system without the need to test in the physical hydrogen energy system. It is not restricted by the test site and test hardware, and no real hydrogen will be generated during the test, thereby posing no hidden dangers to the personal safety of the tester.

[0079] Furthermore, in one embodiment, since the oxygen separator and hydrogen separator in the hydrogen energy system belong to a connected system and the liquid levels in the two separators are the same, a balance control of the liquid level in the oxygen separator model can also be configured. Specifically, the oxygen separator model can be configured to calculate the oxygen separator liquid level based on the second pressure and the second flow rate, and output the hydrogen separator liquid level to the liquid level control valve model and the hydrogen energy controller model; the hydrogen energy controller model is further configured to output a liquid level control signal to the liquid level control valve model when it is determined that liquid level adjustment is required based on the oxygen separator liquid level; the liquid level control valve model is configured to, upon receiving the liquid level control signal, calculate the liquid level control valve opening based on the oxygen separator liquid level and the PID liquid level control parameters set in the PID model, and calculate the volume of the electrolyte to be refluxed based on the liquid level control valve opening, and output the volume of the electrolyte to be refluxed to the oxygen separator model; the oxygen separator model is further configured to update the oxygen separator liquid level based on the volume of the electrolyte to be refluxed.

[0080] Furthermore, in a physical hydrogen energy system, a pressure regulating valve is controlled by PID parameters to adjust the liquid level balance, thereby preventing excessive pressure in the hydrogen production separator. In one embodiment, a pressure regulating valve model is set up in a simulation system to simulate the pressure regulating valve. In combination with the PID model, testers can test the pressure balancing function of the pressure regulating valve in the hydrogen energy system and the closed-loop control function of the PID controller.

[0081] It should be noted that, in a specific implementation, the simulation system may include both the pressure regulating valve model and the liquid level regulating valve model, or may include only the pressure regulating valve model or only the liquid level regulating valve model.

[0082] Specifically, after calculating and obtaining the first pressure, the hydrogen separator model can also be used to output the first pressure to the pressure regulating valve model and the hydrogen energy controller model. Similarly, the hydrogen separator model can be used to directly output the first pressure to the pressure regulating valve model and the hydrogen energy controller model, or it can be used to first output the first pressure to the pressure regulating valve model, and then output the first pressure to the hydrogen energy controller model via the pressure regulating valve model.

[0083] The hydrogen energy controller model is also used to output a pressure control signal to the pressure regulating valve model when it is determined based on the first pressure that pressure regulation is required. In a specific embodiment, the hydrogen energy controller model can compare the first pressure with a preset minimum pressure. When the pressure is higher than the preset minimum pressure, it is determined that pressure regulation is required. Alternatively, another model, such as a hydrogen separator model, can compare the first pressure with a preset minimum pressure. When the pressure is higher than the preset minimum pressure, a signal is output to the hydrogen energy controller model to indicate that pressure regulation is required. The preset minimum pressure can be set as needed and represents the minimum limit at which pressure regulation is required. That is, when the first pressure is lower than the preset minimum pressure, the pressure regulating valve does not need to be opened and pressure regulation is not required. However, when the pressure is higher than the preset minimum pressure, regulation must be initiated to avoid excessive pressure. The need for pressure regulation means determining that PID control parameters need to be used to intervene in the valve opening of the pressure regulating valve to reduce the pressure in the hydrogen separator model. The pressure control signal output by the hydrogen energy controller model to the pressure regulating valve model is a signal used to instruct the pressure regulating valve model to use PID control parameters to adjust the valve opening.

[0084] The pressure regulating valve model is used to calculate the pressure regulating valve opening based on the first pressure and the PID pressure control parameters set in the PID model when receiving the pressure control signal. Specifically, the pressure regulating valve model can be used to obtain the PID pressure control parameters from the PID model, or receive the PID pressure control parameters output by the PID model, calculate the error between the first pressure and the preset maximum pressure, and calculate a pressure regulating valve opening through the PID pressure control parameters and the error. The specific calculation process can refer to the PID control principle. Among them, the preset maximum pressure can be set as needed, which represents the highest pressure allowed in the hydrogen separator. The purpose of pressure balance is to ensure that the pressure in the hydrogen separator is not higher than the preset maximum pressure.

[0085] The pressure regulating valve model is also used to calculate the pressure in the hydrogen separator model at the next moment based on the pressure regulating valve opening to update the first pressure. In a physical hydrogen energy system, after the pressure regulating valve opening is adjusted, the pressure in the hydrogen separator changes over time. In this embodiment, the pressure regulating valve model is used to predict the pressure in the hydrogen separator model at the next moment after the pressure regulating valve opening is set, simulating the pressure regulation process. In a specific embodiment, the hydrogen separator model can update the current first pressure at the next moment to the pressure at the next moment calculated by the pressure regulating valve model.

[0086] In this embodiment, by setting a pressure regulating valve model and a PID model in the simulation system to simulate the pressure regulating valve and the PID controller, the tester can test the pressure balance function of the pressure regulating valve and the closed-loop control function of the PID controller in the hydrogen energy system based on the simulation system without the need to test in a physical hydrogen energy system. It is not restricted by the test site and test hardware, and no actual hydrogen will be generated during the test, thereby posing no hidden dangers to the personal safety of the tester.

[0087] Furthermore, in one embodiment, since the oxygen separator and hydrogen separator in the hydrogen energy system belong to a connected system and the pressures in the two separators are the same, a pressure balance control can also be configured for the oxygen separator model. Specifically, the oxygen separator model can be configured to output a second pressure to the pressure regulating valve model and the hydrogen energy controller model; the hydrogen energy controller model can also be configured to output a pressure control signal to the pressure regulating valve model when pressure regulation is determined to be required based on the second pressure; and the pressure regulating valve model, upon receiving the pressure control signal, can be configured to calculate the pressure regulating valve opening based on the first pressure and the PID pressure control parameters set in the PID model, and to calculate the pressure in the oxygen separator model at the next moment based on the pressure regulating valve opening to update the second pressure.

[0088] Furthermore, in a physical hydrogen energy system, a temperature control valve is controlled by PID parameters to maintain temperature balance, thereby preventing excessive temperatures in the hydrogen production separator. In one embodiment, a temperature control valve model is set up in a simulation system to simulate the temperature control valve. Combined with the PID model, this allows testers to test the temperature balance function of the temperature control valve in the hydrogen energy system and the closed-loop control function of the PID controller.

[0089] It should be noted that, in a specific implementation, the simulation system may include a pressure regulating valve model, a liquid level regulating valve model, and a temperature regulating valve model at the same time, or may include only any one or two of them.

[0090] Specifically, the electrolyzer model is further configured to calculate the temperature of the hydrogen-containing electrolyte (hereinafter referred to as a first temperature) based on the operating parameters, and output the first temperature to the temperature control valve model and the hydrogen energy controller model. Similarly, the electrolyzer model can be configured to directly output the first temperature to the temperature control valve model and the hydrogen energy controller model, or it can be configured to first output the first temperature to the temperature control valve model, which is then output to the hydrogen energy controller model via the temperature control valve model.

[0091] The hydrogen energy controller model is also used to output a temperature control signal to the temperature control valve model when it is determined based on the first temperature that temperature adjustment is required. In a specific embodiment, the hydrogen energy controller model can compare the first temperature with a preset minimum temperature. When the temperature is higher than the preset minimum temperature, it is determined that temperature adjustment is required. Alternatively, other models, such as a hydrogen separator model or a set heat exchanger model, can compare the first temperature with the preset minimum temperature. When the temperature is higher than the preset minimum temperature, a signal is output to the hydrogen energy controller model to indicate the need for temperature adjustment. When the heat exchanger model is used for temperature detection, the first temperature can be output to the heat exchanger model via the electrolyzer model. The preset minimum temperature can be set as needed and represents the minimum limit at which temperature adjustment is required. That is, when the first temperature is lower than the preset minimum temperature, the temperature control valve does not need to be opened and temperature adjustment is not required. However, when the temperature is higher than the preset minimum temperature, adjustment must be initiated to avoid excessive temperature increases. The need for temperature regulation means determining that PID control parameters need to be used to intervene in the valve opening of the temperature control valve to reduce the temperature in the hydrogen separator model. The temperature control signal output by the hydrogen energy controller model to the temperature control valve model is a signal used to instruct the temperature control valve model to use PID control parameters to adjust the valve opening.

[0092] The temperature regulating valve model is used to calculate the temperature regulating valve opening based on the first temperature and the PID temperature control parameters set in the PID model when receiving the temperature control signal. Specifically, the temperature regulating valve model can be used to obtain the PID temperature control parameters from the PID model, or receive the PID temperature control parameters output by the PID model, calculate the error between the first temperature and the preset maximum temperature, and calculate a temperature regulating valve opening through the PID temperature control parameters and the error. The specific calculation process can refer to the PID control principle. Among them, the preset maximum temperature can be set as needed, which represents the highest temperature allowed in the hydrogen separator. The purpose of temperature balance is to ensure that the pressure in the hydrogen separator is not higher than the preset maximum pressure.

[0093] The temperature control valve model is also used to calculate the temperature in the hydrogen separator model at the next moment based on the temperature control valve opening to update the first temperature. In a physical hydrogen energy system, after the temperature control valve opening is adjusted, the temperature in the hydrogen separator changes over time. In this embodiment, the temperature control valve model is used to predict the temperature in the hydrogen separator model at the next moment after the temperature control valve opening is set, simulating the temperature adjustment process. In a specific embodiment, the hydrogen separator model can update the current first temperature at the next moment to the temperature calculated by the temperature control valve model at the next moment.

[0094] In this embodiment, by setting a temperature control valve model and a PID model in the simulation system to simulate the pressure control valve and the PID controller, the tester can test the temperature balance function of the temperature control valve and the closed-loop control function of the PID controller in the hydrogen energy system based on the simulation system without the need to test in the physical hydrogen energy system. It is not restricted by the test site and test hardware, and no actual hydrogen will be generated during the test, thereby posing no hidden dangers to the personal safety of the tester.

[0095] Furthermore, in one embodiment, since the oxygen separator and hydrogen separator in the hydrogen energy system belong to a connected system and the temperatures in the two separators are the same, a temperature balance control can also be set for the oxygen separator model. Specifically, the electrolyzer model can be configured to calculate the temperature of the oxygen-containing electrolyte (hereinafter referred to as the second temperature) based on the operating parameters, and output the second temperature to the temperature control valve model and the hydrogen energy controller model; the hydrogen energy controller model can also be configured to output a temperature control signal to the temperature control valve model when it is determined that temperature adjustment is required based on the second temperature; the temperature control valve model is configured to calculate the temperature control valve opening based on the second temperature and the PID temperature control parameters set in the PID model upon receiving the temperature control signal, and calculate the temperature in the oxygen separator model at the next moment based on the temperature control valve opening to update the second temperature.

[0096] Furthermore, in one embodiment, when a liquid level control valve model and a PID model are set in the simulation system, the hydrogen energy controller model can also be used to output a liquid level control parameter adjustment instruction to the PID model when it is determined that the hydrogen separator liquid level is abnormal. The abnormal hydrogen separator liquid level may be when the hydrogen separator liquid level is higher than a preset abnormal liquid level, for example, higher than 10% of the preset maximum liquid level. When the hydrogen separator liquid level is higher than the preset abnormal liquid level, it indicates that the currently set PID liquid level control parameters are inappropriate, resulting in the liquid level not being controlled. In a specific embodiment, the hydrogen energy controller model can compare the hydrogen separator liquid level with the preset abnormal liquid level. When it is higher than the preset abnormal liquid level, it is determined that the hydrogen separator liquid level is abnormal. Alternatively, another model, such as the hydrogen separator model, can compare the hydrogen separator liquid level with the preset abnormal liquid level. When it is higher than the preset abnormal liquid level, a signal is output to the hydrogen energy controller model to indicate that the hydrogen separator liquid level is abnormal. The liquid level control parameter adjustment instruction output by the hydrogen energy controller model to the PID model is an instruction for instructing the PID model to adjust the PID liquid level control parameters.

[0097] The PID model is used to adjust the PID level control parameters in the PID model based on the level control parameter adjustment instruction. In a specific embodiment, the PID model can adjust the PID level control parameters according to a certain adjustment strategy, for example, adjusting one of the P, I, and D parameters at a time according to a preset adjustment step.

[0098] After adjusting the PID level control parameters, the hydrogen energy controller model can be set to not trigger the level control parameter adjustment command for a period of time. This allows testers to observe whether the liquid level returns to normal within a period of time after adjusting the PID level control parameters. This helps testers test and obtain more appropriate PID level control parameters. When subsequently debugging the physical hydrogen energy system, the PID level control parameters obtained from this test can be directly used for fine-tuning, thereby shortening the time required to debug the PID level control parameters in the physical hydrogen energy system. Moreover, when testing in the simulation system, even if the liquid level is abnormal, it will not pose a danger to the tester.

[0099] Furthermore, in one embodiment, when a pressure regulating valve model and a PID model are set in the simulation system, the hydrogen energy controller model is also used to output a pressure control parameter adjustment instruction to the PID model when it is determined that the first pressure is abnormal. The abnormality of the first pressure can be that the first pressure is higher than a preset abnormal pressure, for example, higher than ten percent of the preset maximum pressure; when the first pressure is higher than the preset abnormal pressure, it indicates that the currently set PID pressure control parameters are inappropriate, resulting in the pressure not being controlled. In a specific embodiment, the hydrogen energy controller model can compare the first pressure with the preset abnormal pressure, and when it is higher than the preset abnormal pressure, it is determined that the first pressure is abnormal; other models such as the hydrogen separator model can also compare the first pressure with the preset abnormal pressure, and when it is higher than the preset abnormal pressure, output a signal to the hydrogen energy controller model to prompt that the first pressure is abnormal. The pressure control parameter adjustment instruction output by the hydrogen energy controller model to the PID model is an instruction for instructing the PID model to adjust the PID pressure control parameters.

[0100] The PID model is also used to adjust the PID pressure control parameters in the PID model based on the pressure control parameter adjustment instruction. In specific embodiments, the PID model can adjust the PID pressure control parameters according to a certain adjustment strategy, for example, adjusting one of the P, I, and D parameters at a time according to a preset adjustment step.

[0101] After adjusting the PID pressure control parameters, the hydrogen energy controller model can be set to not trigger the pressure control parameter adjustment command for a period of time. This allows testers to observe whether the pressure returns to normal within a period of time after adjusting the PID pressure control parameters. This helps testers test and obtain more appropriate PID pressure control parameters. When subsequently debugging the actual hydrogen energy system, the PID pressure control parameters obtained from this test can be directly used for fine-tuning, thereby shortening the time required to debug the PID pressure control parameters in the actual hydrogen energy system. Moreover, when testing in the simulation system, even if the pressure is abnormal, it will not pose a danger to the tester.

[0102] Furthermore, in one embodiment, when a temperature regulating valve model and a PID model are set in the simulation system, the hydrogen energy controller model is also used to output a temperature control parameter adjustment instruction to the PID model when it is determined that the first temperature is abnormal. The abnormality of the first temperature can be that the first temperature is higher than a preset abnormal temperature, for example, higher than ten percent of the preset maximum temperature; when the first temperature is higher than the preset abnormal temperature, it indicates that the currently set PID temperature control parameters are inappropriate, resulting in the temperature not being controlled. In a specific embodiment, the hydrogen energy controller model can compare the first temperature with the preset abnormal temperature, and when it is higher than the preset abnormal temperature, it is determined that the first temperature is abnormal; other models such as a heat exchanger model can also compare the first temperature with the preset abnormal temperature, and when it is higher than the preset abnormal temperature, a signal is output to the hydrogen energy controller model to prompt that the first temperature is abnormal. The temperature control parameter adjustment instruction output by the hydrogen energy controller model to the PID model is an instruction for instructing the PID model to adjust the PID temperature control parameters.

[0103] The PID model is further configured to adjust the PID temperature control parameters within the PID model based on the temperature control parameter adjustment instructions. In specific embodiments, the PID model can adjust the PID temperature control parameters according to a specific adjustment strategy, such as adjusting one of the P, I, and D parameters at a time according to a pre-set adjustment step.

[0104] After adjusting the PID temperature control parameters, the hydrogen energy controller model can be set to not trigger temperature control parameter adjustment instructions for a period of time. This allows testers to observe whether the temperature returns to normal within a period of time after adjusting the PID temperature control parameters. This helps testers obtain more appropriate PID temperature control parameters. When subsequently debugging the actual hydrogen energy system, the PID temperature control parameters obtained from this test can be directly used for fine-tuning, thus shortening the time required to debug the PID temperature control parameters in the actual hydrogen energy system. Moreover, when testing in the simulation system, even if the temperature is abnormal, it will not pose a danger to the tester.

[0105] Example 3

[0106] Based on the above-mentioned first and / or second embodiments, the simulation system of the hydrogen energy system may further include a liquid level model, in which an initial electrolyte volume may be preset. In one embodiment, the user interface of the simulation system may display an electrolyte volume UI component for the graphical representation of the liquid level model. Based on this electrolyte volume UI component, a tester may input a desired initial electrolyte volume to trigger an electrolyte volume setting operation. The liquid level model receives the input initial electrolyte volume based on the setting operation and is used to calculate the remaining electrolyte volume in the liquid level model during the test.

[0107] The liquid level regulating valve model is also used to output the volume of the electrolyte to be refluxed to the liquid level model after calculating the volume of the electrolyte to be refluxed. The liquid level model is used to calculate the actual electrolyte volume in the liquid level model based on the current hydrogen production time, the preset initial electrolyte volume and the volume of the electrolyte to be refluxed. In a specific embodiment, the liquid level model can calculate the total volume of the electrolyte discharged from the electrolytic cell under the current hydrogen production time according to the electrolyte discharge volume within a preset unit time, and use the preset initial electrolyte volume minus the total volume and add the electrolyte volume to be refluxed to obtain the actual electrolyte volume in the liquid level model.

[0108] In a physical hydrogen energy system, a small amount of electrolyte in the electrolyzer will be discharged into the hydrogen separator, and the electrolyte in the hydrogen separator will flow back into the electrolyzer. Under normal circumstances, the total volume of the electrolyte will not decrease as the hydrogen production process progresses. In this embodiment, the volume of the electrolyte to be refluxed is output to the liquid level model through the liquid level control valve model. The liquid level model then calculates the actual electrolyte volume in the liquid level model based on the current hydrogen production time, the preset initial electrolyte, and the volume of the electrolyte to be refluxed. This simulates the process of the electrolyte in the electrolyzer flowing back into the electrolyzer after passing through the hydrogen separator, allowing testers to understand the usage of the electrolyte in the hydrogen energy system through the test process of the simulation system.

[0109] The liquid level model can also be used to output the actual electrolyte volume after calculating it. The output of the actual electrolyte volume by the liquid level model can be displayed on the user interface of the simulation system or stored in a storage module, without limitation.

[0110] Furthermore, in one embodiment, the liquid level model is also used to calculate the volume of raw water consumed in hydrogen production based on the current hydrogen production duration of the simulation system of the hydrogen energy system, so as to simulate the consumption process of raw water in the hydrogen production process of the hydrogen energy system. In a specific embodiment, the liquid level model can calculate the total volume of raw water consumed by the electrolysis reaction of water in the electrolyzer under the current hydrogen production duration according to the raw water consumption volume within a preset unit time. The liquid level model can output the calculated volume of raw water consumed in hydrogen production. In particular, the liquid level model can output the consumed volume of raw water to the user interface of the simulation system for display, or to the storage module for storage, which is not limited here. The volume of raw water consumed in the hydrogen production process is calculated and output by the liquid level model, so that the tester can understand the consumption of raw water in the hydrogen energy system through the test process of the simulation system.

[0111] Furthermore, in one embodiment, the liquid level model can also preset an initial raw water volume. A raw water volume UI component can be displayed in the simulation system's user interface for the liquid level model. Based on this raw water volume UI component, the tester can input a desired initial raw water volume to trigger a raw water volume setting operation. The liquid level model receives the inputted initial raw water volume based on this setting operation and is used to calculate and output the remaining raw water volume in the electrolytic cell model during the test, allowing the tester to understand the raw water consumption.

[0112] Furthermore, in one embodiment, each model in the simulation system of the hydrogen energy system is also used to determine the output time of the results obtained by each calculation based on the preset time scaling ratio and the preset actual processing time corresponding to each model, so as to output the results obtained by each calculation according to the output time. Among them, for different models, output can refer to output to the next model, or output to the user interface, or output to the storage module. Specifically, it can be combined with the output method of each model in the above embodiments, which will not be elaborated here. In one embodiment, a time scaling ratio UI component can be displayed in the user interface of the simulation system. Based on the time scaling ratio UI component, the tester can input the time scaling ratio to be set to set the time scaling ratio. The simulation system receives the input time scaling ratio according to the setting operation, and each model performs subsequent tests according to the time scaling ratio. Each model can set the actual processing time in advance. The actual processing time represents the time taken by the physical component simulated by the model from receiving the input signal to outputting the signal. The output time of the output calculation result is determined based on a preset time scaling ratio and a preset actual processing time corresponding to the model. Specifically, the actual processing time may be multiplied by the preset time scaling ratio to obtain a scaled processing time, and then the time when the model receives the input signal is added to the processing time to obtain the output time of the output calculation result. For example, for an electrolyzer model, the electrolyzer model may multiply the preset actual processing time by the preset time scaling ratio to obtain a scaled processing time, add the scaled processing time to the time point when the operating condition parameters are received, obtain the time point when the first pressure and the first flow are output, and output the first pressure and the first flow to the hydrogen separator model at this time point.

[0113] The physical hydrogen energy system test bench is real-time, meaning the system's operating time is the same as objective time. However, due to the system's significant inertia, a single test cycle is too long, typically lasting 12-16 hours, resulting in extremely low test efficiency. In this embodiment, by setting a preset time scaling ratio, the processing time of each model in the simulation system can be scaled proportionally relative to the actual duration, thereby speeding up testing time and simulating the hydrogen energy system's ability to operate for hours or even days, thereby improving test efficiency.

[0114] Further, illustratively, as Figure 2 As shown in the figure, a feasible simulation system architecture of the hydrogen energy system is proposed, which mainly includes a hydrogen energy controller model, an electrolyzer model, a PID model, an oxygen separator model, a pressure regulator model, a heat exchanger model, a temperature control valve model, a liquid level regulator model, a hydrogen separator model and a liquid level model.

[0115] For example, the specific solution based on the simulation system may be as follows:

[0116] Before the formal model simulation begins, testers or designers can set operating parameters such as power supply power and ambient temperature in the hydrogen energy controller model in advance. They can also set the PID parameters of pressure balance, liquid level balance and temperature balance in the PID model in advance, and set the initial electrolyte volume in the liquid level model.

[0117] At the start of the simulation, the hydrogen energy controller model outputs the power supply signal and ambient temperature parameters to the electrolyzer model in step 1. In the electrolysis chamber model of the electrolyzer model, the actual available power of the electrolyzer model is calculated based on the obtained power supply signal and ambient temperature parameters, and then transmitted to the power conversion model in step 2.

[0118] In the power conversion model, the first pressure, first flow rate and first temperature of the hydrogen-containing electrolyte after electrolysis are calculated based on the actual available power of the electrolyzer obtained, and are transmitted to the hydrogen separator model in the form of signal transmission through step 4. At the same time, in the power conversion model, the second pressure, second flow rate and second temperature of the oxygen-containing electrolyte after electrolysis are calculated based on the actual available power of the electrolyzer obtained, and are transmitted to the oxygen separator model in the form of signal transmission through step 3.

[0119] In the oxygen separator model, the second pressure and second flow rate transmitted in the power conversion model are calculated to obtain parameters such as the percentage of oxygen and electrolyte in the total volume of the oxygen-containing electrolyte, the volume of generated oxygen, and the capacity of the electrolyte, and to determine whether there are any abnormalities in the second pressure and second flow rate in the oxygen separator.

[0120] If an abnormality is detected in the second pressure of the oxygen separator at this time, the oxygen separator transmits the pressure signal to the pressure regulating valve model through step 8. After receiving the pressure signal, the pressure regulating valve model transmits the pressure to the hydrogen energy controller model through step 10, so that the tester can observe the pressure change value in the oxygen separator model. At the same time, the pressure signal is transmitted to the PID model through step 14. The PID model automatically adjusts the PID pressure control parameters and controls the pressure regulating valve model through step 14 to control the percentage opening of the pressure regulating valve, thereby controlling the pressure of the oxygen separator within a normal range. At this time, the tester can find the PID pressure control parameters that are most suitable for the current hydrogen energy system based on the PID model.

[0121] In the hydrogen separator model, the first pressure and the first flow rate transmitted in the power conversion model are used to calculate parameters such as the percentage of hydrogen and electrolyte in the total volume of the hydrogen-containing electrolyte, the volume of hydrogen generated and the capacity of the electrolyte, and to determine whether there are any abnormalities in the first pressure and the first flow rate in the hydrogen separator.

[0122] If an abnormal flow rate of the hydrogen separator is detected at this time, the hydrogen separator transmits the liquid level signal in the hydrogen separator to the liquid level control valve model through step 9. After receiving the liquid level signal, the liquid level control valve model transmits the liquid level signal to the hydrogen energy controller model through step 11, so that the tester can observe the liquid level change value in the hydrogen separator model. At the same time, the liquid level signal is transmitted to the PID model through step 15. The PID model automatically adjusts the PID liquid level control parameters and controls the liquid level control valve model through step 15 to control the percentage opening of the liquid level control valve, thereby controlling the liquid level of the hydrogen separator within the normal range. At this time, the tester can use the PID model to find the PID liquid level control parameters that are most suitable for the current hydrogen energy system model.

[0123] The electrolyzer model transmits the temperature signal (first temperature or second temperature) in the electrolyzer to the heat exchanger model through step 18. The oxygen separator model transmits the oxygen separator temperature signal (second temperature) to the heat exchanger model through step 6. The hydrogen separation model transmits the hydrogen separator temperature signal (first temperature) to the heat exchanger model through step 7. The main function of the heat exchanger model is to detect the temperature signals in the hydrogen separator and the oxygen separator, and to determine whether there is any abnormality in the temperature signals in the hydrogen separator and the oxygen separator.

[0124] If the heat exchanger model detects that the temperature of the hydrogen separator, oxygen separator or electrolyzer is abnormal, the heat exchanger transmits the information to the temperature control valve model through step 16, and the temperature control valve model then feeds back to the hydrogen energy controller model through step 12. At this time, the tester can detect the temperature change values ​​of the hydrogen separator and oxygen separator through the hydrogen energy controller model. The temperature regulator calculates according to the feedback value, determines the PID model temperature control parameter through step 13, and feeds back to the temperature control valve model through step 17 to control the percentage opening of the temperature control valve, thereby controlling the hydrogen separator temperature and the oxygen separator temperature in the heat exchanger model within a controllable range. Testers and designers can find the PID temperature control parameters that are most suitable for the current hydrogen energy system based on the PID model.

[0125] In this embodiment, compared to the physical test of the hydrogen energy system in the existing solution, the simulation system of the hydrogen energy system built based on the pure software model of the present embodiment can easily control the simulation speed of the hydrogen energy system, with high flexibility, that is, it can complete the high-precision simulation verification of a certain function in a short time, and can also verify the hydrogen production and oxygen production of the hydrogen energy system over a long period of time (such as one day or one week) by speeding up the simulation speed, and judge the economic cost performance of the current system. In the existing solution, the liquid level balance, temperature balance and pressure balance of the hydrogen energy system are mainly controlled by PID parameters. In the present embodiment, the PID parameters can be automatically adjusted until they meet the set control requirements, which also lays the foundation for the test or designer to debug in the later stage, and improves the work efficiency of the later physical test. Compared to the physical test of the hydrogen energy system in the existing solution, the present embodiment is not restricted by the test site and test hardware, and the test and design personnel can carry out simulation and testing at any time. In the present embodiment, the hydrogen energy system is modularized for easy modification and updating, and the construction of the new platform can be completed in a relatively short time with high work efficiency.

[0126] Relying on the simulation system of the hydrogen energy system proposed in this embodiment, the simulation and verification of the basic functions of the hydrogen energy system can be realized, including gas-liquid separation control function, PID closed-loop control function of pressure balance, temperature balance, flow balance, and injection fault and detection fault processing functions.

[0127] Example 4

[0128] Based on the above embodiment 1, embodiment 2 and / or embodiment 3, refer to Figure 3 The embodiment of the present invention further provides a method for testing a hydrogen energy system. The method is applied to a simulation system of the hydrogen energy system, the simulation system of the hydrogen energy system including a hydrogen energy controller model, an electrolyzer model, and a hydrogen separator model. The method comprises the following steps:

[0129] Step S10, outputting the operating parameters set based on the operating parameter setting operation to the electrolyzer model through the hydrogen energy controller model;

[0130] Step S20, calculating a first pressure and a first flow rate of the hydrogen-containing electrolyte based on the operating parameters using the electrolyzer model;

[0131] Step S30: obtaining hydrogen production result data by calculating based on the first pressure and the first flow rate using the hydrogen separator model.

[0132] Furthermore, the simulation system of the hydrogen energy system further includes an oxygen separator model; and the testing method of the hydrogen energy system further includes:

[0133] Calculating a second pressure and a second flow rate of the oxygen-containing electrolyte based on the operating parameters using the electrolytic cell model;

[0134] Oxygen production result data is calculated based on the second pressure and the second flow rate by the oxygen separator model.

[0135] Furthermore, the simulation system of the hydrogen energy system further includes a liquid level control valve model and a PID model; and the testing method of the hydrogen energy system further includes:

[0136] calculating a hydrogen separator liquid level based on the first pressure and the first flow rate by the hydrogen separator model, and outputting the hydrogen separator liquid level to the liquid level regulating valve model and the hydrogen energy controller model;

[0137] When it is determined by the hydrogen energy controller model that liquid level adjustment is required based on the liquid level of the hydrogen separator, outputting a liquid level control signal to the liquid level regulating valve model;

[0138] When the liquid level control valve model receives the liquid level control signal, it calculates the liquid level control valve opening based on the hydrogen separator liquid level and the PID liquid level control parameters set in the PID model, and calculates the volume of the electrolyte to be refluxed based on the liquid level control valve opening, and outputs the volume of the electrolyte to be refluxed to the hydrogen separator model;

[0139] The hydrogen separator liquid level is updated based on the volume of the electrolyte to be refluxed by the hydrogen separator model.

[0140] Furthermore, the simulation system of the hydrogen energy system further includes a pressure regulating valve model; and the testing method of the hydrogen energy system further includes:

[0141] outputting the first pressure to the pressure regulating valve model and the hydrogen energy controller model through the hydrogen separator model;

[0142] When it is determined by the hydrogen energy controller model that pressure regulation is required based on the first pressure, outputting a pressure control signal to the pressure regulating valve model;

[0143] When the pressure control signal is received, the pressure regulating valve model calculates the pressure regulating valve opening based on the first pressure and the PID pressure control parameter set in the PID model, and calculates the pressure in the hydrogen separator model at the next moment based on the pressure regulating valve opening to update the first pressure.

[0144] Furthermore, the simulation system of the hydrogen energy system further includes a temperature control valve model; and the testing method of the hydrogen energy system further includes:

[0145] calculating a first temperature of the hydrogen-containing electrolyte based on the operating parameters by the electrolyzer model, and outputting the first temperature to the temperature regulating valve model and the hydrogen energy controller model;

[0146] When the hydrogen energy controller model determines that temperature adjustment is required based on the first temperature, outputting a temperature control signal to the temperature control valve model;

[0147] When the temperature control valve model receives the temperature control signal, the temperature control valve opening is calculated based on the first temperature and the PID temperature control parameter set in the PID model, and the temperature in the hydrogen separator model at the next moment is calculated based on the temperature control valve opening to update the first temperature.

[0148] Furthermore, the testing method of the hydrogen energy system further includes:

[0149] When the hydrogen energy controller model determines that the liquid level of the hydrogen separator is abnormal, the liquid level control parameter adjustment instruction is output to the PID model; and / or, when the hydrogen energy controller model determines that the first pressure is abnormal, the pressure control parameter adjustment instruction is output to the PID model; and / or, when the hydrogen energy controller model determines that the first temperature is abnormal, the temperature control parameter adjustment instruction is output to the PID model;

[0150] The PID liquid level control parameters in the PID model are adjusted based on the liquid level control parameter adjustment instruction through the PID model; and / or, the PID pressure control parameters in the PID model are adjusted based on the pressure control parameter adjustment instruction through the PID model; and / or, the PID temperature control parameters in the PID model are adjusted based on the temperature control parameter adjustment instruction through the PID model.

[0151] Furthermore, the simulation system of the hydrogen energy system further includes a liquid level model, in which an initial electrolyte volume is preset; and the test method of the hydrogen energy system further includes:

[0152] outputting the volume of the electrolyte to be refluxed to the liquid level model through the liquid level regulating valve model;

[0153] The actual electrolyte volume in the liquid level model is calculated based on the current hydrogen production time of the simulation system of the hydrogen energy system, the preset initial electrolyte volume and the volume of the electrolyte to be refluxed through the liquid level model, and the actual electrolyte volume is output.

[0154] Furthermore, the testing method of the hydrogen energy system also includes:

[0155] The volume of raw water consumed in hydrogen production is calculated and outputted based on the current hydrogen production time of the simulation system of the hydrogen energy system through the liquid level model.

[0156] Furthermore, the electrolytic cell model includes an electrolytic cell model and a power conversion model, and step S20 includes:

[0157] The actual available power is calculated based on the operating parameters by the electrolysis chamber model;

[0158] The first pressure and the first flow rate of the hydrogen-containing electrolyte are calculated based on the actual available power using the power conversion model.

[0159] Furthermore, when each model in the simulation system of the hydrogen energy system outputs its own calculation results, the output time of each calculated result is determined based on the preset time scaling ratio and the preset actual processing time corresponding to each model, so as to output each calculated result according to the output time.

[0160] The various embodiments of the test method of the hydrogen energy system of the present invention can refer to the various embodiments of the simulation system of the hydrogen energy system of the present invention, and will not be described in detail here.

[0161] Example 5

[0162] Based on the above fourth embodiment, Figure 4 As shown, an embodiment of the present invention further provides a testing device for a hydrogen energy system. Figure 4 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.

[0163] It should be noted that the test equipment for the hydrogen energy system in the embodiment of the present invention can be a personal computer, a server, or other device, and is not limited here. The test equipment for the hydrogen energy system deploys a simulation system for the hydrogen energy system, which includes a hydrogen energy controller model, an electrolyzer model, and a hydrogen separator model.

[0164] like Figure 4 As shown, the test equipment of the hydrogen energy system may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0165] Those skilled in the art will understand that Figure 4 The device structure shown in the figure does not constitute a limitation on the test equipment of the hydrogen energy system, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0166] like Figure 4 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a test program for the hydrogen energy system. The operating system is a program that manages and controls the hardware and software resources of the device and supports the operation of the test program for the hydrogen energy system and other software or programs. Figure 4 In the device shown, the user interface 1003 is mainly used to communicate data with the client; the network interface 1004 is mainly used to establish a communication connection with the server; and the processor 1001 can be used to call the test program of the hydrogen energy system stored in the memory 1005 and perform the following operations:

[0167] Outputting the operating condition parameters set based on the operating condition parameter setting operation to the electrolyzer model through the hydrogen energy controller model;

[0168] Calculating a first pressure and a first flow rate of the hydrogen-containing electrolyte based on the operating parameters using the electrolyzer model;

[0169] The hydrogen production result data is calculated based on the first pressure and the first flow rate by the hydrogen separator model.

[0170] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a test program for a hydrogen energy system is stored. When the test program for the hydrogen energy system is executed by a processor, the steps of a simulation system for a hydrogen energy system as described below are implemented.

[0171] The various embodiments of the test equipment and computer-readable storage medium of the hydrogen energy system of the present invention can refer to the various embodiments of the simulation system of the hydrogen energy system of the present invention, and will not be described in detail here.

[0172] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0173] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0174] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0175] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A simulation system for a hydrogen energy system, characterized in that: The simulation system of the hydrogen energy system includes a hydrogen energy controller model, an electrolyzer model and a hydrogen separator model: The hydrogen energy controller model is used to output the operating parameters set based on the operating parameter setting operation to the electrolyzer model; The electrolyzer model is used to calculate a first pressure and a first flow rate of the hydrogen-containing electrolyte based on the operating parameters; The hydrogen separator model is used to calculate hydrogen production result data based on the first pressure and the first flow rate.

2. The simulation system of the hydrogen energy system according to claim 1, characterized in that: The simulation system of the hydrogen energy system also includes an oxygen separator model; The electrolytic cell model is further used to calculate a second pressure and a second flow rate of the oxygen-containing electrolyte based on the operating parameters; The oxygen separator model is used to calculate oxygen production result data based on the second pressure and the second flow rate.

3. The simulation system of the hydrogen energy system according to claim 1, characterized in that: The simulation system of the hydrogen energy system also includes a liquid level control valve model and a PID model; The hydrogen separator model is further configured to calculate a liquid level of the hydrogen separator based on the first pressure and the first flow rate, and output the liquid level of the hydrogen separator to the liquid level regulating valve model and the hydrogen energy controller model; The hydrogen energy controller model is further configured to output a liquid level control signal to the liquid level regulating valve model when it is determined based on the liquid level of the hydrogen separator that liquid level regulation is required; The liquid level regulating valve model is configured to calculate, upon receiving the liquid level control signal, a liquid level regulating valve opening based on the hydrogen separator liquid level and the PID liquid level control parameters set in the PID model, and calculate a volume of the electrolyte to be refluxed based on the liquid level regulating valve opening, and output the volume of the electrolyte to be refluxed to the hydrogen separator model; The hydrogen separator model is further used to update the hydrogen separator liquid level based on the volume of the electrolyte to be refluxed.

4. The simulation system of the hydrogen energy system according to claim 3, characterized in that: The simulation system of the hydrogen energy system also includes a pressure regulating valve model; The hydrogen separator model is further configured to output the first pressure to the pressure regulating valve model and the hydrogen energy controller model; The hydrogen energy controller model is further configured to output a pressure control signal to the pressure regulating valve model when it is determined based on the first pressure that pressure regulation is required; The pressure regulating valve model is used to calculate the pressure regulating valve opening based on the first pressure and the PID pressure control parameter set in the PID model when receiving the pressure control signal, and calculate the pressure in the hydrogen separator model at the next moment based on the pressure regulating valve opening to update the first pressure.

5. The simulation system of the hydrogen energy system according to claim 4, characterized in that: The simulation system of the hydrogen energy system also includes a temperature control valve model; The electrolyzer model is further configured to calculate a first temperature of the hydrogen-containing electrolyte based on the operating condition parameters, and output the first temperature to the temperature regulating valve model and the hydrogen energy controller model; The hydrogen energy controller model is further configured to output a temperature control signal to the temperature control valve model when determining that temperature adjustment is required based on the first temperature; The temperature control valve model is used to calculate the temperature control valve opening based on the first temperature and the PID temperature control parameters set in the PID model when receiving the temperature control signal, and calculate the temperature in the hydrogen separator model at the next moment based on the temperature control valve opening to update the first temperature.

6. The simulation system of the hydrogen energy system according to claim 5, characterized in that: The hydrogen energy controller model is further configured to output a liquid level control parameter adjustment instruction to the PID model when it is determined that the liquid level of the hydrogen separator is abnormal; and / or, the hydrogen energy controller model is further configured to output a pressure control parameter adjustment instruction to the PID model when it is determined that the first pressure is abnormal; and / or, the hydrogen energy controller model is further configured to output a temperature control parameter adjustment instruction to the PID model when it is determined that the first temperature is abnormal; The PID model is also used to adjust the PID liquid level control parameters in the PID model based on the liquid level control parameter adjustment instruction; and / or, the PID model is also used to adjust the PID pressure control parameters in the PID model based on the pressure control parameter adjustment instruction; and / or, the PID model is also used to adjust the PID temperature control parameters in the PID model based on the temperature control parameter adjustment instruction.

7. The simulation system of the hydrogen energy system according to claim 3, characterized in that: The simulation system of the hydrogen energy system further includes a liquid level model, wherein the initial electrolyte volume is preset in the liquid level model; The liquid level regulating valve model is further used to output the volume of the electrolyte to be refluxed to the liquid level model; The liquid level model is used to calculate the actual electrolyte volume in the liquid level model based on the current hydrogen production time of the simulation system of the hydrogen energy system, the preset initial electrolyte volume and the volume of the electrolyte to be refluxed, and output the actual electrolyte volume.

8. The simulation system of the hydrogen energy system according to claim 7, characterized in that: The liquid level model is also used to calculate and output the volume of raw water consumed in hydrogen production based on the current hydrogen production time of the simulation system of the hydrogen energy system.

9. The simulation system of the hydrogen energy system according to claim 1, characterized in that: The electrolytic cell model includes an electrolysis chamber model and a power conversion model; The electrolysis chamber model is used to calculate the actual available power based on the operating parameters; The power conversion model is used to calculate the first pressure and the first flow rate of the hydrogen-containing electrolyte based on the actual available power.

10. The simulation system for a hydrogen energy system according to any one of claims 1 to 9, characterized in that: Each model in the simulation system of the hydrogen energy system is also used to determine the output time of each calculated result based on the preset time scaling ratio and the preset actual processing time corresponding to each model, so as to output each calculated result according to the output time.

11. A method for testing a hydrogen energy system, characterized in that: The test method of the hydrogen energy system is applied to a simulation system of the hydrogen energy system, wherein the simulation system of the hydrogen energy system includes a hydrogen energy controller model, an electrolyzer model, and a hydrogen separator model. The test method of the hydrogen energy system includes the following steps: Outputting the operating condition parameters set based on the operating condition parameter setting operation to the electrolyzer model through the hydrogen energy controller model; Calculating a first pressure and a first flow rate of the hydrogen-containing electrolyte based on the operating parameters using the electrolyzer model; The hydrogen production result data is calculated based on the first pressure and the first flow rate by the hydrogen separator model.

12. A test device for a hydrogen energy system, characterized in that: The testing equipment of the hydrogen energy system includes: a memory, a processor, and a testing program of the hydrogen energy system stored in the memory and runnable on the processor. When the testing program of the hydrogen energy system is executed by the processor, the steps of the simulation method of the hydrogen energy system as claimed in claim 11 are implemented.

13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a test program for the hydrogen energy system, and when the test program for the hydrogen energy system is executed by the processor, the steps of the simulation method for the hydrogen energy system according to claim 11 are implemented.

Citation Information

Patent Citations

  • Wide-power water electrolysis hydrogen production system and method

    CN111364052A

  • Electrolytic bath array system and water electrolysis system control method

    CN114086204A