Optimized operation method, device, equipment and medium of electric hydrogen production ammonia synthesis system

By obtaining and utilizing the system model of the electric-drug synthetic ammonia system, predicting and setting goals based on historical monitoring data, and controlling the system operation to minimize the target business parameters, solving the problems of insufficient system integration and optimization and high cost in the existing technology, and achieving optimized operation and cost reduction of the system.

CN119976884APending Publication Date: 2025-05-13STATE NUCLEAR ELECTRIC POWER PLANNING DESIGN & RES INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510271013.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The existing renewable energy hydrogen-producing ammonia synthesis technology still needs further research and improvement in system integration and optimization, and the cost is high, and it needs to be reduced through technological innovation to achieve industrial application.

Method used

By obtaining the system model of the electro-hydrogen synthesis system, predicting based on historical monitoring data, determining the target output, and controlling the system operation to minimize the target business parameters.

Benefits of technology

The optimized operation of the electro-hydrogen synthesis ammonia system has been achieved, which reduces the system operating costs and improves the system efficiency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119976884A_ABST
    Figure CN119976884A_ABST
Patent Text Reader

Abstract

The invention provides an optimized operation method, device and equipment of an electric hydrogen production ammonia synthesis system and a medium. The method comprises the following steps: acquiring a system model of the electric hydrogen production ammonia synthesis system; on the basis of historical monitoring data before the current period, the hydrogen yield and the ammonia yield of the current period are predicted in combination with the system model, and the predicted hydrogen yield and the predicted ammonia yield are obtained; based on the first monitoring data of the current period, the predicted hydrogen yield and the predicted ammonia yield, determining a target hydrogen yield and a target ammonia yield of the current period in combination with a system model; and controlling the electrohydrogen production ammonia synthesis system to operate according to the target hydrogen yield and the target ammonia yield, so that the value of the target service parameter of the electrohydrogen production ammonia synthesis system in the period is minimum. Therefore, the optimized operation of the electric hydrogen production ammonia synthesis system can be realized, and the value of the target service parameter of the system is minimum.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of hydrogen production and ammonia synthesis from renewable energy, and in particular to an optimized operation method, device, equipment and medium for an electric hydrogen production and ammonia synthesis system. Background Art

[0002] Renewable energy electric hydrogen production and ammonia synthesis is an emerging and environmentally friendly chemical production method. It uses renewable energy (such as solar energy, wind energy, etc.) to generate electricity, produces hydrogen by electrolyzing water, and then synthesizes hydrogen and nitrogen into ammonia. This technology has significant advantages in carbon emission reduction, energy storage and transportation, and is an important way to achieve green energy transformation and sustainable development.

[0003] Renewable energy electric hydrogen production and ammonia synthesis have broad application prospects in many fields. For example, ammonia can be used as a clean raw material to make nitrogen fertilizer and compound fertilizer, and hydrogen can be used as a clean fuel in power systems and shipbuilding. However, there are still some challenges to realize the industrial application of this technology. For example, although the technology of water electrolysis to produce hydrogen and synthetic ammonia is relatively mature, the integration and optimization of the whole system still need further research and improvement. For another example, the cost of renewable energy electric hydrogen production and ammonia synthesis is still higher than the cost of traditional fossil energy hydrogen production. It is necessary to reduce costs through technological innovation to increase profits. Summary of the invention

[0004] The present application provides an optimized operation method, device, equipment and medium for an electric hydrogen production and ammonia synthesis system, so as to solve one of the technical problems in the related art at least to a certain extent. The technical solution of the present application is as follows:

[0005] According to one aspect of the present application, a method for optimizing the operation of an electric hydrogen production and ammonia synthesis system is provided, comprising:

[0006] Obtaining a system model of an electric hydrogen production and ammonia synthesis system; wherein the system model includes a photovoltaic power station model, a wind power station model, a water electrolysis hydrogen production model of a hydrogen production device, a hydrogen synthesis ammonia model of a hydrogen synthesis ammonia device, a hydrogen storage model, an energy storage device model, and a grid interaction model corresponding to the grid interaction device;

[0007] Based on the historical monitoring data before the current cycle and in combination with the system model, the hydrogen production and ammonia production of the current cycle are predicted to obtain the predicted hydrogen production and the predicted ammonia production;

[0008] Based on the first monitoring data of the current cycle, the predicted hydrogen production and the predicted ammonia production, and in combination with the system model, determine the target hydrogen production and the target ammonia production of the current cycle;

[0009] The electric hydrogen production and ammonia synthesis system is controlled to operate according to the target hydrogen production and the target ammonia production, so that the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in the current cycle is minimized.

[0010] According to another aspect of the present application, there is provided an optimized operation device for an electric hydrogen production and ammonia synthesis system, the device comprising:

[0011] An acquisition module is used to acquire a system model of an electric hydrogen production and ammonia synthesis system; wherein the system model includes a photovoltaic power station model, a wind power station model, a water electrolysis hydrogen production model of a hydrogen production device, a hydrogen synthesis ammonia model of a hydrogen synthesis ammonia device, a hydrogen storage model, an energy storage device model, and a grid interaction model corresponding to a grid interaction device;

[0012] A prediction module, used to predict the hydrogen production and ammonia production of the current cycle based on the historical monitoring data before the current cycle in combination with the system model, to obtain the predicted hydrogen production and the predicted ammonia production;

[0013] A determination module, configured to determine a target hydrogen production and a target ammonia production of the current cycle based on the first monitoring data of the current cycle, the predicted hydrogen production and the predicted ammonia production, in combination with the system model;

[0014] The control module is used to control the electric hydrogen production and ammonia synthesis system to operate according to the target hydrogen production and the target ammonia production, so as to minimize the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in the current cycle.

[0015] According to another aspect of the present application, a non-transitory computer-readable storage medium of computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the optimized operation method of the electric hydrogen production and ammonia synthesis system proposed in the above-mentioned aspect of the present application.

[0016] According to another aspect of the present application, a computer program product is provided, including a computer program, which, when executed by a processor, implements the optimized operation method of the electric hydrogen production and ammonia synthesis system proposed in the above-mentioned aspect of the present application.

[0017] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0018] Obtain a system model of the electric hydrogen production and ammonia synthesis system; wherein the system model includes a photovoltaic power station model, a wind power station model, a water electrolysis hydrogen production model of the hydrogen production device, a hydrogen synthesis ammonia model of the hydrogen synthesis ammonia device, a hydrogen storage model, an energy storage device model, and a grid interaction model corresponding to the grid interaction device; based on the historical monitoring data before this cycle, combined with the system model, the hydrogen production and ammonia production of this cycle are predicted to obtain the predicted hydrogen production and predicted ammonia production; based on the first monitoring data of this cycle, as well as the predicted hydrogen production and predicted ammonia production, combined with the system model, the target hydrogen production and target ammonia production of this cycle are determined; the electric hydrogen production and ammonia synthesis system is controlled to operate according to the target hydrogen production and target ammonia production, so that the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in this cycle is minimized. Therefore, based on the predicted hydrogen production and predicted ammonia production obtained by the historical monitoring data prediction, the hydrogen production and ammonia production of this cycle are effectively determined, and then the system can be controlled to operate according to the optimized operation strategy, realizing the optimized operation of the electric hydrogen production and ammonia synthesis system, and minimizing the value of the target business parameter of the system.

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

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

