Simulation test system and method for green ammonia system control strategy
By constructing a simulation test system for the control strategy of the green ammonia system, the problem of lack of a test platform in the design and development process of the green ammonia system was solved, realizing efficient development and verification of control strategies, improving energy utilization and reducing economic costs.
Patent Information
- Application Number
- CN202510974903.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-15
- Publication Date
- 2025-11-21
AI Technical Summary
The lack of an effective testing platform during the design and development of green ammonia systems results in limited optimization space, low energy utilization, high economic costs, poor dynamic response characteristics between new energy power generation and chemical production, and a lack of coupling tests that address the mutual constraints of dynamic responses.
A simulation testing system for the control strategy of the green ammonia system is constructed, including a simulation model library, a scenario model module, a simulation system, and a testing and verification module. Through mechanism modeling and full-process dynamic scenario simulation, the control strategy is optimized and the development and verification cycle is shortened.
This improved the development efficiency of green ammonia system control strategies, reduced development costs, increased energy utilization, and enabled effective testing and optimization of dynamic response characteristics.
Smart Images

Figure CN120993771A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of simulation testing technology, and in particular to a simulation testing system and method for a green ammonia system control strategy. Background Technology
[0002] The green ammonia system is a green electricity-to-hydrogen ammonia synthesis system. It utilizes wind and solar energy, as well as resources such as water and air, to replace carbon-based fossil fuels with green hydrogen, converting it into high-value ammonia. While hydrogen energy is the most promising clean energy source, large-scale hydrogen storage is economically unfeasible, and meeting hydrogen demand remains a significant bottleneck. Therefore, using renewable energy to electrolyze water to produce green hydrogen as a raw material for ammonia synthesis not only enables effective localization of new energy consumption but also represents a crucial pathway for the green transformation of the chemical industry. It can significantly reduce carbon emissions in the chemical sector and has enormous potential for large-scale deployment.
[0003] The green ammonia process currently faces significant challenges, and there is considerable room for optimization in the green electricity-to-hydrogen ammonia synthesis process, requiring improvements in energy utilization and reductions in economic costs. New energy power generation is intermittent and fluctuates due to weather conditions, while chemical production typically operates in one or more steady states. The dynamic response speeds and characteristics of power systems and chemical process systems are drastically different, and their dynamic responses are mutually restrictive and influential, exhibiting strong coupling. However, the lack of a suitable testing platform hinders the design and development of green ammonia systems. Summary of the Invention
[0004] The purpose of this invention is to provide a simulation testing system and method for green ammonia system control strategies. By using simulation, the mechanism of each device in the green ammonia system is modeled, and a dynamic scenario model of the entire process from the new energy power generation end to the chemical end is constructed to simulate the dynamic operating conditions of the green ammonia system, so as to shorten the development and verification cycle of green ammonia system control strategies, improve product development efficiency, and reduce development costs.
[0005] To address the aforementioned technical problems, embodiments of the present invention provide a simulation testing system for a green ammonia system control strategy. The system includes: a green ammonia simulation model library, a green ammonia system scenario model module, a simulation system, and a testing and verification module. The green ammonia simulation model library stores basic equipment models for the green ammonia system, wherein the basic equipment models consist of one or more models selected from power equipment models, hydrogen production, storage, and transportation process equipment models, and ammonia synthesis models. The green ammonia system scenario model module is used to construct a green ammonia system scenario model based on the topology of the actual system, and to determine the operating mode of the green ammonia system scenario model according to a preset control strategy, wherein the actual system is a green ammonia system. The simulation system is used to call the green ammonia system scenario model, simulate its operation, and implement simulation testing management functions. The testing and verification module is used to monitor the operating status of the green ammonia system scenario model under different control strategies, obtain operating data, analyze the advantages and disadvantages of the operating status, and optimize the control strategy.
[0006] The present invention also provides an execution method for a simulation test system of a green ammonia system control strategy. The method includes: constructing a green ammonia simulation model library; calling pre-built simulation software, using the green ammonia simulation model library to build a green ammonia system scenario model, and simulating the green ammonia system scenario model, wherein the green ammonia system scenario model is constructed according to the topology of the actual system, and the operating mode of the green ammonia system scenario model is determined according to a preset control strategy; monitoring the operating status of the green ammonia system scenario model to obtain system operating data; performing operating status detection based on the full life cycle of the green ammonia system scenario model on the operating data and the corresponding trend curve, evaluating the operating strategy, and optimizing the green ammonia system scenario model.
[0007] Compared to related technologies, the embodiments of this invention construct a complete simulation scenario model of the green ammonia system based on the topological structure of the ammonia synthesis process in the green ammonia system. The effectiveness of the constructed model is verified through simulation software, the control strategy is tested and iteratively optimized, and the operating status of the green ammonia system simulation scenario model is monitored to obtain operating data and trend curves corresponding to the operating data within the operating cycle. Based on the operating data and the corresponding trend curves, the green ammonia system scenario model is optimized. This embodiment of the application constructs a dynamic scenario model of the entire process from the new energy power generation end to the chemical end by performing mechanistic modeling of each device in the green ammonia system, completing the simulation of the dynamic operating conditions of the green ammonia system, thereby shortening the development and verification cycle of the green ammonia system control strategy, improving product development efficiency, and reducing development costs.
[0008] In addition, in some embodiments, the power equipment model includes at least a power grid, transformers, fuel cells, and renewable energy; the equipment model for the hydrogen production, storage, and transportation process includes at least electro-hydrogen power equipment, pipelines, valves, and hydrogen storage tanks; and the ammonia synthesis model includes at least ammonia synthesis power equipment and ammonia storage tanks.
[0009] In some embodiments, the actual system includes at least a renewable energy power generation device, a water electrolysis hydrogen production device, a hydrogen storage device, an ammonia synthesis device, and an ammonia storage device; wherein the topology of the actual system includes: the renewable energy power generation device is connected to the water electrolysis hydrogen production device to supply power to the water electrolysis hydrogen production device to generate oxygen and gas; the water electrolysis hydrogen production device is connected to the hydrogen storage device to store hydrogen; the input end of the ammonia synthesis device is connected to the hydrogen storage device to receive hydrogen for ammonia synthesis and generate liquid ammonia; the output end of the ammonia synthesis device is connected to the ammonia storage device to store the liquid ammonia produced by the ammonia synthesis device.
[0010] In addition, in some embodiments, the green ammonia system scenario model also includes an electrical subsystem and a chemical subsystem, and the topology of the actual system includes the connection relationship between the electrical subsystem and the chemical subsystem; wherein, the electrical subsystem includes at least the electrical equipment model; and the chemical subsystem includes at least the equipment model of the hydrogen production, storage and transportation process and the ammonia synthesis model.
[0011] In some embodiments, the power subsystem includes the power grid, the electro-hydrogen production equipment, the ammonia synthesis equipment, and the renewable energy source; wherein the power subsystem is used to acquire electrical energy produced by the renewable energy source and to flexibly supply power using the power grid; the electro-hydrogen production equipment and the ammonia synthesis equipment are used to absorb the electrical energy of the power subsystem.
[0012] In some embodiments, the chemical subsystem includes the electro-hydrogen production equipment, the pipeline, the hydrogen storage tank, the valve, the ammonia synthesis equipment, the ammonia storage tank, and the fuel cell. The electro-hydrogen production equipment receives current parameters at its inlet and inputs the generated hydrogen data through the pipeline to the hydrogen storage tank. The hydrogen storage tank is connected to the valve, which sends the hydrogen data to the valve, splitting the hydrogen data into a first hydrogen branch and a second hydrogen branch. The hydrogen data is sent to the fuel cell via the first hydrogen branch to generate hydrogen for power generation. The second hydrogen branch sends the hydrogen data to the ammonia synthesis equipment to generate ammonia data, and the generated ammonia data is stored in the ammonia storage tank.
[0013] In addition, in some embodiments, the simulation system sets two different time steps for the power subsystem and the chemical subsystem respectively, and performs multi-rate solution for the green ammonia system.
[0014] In some embodiments, the simulation system includes simulation management software and a simulator; wherein the simulation management software is used to compile the green ammonia system scenario model to obtain green ammonia system code; and the simulator is used to solve the green ammonia system code to obtain simulation results.
[0015] In addition, in some embodiments, the test and verification module includes at least the operating data and corresponding trend curves of simulated 24-hour photovoltaic, wind turbine, fuel cell, electric energy storage power generation and charging and discharging power, electric hydrogen production, power consumption of synthetic ammonia equipment, electric energy storage SOC, hydrogen storage tank SOC and synthetic ammonia production. Attached Figure Description
[0016] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0017] Figure 1 This is a schematic diagram of a synthetic ammonia model in a simulation test system for a green ammonia system control strategy provided according to an embodiment of the present invention.
[0018] Figure 2 This is a schematic diagram of a compressor model and parameter setting examples in a simulation test system for a green ammonia system control strategy provided according to an embodiment of the present invention.
[0019] Figure 3 This is a schematic diagram showing the distribution of each basic module in the green ammonia system simulation model library in the simulation test system for the green ammonia system control strategy provided according to an embodiment of the present invention.
[0020] Figure 4 This is a schematic diagram of the topology of a green ammonia system scenario in a simulation test system for a green ammonia system control strategy provided according to an embodiment of the present invention.
[0021] Figure 5 This is a schematic diagram of the chemical subsystem structure of the green ammonia system scenario model in the simulation test system of the green ammonia system control strategy provided in the embodiment of the present invention.
[0022] Figure 6 This is a schematic diagram of the power subsystem structure of the green ammonia system scenario model in the simulation test system of the green ammonia system control strategy provided in the embodiment of the present invention.
[0023] Figure 7 This is a schematic diagram of the simulation data in the simulation test system of the green ammonia system control strategy provided according to an embodiment of the present invention.
[0024] Figure 8 This is a flowchart of a simulation test system method for a green ammonia system control strategy according to another embodiment of the present invention. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details are presented in the various embodiments of the present invention to facilitate a better understanding of this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and modifications based on the following embodiments. The division of the various embodiments below is for ease of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined with and referenced by each other without contradiction.
[0026] The current problems with the green ammonia process, namely the significant room for optimization in the green electricity-to-hydrogen ammonia synthesis process, require improvements in energy utilization and reductions in economic costs. New energy power generation is intermittent and fluctuates due to weather conditions, while chemical production typically operates in one or more steady states. The dynamic response speeds and characteristics of power systems and chemical process systems are drastically different, and their dynamic responses are mutually restrictive and influential, exhibiting strong coupling. However, the lack of a suitable testing platform hinders the design and development of green ammonia systems.
[0027] To address the aforementioned issues, one embodiment of this application provides a simulation testing system for a green ammonia system control strategy. The system includes: a green ammonia simulation model library, a green ammonia system scenario model module, a simulation system, and a testing and verification module. The green ammonia simulation model library stores basic equipment models for the green ammonia system, wherein the basic equipment models consist of one or more models selected from power equipment models, hydrogen production, storage, and transportation process equipment models, and ammonia synthesis models. The green ammonia system scenario model module constructs a green ammonia system scenario model based on the topology of the actual system and determines the operating mode of the green ammonia system scenario model according to a preset control strategy, wherein the actual system is a green ammonia system. The simulation system calls the green ammonia system scenario model to simulate and run the green ammonia system scenario model, realizing simulation testing management functions. The testing and verification module monitors the operating status of the green ammonia system scenario model under different control strategies, obtains operating data, analyzes the advantages and disadvantages of the operating status, and optimizes the control strategy.
[0028] In this embodiment of the invention, a complete simulation scenario model of the green ammonia system is constructed based on the topological structure of the ammonia synthesis process in the green ammonia system. The effectiveness of the constructed model is verified through simulation software, the control strategy is tested and iteratively optimized, and the operating status of the green ammonia system simulation scenario model is monitored to obtain operating data and trend curves corresponding to the operating data within the operating cycle. Based on the operating data and the corresponding trend curves, the green ammonia system scenario model is optimized. This embodiment of the application constructs a dynamic scenario model of the entire process from the new energy power generation end to the chemical end by performing mechanistic modeling of each device in the green ammonia system, completing the simulation of the dynamic operating conditions of the green ammonia system, thereby shortening the development and verification cycle of the green ammonia system control strategy, improving product development efficiency, and reducing development costs.
[0029] Specifically, the green ammonia simulation model library in the above embodiments is a database structure used to store and call models established by physical and data methods, such as power equipment modules, transportation equipment modules, and electro-hydrogen-ammonia coupled chemical modules. Users can directly edit existing modules in the simulation model library to adapt to different control scenarios.
[0030] Among them, the green ammonia system scenario model module designs the corresponding system topology based on the existing green ammonia system control strategy, and determines the operation mode of the green ammonia system scenario model according to the preset control strategy. By using simple drag-and-drop, connection and basic parameter settings of each module, a complete simulation test model of the green ammonia system is further constructed.
[0031] This simulation system is used to call simulation software, obtain the topology, build a green ammonia system scenario model using basic modules, and simulate the green ammonia system simulation scenario model. The green ammonia system scenario model consists of real-time simulation management software and a real-time simulation mechanism, which is used to perform real-time simulation of various working conditions of the green ammonia system scenario model.
[0032] The real-time simulation management software compiles and converts the system scene model into a ".c file," which is then compiled into a binary file on the real-time simulation simulator platform. It enables communication between the host and target machines, between the CPU and the FPGA, and between CPUs within the target machine. Furthermore, it provides simulation control for the model, including model download, node allocation, simulation execution, and shutdown functions.
[0033] The real-time simulator solves the system scene model in real time, and uses multi-core, multi-rate and XHP ultra-high-speed mode to provide the optimal solution for solving the model, reducing computing resources.
[0034] The testing and verification module is used to monitor the operating status of the green ammonia system simulation scenario model, obtain the operating data and the trend curve corresponding to the operating data within the operating cycle, and optimize the green ammonia system scenario model based on the operating data and the trend curve corresponding to the operating data.
[0035] Furthermore, in this embodiment of the invention, the basic modules of the simulation model library are stored in the green ammonia simulation model library. These modules only have inputs and outputs, while the specific calculation processes are hidden and encapsulated. Some modules are models derived from data simulations, such as the electro-hydrogen-ammonia coupling chemical module, while others are simpler modules built into the simulation system, such as the power grid module and the transformer module. Ammonia synthesis is the key to this system; therefore, in this embodiment of the invention, the simulation modeling process of the ammonia synthesis module within the electro-hydrogen-ammonia coupling module is described in detail.
[0036] Please see Figure 1 , Figure 1 A model of an ammonia synthesis unit is presented. This model is based on the physical mechanism analysis and modeling of the processes described above, including feed gas pressurization, ammonia synthesis, ammonia liquefaction in a cooler, liquid ammonia separation, and tail gas recovery. Each process is coupled according to the process flow to construct a complete ammonia synthesis unit model. The model's inlet port is the hydrogen working medium inlet, and the outlet port is the liquid ammonia outlet.
[0037] The ammonia synthesis apparatus described in this embodiment of the invention is based on the Haber process for ammonia synthesis. In the Haber process, the reaction pressure is generally between 13 MPa and 17 MPa, and the reaction temperature is approximately 350°C to 500°C. Green ammonia is synthesized from green hydrogen and nitrogen under the action of an iron or ruthenium-based catalyst. The chemical reaction equation is: N₂ + 3H₂ → 2NH₃, ΔH = -92.4 kJ / mol. The mixture of nitrogen and hydrogen first enters a heat exchanger for preheating, and then enters the contact chamber of the synthesis tower to react and generate ammonia. The NH₃ exiting the contact chamber is at a relatively high temperature and enters a cooler to liquefy the ammonia. The separated liquid ammonia enters a storage tank, while the unliquefied NH₃ and H₂ are recycled back into the synthesis tower.
[0038] Specifically, the process of pressurizing hydrogen and nitrogen data to obtain syngas data is first simulated using a compressor model. The polyvariant relationships of the compressor working fluid state parameters are converted into simulation code to calculate the thermodynamic state parameters of the output working fluid and the required mechanical power. An example is given here: hydrogen produced by electrochemical hydrogen generation and nitrogen obtained from air separation are mixed in a 3:1 ratio and then fed into a compressor to increase the pressure to meet the requirements of the reactor. The mixing of hydrogen and nitrogen is simulated using a compressor model, which employs a polyvariant process solution method with a polyvariance index of 1.5. Figure 2 As shown. Among them, Figure 2After the compressor model is encapsulated, the module only retains external ports. The left side of the module has parameter input ports, with "in", "ctrl", and "outlet press", which mean "input working fluid", "compressor inlet baffle opening", and "compressor outlet pressure setpoint", respectively. The right side of the module has parameter output ports, with "out", "P_mch", "Qdot", and "mdot", which mean "output working fluid", "compressor power consumption", "heat generated by the compressor", and "compressor working fluid mass flow rate", respectively.
[0039] The polyvariant relationship between the compressor input and output working fluid state parameters in the compressor model (pv) n =constant) is used to calculate the thermodynamic state parameters of the output working fluid and the required mechanical power.
[0040]
[0041] In the formula, n represents the molar mass flow rate of the working fluid in the compressor, and p1 and v n P represents the compressor input working fluid pressure and volume, p2 and v2 represent the compressor output working fluid pressure and volume, T1 and T2 represent the compressor input and output working fluid thermodynamic temperatures, respectively. mch This indicates the power required for the compressor per unit mass flow rate of working fluid.
[0042] After obtaining the compressed syngas data, simulation code was used to simulate the chemical reaction process of ammonia synthesis in an ammonia synthesis tower to obtain ammonia synthesis data. In the model reactor, a mixture of high-temperature, high-pressure air and methane undergoes a catalytic reaction through a catalyst bed. The reaction is exothermic, with the reaction temperature typically between 350 and 500°C and the pressure between 13 and 17 MPa. The presence of a catalyst can increase the reaction rate.
[0043] The synthesis tower reaction can be simulated using the "Equilibrium Reactor" module. The module's input ports are the cooling water inlet and reactant inlet, and its output ports are the cooling water outlet and reactant inlet. The equation N₂ + 3H₂ → 2NH₃ can be written in the module's reaction editing window.
[0044] Among them, the chemical equilibrium equation is:
[0045]
[0046] In the formula: k is the chemical equilibrium constant, ΔG is the difference in Gibbs free energy between products and reactants, and R is the universal gas constant. a, b, c, and d are the chemical concentration coefficients of reactants and products in the equation, i.e., 1, 3, 2, and 0, respectively. ψ j Let be the mole fraction of substance j.
[0047] The gas exiting the ammonia synthesis tower typically contains about 20-25% ammonia, along with a large amount of unreacted hydrogen and nitrogen. This gas first needs to be cooled. As the gas temperature decreases, the ammonia dew point temperature gradually reaches the desired level, causing the ammonia to condense into a liquid state. The cooling of the ammonia is simulated using a heat exchanger module. The heat exchanger has two fluids: cooling water and product gas. The cooling water cools the ammonia-containing product gas from the synthesis tower to 4°C, at which point the ammonia phase changes to liquid, while the remaining gases, such as H2, remain gaseous. After cooling, the gas and liquid streams enter a separator for liquid ammonia separation. Utilizing the density difference between the liquid and gaseous mixture, separation occurs by gravity within the separator. The separated liquid ammonia undergoes a series of post-processing steps, including filtration, to obtain high-purity liquid ammonia. The filtration and purification of liquid ammonia are omitted from this model. Unreacted gases (mainly hydrogen and nitrogen) discharged from the top of the separator are recycled back to the compressor, recompressed, and sent back to the synthesis tower for repeated synthesis processes, improving synthesis efficiency.
[0048] Based on the above principles, an ammonia synthesis device can be implemented. The model of this ammonia synthesis device is based on the physical mechanism analysis and modeling of the processes such as raw material gas pressurization, ammonia synthesis, ammonia liquefaction in a cooler, liquid ammonia separation, and tail gas recovery. Each process is coupled according to the process flow to construct a complete ammonia synthesis device model. The model's inlet port is the hydrogen working medium inlet, and the outlet port is the liquid ammonia outlet. Then, similar to the construction process of the ammonia synthesis module, other simulation models are constructed, such as... Figure 3 As shown.
[0049] Furthermore, the green ammonia system scenario model module, which is a physical system model constructed based on the actual system topology, includes devices for power control, electro-hydrogen production, nitrogen production, and ammonia synthesis. A schematic diagram of the constructed green ammonia system scenario model topology is shown below. Figure 4 As shown.
[0050] Please see Figure 4 The actual system includes at least a renewable energy power generation device (which may be a wind or solar power generation device), an electrolytic water hydrogen production device (i.e., electrolytic hydrogen production ALK), a hydrogen storage device (i.e., a hydrogen storage tank), an ammonia synthesis (or ammonia synthesis) device, and an ammonia storage device (i.e., a liquid ammonia storage tank); wherein, the topology of the actual system includes: the renewable energy power generation device is connected to the electrolytic water hydrogen production device to supply power to the electrolytic water hydrogen production device to produce oxygen and hydrogen; the electrolytic water hydrogen production device is connected to the hydrogen storage device to store hydrogen; the input end of the ammonia synthesis device is connected to the hydrogen storage device to receive hydrogen for ammonia synthesis and to generate liquid ammonia; the output end of the ammonia synthesis device is connected to the ammonia storage device to store the liquid ammonia produced by the ammonia synthesis device.
[0051] The parameters of each device can be found in Table 1 of the Green Ammonia simulation model library.
[0052] Table 1. Equipment and parameters in the green ammonia simulation model library.
[0053] Equipment Name quantity parameter Photovoltaics 2 groups Rated generating capacity: 25MW*2 Fan 2 groups Rated generating capacity: 25MW*2 Energy storage battery 2 groups Rated charge / discharge power: 25MW; Rated capacity: 50MWh*2 fuel cells 1 unit Rated power: 1MW Electrogenization (ALK) 5 units Rated power: 1000kW hydrogen storage tank 3 units Rated volume: 2000 cubic meters; Maximum pressure of the storage tank: 1.6 MPa Synthetic ammonia 1 unit Rated ammonia production: 1.25 T / h; Rated power consumption: 5 MW pipeline 1 item Pipe inner and outer diameters: 28 / 30mm; Flow loss coefficient: 0.0001 liquid ammonia storage tank 1 seat Rated volume: 2000 cubic meters
[0054] Furthermore, in this embodiment of the invention, the simulation system is used to call the green ammonia system scenario model and simulate its operation to achieve simulation test management functions. The green ammonia system scenario model further includes an electrical subsystem and a chemical subsystem, and the topology of the actual system includes the connection relationship between the electrical subsystem and the chemical subsystem; wherein the electrical subsystem includes at least the electrical equipment model; and the chemical subsystem includes at least the equipment model of the hydrogen production, storage, and transportation process and the ammonia synthesis model.
[0055] Specifically, the chemical subsystem includes the electro-hydrogen production equipment, the pipeline, the hydrogen storage tank, the valve, the ammonia synthesis equipment, the ammonia storage tank, and the fuel cell. The electro-hydrogen production equipment receives current parameters at its inlet and inputs the generated hydrogen data through the pipeline to the hydrogen storage tank. The hydrogen storage tank is connected to the valve, which sends the hydrogen data to the gas. The valve then splits the hydrogen data into a first hydrogen branch and a second hydrogen branch. The hydrogen data is sent to the fuel cell via the first hydrogen branch to generate hydrogen for power generation. The second hydrogen branch sends the hydrogen data to the ammonia synthesis equipment to generate ammonia data, and the generated ammonia data is stored in the ammonia storage tank.
[0056] Here is a specific example for reference. Figure 5 The ALK electro-hydrogen generator model on the left receives current parameters at its inlet and outputs hydrogen as the working fluid. The hydrogen produced by the electro-hydrogen generator is delivered proportionally to three hydrogen storage tanks via pipelines. The buffered and pressure-stabilized hydrogen in the storage tanks is divided into two branches by a three-way valve to provide a stable hydrogen supply. One branch supplies hydrogen for fuel cell power generation, while the other branch supplies hydrogen to the ammonia synthesis unit. Liquid ammonia produced by the ammonia synthesis unit is then sent to the storage tanks for later use.
[0057] Specifically, the power subsystem includes the power grid, the electro-hydrogen production equipment, the ammonia synthesis equipment, and the renewable energy source; wherein, the power subsystem is used to acquire electrical energy produced by the renewable energy source and to flexibly supply power using the power grid; the electro-hydrogen production equipment and the ammonia synthesis equipment are used to absorb the electrical energy of the power subsystem.
[0058] One specific example is given here for reference. Figure 6 Wind turbines, photovoltaic systems, and energy storage systems provide new energy generation for the entire power system. Electric energy storage supports the voltage and frequency of the entire power system, ensuring power quality. Fuel cells adjust their operating status according to the power supply demand of the entire power system. The electrical loads from electro-hydrogen production and ammonia synthesis jointly consume the electrical energy of the entire power system.
[0059] In this embodiment of the invention, the simulation system includes simulation management software and a simulator; wherein, the simulation management software is used to compile the green ammonia system scenario model to obtain green ammonia system code; the simulator is used to solve the green ammonia system code to obtain simulation results.
[0060] Specifically, the simulation system consists of simulation management software and a simulation machine. The simulation management software RT-LAB can compile the green ammonia system scenario model, converting the Simulink model into a ".c file" and then compiling it into a binary file on the simulation platform. RT-LAB software enables communication between the host and target machines, between the CPU and the FPGA, and between CPUs within the target machine. It also provides simulation control of the model, including model download, node allocation, simulation execution, and shutdown. The Parameter Control Panel module included with RT-LAB allows for online adjustment of various parameters in the model (such as the gain coefficient and integral constant of the regulator) without interrupting the simulation. The results of parameter adjustments are immediately visible.
[0061] In this embodiment of the invention, a simulator is used to solve the green ammonia system scenario model. Multi-core, multi-rate, and XHP ultra-high-speed modes provide the optimal solution for the model, reducing computational resources. Two different time steps, 50 microseconds and 0.5 seconds, are set for the power and chemical subsystems of the green ammonia system scenario model, respectively, to perform multi-rate solutions for the electro-hydrogen coupling system, achieving significant savings in computational resources.
[0062] In this embodiment of the invention, the testing and verification module is used to monitor the operating status of the green ammonia system scenario model under different control strategies, obtain the operating data and the trend curve corresponding to the operating data within the operating cycle, and optimize the green ammonia system scenario model based on the operating data and the trend curve corresponding to the operating data.
[0063] Specifically, after the green ammonia system scenario model is simulated, the simulation platform monitor displays the current operating status, i.e., the operating status and data of each device in the system. The scope module can be used to display data trend curves throughout the entire operating cycle. Through analysis of the operating data and data curves, the green ammonia system scenario model is continuously optimized and improved to achieve consistency between the model and the real-world system. This completes the construction of a mirror model of the real system, providing a platform for the entire system to study operating mechanisms, test operating conditions, and develop algorithms for operational optimization and collaborative scheduling. The operating data curves of the green ammonia system simulation scenario model are shown in Figure 7.
[0064] in, Figure 7 The monitoring curves for photovoltaic power generation (MW), wind turbine power generation (MW), fuel cell power generation (MW), energy storage battery charge / discharge power (MW), energy storage battery SOC (%), hydrogen storage tank SOC (%), and power consumption for electro-hydrogen production (MW) and ammonia synthesis (MW) are displayed from top to bottom for each district / county after a 24-hour real-time simulation. Photovoltaic power generation gradually increases from the 5th hour, reaching its maximum at the 12th hour, and then gradually decreases. Wind turbine power generation fluctuates randomly according to wind power resource variations. The electro-hydrogen production and ammonia synthesis equipment operate at constant power consumption of 50MW and 5MW respectively. Electric energy storage continuously charges and discharges according to changes in power load to maintain the overall system's power balance.
[0065] Based on the analysis of the above green ammonia system scenario model operation status and data curve results, it can be seen that the real-time simulation of the green ammonia system of the present invention has the correctness and reliability of simulating the functions of the real system, and can be used as a simulation platform for the research of the green ammonia system operation mechanism, operation condition testing, and the development of algorithms such as operation optimization and collaborative scheduling.
[0066] In this embodiment of the invention, based on the physical mechanism analysis and modeling of processes such as raw material gas pressurization, ammonia synthesis, ammonia cooler liquefaction, liquid ammonia separation, and tail gas recovery in the ammonia synthesis process, each simulation module is constructed according to the process flow and the actual system topology. This is achieved through simple drag-and-drop, connection, and basic parameter settings of each module, creating a complete green ammonia system simulation scenario model. The model accurately describes the physical dynamic characteristics and transient processes of the green ammonia system, including the ammonia synthesis equipment. The model conforms to thermodynamic processes and chemical reaction equilibrium laws, satisfying the simulation of ammonia production. The model uses a multi-time-step approach to divide the entire green hydrogen system into two subsystems: an electricity subsystem and a hydrogen-ammonia subsystem, which are solved in parallel within the simulator. Based on the correct system topology and parameter configuration, the model can accurately simulate the dynamic operating conditions of the entire green hydrogen system. Through simple device drag-and-drop, connection, and basic parameter settings, the entire electricity-hydrogen-ammonia coupling process of the green ammonia system can be quickly and conveniently completed on the same platform, significantly reducing the modeling and debugging time for engineers.
[0067] It is worth mentioning that all modules involved in this embodiment are logical modules. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. Furthermore, to highlight the innovative aspects of this invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by this invention; however, this does not mean that other units are absent from this embodiment.
[0068] For further details, please refer to Figure 8 Another embodiment of the present invention also relates to a method for executing a simulation test system for a green ammonia system control strategy, comprising:
[0069] S1. Construct a green ammonia simulation model library.
[0070] Specifically, a simulation model library corresponding to the green ammonia system to be simulated is pre-built. This simulation model library is a graphical code structure used to store and call models built using physical and data methods, such as power equipment modules, equipment modules for hydrogen production, storage, and transportation processes, and ammonia synthesis modules. The power equipment modules include at least wind turbine modules, photovoltaic modules, energy storage modules, power grid modules, transformer modules, fuel cell models, and power load models. The equipment modules for hydrogen production, storage, and transportation processes include at least electro-hydrogen production equipment, pipelines, valves, and hydrogen storage tank models. The ammonia synthesis module includes at least an ammonia synthesis unit and an ammonia storage tank model. Users can also directly edit existing modules in the simulation model library to adapt to different control scenarios.
[0071] The model library in this invention is created based on the large-scale modeling and simulation software Matlab / Simulink. It uses Simulink's professional power toolkit and thermodynamic simulation toolkit to build and encapsulate the equipment models and embed them into Simulink's component library.
[0072] S2. Create the green ammonia system scene model structure.
[0073] The green ammonia system scenario model is constructed based on the topology of the actual system, and its operation mode is determined according to a preset control strategy. This invention uses a green ammonia production project in a certain industrial park as a reference, and constructs a typical green ammonia system scenario model based on a green ammonia simulation model library. The system control strategy refers to the coupling of green hydrogen and ammonia (or wind-solar-storage-hydrogen-ammonia coupling). New energy resources such as photovoltaics and wind power are used for new energy power generation, and green electricity is used for water electrolysis to produce hydrogen. The hydrogen is buffered and pressurized before being sent to the downstream ammonia synthesis unit, where it is pressurized with nitrogen and sent to the ammonia synthesis unit for ammonia synthesis. The liquid ammonia produced from the ammonia synthesis is stored in storage tanks for use in subsequent processes.
[0074] S3. Construct a simulation scenario for the green ammonia system and run the simulation.
[0075] Specifically, a green ammonia system scenario model is built using the green ammonia simulation model library, and the green ammonia system scenario model is then simulated and run.
[0076] In this embodiment, the green ammonia system scenario model can be compiled using the simulation management software RT-LAB, converting the Simulink model into a .c file and then compiling it into a binary file on the simulator platform. RT-LAB software enables communication between the host and target machines, between the CPU and FPGA, and between CPUs within the target machine. It also provides simulation control for the model, including model download, node allocation, simulation execution, and shutdown. The Parameter Control Panel module included with RT-LAB allows for online adjustment of various parameters in the model (such as the gain coefficient and integral constant of the regulator) without interrupting the simulation. The results of parameter adjustments are immediately visible. The simulator solves the green ammonia system scenario model, providing optimal solutions for model solving using multi-core, multi-rate, and XHP ultra-high-speed modes, reducing computational resources. Two different time steps, 50 microseconds and 0.5 seconds, are set for the power and chemical subsystems of the green ammonia system scenario model, respectively, to perform multi-rate solutions for the electro-hydrogen coupling system.
[0077] S4. Monitor operational data and identify abnormal data.
[0078] Specifically, the operational status of the simulated green ammonia system model is monitored to obtain system operation data, and operational status is detected to evaluate the effectiveness of operational strategies. After the green ammonia system model is simulated, the simulation platform monitor displays the current operational status of the green ammonia system, i.e., the operational status and data of each device in the system. The scope module can be used to display data trend curves throughout the entire operational cycle, allowing for analysis and comparison of operational data under different control strategies, and evaluation of the control strategy with the optimal performance indicators.
[0079] Furthermore, step S4 of the simulation test system for the control strategy of the green ammonia system may also include: monitoring the operating status of the green ammonia system scenario model to obtain system operating data; and performing visualization operations on the system operating data to obtain data trend curves.
[0080] S5. Optimize the green ammonia system model.
[0081] Specifically, the operating data and the corresponding trend curves are subjected to full life-cycle operating status detection based on the green ammonia coefficient to identify abnormal operating data and optimize the green ammonia system scenario model.
[0082] In this embodiment of the invention, the green ammonia system scenario model is continuously optimized and improved through analysis of operating data and data curves to achieve consistency between the model and the real field system. This completes the construction of a mirror model of the real system and provides a platform for the development of algorithms such as operating mechanism research, operating condition testing, operating optimization, and collaborative scheduling for the entire system.
[0083] Specifically, real-time simulation over 24 hours yielded the power generation and charging / discharging power of photovoltaic, wind turbine, fuel cell, and energy storage systems, as well as the power consumption of the electro-hydrogen and ammonia synthesis equipment, and the operating curves of the energy storage SOC, hydrogen storage tank SOC, and ammonia production. Photovoltaic power generation gradually increased from the 5th hour, reaching its maximum at the 12th hour, and then gradually decreased. Wind turbine power generation fluctuated randomly according to wind resource availability. The electro-hydrogen and ammonia synthesis equipment operated at constant power consumption of 50MW and 5MW respectively. Energy storage continuously charged and discharged according to changes in power load to maintain the overall system's power balance.
[0084] Based on the analysis of the above green ammonia system scenario model operation status and data curve results, it can be determined whether the operation status is stable and whether the operation data is correct. Thus, it can be seen that the real-time simulation of the green ammonia system of the present invention has the correctness and reliability of simulating the functions of a real system, and can be used as a simulation platform for the research of the operating mechanism of the green ammonia system, the testing of operating conditions, and the development of algorithms such as operation optimization and collaborative scheduling.
[0085] In this embodiment, the scenario model can be used to simulate different operating conditions, study the operating characteristics of each device and the overall operating efficiency and reliability of the system under different operating conditions; the model can be used to optimize the operation control strategy of the green ammonia system and improve the economic efficiency of operation; the topology and operating data based on the system model can help professionals better understand the working principle and application of the green hydrogen system.
[0086] It is not difficult to see that this embodiment is a system implementation corresponding to the first embodiment, and this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and will not be repeated here to reduce repetition. Accordingly, the relevant technical details mentioned in this embodiment can also be applied to the first embodiment.
[0087] Those skilled in the art will understand that the above embodiments are specific examples of implementing the present invention, and in practical applications, various changes in form and detail may be made without departing from the spirit and scope of the present invention.
Claims
1. A simulation test system for a green ammonia system control strategy, characterized in that, The system includes: a green ammonia simulation model library, a green ammonia system scenario model module, a simulation system, and a testing and verification module; The green ammonia simulation model library is used to store basic equipment models in the green ammonia system. The basic equipment models consist of one or more of the following: power equipment models, equipment models for hydrogen production, storage and transportation processes, and ammonia synthesis models. The green ammonia system scenario model module is used to construct a green ammonia system scenario model based on the topology of the actual system, and to determine the operation mode of the green ammonia system scenario model according to a preset control strategy, wherein the actual system is a green ammonia system; The simulation system is used to call the green ammonia system scenario model, simulate and run the green ammonia system scenario model, and realize simulation test management functions; The testing and verification module is used to monitor the operating status of the green ammonia system under different control strategies in the scenario model, obtain operating data, analyze the advantages and disadvantages of the operating status, and optimize the control strategy.
2. The simulation test system for a green ammonia system control strategy according to claim 1, characterized in that, The power equipment model includes at least a power grid, transformers, fuel cells, and renewable energy; the equipment model for the hydrogen production, storage, and transportation process includes at least electric hydrogen production equipment, pipelines, valves, and hydrogen storage tanks; and the ammonia synthesis model includes at least ammonia synthesis equipment and ammonia storage tanks.
3. The simulation test system for a green ammonia system control strategy according to claim 1, characterized in that, The actual system includes at least a renewable energy power generation unit, a water electrolysis hydrogen production unit, a hydrogen storage unit, an ammonia synthesis unit, and an ammonia storage unit; wherein, the topology of the actual system includes: The renewable energy power generation device is connected to the water electrolysis hydrogen production device and is used to supply power to the water electrolysis hydrogen production device to produce oxygen and hydrogen. The water electrolysis hydrogen production device is connected to the hydrogen storage device, which is used to store hydrogen. The input end of the ammonia synthesis device is connected to a hydrogen storage device to receive hydrogen for ammonia synthesis and to generate liquid ammonia. The output end of the ammonia synthesis device is connected to an ammonia storage device for storing the liquid ammonia produced by the ammonia synthesis device.
4. A simulation test system for a green ammonia system control strategy according to any one of claims 1 to 3, characterized in that, The green ammonia system scenario model also includes a power subsystem and a chemical subsystem, and the topology of the actual system includes the connection relationships between the power subsystem and the chemical subsystem; wherein... The power subsystem includes at least the power equipment model; The chemical subsystem includes at least an equipment model of the hydrogen production, storage, and transportation process and an ammonia synthesis model.
5. The simulation test system for a green ammonia system control strategy according to claim 4, characterized in that, The power subsystem includes the power grid, the electro-hydrogen production equipment, the ammonia synthesis equipment, and the renewable energy source; wherein... The power subsystem is used to acquire electrical energy produced by the renewable energy source and to flexibly supply power using the power grid. The electric hydrogen production equipment and the ammonia synthesis equipment are used to consume the electrical energy of the power subsystem.
6. The simulation test system for a green ammonia system control strategy according to claim 4, characterized in that, The chemical subsystem includes the electric hydrogen production equipment, the pipeline, the hydrogen storage tank, the valve, the ammonia synthesis equipment, the ammonia storage tank, and the fuel cell; wherein... The inlet of the electro-hydrogen power equipment of the chemical subsystem receives current parameters and inputs the generated hydrogen data to the hydrogen storage tank through the pipeline. The hydrogen storage tank is connected to the valve, and the hydrogen data is sent to the valve. The valve is used to split the hydrogen data to obtain a first hydrogen branch and a second hydrogen branch. The hydrogen data is sent to the fuel cell via the first hydrogen branch to obtain the fuel cell's power generation data as hydrogen for power generation. The hydrogen data is sent to the ammonia synthesis power equipment via the second hydrogen branch to obtain ammonia synthesis data, and the generated ammonia data is stored in the ammonia storage tank.
7. The simulation test system for the control strategy of the green ammonia system according to claim 4, characterized in that, The simulation system sets two different time steps for the power subsystem and the chemical subsystem respectively, and performs multi-rate solution for the green ammonia system.
8. The simulation test system for a green ammonia system control strategy according to claim 1, characterized in that, The simulation system includes simulation management software and a simulator; wherein... The simulation management software is used to compile the green ammonia system scenario model to obtain the green ammonia system code; The simulator is used to solve the code of the green ammonia system and obtain simulation results.
9. The simulation test system for a green ammonia system control strategy according to claim 1, characterized in that, In the test and verification module, the operating data and corresponding trend curves include at least the operating curves of simulated 24-hour photovoltaic, wind turbine, fuel cell, electric energy storage power generation and charging and discharging power, electric hydrogen production, ammonia synthesis equipment power consumption, electric energy storage SOC, hydrogen storage tank SOC, and ammonia synthesis production.
10. A method for executing a simulation test system for a green ammonia system control strategy, characterized in that, The method includes: Construct a green ammonia simulation model library; The pre-built simulation software is called, and a green ammonia system scenario model is built using the green ammonia simulation model library. The green ammonia system scenario model is then simulated and run. The green ammonia system scenario model is constructed based on the topology of the actual system, and the operating mode of the green ammonia system scenario model is determined based on a preset control strategy. The operating status of the green ammonia system scenario model is monitored to obtain system operating data; The operating data and the corresponding trend curves are analyzed to detect the operating status throughout the entire lifecycle of the green ammonia system scenario model, the operating strategy is evaluated, and the green ammonia system scenario model is optimized.
Citation Information
Patent Citations
Wind power plant energy storage protection simulation test system and method
CN113268007A
Simulation test system and method for green hydrogen system control strategy
CN119396023A
PINN-based ammonia production operation regulation and control method and system
CN120145816A
Scheduling method for wind-solar hydrogen production and synthesis ammonia adapting to wind-solar fluctuation
CN120237662A
Multi-time-scale digital / analog hybrid simulation system and method for power distribution network and storage medium
US20190067939A1