[0021] Figure 1 A schematic flow chart of an optimized operation method of an electric hydrogen production and ammonia synthesis system provided in Example 1 of the present application;

[0022] Figure 2 A schematic flow chart of an optimized operation method of an electric hydrogen production and ammonia synthesis system provided in Example 2 of the present application;

[0023] Figure 3 A schematic diagram of the linear relationship between the output power and hydrogen production of the electrolyzer provided in an embodiment of the present application;

[0024] Figure 4 This is a schematic diagram of the structure of the optimized operation device of the electric hydrogen production and ammonia synthesis system provided in Example 3 of the present application. DETAILED DESCRIPTION

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

[0026] The following describes the optimized operation method, device and equipment of the electric hydrogen production and ammonia synthesis system of the embodiment of the present application with reference to the accompanying drawings.

[0027] Figure 1 This is a flow chart of the optimized operation method of the electric hydrogen production and ammonia synthesis system provided in Example 1 of the present application.

[0028] The embodiment of the present application takes the optimization operation method of the hydrogen-electric ammonia synthesis system as an example, in which the optimization operation device of the hydrogen-electric ammonia synthesis system is configured. The optimization operation device of the hydrogen-electric ammonia synthesis system can be applied to any electronic device so that the electronic device can perform the optimization operation function of the hydrogen-electric ammonia synthesis system.

[0029] Among them, the electronic device can be any device with computing capabilities, such as a personal computer, a mobile terminal, a server, etc. The mobile terminal can be, for example, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and other hardware devices with various operating systems, touch screens and / or display screens.

[0030] like Figure 1 As shown, the optimized operation method of the electric hydrogen production and ammonia synthesis system may include the following steps:

[0031] Step 101, obtaining a system model of a system for synthesizing ammonia by producing hydrogen from electricity.

[0032] Among them, the system model may include but is not limited to a photovoltaic power station model, a wind power station model, a water electrolysis hydrogen production model of a hydrogen production device, a hydrogen ammonia synthesis model of a hydrogen ammonia synthesis device, a hydrogen storage model, an energy storage device model and a grid interaction model corresponding to the grid interaction device.

[0033] As a possible implementation, the hydrogen production device may include but is not limited to a hydrogen production equipment, wherein the hydrogen production equipment may be, for example, an electrolyzer.

[0034] In a possible implementation of the embodiment of the present application, when the hydrogen production device includes at least one hydrogen production equipment, the system model can be specifically expressed as:

[0035] (1) The wind power station model can be expressed as:

[0036]

[0037] Among them, v is the real-time wind speed in the area, v ci is the cut-in wind speed, v co is the cut-out wind speed, v r is the rated wind speed, P wt Represents the wind power output of the wind turbine, P wt,rrepresents the rated power of the wind turbine, η1 represents the mechanical transmission efficiency of the wind turbine, η1 represents the power conversion efficiency of the wind turbine, ρ is the air density, A is the rotor area, C P For wind energy utilization efficiency;

[0038] (2) The photovoltaic power station model can be expressed as:

[0039]

[0040] Among them, T c =T air +K*I t ; (3)

[0041] P pv Represents photovoltaic output, P sn Indicates the rated output power of photovoltaic power, T c Represents the photovoltaic panel battery temperature, R c To set the light intensity to a specific intensity, I std is the light intensity per unit area, T stc is the battery temperature, I t represents the actual light radiation intensity at time t, Represents the temperature coefficient of the photovoltaic panel; it should be noted that, The value interval of is [0.03,0.05];

[0042] (3) The model of hydrogen production by water electrolysis can be expressed as:

[0043] P el,单 =U el I el ; (4)

[0044]

[0045] U rev =U r0 -K rev (T el -298.15); (6)

[0046]

[0047] P el =nP el,单 ; (8)

[0048] P el,单 Indicates the hydrogen production power of a single hydrogen production equipment, U el is the output voltage of a single hydrogen production device, I el Indicates the current of a single hydrogen production equipment, U rev Represents the reversible voltage of the hydrogen production equipment, S elIndicates the electrode surface area of ​​the hydrogen production equipment, T el Indicates the operating temperature of the hydrogen production equipment, K el Indicates the electrode overvoltage coefficient, K T Indicates the empirical overpressure coefficient of hydrogen production equipment, U r0 Indicates the reversible voltage of hydrogen production equipment under standard conditions, K rev is the temperature empirical coefficient, represents the hydrogen production of a single hydrogen production equipment at time t, is the hydrogen production power of a single hydrogen production equipment at time t; P el Indicates the total power of the hydrogen production unit;

[0049] (4) The hydrogen-to-ammonia model can be expressed as:

[0050]

[0051] in, represents the ammonia production of the hydrogen-to-ammonia synthesis unit at time t, Δt is the time difference, represents the ramp rate of synthetic ammonia production, Indicates the lower limit of the ramp rate of synthetic ammonia production, Indicates the upper limit of the ramp rate of synthetic ammonia production, represents the lower limit of synthetic ammonia production, represents the upper limit of synthetic ammonia production, represents the hydrogen production at time t, C h2mA Indicates the conversion rate of hydrogen to ammonia;

[0052] (5) The hydrogen storage model can be expressed as:

[0053]

[0054] C hs,min ≤n s (t)≤C hs,max ; (14)

[0055] C hs,min ≤n s (t+1)≤C hs,max ; (15)

[0056] Among them, n s Indicates the amount of hydrogen in the gas tank, C hs,min Indicates the lower limit of the gas tank capacity, C hs,max represents the upper limit of the gas storage tank capacity, Q(t) represents the total amount of hydrogen produced by the hydrogen production equipment at time t;

[0057] (6) The energy storage device model can be expressed as:

[0058]

[0059] Among them, E ess (t) represents the capacity of the energy storage device at time t, P ess (t) represents the charge and discharge power at time t, η cha Represents the charging coefficient of the energy storage device, η dis Indicates the discharge coefficient of the energy storage device;

[0060] (7) The grid interaction model can be expressed as:

[0061] 0≤P s (t)≤b g (t)*M; (17)

[0062] 0≤P P (t)≤(1-b g (t))*M; (18)

[0063]

[0064] Among them, b g (t) represents a binary variable at time t. When its value is 1, it means selling electricity to the grid, and when its value is 0, it means buying electricity from the grid. new (t) represents wind power and photovoltaic power, E new represents the total wind and solar power generation, γ1 represents the proportion limit of the amount of electricity allowed to be connected to the grid by the hydrogen-to-ammonia synthesis system, γ2 represents the proportion limit of the amount of electricity allowed to be disconnected from the grid by the hydrogen-to-ammonia synthesis system, P s (t) represents the online power, P P (t) represents the off-grid power, C w Represents the installed capacity of wind turbines, P wt,单 Represents the power generated by a single wind turbine, C s represents the installed capacity of photovoltaic generators, P pv,单 represents the power generated by a single photovoltaic generator, T represents any period, and time t belongs to the period T.

[0065] It should be noted that the present application does not impose any restrictions on the duration of the cycle. For example, the duration of the cycle is 24 hours, 7 days, 30 days, etc.

[0066] Step 102, based on the historical monitoring data before the current cycle and in combination with the system model, the hydrogen production and ammonia production of the current cycle are predicted to obtain the predicted hydrogen production and the predicted ammonia production.

[0067] The historical monitoring data may include, for example, historical meteorological data, historical electricity prices, historical ammonia demand, and the like.

[0068] Among them, historical meteorological data may include historical wind speed, historical light intensity, etc.

[0069] Among them, the historical electricity price may be, for example, the historical average electricity price, the historical highest electricity price, the historical lowest electricity price, etc., and this application does not impose any restrictions on this.

[0070] The historical ammonia demand may be, for example, but is not limited to, an average ammonia demand in a historical period, a maximum ammonia demand in a historical period, a minimum ammonia demand in a historical period, and the like.

[0071] In the embodiment of the present application, the historical monitoring data before the current cycle can be used in combination with the system model to predict the hydrogen production and ammonia production of the current cycle to obtain the predicted hydrogen production and the predicted ammonia production.

[0072] Step 103, based on the first monitoring data of this cycle, as well as the predicted hydrogen production and the predicted ammonia production, combined with the system model, determine the target hydrogen production and the target ammonia production of this cycle.

[0073] The first monitoring data may include, for example, meteorological data, electricity prices, etc., which is not limited in this application.

[0074] In a possible implementation of the embodiment of the present application, a first objective function and a first constraint condition associated with hydrogen production and ammonia production can be constructed based on the first monitoring data of this cycle, the predicted hydrogen production and the predicted ammonia production, and the system model; the target optimization algorithm is used to solve the first objective function and the first constraint condition to obtain the target hydrogen production and target ammonia production of this cycle.

[0075] The target optimization algorithm may be, for example, a mixed integer second-order cone convex optimization algorithm.

[0076] The optimization goal corresponding to the first objective function may be, for example, minimizing the operating cost in real time.

[0077] Step 104, controlling the electric hydrogen production and ammonia synthesis system to operate according to the target hydrogen production and the target ammonia production, so as to minimize the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in this cycle.

[0078] The target business parameter may be, for example, production cost.

[0079] The optimized operation method of the electric hydrogen production and ammonia synthesis system of the embodiment of the present application is by obtaining a system model of the electric hydrogen production and ammonia synthesis system; wherein the system model includes a photovoltaic power station model, a wind power station model, a water electrolysis hydrogen production model of a hydrogen production device, a hydrogen synthesis ammonia model of a hydrogen synthesis ammonia device, a hydrogen storage model, an energy storage device model and a grid interaction model corresponding to the grid interaction device; based on the historical monitoring data before the current cycle, combined with the system model, the hydrogen production and ammonia production of the current cycle are predicted to obtain the predicted hydrogen production and the predicted ammonia production; based on the first monitoring data of the current cycle, as well as the predicted hydrogen production and the predicted ammonia production, combined with the system model, the target hydrogen production and the target ammonia production of the current cycle are determined; the electric hydrogen production and the target ammonia production are controlled to operate according to the target hydrogen production and the target ammonia production, so as to minimize the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in the current cycle. Therefore, the predicted hydrogen production and ammonia production obtained based on the historical monitoring data can effectively determine the hydrogen production and ammonia production of this cycle, and then the system can be controlled to operate according to the optimized operation strategy, realizing the optimized operation of the electric hydrogen to ammonia synthesis system and minimizing the values ​​of the system's target business parameters.

[0080] In the case where historical monitoring data includes historical meteorological data, historical electricity prices and historical ammonia demand, in order to clearly illustrate in the above embodiments of the present application how the hydrogen production and ammonia production of the current cycle are predicted based on the historical monitoring data before the current cycle in combination with the system model to obtain the predicted hydrogen production and predicted ammonia production, the present application also proposes an optimized operation method for an electric hydrogen production and ammonia synthesis system.

[0081] Figure 2 This is a flow chart of the optimized operation method of the electric hydrogen production and ammonia synthesis system provided in Example 2 of the present application.

[0082] like Figure 2 As shown, the optimized operation method of the electric hydrogen production and ammonia synthesis system may include the following steps:

[0083] Step 201, obtaining a system model of a system for synthesizing ammonia from hydrogen produced by electricity.

[0084] It should be noted that the execution process of step 201 can refer to the execution process of any embodiment of the present application and will not be repeated here.

[0085] Step 202: Analyze historical meteorological data to obtain target meteorological data.

[0086] Among them, the historical meteorological data may include historical wind speed, historical light intensity, etc. Correspondingly, the target meteorological data may include target wind speed, target light intensity, etc.

[0087] In an embodiment of the present application, historical meteorological data may be analyzed to obtain target meteorological data.

[0088] As an example, the historical monthly average wind speed can be determined based on the historical wind speed at each time of each day in the historical meteorological data that is the same as the month to which the current cycle belongs, and the historical monthly average wind speed can be determined as the target wind speed in the target meteorological data; the historical maximum daylight intensity in the historical meteorological data can be determined as the target light intensity in the target meteorological data.

[0089] It should be noted that the above method for determining the target meteorological data is only exemplary. In practical applications, the target wind speed may also be the historical seasonal average wind speed, the historical maximum daily average wind speed, the historical minimum daily average wind speed, etc., and this application does not limit this. Similar to the target wind speed, the target light intensity may also be the historical daily average light intensity, the historical minimum daylight intensity, etc.

[0090] Step 203 , based on the target meteorological data, using the photovoltaic power station model and the wind power station model, predict the wind power output and photovoltaic output of the current cycle to obtain the predicted wind power output and the predicted photovoltaic output.

[0091] As an example, the target light intensity in the target meteorological data can be input into a photovoltaic power station model, and based on the output of the photovoltaic power station model, the predicted photovoltaic output can be obtained; the target wind speed in the target meteorological data can be input into a wind power station model, and based on the output of the wind power station model, the predicted wind power output can be obtained.

[0092] Step 204 , based on the predicted wind power output, the predicted photovoltaic output, the historical electricity price and the historical ammonia demand, combined with the system model, obtain the predicted hydrogen production and the predicted ammonia production.

[0093] It should be noted that the explanation of the historical electricity price and the historical ammonia demand in step 102 is also applicable to this embodiment and will not be repeated here.

[0094] In a possible implementation of the embodiment of the present application, based on the predicted wind power output, predicted photovoltaic output, historical electricity prices and historical ammonia demand, combined with the system model, the target business parameters of the electric hydrogen to ammonia synthesis system can be minimized in this cycle. The hydrogen production and ammonia production of this cycle can be solved under set constraints to obtain the predicted hydrogen production and predicted ammonia production.

[0095] Optionally, the expression of the target business parameter of the electric hydrogen production and ammonia synthesis system is:

[0096] C=C A +C B +C Water +C Sal+C Dep ; (twenty three)

[0097] in,

[0098]

[0099]

[0100] C Sal =M×Y ave ; (30)

[0101] C Dep =K dep ×C inv ; (31)

[0102] C represents the target business parameter of the electric hydrogen production and ammonia synthesis system, C A Represents the process electricity cost, C B represents the operation and maintenance cost, T represents the current cycle; C Water represents the water consumption cost of the hydrogen production device, C Sal Indicates employee wages and benefits, C Dep represents the equipment depreciation cost, C P2H represents the electricity cost for producing hydrogen by electrolysis of water, represents the electricity cost for synthesizing ammonia from hydrogen, represents the electricity cost for storing hydrogen, h is the scheduling step, represents the wind power price at time t in this cycle, represents the hydrogen production power of water electrolysis at time t, represents the synthetic ammonia power at time t, represents the electricity used to compress hydrogen at time t, represents the operation and maintenance cost of the hydrogen production unit, represents the operation and maintenance cost of the hydrogen-to-ammonia unit, represents the operation and maintenance cost of the hydrogen compression device, represents the operation and maintenance cost of the grid interaction device, K water Indicates the water consumption of hydrogen production unit. represents the price of a unit of water at time t, represents the hourly hydrogen production of the hydrogen production unit, M represents the number of employees in the electric hydrogen production and ammonia synthesis system, and Y ave represents the average wage and benefits per capita, K dep Represents the equipment depreciation cost ratio coefficient, C inv Represents equipment investment cost.

[0103] It should be noted that the time in this application may be in hours.

[0104] Optionally, when the hydrogen production device includes at least one hydrogen production equipment, the energy storage device model has a corresponding energy storage device, and the energy storage device includes at least one energy storage device, setting the constraint condition may include:

[0105] (1) Power constraints:

[0106]

[0107] Among them, P new (t) represents the wind and photovoltaic power of the electric hydrogen production and ammonia synthesis system; P ess (t) represents the stored power; P loss (t) represents the abandoned power; C w Indicates the installed capacity of wind turbines; C s Represents the installed capacity of photovoltaic generators; P wt,n (t) represents the power generation of a single wind turbine; P pv,n (t) represents the power generation of a single photovoltaic generator;

[0108] (2) Operation constraints of any hydrogen production equipment:

[0109] P el,min ≤P el,n (t)≤P el,max ; (34)

[0110] Among them, P el,min Indicates the lower limit of the operating power of the hydrogen production equipment, P el,max Indicates the upper limit of the operating power of the hydrogen production equipment;

[0111] (3) Operation constraints of any energy storage device:

[0112]

[0113] SOC min ≤SOC(t)≤SOC max ; (36)

[0114] Wherein, SOC(t) represents the energy storage state of the energy storage device at time t (i.e., the ratio of the current capacity of the energy storage device to the rated capacity); η cha Represents the charging efficiency of the energy storage device; η dis Indicates the discharge efficiency of the energy storage device; E ess Indicates the rated capacity of the energy storage device;

[0115] (4) Power abandonment rate constraints:

[0116]

[0117] Among them, ε is the set threshold.

[0118] Step 205, based on the first monitoring data of this cycle, as well as the predicted hydrogen production and the predicted ammonia production, combined with the system model, determine the target hydrogen production and the target ammonia production in this cycle.

[0119] Step 206, controlling the electric hydrogen production and ammonia synthesis system to operate according to the target hydrogen production and the target ammonia production, so as to minimize the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in this cycle.

[0120] It should be noted that the explanation of steps 205 to 206 can be found in the execution process of any embodiment of the present application and will not be repeated here.

[0121] The optimized operation method of the electric hydrogen production and ammonia synthesis system of the embodiment of the present application obtains target meteorological data by analyzing historical meteorological data; based on the target meteorological data, the photovoltaic power station model and the wind power station model are used to predict the wind power output and photovoltaic output of the current cycle to obtain predicted wind power output and predicted photovoltaic output; based on the predicted wind power output, predicted photovoltaic output, historical electricity prices and historical ammonia demand, combined with the system model, the predicted hydrogen production and predicted ammonia production are obtained. Thus, based on the historical meteorological data, the wind power output and photovoltaic processing of the electric hydrogen production and ammonia synthesis system are effectively predicted, and then, based on the predicted wind power output and photovoltaic output, the predicted hydrogen production and predicted ammonia production are effectively determined.

[0122] In order to clearly illustrate the optimized operation method of the electric hydrogen production and ammonia synthesis system of the present application, a detailed description is given below with reference to examples.

[0123] As an example, the following steps may be used to implement the optimized operation method of the electric hydrogen production and ammonia synthesis system of the present application:

[0124] Step 1: Constructing a system model of a grid-connected electric hydrogen production and ammonia synthesis system (referred to as an electric hydrogen production and ammonia synthesis system in this application)

[0125] The system model includes:

[0126] (1) Photovoltaic power station model

[0127] (2) Wind power station model

[0128] (3) Hydrogen production model of alkaline water electrolysis of hydrogen production device (referred to as water electrolysis hydrogen production model in this application)

[0129] The hydrogen production device includes at least one alkaline electrolyzer (referred to as hydrogen production equipment in this application)

[0130] (4) Hydrogen storage model

[0131] (5) Hydrogen synthesis ammonia model of hydrogen synthesis ammonia unit

[0132] (6) Energy storage equipment model

[0133] (7) Grid interaction model corresponding to the grid interaction device

[0134] It should be noted that, due to the different output powers of the alkaline electrolyzers, the corresponding hydrogen production is different under the conditions of different voltages and different output powers. Figure 3 The linear relationship between the output power and hydrogen production of a single alkaline electrolyzer is shown, as Figure 3 As shown, in the alkaline water electrolysis hydrogen production model corresponding to the hydrogen production device, when the output power in the model increases, the hydrogen production increases linearly, and the output power of the alkaline electrolyzer can be determined based on the expected hydrogen production according to the linear relationship, so that in subsequent applications, the new energy electricity (such as wind power and photovoltaic power) consumed by the hydrogen production device can be predicted based on the determined output power.

[0135] The hydrogen production device consists of multiple alkaline electrolyzers. Generally, the scale of a single electrolyzer is 5MW, the power adjustment range of a single electrolyzer is [30%, 100%], and the hydrogen production efficiency is 5.0kWh / Nm3.

[0136] When the electrolyzer is running at low power, due to the characteristics of the internal materials of the electrolyzer, the operating power of the electrolyzer cannot be lower than a certain limit, otherwise there is a risk of hydrogen and oxygen cross-linking exceeding the explosion limit, and the limit is generally 20% to 25% of the rated power of the electrolyzer. At the same time, since the electrolyzer is an electrical conversion device, its reaction has a certain buffer time, so in actual production, the electrolyzer can be operated below the hydrogen safety power limit for a short time, and the duration varies from a few minutes depending on the capacity of the electrolyzer.

[0137] Step 2: Construct the system objective function of the grid-connected electric hydrogen production and ammonia synthesis system

[0138] The grid-connected electric hydrogen production and ammonia synthesis system takes the lowest total system cost as the system objective function. The total system cost can be composed of process electricity cost, operation and maintenance cost, electrolyzer water consumption cost, employee wages and benefits, equipment depreciation cost, etc.

[0139] Step 3: Constructing the system constraints of the grid-connected electric hydrogen production and ammonia synthesis system

[0140] The grid-connected electric hydrogen production and ammonia synthesis system needs to meet the system power balance constraints (recorded as power constraints in this application), electrolyzer operation constraints (recorded as hydrogen production equipment operation constraints in this application), energy storage SOC (State of Charge, battery state of charge, also known as remaining power) operation constraints (recorded as energy storage equipment operation constraints in this application), power abandonment rate constraints, etc.

[0141] Step 4: Use distributed robust programming method to solve the system model

[0142] Distributed robust optimization model is an optimization method used to deal with problems with uncertainty and incomplete information. This method usually divides the original problem into two stages, the first stage deals with uncertainty information, and the second stage deals with deterministic information.

[0143] Specifically, in this application, the first stage (planning stage):

[0144] Based on the known long-term uncertainty parameters, the hydrogen production and ammonia production of this cycle are predicted to obtain the predicted hydrogen production and the predicted ammonia production, wherein the uncertainty parameters may include the historical monitoring data before this cycle (including historical meteorological data, historical electricity prices and historical ammonia demand, etc.), the optimization goal is to minimize the total system cost, and the constraints include system power balance constraints, electrolyzer operation constraints, energy storage SOC operation constraints, power abandonment rate constraints, etc.;

[0145] The second stage (real-time adjustment stage):

[0146] Make dynamic adjustments based on actual monitored disturbances (such as wind and solar power output under the worst conditions, real-time electricity prices, changes in load demand, etc.).

[0147] Specifically, based on the above monitoring data of this period (referred to as the first monitoring data in this application), the predicted hydrogen production and the predicted ammonia production, and the system model, a first objective function and a first constraint condition associated with the hydrogen production and the ammonia production are constructed; a mixed integer second-order cone convex optimization algorithm is used to solve the first objective function and the first constraint condition to obtain the target hydrogen production and the target ammonia production of this period;

[0148] It should be noted that the first objective function may be different from the system objective function, and the first constraint condition may be different from the system constraint condition.

[0149] The mixed integer second-order cone convex optimization model is a mathematical expression method used to solve a specific type of optimization problem, which contains integer variables and second-order cone constraints.

[0150] Finally, the grid-connected electric hydrogen production and ammonia synthesis system is controlled to operate according to the target hydrogen production and target ammonia production to minimize the total system cost in this cycle.

[0151] It should be noted that in the second stage, the system will automatically adjust the electrolyzer operation strategy, hydrogen storage and scheduling strategy, etc. based on the planning results of the first stage to ensure that the system can continue to operate stably and efficiently under uncertain conditions; the optimization goal of this stage is to minimize the operating cost in real time and avoid excessive cost expenditure due to disturbances. Correspondingly, the operating cost of this cycle is also minimized.

[0152] In summary, the optimized operation method of the electric hydrogen production and ammonia synthesis system of the present application realizes the effective utilization of hydrogen energy, reduces the problem of new energy consumption caused by uncertain factors, and reduces the system operation cost; the core advantage of robust optimization lies in its sensitivity to uncertainty and change; by introducing the robust optimization framework, the control strategy can effectively respond to the uncertainty in electricity demand, hydrogen production rate, ammonia demand, etc., which enables the system to maintain stable performance under various uncertain conditions, thereby improving the reliability and flexibility of the system.

[0153] With the above Figure 1 to Figure 2 Corresponding to the optimized operation method of the electric hydrogen production and ammonia synthesis system provided in the embodiment, the present application also provides an optimized operation device of the electric hydrogen production and ammonia synthesis system. Figure 1 to Figure 2 The optimized operation method of the electric hydrogen production and ammonia synthesis system provided in the embodiment corresponds to the embodiment, so the implementation method of the optimized operation method of the electric hydrogen production and ammonia synthesis system is also applicable to the optimized operation device of the electric hydrogen production and ammonia synthesis system provided in the embodiment of the present application, and will not be described in detail in the embodiment of the present application.

[0154] Figure 4 This is a schematic diagram of the structure of the optimized operation device of the electric hydrogen production and ammonia synthesis system provided in Example 3 of the present application.

[0155] like Figure 4 As shown, the optimized operation device 400 of the electric hydrogen production and ammonia synthesis system may include: an acquisition module 401, a prediction module 402, a determination module 403 and a control module 404.

[0156] Among them, the acquisition module 401 is used to obtain the system model of the electric hydrogen production and ammonia synthesis system; wherein the system model includes a photovoltaic power station model, a wind power station model, a water electrolysis hydrogen production model of the hydrogen production device, a hydrogen ammonia synthesis model of the hydrogen synthesis device, a hydrogen storage model, an energy storage device model and a grid interaction model corresponding to the grid interaction device.

[0157] The prediction module 402 is used to predict the hydrogen production and ammonia production of the current cycle based on the historical monitoring data before the current cycle in combination with the system model to obtain the predicted hydrogen production and the predicted ammonia production.

[0158] The determination module 403 is used to determine the target hydrogen production and target ammonia production of the current cycle based on the first monitoring data of the current cycle, the predicted hydrogen production and the predicted ammonia production, in combination with the system model.

[0159] The control module 404 is used to control the electric hydrogen production and ammonia synthesis system to operate according to the target hydrogen production and the target ammonia production, so as to minimize the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in this cycle.

[0160] In a possible implementation of an embodiment of the present application, historical monitoring data includes historical meteorological data, historical electricity prices and historical ammonia demand; the prediction module 402 is used to: analyze the historical meteorological data to obtain target meteorological data; based on the target meteorological data, use the photovoltaic power station model and the wind power station model to predict the wind power output and photovoltaic output of the current cycle to obtain predicted wind power output and predicted photovoltaic output; based on the predicted wind power output, predicted photovoltaic output, historical electricity prices and historical ammonia demand, combined with the system model, obtain predicted hydrogen production and predicted ammonia production.

[0161] In a possible implementation of the embodiment of the present application, the prediction module 402 is used to: based on the predicted wind power output, the predicted photovoltaic output, the historical electricity price and the historical ammonia demand, combined with the system model, with the goal of minimizing the target business parameters of the electric hydrogen to ammonia synthesis system in this cycle, solve the hydrogen production and ammonia production of this cycle under the set constraints to obtain the predicted hydrogen production and the predicted ammonia production.

[0162] In a possible implementation of the embodiment of the present application, the expression of the target business parameter of the electric hydrogen production and ammonia synthesis system is:

[0163] C=C A +C B +C Water +C Sal +C Dep ;

[0164] in,

[0165]

[0166] C Sal =M×Y ave ;

[0167] C Dep =K dep ×Cinv ;

[0168] C represents the target business parameter of the electric hydrogen production and ammonia synthesis system, C A Represents the process electricity cost, C B represents the operation and maintenance cost, T represents the current cycle; C Water represents the water consumption cost of the hydrogen production device, C Sal Indicates employee wages and benefits, C Dep represents the equipment depreciation cost, C P2H represents the electricity cost for producing hydrogen by electrolysis of water, represents the electricity cost for synthesizing ammonia from hydrogen, represents the electricity cost for storing hydrogen, h is the scheduling step, represents the wind power price at time t in this cycle, represents the hydrogen production power of water electrolysis at time t, represents the synthetic ammonia power at time t, represents the electricity used to compress hydrogen at time t, represents the operation and maintenance cost of the hydrogen production unit, represents the operation and maintenance cost of the hydrogen-to-ammonia unit, represents the operation and maintenance cost of the hydrogen compression device, represents the operation and maintenance cost of the grid interaction device, K water Indicates the water consumption of hydrogen production unit. represents the price of a unit of water at time t, represents the hourly hydrogen production of the hydrogen production unit, M represents the number of employees in the electric hydrogen production and ammonia synthesis system, and Y ave represents the average wage and benefits per capita, K dep Represents the equipment depreciation cost ratio coefficient, C inv Represents equipment investment cost.

[0169] In a possible implementation of the embodiment of the present application, the hydrogen production device includes at least one hydrogen production device, the energy storage device model has a corresponding energy storage device, the energy storage device includes at least one energy storage device, and the setting constraint conditions include:

[0170] (1) Power constraints:

[0171]

[0172] Among them, P new (t) represents the wind and photovoltaic power of the electric hydrogen production and ammonia synthesis system; P ess (t) represents the stored power; P loss (t) represents the abandoned power; C w Indicates the installed capacity of wind turbines; C sRepresents the installed capacity of photovoltaic generators; P wt,n (t) represents the power generation of a single wind turbine; P pv,n (t) represents the power generation of a single photovoltaic generator;

[0173] (2) Operation constraints of any hydrogen production equipment:

[0174] P el,min ≤P el,n (t)≤P el,max ;

[0175] Among them, P el,min Indicates the lower limit of the operating power of the hydrogen production equipment, P el,max Indicates the upper limit of the operating power of the hydrogen production equipment;

[0176] (3) Operation constraints of any energy storage device:

[0177]

[0178] SOC min ≤SOC(t)≤SOC max ;

[0179] Wherein, SOC(t) represents the energy storage state of the energy storage device at time t (i.e., the ratio of the current capacity of the energy storage device to the rated capacity); η cha Represents the charging efficiency of the energy storage device; η dis Indicates the discharge efficiency of the energy storage device; E ess Indicates the rated capacity of the energy storage device;

[0180] (4) Constraints on power abandonment rate:

[0181]

[0182] Among them, ε is the set threshold.

[0183] In a possible implementation of the embodiment of the present application, the hydrogen production device includes at least one hydrogen production equipment, and the system model is specifically expressed as follows:

[0184] (1) The wind power station model is expressed as:

[0185]

[0186] Among them, v is the real-time wind speed in the area, v ci is the cut-in wind speed, v co is the cut-out wind speed, v r is the rated wind speed, P wt Represents the wind power output of the wind turbine, P wt,rrepresents the rated power of the wind turbine, η1 represents the mechanical transmission efficiency of the wind turbine, η1 represents the power conversion efficiency of the wind turbine, ρ is the air density, A is the rotor area, C P For wind energy utilization efficiency;

[0187] (2) The photovoltaic power station model is expressed as:

[0188]

[0189] Among them, T c =T air +K*I t ;

[0190] P pv Represents photovoltaic output, P sn Indicates the rated output power of photovoltaic power, T c Represents the photovoltaic panel battery temperature, R c To set the light intensity to a specific intensity, I std is the light intensity per unit area, T stc is the battery temperature, I t represents the actual light radiation intensity at time t, Indicates the temperature coefficient of the photovoltaic panel;

[0191] (3) The model of hydrogen production by water electrolysis is expressed as:

[0192] P el,单 =U el I el ;

[0193]

[0194] U rev =U r0 -K rev (T el -298.15);

[0195]

[0196] P el =nP el,单 ;

[0197] P el,单 Indicates the hydrogen production power of a single hydrogen production equipment, U el is the output voltage of a single hydrogen production device, I el Indicates the current of a single hydrogen production equipment, U rev Represents the reversible voltage of the hydrogen production equipment, S el Indicates the electrode surface area of ​​the hydrogen production equipment, T el Indicates the operating temperature of the hydrogen production equipment, K elIndicates the electrode overvoltage coefficient, K T Indicates the empirical overpressure coefficient of hydrogen production equipment, U r0 Indicates the reversible voltage of hydrogen production equipment under standard conditions, K rev is the temperature empirical coefficient, represents the hydrogen production of a single hydrogen production equipment at time t, is the hydrogen production power of a single hydrogen production equipment at time t; P el Indicates the total power of the hydrogen production unit;

[0198] (4) The model of hydrogen synthesis ammonia is expressed as:

[0199]

[0200] in, represents the ammonia production of the hydrogen-to-ammonia synthesis unit at time t, Δt is the time difference, represents the ramp rate of synthetic ammonia production, Indicates the lower limit of the ramp rate of synthetic ammonia production, Indicates the upper limit of the ramp rate of synthetic ammonia production, represents the lower limit of synthetic ammonia production, represents the upper limit of synthetic ammonia production, represents the hydrogen production at time t, C h2mA Indicates the conversion rate of hydrogen to ammonia;

[0201] (5) The hydrogen storage model is expressed as:

[0202]

[0203] C hs,min ≤n s (t)≤C hs,max ;

[0204] C hs,min ≤n s (t+1)≤C hs,max ;

[0205] Among them, n s Indicates the amount of hydrogen in the gas tank, C hs,min Indicates the lower limit of the gas tank capacity, C hs,max represents the upper limit of the gas tank capacity, Q(t) represents the total amount of hydrogen produced by the hydrogen production equipment at time t;

[0206] (6) The energy storage device model is expressed as:

[0207]

[0208] Among them, E ess (t) represents the capacity of the energy storage device at time t, P ess(t) represents the charge and discharge power at time t, η cha Represents the charging coefficient of the energy storage device, η dis Indicates the discharge coefficient of the energy storage device;

[0209] (7) The grid interaction model is expressed as:

[0210] 0≤P s (t)≤b g (t)*M;

[0211] 0≤P P (t)≤(1-b g (t))*M;

[0212]

[0213]

[0214] Where bg(t) represents a binary variable at time t. When its value is 1, it means selling electricity to the grid, and when its value is 0, it means buying electricity from the grid. new (t) represents wind power and photovoltaic power, E new represents the total wind and solar power generation, γ1 represents the proportion limit of the amount of electricity allowed to be connected to the grid by the hydrogen-to-ammonia synthesis system, γ2 represents the proportion limit of the amount of electricity allowed to be disconnected from the grid by the hydrogen-to-ammonia synthesis system, P s (t) represents the online power, P P (t) represents the off-grid power, C w Represents the installed capacity of wind turbines, P wt,单 Represents the power generated by a single wind turbine, C s represents the installed capacity of photovoltaic generators, P pv,单 It represents the power generated by a single photovoltaic generator, and T represents any cycle.

[0215] The optimized operation device of the electric hydrogen production and ammonia synthesis system of the embodiment of the present application obtains the system model of the electric hydrogen production and ammonia synthesis system; wherein the system model includes a photovoltaic power station model, a wind power station model, a water electrolysis hydrogen production model of the hydrogen production device, a hydrogen synthesis ammonia model of the hydrogen synthesis ammonia device, a hydrogen storage model, an energy storage device model and a grid interaction model corresponding to the grid interaction device; based on the historical monitoring data before the current cycle, combined with the system model, the hydrogen production and ammonia production of the current cycle are predicted to obtain the predicted hydrogen production and the predicted ammonia production; based on the first monitoring data of the current cycle, as well as the predicted hydrogen production and the predicted ammonia production, combined with the system model, the target hydrogen production and the target ammonia production of the current cycle are determined; the electric hydrogen production and the target ammonia production are controlled to operate according to the target hydrogen production and the target ammonia production, so as to minimize the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in the current cycle. Therefore, the predicted hydrogen production and ammonia production obtained based on the historical monitoring data can effectively determine the hydrogen production and ammonia production of this cycle, and then the system can be controlled to operate according to the optimized operation strategy, realizing the optimized operation of the electric hydrogen to ammonia synthesis system and minimizing the values ​​of the system's target business parameters.

[0216] In order to implement the above embodiments, the present application also proposes an electronic device, wherein the electronic device can be the server or detection device in the aforementioned embodiments; it includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, it implements the optimized operation method of the electric hydrogen production and ammonia synthesis system proposed in any of the aforementioned embodiments of the present application.

[0217] In order to implement the above embodiments, the present application also proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it implements the optimized operation method of the electric hydrogen production and ammonia synthesis system proposed in any of the aforementioned embodiments of the present application.

[0218] In order to implement the above embodiments, the present application also proposes a computer program product. When the instructions in the computer program product are executed by a processor, the optimization operation method of the electric hydrogen production and ammonia synthesis system proposed in any of the above embodiments of the present application is executed.

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

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

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

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

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

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

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

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

Claims

1. An optimized operation method of an electric hydrogen production and ammonia synthesis system, characterized in that: The method comprises: Obtaining a system model of an electric hydrogen production and ammonia synthesis system; wherein the system model includes a photovoltaic power station model, a wind power station model, a water electrolysis hydrogen production model of a hydrogen production device, a hydrogen synthesis ammonia model of a hydrogen synthesis ammonia device, a hydrogen storage model, an energy storage device model, and a grid interaction model corresponding to the grid interaction device; Based on the historical monitoring data before the current cycle and in combination with the system model, the hydrogen production and ammonia production of the current cycle are predicted to obtain the predicted hydrogen production and the predicted ammonia production; Based on the first monitoring data of the current cycle, the predicted hydrogen production and the predicted ammonia production, and in combination with the system model, determine the target hydrogen production and the target ammonia production of the current cycle; The electric hydrogen production and ammonia synthesis system is controlled to operate according to the target hydrogen production and the target ammonia production, so that the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in the current cycle is minimized.

2. The method according to claim 1, characterized in that The historical monitoring data includes historical meteorological data, historical electricity prices and historical ammonia demand; The method of predicting the hydrogen production and ammonia production in the current cycle based on the historical monitoring data before the current cycle and combining the system model to obtain the predicted hydrogen production and the predicted ammonia production includes: Analyzing the historical meteorological data to obtain target meteorological data; Based on the target meteorological data, the photovoltaic power station model and the wind power station model are used to predict the wind power output and the photovoltaic output of the current cycle to obtain the predicted wind power output and the predicted photovoltaic output; Based on the predicted wind power output, the predicted photovoltaic output, the historical electricity price and the historical ammonia demand, combined with the system model, the predicted hydrogen production and the predicted ammonia production are obtained.

3. The method according to claim 2, characterized in that The method of obtaining the predicted hydrogen production and the predicted ammonia production based on the predicted wind power output, the predicted photovoltaic output, the historical electricity price and the historical ammonia demand in combination with the system model includes: Based on the predicted wind power output, the predicted photovoltaic output, the historical electricity price and the historical ammonia demand, combined with the system model, with the goal of minimizing the target business parameters of the electric hydrogen to ammonia synthesis system in the current cycle, the hydrogen production and ammonia production of the current cycle are solved under set constraints to obtain the predicted hydrogen production and the predicted ammonia production.

4. The method according to claim 3, characterized in that The expression of the target business parameter of the electric hydrogen production and ammonia synthesis system is: C=C A +C B +C Water +C Sal +C Dep ; in, C Sal =M×Y ave ; C Dep =K dep ×C inv ; C represents the target business parameter of the electric hydrogen production and ammonia synthesis system, C A Represents the process electricity cost, C B represents the operation and maintenance cost, T represents the current cycle; C Water represents the water consumption cost of the hydrogen production device, C Sal Indicates employee wages and benefits, C Dep represents the equipment depreciation cost, C P2H represents the electricity cost for producing hydrogen by electrolysis of water, represents the electricity cost for synthesizing ammonia from hydrogen, represents the electricity cost for storing hydrogen, h is the scheduling step, represents the wind power price at time t in this cycle, P t P2H represents the hydrogen production power of water electrolysis at time t, represents the synthetic ammonia power at time t, represents the electricity used to compress hydrogen at time t, represents the operation and maintenance cost of the hydrogen production device, represents the operation and maintenance cost of the hydrogen-to-ammonia synthesis device, represents the operation and maintenance cost of the hydrogen compression device, represents the operation and maintenance cost of the grid interaction device, K water Indicates the water consumption of the hydrogen production device to produce unit hydrogen, represents the price of a unit of water at time t, represents the hydrogen production per hour of the hydrogen production device, M represents the number of employees of the electric hydrogen production and ammonia synthesis system, and Y ave represents the average wage and benefits per capita, K dep Represents the equipment depreciation cost ratio coefficient, C inv Represents equipment investment cost.

5. The method according to claim 4, characterized in that The hydrogen production device includes at least one hydrogen production equipment, the energy storage device model has a corresponding energy storage device, the energy storage device includes at least one energy storage device, and the set constraint conditions include: (1) Power constraints: Among them, P new (t) represents the wind power and photovoltaic power of the electric hydrogen production and ammonia synthesis system; P ess (t) represents the stored power; P loss (t) represents the abandoned power; C w Indicates the installed capacity of wind turbines; C s Represents the installed capacity of photovoltaic generators; P wt,n (t) represents the power generation of a single wind turbine; P pv,n (t) represents the power generation of a single photovoltaic generator; (2) Operation constraints of any of the above mentioned hydrogen production equipment: P el,min ≤P el,n (t)≤P el,max ; Among them, P el,min represents the lower limit of the operating power of the hydrogen production equipment, P el,max Indicates the upper limit of the operating power of the hydrogen production equipment; (3) Operation constraints of any of the energy storage devices: SOC min ≤SOC(t)≤SOC max ; Wherein, SOC(t) represents the energy storage state of the energy storage device at time t (i.e., the ratio of the current capacity of the energy storage device to the rated capacity); η cha represents the charging efficiency of the energy storage device; η dis Indicates the discharge efficiency of the energy storage device; E ess Indicates the rated capacity of the energy storage device; (4) Constraints on power abandonment rate: Among them, ε is the set threshold.

6. The method according to claim 1, characterized in that The hydrogen production device includes at least one hydrogen production equipment, and the system model is specifically expressed as: (1) The wind power station model is expressed as: Among them, v is the real-time wind speed in the area, v ci is the cut-in wind speed, v co is the cut-out wind speed, v r is the rated wind speed, P wt Represents the wind power output of the wind turbine, P wt,r represents the rated power of the wind turbine, η1 represents the mechanical transmission efficiency of the wind turbine, η1 represents the power conversion efficiency of the wind turbine, ρ is the air density, A is the rotor area, C P For wind energy utilization efficiency; (2) The photovoltaic power station model is expressed as: Among them, T c =T air +K*I t ; P pv Represents photovoltaic output, P sn Indicates the rated output power of photovoltaic power, T c Represents the photovoltaic panel battery temperature, R c To set the light intensity to a specific intensity, I std is the light intensity per unit area, T stc is the battery temperature, I t represents the actual light radiation intensity at time t, Indicates the temperature coefficient of the photovoltaic panel; (3) The model of hydrogen production by water electrolysis is expressed as: P el,单 =U el AND el ; U rev =U r0 -K rev (T el -298.15); P el =nP el,单 ; P el,单 Indicates the hydrogen production power of a single hydrogen production equipment, U el is the output voltage of a single hydrogen production device, I el Indicates the current of a single hydrogen production equipment, U rev Represents the reversible voltage of the hydrogen production equipment, S el Indicates the electrode surface area of ​​the hydrogen production equipment, T el Indicates the operating temperature of the hydrogen production equipment, K el Indicates the electrode overvoltage coefficient, K T Indicates the empirical overpressure coefficient of hydrogen production equipment, U r0 Indicates the reversible voltage of hydrogen production equipment under standard conditions, K rev is the temperature empirical coefficient, represents the hydrogen production of a single hydrogen production equipment at time t, P t el,单 is the hydrogen production power of a single hydrogen production equipment at time t; P el represents the total power of the hydrogen production device; (4) The hydrogen-to-ammonia synthesis model is expressed as: in, represents the ammonia production of the hydrogen-to-ammonia synthesis device at time t, Δt is the time difference, represents the ramp rate of synthetic ammonia production, Indicates the lower limit of the ramp rate of synthetic ammonia production, Indicates the upper limit of the ramp rate of synthetic ammonia production, represents the lower limit of synthetic ammonia production, represents the upper limit of synthetic ammonia production, represents the hydrogen production at time t, C h2mA Indicates the conversion rate of hydrogen to ammonia; (5) The hydrogen storage model is expressed as: C hs,min ≤n s (t)≤C hs,max ; C hs,min ≤n s (t+1)≤C hs,max ; Among them, n s Indicates the amount of hydrogen in the gas tank, C hs,min Indicates the lower limit of the gas tank capacity, C hs,max represents the upper limit of the gas storage tank capacity, Q(t) represents the total amount of hydrogen produced by the hydrogen production equipment at time t; (6) The energy storage device model is expressed as: Among them, E ess (t) represents the capacity of the energy storage device at time t, P ess (t) represents the charge and discharge power at time t, η cha Represents the charging coefficient of the energy storage device, η dis Indicates the discharge coefficient of the energy storage device; (7) The grid interaction model is expressed as: 0≤P s (t)≤b g (t)*M; 0≤P P (t)≤(1-b g (t))*M; Where bg(t) represents a binary variable at time t. When its value is 1, it means selling electricity to the grid, and when its value is 0, it means buying electricity from the grid. new (t) represents wind power and photovoltaic power, E new represents the total wind and solar power generation, γ1 represents the proportion limit of the grid-connected electricity allowed by the electric hydrogen production and ammonia synthesis system, γ2 represents the proportion limit of the grid-connected electricity allowed by the electric hydrogen production and ammonia synthesis system, P s (t) represents the online power, P P (t) represents the off-grid power, C w Represents the installed capacity of wind turbines, P wt,单 Represents the power generated by a single wind turbine, C s represents the installed capacity of photovoltaic generators, P pv,单 It represents the power generated by a single photovoltaic generator, and T represents any cycle.

7. An optimized operation device for an electric hydrogen production and ammonia synthesis system, characterized in that: The device comprises: An acquisition module is used to acquire a system model of an electric hydrogen production and ammonia synthesis system; wherein the system model includes a photovoltaic power station model, a wind power station model, a water electrolysis hydrogen production model of a hydrogen production device, a hydrogen synthesis ammonia model of a hydrogen synthesis ammonia device, a hydrogen storage model, an energy storage device model, and a grid interaction model corresponding to a grid interaction device; A prediction module, used to predict the hydrogen production and ammonia production of the current cycle based on the historical monitoring data before the current cycle in combination with the system model, to obtain the predicted hydrogen production and the predicted ammonia production; A determination module, configured to determine a target hydrogen production and a target ammonia production of the current cycle based on the first monitoring data of the current cycle, the predicted hydrogen production and the predicted ammonia production, in combination with the system model; The control module is used to control the electric hydrogen production and ammonia synthesis system to operate according to the target hydrogen production and the target ammonia production, so as to minimize the value of the target business parameter of the electric hydrogen production and ammonia synthesis system in the current cycle.

8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium of computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 6.