Prediction method and related device for electric hydrogen production and ammonia synthesis system
By using wind power and photovoltaic power output data to conduct two-stage robust optimization in the electric hydrogen production ammonia system, the stability problems caused by the fluctuations of wind power and photovoltaic power in the ammonia synthesis system were solved, the energy supply and equipment operating status were optimized, and the efficiency of the ammonia synthesis system was improved. System accuracy and economy.
Patent Information
- Application Number
- CN202210897453.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-28
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-07-28
AI Technical Summary
In the ammonia synthesis system, the volatility of wind power and photovoltaic power makes it difficult to ensure system stability. How to rationally allocate energy supplies such as wind power, photovoltaic power, and grid power to ensure the optimization of equipment operating conditions.
The prediction method of the electric hydrogen production and ammonia synthesis system is used to establish the target model by obtaining output parameter information and introducing parameter information, and uses wind power and photovoltaic power output data to perform two-stage robust optimization, solve the constraints and system constraints, and obtain the business Introduce information, business output information, target operating status parameters of the ammonia synthesis station and actual values of the target hydrogen production power of the electrolysis water hydrogen production station.
This method takes into account the fluctuation of wind power and photovoltaic power output, optimizes all aspects of the system, and obtains more accurate and reference data, which improves the stability and economy of the system.
Smart Images

Figure CN115117935B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy utilization, and in particular to a prediction method and related devices for an electric hydrogen production and ammonia synthesis system. Background Art
[0002] The traditional ammonia synthesis process mainly obtains raw materials by using fossil energy to produce hydrogen and air separation to produce nitrogen, and synthesizes ammonia under the action of catalysts in the synthesis tower. However, chemical plants that use fossil energy such as coal and natural gas as raw materials will emit a large amount of carbon dioxide during the hydrogen production process, exacerbating the greenhouse effect. In order to reduce carbon dioxide emissions and alleviate global warming and other negative impacts, renewable energy such as wind energy, solar energy, hydropower and geothermal energy can be used to generate electricity for electrolysis of water to produce hydrogen and synthesize ammonia to provide energy supply, thereby reducing the use of fossil energy.
[0003] When wind power and photovoltaic power are coupled into the energy supply of the synthetic ammonia system, due to the volatility of the power provided by wind power or photovoltaic power, in order to ensure the stability of the production process, it is also necessary to purchase electricity from the power grid to ensure normal power consumption of the system. In this case, how to consider the energy supply of wind power, photovoltaic power and grid power of the synthetic ammonia system, as well as the operating status of each equipment is an urgent problem to be solved. Summary of the invention
[0004] The purpose of the present invention is to provide a prediction method and related devices for an electric hydrogen production and ammonia synthesis system to improve the problems existing in the prior art.
[0005] The embodiments of the present invention can be implemented as follows:
[0006] In a first aspect, the present invention provides a prediction method for an electric hydrogen production and ammonia synthesis system, which is applied to a control center of the electric hydrogen production and ammonia synthesis system, wherein the electric hydrogen production and ammonia synthesis system further comprises a water electrolysis hydrogen production station and an ammonia synthesis station which are communicatively connected to the control center; the method comprises:
[0007] Obtaining output parameter information and input parameter information of the electric hydrogen production and ammonia synthesis system;
[0008] Taking the electric hydrogen production and ammonia synthesis system reaching preset conditions as an optimization goal, a target model is established based on the output parameter information and the introduced parameter information;
[0009] The target model is optimized using wind power output data and photovoltaic power output data to obtain a two-stage robust optimization model;
[0010] The two-stage robust optimization model is solved by solving constraint conditions, system constraint conditions, the first constraint conditions corresponding to the water electrolysis hydrogen production station, and the second constraint conditions corresponding to the ammonia synthesis station, to obtain the business introduction information, business output information, actual values of the target operating state parameters of the ammonia synthesis station, and actual values of the target hydrogen production power of the water electrolysis hydrogen production station corresponding to the electric hydrogen production and ammonia synthesis system to achieve the optimization target.
[0011] In an optional embodiment, the first constraint condition includes a first output model, a first power model and a hydrogen capacity range constraint equation of the water electrolysis hydrogen production station, and the second constraint condition includes a second output model, a switching model equation, a second power model and an ammonia storage capacity range constraint equation of the ammonia synthesis station; the two-stage robust optimization model includes an upper function and a lower function;
[0012] The step of solving the two-stage robust optimization model by solving the constraint conditions, the system constraint conditions, the first constraint conditions corresponding to the water electrolysis hydrogen production station and the second constraint conditions corresponding to the ammonia synthesis station to obtain the business introduction information, business output information, the target operating state parameters of the ammonia synthesis station and the target hydrogen production power of the water electrolysis hydrogen production station corresponding to the electric hydrogen production and ammonia synthesis system to achieve the optimization target includes:
[0013] The upper function is solved by using the solution constraint condition, the system constraint condition, the second output model, the switching model equation, the second power model and the ammonia storage capacity range constraint equation to obtain an iterative value of each upper decision variable corresponding to the upper function; the upper decision variables include the annual contracted electricity purchase amount, the monthly contracted electricity purchase amount, the ammonia sales amount in the ammonia market and the target operating state parameter;
[0014] Substituting the iterative value of each of the upper decision variables into the lower function, and solving the lower function using the system constraint, the first output model, the first power model and the hydrogen capacity range constraint equation to obtain the iterative value of each lower decision variable corresponding to the lower function;
[0015] If the electric hydrogen production and ammonia synthesis system does not achieve the optimization target, then return to the step of solving the upper function by using the system constraints, the second output model, the switching model equation, the second power model and the ammonia storage capacity range constraint equation until the electric hydrogen production and ammonia synthesis system achieves the optimization target, and obtains the actual value of each of the upper decision variables and the actual value of each of the lower decision variables;
[0016] Among them, the lower-level decision variables include daily electricity purchase amount, daily electricity sales amount, hydrogen sales amount in the hydrogen market and the target hydrogen production power; the business introduction information includes the actual value of the annual contract electricity purchase amount, the actual value of the monthly contract electricity purchase amount, and the actual value of the daily electricity purchase amount; the business output information includes the actual value of ammonia sales amount, the actual value of hydrogen sales amount, and the actual value of daily electricity sales amount.
[0017] In an optional implementation, the two-stage robust optimization model is:
[0018]
[0019] The subscripts m, d, and t represent the time t on the dth day of the mth month of a year; They are the annual contracted electricity purchase amount, the monthly contracted electricity purchase amount, and the daily electricity purchase amount, respectively. The single-day electricity sales amount; They represent the annual contract electricity purchase price, monthly contract electricity purchase price, and single-day electricity purchase price respectively. The price of electricity sold per day; are the sales volume of ammonia in the ammonia market and the sales volume of hydrogen in the hydrogen market respectively; The selling price of ammonia and hydrogen respectively;
[0020] Ω 1 for A set of upper-level decision variables representing the annual contracted electricity purchase amount, the monthly contracted electricity purchase amount, the ammonia sales amount in the ammonia market, and the target operating state parameters; Ω 2 for A set of lower-level decision variables representing the daily power purchase, the daily power sales, the hydrogen sales in the hydrogen market, and the target hydrogen production power; is the target operating state parameter, is the target hydrogen production power;
[0021]
[0022] in, is the predicted value of wind power output, is the wind power output data, is the predicted value of photovoltaic power output, is the photovoltaic power output data, is the wind power output fluctuation value, is the photovoltaic power output fluctuation value, L 2 is the set of wind power output and photovoltaic power output in time series, and Λ represents the interval description of wind power output and photovoltaic power output.
[0023] In an optional embodiment, the system constraints include the following equations:
[0024]
[0025]
[0026]
[0027]
[0028] s m,d,t ∈(0,1)
[0029] The subscripts m, d, and t represent the time t on the dth day of the mth month of a year; is the wind power output data, is the photovoltaic power output data, Represents the total amount of electricity purchased, is the target hydrogen production power, It is the operating power of the synthetic ammonia plant; Respectively represent the annual contracted electricity purchase amount, the monthly contracted electricity purchase amount, and the daily electricity purchase amount; s m,d,t is a variable whose value range is in (0,1); The upper limit of electricity purchase amount is is the upper limit of electricity sales; the subscripts m, d, and t represent the time t on the dth day of the mth month in a year.
[0030] In an optional implementation manner, the first output model is:
[0031]
[0032] The subscripts m, d, and t represent the time t on the dth day of the mth month of a year; is the target hydrogen production power, is the hydrogen generation rate, η E2H is the electro-to-hydrogen conversion ratio;
[0033] The first power model is:
[0034]
[0035] in, is the upper bound of power, P HE is the lower bound of power;
[0036] The hydrogen capacity range constraint equation includes:
[0037]
[0038] in, is the hydrogen tank capacity, is the ammonia production rate of the synthetic ammonia station, η H2A is the ratio of the ammonia generation rate to the hydrogen consumption rate, is the amount of hydrogen sold in the hydrogen market;
[0039]
[0040] in, H HS is the lower limit of the hydrogen storage tank capacity, is the upper limit of hydrogen storage tank capacity;
[0041]
[0042] in, is the hydrogen storage capacity of the hydrogen storage tank at the initial moment, To optimize the hydrogen storage capacity of the hydrogen storage tank at the last moment within the interval.
[0043] In an optional implementation, the second output model is:
[0044]
[0045] The subscripts m, d, and t represent the time t on the dth day of the mth month of a year; η P2A is the conversion ratio of hydrogen to ammonia, is the operating power of the synthetic ammonia plant, is the ammonia production rate of the synthetic ammonia station;
[0046] The switching model equation is:
[0047]
[0048]
[0049] in, is the target operating state parameter of the synthetic ammonia station, is the transition time constant;
[0050] The second power model is:
[0051]
[0052] in, is the upper limit of the synthetic ammonia power, P AST is the lower limit of the power of synthetic ammonia;
[0053] The ammonia storage capacity range constraint equation includes:
[0054]
[0055]
[0056] in, is the storage capacity of the ammonia tank, η E2A is the electro-to-hydrogen conversion ratio, H AS is the lower limit of the ammonia storage tank capacity, is the upper limit of the ammonia storage tank capacity, is the amount of ammonia sold in the ammonia market;
[0057]
[0058] is the ammonia storage capacity of the ammonia storage tank at the initial moment, To optimize the ammonia storage capacity of the ammonia storage tank at the last moment within the interval.
[0059] In an optional embodiment, the target model is:
[0060] Min.(C EL -R)
[0061]
[0062]
[0063] Among them, C EL is the annual cost of the electricity market, R is the annual total revenue of hydrogen and ammonia products; the subscripts m, d, and t represent the time t on the dth day of the mth month of the year; They are the annual contracted electricity purchase amount, the monthly contracted electricity purchase amount, and the daily electricity purchase amount, respectively. The single-day electricity sales amount; They represent the annual contract electricity purchase price, monthly contract electricity purchase price, and single-day electricity purchase price respectively. The price of electricity sold per day; are the sales volume of ammonia in the ammonia market and the sales volume of hydrogen in the hydrogen market respectively; The selling prices of ammonia and hydrogen are respectively.
[0064] In an optional embodiment, the step of obtaining output parameter information and introduction parameter information of the electric hydrogen production and ammonia synthesis system includes:
[0065] Obtain historical annual contract electricity purchase prices, historical monthly contract electricity purchase prices, historical single-day electricity purchase prices, historical single-day electricity sales prices, historical hydrogen sales prices, and historical ammonia sales prices;
[0066] Input the historical annual contract electricity purchase price, the historical monthly contract electricity purchase price, the historical single-day electricity purchase price, the historical single-day electricity sales price, the historical hydrogen sales price, and the historical ammonia sales price into a pre-trained neural network model to obtain the annual contract electricity purchase price, the monthly contract electricity purchase price, the single-day electricity purchase price, the single-day electricity sales price, the hydrogen sales price, and the ammonia sales price;
[0067] The introduced parameter information includes the annual contract electricity purchase price, the monthly contract electricity purchase price, and the single-day electricity purchase price; the output parameter information includes the single-day electricity sales price, the hydrogen sales price, and the ammonia sales price.
[0068] In a second aspect, the present invention provides a prediction device for an electric hydrogen production and ammonia synthesis system, which is applied to a control center of the electric hydrogen production and ammonia synthesis system, wherein the electric hydrogen production and ammonia synthesis system further comprises a water electrolysis hydrogen production station and an ammonia synthesis station which are communicatively connected to the control center; the device comprises:
[0069] An acquisition module, used to acquire output parameter information and input parameter information of the electric hydrogen production and ammonia synthesis system;
[0070] An establishment module is used to establish a target model based on the output parameter information and the introduced parameter information, taking the electric hydrogen production and ammonia synthesis system reaching a preset condition as an optimization target;
[0071] An optimization module, used to optimize the target model using wind power output data and photovoltaic power output data to obtain a two-stage robust optimization model;
[0072] The calculation module is used to solve the two-stage robust optimization model by using system constraints, the first constraints corresponding to the water electrolysis hydrogen production station and the second constraints corresponding to the ammonia synthesis station, so as to obtain the business introduction information and business output information corresponding to the electric hydrogen production and ammonia synthesis system to achieve the optimization target, the actual values of the target operating state parameters of the ammonia synthesis station and the actual value of the target hydrogen production power of the water electrolysis hydrogen production station.
[0073] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor executes the machine-readable instructions to implement a method as described in any one of the aforementioned embodiments.
[0074] In a fourth aspect, the present invention provides a storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method described in any one of the aforementioned embodiments.
[0075] The embodiment of the present invention provides a prediction method and related devices for an electric hydrogen production and ammonia synthesis system, first obtaining the output parameter information and the introduction parameter information of the electric hydrogen production and ammonia synthesis system. Then, the electric hydrogen production and ammonia synthesis system reaches the preset conditions as the optimization goal, and a target model is established based on the output parameter information and the introduction parameter information. Then, the target model is optimized using wind power output data and photovoltaic power output data to obtain a two-stage robust optimization model. Finally, the two-stage robust optimization model is solved by solving constraints, system constraints, the first constraint corresponding to the water electrolysis hydrogen production station, and the second constraint corresponding to the ammonia synthesis station, and the business output information corresponding to the optimization goal of the electric hydrogen production and ammonia synthesis system, the business introduction information, the actual values of the target operating state parameters of the ammonia synthesis station, and the actual value of the target hydrogen production power of the water electrolysis hydrogen production station can be obtained. Compared with the prior art, the embodiment of the present invention takes into account the volatility of wind power and photovoltaic power output, and uses wind power output data and photovoltaic power output data to optimize the target model to obtain a two-stage robust optimization model. Then, by solving the model, it is possible to obtain data such as business output information, business introduction information, actual values of target operating state parameters of the synthetic ammonia station, and actual values of target hydrogen production power of the electrolysis water hydrogen production station when the system reaches the optimization target. Comprehensive consideration is given to various factors of the system, making the obtained data more accurate and of reference value. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0077] Figure 1 A system architecture diagram of an electric hydrogen production and ammonia synthesis system provided in an embodiment of the present invention.
[0078] Figure 2 One of the flow diagrams of a prediction method for an electric hydrogen production and ammonia synthesis system provided in an embodiment of the present invention.
[0079] Figure 3 The second flow chart of a prediction method for a system for synthesizing ammonia from hydrogen produced by electricity is provided in an embodiment of the present invention.
[0080] Figure 4 The third flow chart of a prediction method for an electric hydrogen production and ammonia synthesis system provided in an embodiment of the present invention.
[0081] Figure 5 A schematic diagram of the structure of a prediction device for an electric hydrogen production and ammonia synthesis system provided in an embodiment of the present invention.
[0082] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0083] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0084] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0085] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0086] In addition, the terms “first”, “second”, etc., if used, are merely used to distinguish between the descriptions and should not be understood as indicating or implying relative importance.
[0087] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.
[0088] The traditional ammonia synthesis process mainly obtains raw materials by using fossil energy to produce hydrogen and air separation to produce nitrogen, and synthesizes ammonia under the action of catalysts in the synthesis tower. However, chemical plants that use fossil energy such as coal and natural gas as raw materials will emit a large amount of carbon dioxide during the hydrogen production process, exacerbating the greenhouse effect. In order to reduce carbon dioxide emissions and alleviate global warming and other negative impacts, renewable energy such as wind energy, solar energy, hydropower and geothermal energy can be used to generate electricity for electrolysis of water to produce hydrogen and synthesize ammonia to provide energy supply, thereby reducing the use of fossil energy.
[0089] When wind power and photovoltaic power are coupled into the energy supply of the synthetic ammonia system, due to the volatility of the power provided by wind power or photovoltaic power, in order to ensure the stability of the production process, it is also necessary to purchase electricity from the power grid to ensure normal power consumption of the system. In this case, how to consider the energy supply of wind power, photovoltaic power and grid power of the synthetic ammonia system, as well as the operating status of each equipment is an urgent problem to be solved.
[0090] In view of this, the embodiment of the present invention provides a prediction method for an electric hydrogen production and ammonia synthesis system, which takes into account the volatility of wind power and photovoltaic power output, and uses wind power output data and photovoltaic power output data to optimize the target model to obtain a two-stage robust optimization model. Then, the business introduction information, business output information, actual values of target operating state parameters of the synthesis ammonia station, and actual values of target hydrogen production power of the electrolytic water hydrogen production station when the system reaches the optimization target can be obtained by solving the model. Comprehensive consideration is given to various factors of the system, so that the obtained data is more accurate and has reference value. The following is a detailed description through embodiments and the accompanying drawings.
[0091] First, an electric hydrogen production and ammonia synthesis system 100 is introduced, see Figure 1 , please refer to Figure 1 The electric hydrogen production and ammonia synthesis system 100 includes a control center 110, and a wind power station 120, a photovoltaic power station 130, a power booster station 140, a water electrolysis hydrogen production station 150, an air separation station 160 and ammonia synthesis station 170 that are communicatively connected to the control center 110. The electric hydrogen production and ammonia synthesis system 100 also includes transmission lines, user-side substations and auxiliary equipment. Among them, the control center 110 has the ability to monitor the operating status of the equipment and issue control instructions. The control center 110 also establishes a communication connection with the power grid dispatching center 200, can receive the power grid dispatching signal sent by the power grid dispatching center 200, and participate in the safe and economic operation service of the power grid. The control center 110 is the executive body of the embodiment of the present invention.
[0092] The wind power station 120 includes equipment such as wind turbines, wind power converters (AC / DC / AC) and junction boxes. The photovoltaic power station 130 includes equipment such as photovoltaic arrays, junction boxes and photovoltaic inverters (DC / AC). The water electrolysis hydrogen production station 150 includes equipment such as hydrogen production rectifiers (AC / DC), electrolyzers, gas-liquid separation devices, gas purification equipment and hydrogen storage tanks. The air separation station 160 includes equipment such as air separation devices and gas storage tanks. The synthetic ammonia station 170 includes equipment such as hydrogen and nitrogen compressors, hydrogen and nitrogen storage tanks, circulator compressors, inlet and outlet tower heat exchangers, synthetic towers, waste heat recovery devices, water coolers, cold exchangers, ammonia cooling compressors, ammonia cooling devices, ammonia separators, liquid ammonia discharge tanks and liquid ammonia storage tanks.
[0093] Among them, the hydrogen production rectifier is used to convert low-voltage AC power into DC power to power the water electrolysis hydrogen production equipment; the water electrolysis hydrogen production equipment uses DC power to electrolyze water into oxygen and hydrogen, and the produced hydrogen flows into the buffer tank through a pipeline; the buffer tank is connected to the compressor through a pipeline to provide a gas source for the compressor; the compressor compresses the low-pressure hydrogen into high-pressure hydrogen and transfers it to the hydrogen storage tank; the hydrogen storage tank is used to store hydrogen and provide a hydrogen source for the synthetic ammonia tower. The cryogenic distillation tower is used to produce high-purity liquid nitrogen from the air; the synthesis tower is used to synthesize ammonia; and the ammonia storage tank is used to store liquid ammonia products.
[0094] Please refer to Figure 2 , Figure 2 A flow chart of a prediction method for a hydrogen-to-ammonia synthesis system provided in an embodiment of the present invention, wherein the execution subject of the method may be a control center of the hydrogen-to-ammonia synthesis system, and the hydrogen-to-ammonia synthesis system further includes a water electrolysis hydrogen production station and an ammonia synthesis station which are communicatively connected to the control center. The method comprises the following steps:
[0095] S110, obtaining output parameter information and input parameter information of the electric hydrogen production and ammonia synthesis system.
[0096] The output parameter information may represent the product selling price data of the electric hydrogen production and ammonia synthesis system, and the import parameter information may represent the electricity purchase price data of the electric hydrogen production and ammonia synthesis system.
[0097] S120. Taking the achievement of preset conditions by the electric hydrogen production and ammonia synthesis system as the optimization goal, a target model is established based on the output parameter information and the introduced parameter information.
[0098] In this embodiment, the preset condition may be maximizing the annual profit of the system, that is, taking maximizing the annual profit of the electric hydrogen production and ammonia synthesis system as the optimization goal, and establishing a target model based on the output parameter information and the introduction parameter information.
[0099] S130. Optimizing the target model using wind power output data and photovoltaic power output data to obtain a two-stage robust optimization model.
[0100] In this embodiment, since wind power output and photovoltaic power output are volatile, the wind power output data and photovoltaic power output data here are a fuzzy set.
[0101] S140. Solve the two-stage robust optimization model by using the solution constraints, system constraints, the first constraints corresponding to the water electrolysis hydrogen production station and the second constraints corresponding to the ammonia synthesis station to obtain the business introduction information, business output information, the actual values of the target operating state parameters of the ammonia synthesis station and the actual value of the target hydrogen production power of the water electrolysis hydrogen production station corresponding to the optimization target of the electric hydrogen production and ammonia synthesis system.
[0102] The electric hydrogen production and ammonia synthesis system can simulate the operation of the system in the form of a virtual power plant. The operation of the virtual power plant needs to consider the operation of the water electrolysis hydrogen production station and hydrogen storage tank equipment, the ammonia synthesis station and ammonia storage tank equipment. Therefore, the solution constraints, system constraints, the first constraints corresponding to the water electrolysis hydrogen production station and the second constraints corresponding to the ammonia synthesis station are used as the constraints to be solved by the two-stage robust optimization model corresponding to the system.
[0103] In this embodiment, the system constraint condition may represent the constraint relationship between wind power output data, photovoltaic power output data, total power purchase, total power sales, target hydrogen production power of the water electrolysis hydrogen production station, and the operating power of the synthetic ammonia station. The first constraint condition may represent the operating efficiency and operating range of the water electrolysis hydrogen production station, as well as the hydrogen storage capacity range constraint relationship of the hydrogen storage tank. The second constraint condition may represent the operating status, power relationship, and ammonia storage capacity range constraint relationship of the ammonia storage tank during the operation of the synthetic ammonia station. The business introduction information may represent the annual power purchase data of the electric hydrogen production and ammonia synthesis system. The business output information may include product sales volume data of the electric hydrogen production and ammonia synthesis system.
[0104] The present invention provides a prediction method for an electric hydrogen production and ammonia synthesis system. The method first constructs a target model using the obtained output parameter information and introduction parameter information, then considers the volatility of wind power and photovoltaic power output, and optimizes the target model using wind power output data and photovoltaic power output data to obtain a two-stage robust optimization model. The method then solves the problem to obtain data such as business introduction information, business output information, actual values of target operating state parameters of the synthesis ammonia station, and actual values of target hydrogen production power of the electrolytic water hydrogen production station when the system reaches the optimization target. Comprehensive consideration is given to various factors of the system to make the obtained data more accurate and reference-oriented.
[0105] The electric hydrogen production and ammonia synthesis system can simulate the system operation in the form of a virtual power plant. The following is an introduction to the trading market of the electric hydrogen production and ammonia synthesis system.
[0106] In the electric hydrogen production and ammonia synthesis system, the corresponding trading markets include the electricity trading market, hydrogen market and ammonia market. The electricity trading market includes two trading modes: futures trading and spot trading. Among them, futures trading mainly includes annual trading and monthly trading, and spot trading refers to daily day-ahead trading. The market trading strategy of the system includes electricity market trading strategy and hydrogen and ammonia market trading strategy.
[0107] The electricity market trading strategy may include: determining the annual contracted electricity purchase amount in the annual trading process before the beginning of each year, determining the monthly contracted electricity purchase amount in the monthly trading process before each month, and determining the daily electricity purchase amount for the next day in the daily day-ahead market.
[0108] The hydrogen and ammonia market trading strategies may include: determining the next day's hydrogen and ammonia sales volumes before the beginning of each day, and determining the next year's monthly downstream product sales volumes before the beginning of each year.
[0109] In a possible implementation, the output parameter information and the input parameter information representing the product selling price data and the electricity purchase price data can be obtained by analyzing and predicting the market historical data using the Long Short-Term Memory (LSTM) artificial neural network. Due to the unique network structure characteristics of LSTM, it can consider the dependencies between multiple time series. Therefore, the correlation between different market prices and output fluctuations can be reflected in this way. Please refer to Figure 3 , the sub-steps of the above step S110 may include S111 to S112.
[0110] S111. Obtain the historical annual contract electricity purchase price, the historical monthly contract electricity purchase price, the historical single-day electricity purchase price, the historical single-day electricity sales price, the historical hydrogen sales price, and the historical ammonia sales price.
[0111] S112. Input the historical annual contract electricity purchase price, the historical monthly contract electricity purchase price, the historical single-day electricity purchase price, the historical single-day electricity sales price, the historical hydrogen sales price, and the historical ammonia sales price into a pre-trained neural network model to obtain the annual contract electricity purchase price, the monthly contract electricity purchase price, the single-day electricity purchase price, the single-day electricity sales price, the hydrogen sales price, and the ammonia sales price.
[0112] The imported parameter information may include the time series of the predicted annual contract electricity purchase price, monthly contract electricity purchase price, and daily electricity purchase price, and the output parameter information may include the time series of the predicted daily electricity sales price, hydrogen sales price, and ammonia sales price.
[0113] In this embodiment, the pre-trained neural network model can be LSTM, and the training sample set during training can be composed of multiple historical annual contract electricity purchase prices, multiple historical monthly contract electricity purchase prices, multiple historical single-day electricity purchase prices, multiple historical single-day electricity sales prices, multiple historical hydrogen sales prices, and multiple historical ammonia sales prices.
[0114] In a possible implementation, the target model may be related to the transaction costs of the electricity trading market and the hydrogen / ammonia market. The target model may be:
[0115] Min.(C EL -R)
[0116] Among them, C EL is the annual cost of the electricity market, and R is the annual total revenue of hydrogen and ammonia products. The preset condition can be the maximization of the system's annual profit. In other words, the target model here represents the minimization of the opposite of the system's annual profit, and the minimization of the opposite of the system's annual profit can indirectly reflect the maximization of the system's annual profit.
[0117]
[0118] The subscripts m, d, and t represent the time t on the dth day of the mth month of a year; They are annual contracted electricity purchase, monthly contracted electricity purchase, and daily electricity purchase. The amount of electricity sold per day; They represent the annual contract electricity purchase price, monthly contract electricity purchase price, and single-day electricity purchase price respectively. The price of electricity sold per day; They are the sales volume of ammonia in the ammonia market and the sales volume of hydrogen in the hydrogen market; The selling prices of ammonia and hydrogen are respectively.
[0119] In a possible implementation, considering that consumers' decisions tend to be robust, the target model is optimized to obtain a two-stage robust optimization model, which can be:
[0120]
[0121] Among them, Ω 1 for The upper-level decision variable set representing the annual contracted electricity purchase, monthly contracted electricity purchase, ammonia sales in the ammonia market, and target operating state parameters; Ω 2 for A set of lower-level decision variables representing daily power purchase, daily power sales, hydrogen sales in the hydrogen market, and target hydrogen production power; is the target operating state parameter of the synthetic ammonia plant, is the target hydrogen production power of the water electrolysis hydrogen production station.
[0122] The wind power output forecast value and photovoltaic power output forecast value can be obtained first. Due to the volatility of wind power output and photovoltaic power output, there will be a certain error between the wind power / photovoltaic power output forecast value obtained externally and the actual wind power / photovoltaic power output value. Considering that virtual power plants often have a conservative investment preference, the box-type fuzzy set method can be used to describe the actual output of new energy (wind power / photovoltaic power).
[0123]
[0124] in, is the predicted value of wind power output, For wind power output data, is the predicted value of photovoltaic power output, is the photovoltaic power output data, is the wind power output fluctuation value, is the fluctuation value of photovoltaic power output. 2 is the set of wind power output and photovoltaic power output in time series, and ρ represents the interval description of wind power output and photovoltaic power output.
[0125] In one possible implementation, the two-stage robust optimization model includes an upper function and a lower function, the first constraint condition may include a first output model of the water electrolysis hydrogen production station, a first power model, and a hydrogen capacity range constraint equation of the hydrogen storage tank, and the second constraint condition may include a second output model of the synthetic ammonia station, a switching model equation, a second power model, and an ammonia storage capacity range constraint equation of the ammonia storage tank.
[0126] Optionally, you can use a column-and-constraint generation algorithm to iteratively solve the upper and lower functions, see Figure 4 The sub-steps of the above step S140 may include S141 to S144.
[0127] S141. Solve the upper function by solving the constraint conditions, system constraint conditions, the second output model, the switching model equation, the second power model and the ammonia storage capacity range constraint equation to obtain the iterative value of each upper decision variable corresponding to the upper function.
[0128] Among them, the upper-level decision variables may include annual contracted electricity purchase amount, monthly contracted electricity purchase amount, ammonia sales volume in the ammonia market, and target operating status parameters.
[0129] S142. Substitute the iterative value of each upper-level decision variable into the lower-level function, and solve the lower-level function using the system constraints, the first output model, the first power model, and the hydrogen capacity range constraint equation to obtain the iterative value of each lower-level decision variable corresponding to the lower-level function.
[0130] Among them, the lower-level decision variables may include daily power purchase, daily power sales, hydrogen sales in the hydrogen market, and target hydrogen production power.
[0131] S143. Determine whether the electric hydrogen production and ammonia synthesis system has achieved the optimization target.
[0132] S144. Output the actual value of each upper-level decision variable and the actual value of each lower-level decision variable.
[0133] If the electric hydrogen production and ammonia synthesis system does not reach the optimization target, then return to execute the above step S141. When the electric hydrogen production and ammonia synthesis system reaches the optimization target, then output the actual value of each upper decision variable: the actual value of the annual contracted electricity purchase, the actual value of the monthly contracted electricity purchase, the actual value of the daily electricity purchase, the actual value of the target operating state parameter, and the actual value of each lower decision variable: the actual value of the ammonia sales, the actual value of the hydrogen sales, the actual value of the daily electricity sales, and the actual value of the target hydrogen production power.
[0134] Among them, the business introduction information includes the actual value of the annual contract electricity purchase amount, the actual value of the monthly contract electricity purchase amount, and the actual value of the daily electricity purchase amount; the business output information includes the actual value of the ammonia sales amount, the actual value of the hydrogen sales amount, and the actual value of the daily electricity sales amount.
[0135] The following is an introduction to the process of iteratively solving the upper-level function and the lower-level function with reference to specific examples.
[0136] The upper function is:
[0137]
[0138] Among them, θ represents the approximation of the underlying function.
[0139] The underlying function is:
[0140]
[0141] The solution process is as follows:
[0142] (1) Set the upper function lower bound LB and upper bound UB of the function value of the upper function to -∞ and ∞ respectively, and set the convergence error between the two to ε.
[0143] (2) Set the number of iterations ν to 0.
[0144] In the v=kth iteration:
[0145] (3) Solve the upper function and obtain the optimal value of the function value of the upper function As well as the iterative value of each upper-level decision variable, and update the upper bound of the upper-level function The optimal value of the upper function to be obtained is taken as the upper bound of the upper function.
[0146] (4) The iterative value of each upper-level decision variable As a parameter, it is brought into the lower layer to solve the two-level programming problem of the lower layer function and obtain the optimal value of the objective function of the lower layer problem. and the iterated value of each lower-level decision variable And wind power output iteration value Photovoltaic power output iteration value The method of updating the lower bound LB of the upper function is as follows:
[0147]
[0148] (5) Determine whether the difference between the upper and lower bounds of the upper function is less than the convergence error, that is, whether (UB-LB)<ε holds. If so, the iteration ends, and the iterative value of each upper decision variable is output as the actual value, and the iterative value of each lower decision variable is output as the actual value. If not, enter the v=k+1th iteration.
[0149] In the ν=k+1th iteration:
[0150] (6) The iterative value of each lower-level decision variable As well as the iterative values of wind power output and photovoltaic power output Substitute the parameters into the upper-level function and jump to execute the process described in (3).
[0151] It should be noted that when the number of iterations ν=1, the wind power output data and the photovoltaic power output data can be directly taken as the wind power output prediction value and the photovoltaic power output prediction value for calculation, and the upper function and the lower function are solved jointly to obtain the upper bound of the upper function when the number of iterations ν=1 and the iterative value of each upper decision variable.
[0152] Among them, in (5), when (UB-LB)<ε holds true, it can represent that the electric hydrogen production ammonia synthesis system has achieved the optimization target, that is, the method of judging whether the electric hydrogen production ammonia synthesis system has achieved the optimization target in the above step S143 can be: judging whether the difference between the upper bound of the upper function and the lower bound of the upper function is less than the set convergence error. When the difference between the upper bound of the upper function and the lower bound of the upper function is less than the set convergence error, it is judged that the electric hydrogen production ammonia synthesis system has achieved the optimization target.
[0153] In an optional embodiment, in each iteration process, the iteration value of the lower decision variable obtained by solving the lower function in the previous iteration is needed to solve the upper function. In the ν=kth iteration, the solution constraint used to solve the upper function can be:
[0154]
[0155] in, They are the iteration values of daily electricity purchase, daily electricity sales, and hydrogen sales obtained by solving the lower function at the v=k-1th iteration. θ can represent the approximate value of the lower function at the v=kth iteration.
[0156] In an optional embodiment, in each iteration process, the system constraints used to solve the upper layer function and the lower layer function may include the following equations:
[0157]
[0158]
[0159]
[0160]
[0161] s m,d,t ∈(0,1)
[0162] in, For wind power output data, is the photovoltaic power output data, Represents the total amount of electricity purchased, is the target hydrogen production power, It is the operating power of the synthetic ammonia plant; They represent annual contracted electricity purchase amount, monthly contracted electricity purchase amount and daily electricity purchase amount respectively.
[0163] s m,d,t is a variable with a value range of (0,1) to ensure that the electric hydrogen production and ammonia synthesis system does not perform buying and selling operations at the same time in the electricity trading market. The upper limit of electricity purchase amount is The upper limit of electricity sales.
[0164] In an optional embodiment, the lower function is related to a water electrolysis hydrogen production station, and the water electrolysis hydrogen production equipment has a hydrogen production module, and the hydrogen production module corresponds to the first output model and the first power model. The water electrolysis hydrogen production station adopts variable power control technology to improve the power regulation capability. In each iteration process, the first constraint condition of the lower function is solved as follows:
[0165] The first output model is:
[0166]
[0167] in, is the target hydrogen production power, is the hydrogen generation rate, η E2H is the conversion ratio of electricity to hydrogen. Since the system voltage is a constant, the first output model can describe the working efficiency of the hydrogen production module.
[0168] The first power model is:
[0169]
[0170] in, is the upper bound of power, P HE The first power model can describe the working range of the hydrogen production module.
[0171] The hydrogen capacity range constraint equations of the hydrogen storage tank include:
[0172]
[0173] in, is the hydrogen tank capacity, is the ammonia production rate of the synthetic ammonia plant, η H2A is the ratio of the ammonia production rate to the hydrogen consumption rate, The amount of hydrogen sold in the hydrogen market;
[0174]
[0175] in, H HS is the lower limit of the hydrogen storage tank capacity, is the upper limit of hydrogen storage tank capacity;
[0176] Considering the storage arrangement of the hydrogen storage tank, it is usually required that the hydrogen storage amount at the end of the operation period is equal to the hydrogen storage amount at the beginning of the operation period:
[0177] in, is the hydrogen storage capacity of the hydrogen storage tank at the initial moment, To optimize the hydrogen storage capacity of the hydrogen storage tank at the last moment within the interval.
[0178] In an optional embodiment, the synthetic ammonia station has an ammonia production module, which corresponds to the second output model and the second power model. The synthetic ammonia station adopts quasi-steady-state operating condition switching technology to improve the chemical load adjustment capability to adapt to the volatility of hydrogen and nitrogen raw gas, and ensure the safety and economy of chemical production. In each iteration process, the second constraint condition of the upper function is solved as follows:
[0179] The second output model is:
[0180]
[0181] Among them, η P2A is the conversion ratio of hydrogen to ammonia, is the operating power of the synthetic ammonia plant, is the ammonia production rate of the synthetic ammonia station. The second output model can describe the relationship between the input power and working power of the ammonia production module.
[0182] The switching model equation is:
[0183]
[0184]
[0185] in, is the target operating state parameter of the synthetic ammonia plant, is the transition time constant. There is a transition process when the working state of the synthetic ammonia plant is switched, that is, when synthesizing ammonia, the power is gradually increased to the target value, and when the synthesis is stopped, the power gradually drops from the target value to 0. The target operating state parameter can represent the power during the transition process.
[0186] The second power model is:
[0187]
[0188] in, is the upper limit of the synthetic ammonia power, P AST The second power model can describe the working range of the ammonia production module.
[0189] The ammonia storage capacity range constraint equations of the ammonia storage tank include:
[0190]
[0191]
[0192] in, is the storage capacity of the ammonia tank, η E2A is the electro-to-hydrogen conversion ratio, H AS is the lower limit of the ammonia storage tank capacity, is the upper limit of the ammonia storage tank capacity, is the sales volume of ammonia in the ammonia market;
[0193] Considering the storage arrangement of the ammonia tank, it is usually required that the ammonia storage at the end of the operation period is equal to the ammonia storage at the beginning of the operation period:
[0194] is the ammonia storage capacity of the ammonia storage tank at the initial moment, To optimize the ammonia storage capacity of the ammonia storage tank at the last moment within the interval.
[0195] In an optional implementation, the method may further include steps S150 to S160:
[0196] S150. Send the actual value of the target hydrogen production power to the water electrolysis hydrogen production station, so that the water electrolysis hydrogen production station produces hydrogen based on the actual value of the target hydrogen production power.
[0197] S160. Send the actual value of the target operating state parameter to the synthetic ammonia station, so that the synthetic ammonia station synthesizes liquid ammonia based on the actual value of the target operating state parameter.
[0198] The control center can send the target hydrogen production power and target operating status parameters to the water electrolysis hydrogen production station and the synthetic ammonia station respectively, so as to regulate the operating status of each equipment and optimize the system operation management.
[0199] It should be noted that the execution order of each step in the above method embodiment is not limited to that shown in the drawings, and the execution order of each step shall be based on the actual application situation.
[0200] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0201] (1) The historical data of the electricity market and the hydrogen and ammonia markets were analyzed using LSTM, and unified predictions were made using multiple time series to obtain the correlation prediction sequences of price and output fluctuations in different markets, that is, the time series of the predicted annual contract electricity purchase price, monthly contract electricity purchase price, daily electricity purchase price, daily electricity sales price, hydrogen sales price, and ammonia sales price were obtained.
[0202] (2) This plan not only takes into account the volatility of renewable energy output, the consumption of hydrogen by synthetic ammonia stations and the sale of hydrogen and ammonia in the downstream hydrogen and ammonia markets, but also analyzes the multi-time scale electricity in the power trading market, analyzes the economic feasibility of the long-term operation of renewable energy output and electric hydrogen production and ammonia synthesis systems in the power trading market, and optimizes the power trading decisions of renewable energy and electric hydrogen production systems.
[0203] In order to execute the corresponding steps in the above method embodiment and each possible implementation method, an implementation method of a prediction device for an electric hydrogen production and ammonia synthesis system is respectively given below.
[0204] See also Figure 5 , Figure 5 The schematic diagram of the structure of a prediction device 400 for a hydrogen-to-ammonia synthesis system provided by an embodiment of the present invention is shown. The prediction device 400 is applied to a control center of the hydrogen-to-ammonia synthesis system, and the hydrogen-to-ammonia synthesis system also includes a water electrolysis hydrogen production station and an ammonia synthesis station that are communicatively connected to the control center. The prediction device 400 includes: an acquisition module 410, an establishment module 420, an optimization module 430, and a calculation module 440.
[0205] The acquisition module 410 is used to acquire output parameter information and input parameter information of the electric hydrogen production and ammonia synthesis system.
[0206] A module 420 is established to establish a target model based on output parameter information and input parameter information, taking the electric hydrogen production and ammonia synthesis system reaching preset conditions as an optimization target.
[0207] The optimization module 430 is used to optimize the target model using the wind power output data and the photovoltaic power output data to obtain a two-stage robust optimization model.
[0208] The calculation module 440 is used to solve the two-stage robust optimization model by using the solution constraints, system constraints, the first constraints corresponding to the water electrolysis hydrogen production station and the second constraints corresponding to the ammonia synthesis station, to obtain the business introduction information, business output information, the actual values of the target operating state parameters of the ammonia synthesis station and the actual value of the target hydrogen production power of the water electrolysis hydrogen production station corresponding to the optimization target of the electric hydrogen production and ammonia synthesis system.
[0209] In an optional implementation, the acquisition module 410 may be specifically used to:
[0210] Obtain historical annual contract electricity purchase prices, historical monthly contract electricity purchase prices, historical single-day electricity purchase prices, historical single-day electricity sales prices, historical hydrogen sales prices, and historical ammonia sales prices;
[0211] Input the historical annual contract power purchase price, the historical monthly contract power purchase price, the historical single-day power purchase price, the historical single-day power sales price, the historical hydrogen sales price, and the historical ammonia sales price into the pre-trained neural network model to obtain the annual contract power purchase price, the monthly contract power purchase price, the single-day power purchase price, the single-day power sales price, the hydrogen sales price, and the ammonia sales price;
[0212] The introduced parameter information includes the annual contract electricity purchase price, the monthly contract electricity purchase price, and the daily electricity purchase price; the output parameter information includes the daily electricity sales price, the hydrogen sales price, and the ammonia sales price.
[0213] In an optional embodiment, the first constraint condition includes the first output model of the water electrolysis hydrogen production station, the first power model and the hydrogen capacity range constraint equation of the hydrogen storage tank, and the second constraint condition includes the second output model of the synthetic ammonia station, the switching model equation, the second power model and the ammonia storage capacity range constraint equation of the ammonia storage tank; the two-stage robust optimization model includes an upper function and a lower function. The calculation module 440 can be specifically used for:
[0214] The upper function is solved by solving the constraint conditions, system constraint conditions, the second output model, the switching model equation, the second power model and the ammonia storage capacity range constraint equation to obtain the iterative value of each upper decision variable corresponding to the upper function; the upper decision variables include the annual contracted electricity purchase amount, the monthly contracted electricity purchase amount, the ammonia sales volume in the ammonia market and the target operation status parameters;
[0215] Substitute the iterative value of each upper decision variable into the lower function, and solve the lower function using the system constraint, the first output model, the first power model and the hydrogen capacity range constraint equation to obtain the iterative value of each lower decision variable corresponding to the lower function;
[0216] If the electric hydrogen production and ammonia synthesis system does not reach the optimization target, then return to the step of solving the upper function using the system constraint conditions, the second output model, the switching model equation, the second power model and the ammonia storage capacity range constraint equation until the electric hydrogen production and ammonia synthesis system reaches the optimization target, and the actual value of each upper decision variable and the actual value of each lower decision variable are obtained;
[0217] Among them, the lower-level decision variables include daily electricity purchase volume, daily electricity sales volume, hydrogen sales volume in the hydrogen market and target hydrogen production power; the business introduction information includes the actual value of annual contract electricity purchase volume, the actual value of monthly contract electricity purchase volume, and the actual value of daily electricity purchase volume; the business output information includes the actual value of ammonia sales volume, the actual value of hydrogen sales volume, and the actual value of daily electricity sales volume.
[0218] In an optional embodiment, the calculation module 440 can also be used to: send the actual value of the target hydrogen production power to the water electrolysis hydrogen production station, so that the water electrolysis hydrogen production station produces hydrogen based on the actual value of the target hydrogen production power; send the actual value of the target operating state parameter to the synthesis ammonia station, so that the synthesis ammonia station synthesizes liquid ammonia based on the actual value of the target operating state parameter.
[0219] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the prediction device 400 described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0220] See also Figure 6 , Figure 6 The electronic device 300 includes a processor 310 , a memory 320 , and a bus 330 , wherein the processor 310 is connected to the memory 320 via the bus 330 .
[0221] The electronic device 300 can be used as a control center of the above-mentioned electric hydrogen production and ammonia synthesis system. The electronic device 300 can be but is not limited to a computer, a server, etc.
[0222] The memory 320 may be used to store software programs, for example, Figure 5The prediction device 400 shown. Among them, the memory 320 can be, but is not limited to, a random access memory (Random Access Memory, RAM), a read only memory (Read Only Memory, ROM), a flash memory (Flash), a programmable read-only memory (Prom), an erasable programmable read-only memory (EPROM), an electric erasable programmable read-only memory (EEPROM), etc. The processor 310 can be an integrated circuit chip with signal processing capabilities. The processor 310 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0223] The memory 320 stores machine-readable instructions executable by the processor 310. When the processor 310 executes the machine-readable instructions, the prediction method of the electric hydrogen production and ammonia synthesis system disclosed in the above embodiment is implemented.
[0224] Understandably, Figure 6 The structure shown is for illustration only. The electronic device 300 may also include Figure 6 More or fewer components as shown, or with Figure 6 Different configurations are shown. Figure 6 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0225] The embodiment of the present invention also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the prediction method of the electric hydrogen production and ammonia synthesis system disclosed in the above embodiment is implemented. The readable storage medium can be, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a PROM, an EPROM, an EEPROM, a FLASH disk, or an optical disk.
[0226] In summary, the embodiment of the present invention provides a prediction method and related device for an electric hydrogen production and ammonia synthesis system, which first obtains the output parameter information and the introduction parameter information of the electric hydrogen production and ammonia synthesis system. Then, the electric hydrogen production and ammonia synthesis system reaches the preset conditions as the optimization goal, and a target model is established based on the output parameter information and the introduction parameter information. Then, the target model is optimized using wind power output data and photovoltaic power output data to obtain a two-stage robust optimization model. Finally, the two-stage robust optimization model is solved by solving constraints, system constraints, the first constraint corresponding to the water electrolysis hydrogen production station, and the second constraint corresponding to the ammonia synthesis station, and the business output information corresponding to the optimization goal of the electric hydrogen production and ammonia synthesis system, the business introduction information, the actual values of the target operating state parameters of the ammonia synthesis station, and the actual value of the target hydrogen production power of the water electrolysis hydrogen production station can be obtained. Compared with the prior art, the embodiment of the present invention takes into account the volatility of wind power and photovoltaic power output, and uses wind power output data and photovoltaic power output data to optimize the target model to obtain a two-stage robust optimization model. Then, by solving the model, it is possible to obtain data such as business output information, business introduction information, actual values of target operating state parameters of the synthetic ammonia station, and actual values of target hydrogen production power of the electrolysis water hydrogen production station when the system reaches the optimization target. Comprehensive consideration is given to various factors of the system, making the obtained data more accurate and of reference value.
[0227] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A prediction method for ammonia synthesis system using hydrogen from electricity, It is characterized in that A control center applied to an electric hydrogen production and ammonia synthesis system, wherein the electric hydrogen production and ammonia synthesis system further comprises a water electrolysis hydrogen production station and an ammonia synthesis station which are communicatively connected to the control center; the method comprises: Obtaining output parameter information and input parameter information of the electric hydrogen production and ammonia synthesis system; Taking the electric hydrogen production and ammonia synthesis system reaching preset conditions as an optimization goal, a target model is established based on the output parameter information and the introduced parameter information; The target model is optimized using wind power output data and photovoltaic power output data to obtain a two-stage robust optimization model; The two-stage robust optimization model is solved by solving constraint conditions, system constraint conditions, the first constraint conditions corresponding to the water electrolysis hydrogen production station, and the second constraint conditions corresponding to the ammonia synthesis station, to obtain the business introduction information, business output information, the actual values of the target operating state parameters of the ammonia synthesis station, and the actual value of the target hydrogen production power of the water electrolysis hydrogen production station corresponding to the electric hydrogen production and ammonia synthesis system to achieve the optimization target; Wherein, the target model is: Min.(C EL -R) In the formula, C EL is the annual cost of the electricity market, R is the annual total revenue of hydrogen and ammonia products; the subscripts m, d, and t represent the time t on the dth day of the mth month of the year; They are annual contracted electricity purchase, monthly contracted electricity purchase, and daily electricity purchase. The amount of electricity sold per day; They represent the annual contract electricity purchase price, monthly contract electricity purchase price, and single-day electricity purchase price respectively. The price of electricity sold per day; They are the sales volume of ammonia in the ammonia market and the sales volume of hydrogen in the hydrogen market; The selling price of ammonia and hydrogen respectively; Wherein, the two-stage robust optimization model is: In the formula, Ω 1 for A set of upper-level decision variables representing the annual contracted electricity purchase amount, the monthly contracted electricity purchase amount, the ammonia sales amount in the ammonia market, and the target operating state parameters; Ω 2 for A set of lower-level decision variables representing the daily power purchase, the daily power sales, the hydrogen sales in the hydrogen market, and the target hydrogen production power; is the target operating state parameter, is the target hydrogen production power; In the formula, is the predicted value of wind power output, is the wind power output data, is the predicted value of photovoltaic power output, is the photovoltaic power output data, is the wind power output fluctuation value, is the photovoltaic power output fluctuation value, L 2 is the set of wind power output and photovoltaic power output in time series, and Λ represents the interval description of wind power output and photovoltaic power output.
2. The method according to claim 1, It is characterized in that The first constraint condition includes the first output model, the first power model and the hydrogen capacity range constraint equation of the water electrolysis hydrogen production station, and the second constraint condition includes the second output model, the switching model equation, the second power model and the ammonia storage capacity range constraint equation of the ammonia synthesis station; the two-stage robust optimization model includes an upper function and a lower function; The step of solving the two-stage robust optimization model by solving the constraint conditions, the system constraint conditions, the first constraint conditions corresponding to the water electrolysis hydrogen production station and the second constraint conditions corresponding to the ammonia synthesis station to obtain the business introduction information, business output information, the target operating state parameters of the ammonia synthesis station and the target hydrogen production power of the water electrolysis hydrogen production station corresponding to the electric hydrogen production and ammonia synthesis system to achieve the optimization target includes: The upper function is solved by using the solution constraint condition, the system constraint condition, the second output model, the switching model equation, the second power model and the ammonia storage capacity range constraint equation to obtain an iterative value of each upper decision variable corresponding to the upper function; the upper decision variables include the annual contracted electricity purchase amount, the monthly contracted electricity purchase amount, the ammonia sales amount in the ammonia market and the target operating state parameter; Substituting the iterative value of each of the upper decision variables into the lower function, and solving the lower function using the system constraint, the first output model, the first power model and the hydrogen capacity range constraint equation to obtain the iterative value of each lower decision variable corresponding to the lower function; If the electric hydrogen production and ammonia synthesis system does not achieve the optimization target, then return to the step of solving the upper function by using the system constraints, the second output model, the switching model equation, the second power model and the ammonia storage capacity range constraint equation until the electric hydrogen production and ammonia synthesis system achieves the optimization target, and obtains the actual value of each of the upper decision variables and the actual value of each of the lower decision variables; Among them, the lower-level decision variables include the daily electricity purchase amount, the daily electricity sales amount, the hydrogen sales amount in the hydrogen market and the target hydrogen production power; the business introduction information includes the actual value of the annual contract electricity purchase amount, the actual value of the monthly contract electricity purchase amount, and the actual value of the daily electricity purchase amount; the business output information includes the actual value of the ammonia sales amount, the actual value of the hydrogen sales amount, and the actual value of the daily electricity sales amount.
3. The method according to claim 2, It is characterized in that The solution constraints are: in, are respectively the iteration value of the daily electricity purchase, the iteration value of the daily electricity sales, and the iteration value of the hydrogen sales obtained by solving the lower function at the v=k-1th iteration, and θ represents the approximate value of the lower function at the ν=kth iteration; The system constraints include the following equations: s m,d,t ∈(0,1) in, Represents the total amount of electricity purchased, is the operating power of the synthetic ammonia plant; m,d,t is a variable whose value range is in (0,1); The upper limit of electricity purchase amount is The upper limit of electricity sales.
4. The method according to claim 2, It is characterized in that The first output model is: in, is the hydrogen generation rate, η E2H is the electro-to-hydrogen conversion ratio; The first power model is: in, is the upper bound of power, P HE is the lower bound of power; The hydrogen capacity range constraint equation includes: in, is the hydrogen tank capacity, is the ammonia production rate of the synthetic ammonia station, η H2A is the ratio of the ammonia generation rate to the hydrogen consumption rate; in, H HS is the lower limit of the hydrogen storage tank capacity, is the upper limit of hydrogen storage tank capacity; in, is the hydrogen storage capacity of the hydrogen storage tank at the initial moment, To optimize the hydrogen storage capacity of the hydrogen storage tank at the last moment within the interval.
5. The method according to claim 2, It is characterized in that The second output model is: Among them, η P2A is the conversion ratio of hydrogen to ammonia, is the operating power of the synthetic ammonia plant, is the ammonia production rate of the synthetic ammonia station; The switching model equation is: in, is the transition time constant; The second power model is: in, is the upper limit of the synthetic ammonia power, P AST is the lower limit of the power of synthetic ammonia; The ammonia storage capacity range constraint equation includes: in, is the storage capacity of the ammonia tank, η E2A is the electro-to-hydrogen conversion ratio, H AS is the lower limit of the ammonia storage tank capacity, is the upper limit of the ammonia storage tank capacity; is the ammonia storage capacity of the ammonia storage tank at the initial moment, To optimize the ammonia storage capacity of the ammonia storage tank at the last moment within the interval.
6. The method according to claim 1, It is characterized in that The step of obtaining output parameter information and introduction parameter information of the electric hydrogen production and ammonia synthesis system comprises: Obtain historical annual contract electricity purchase prices, historical monthly contract electricity purchase prices, historical single-day electricity purchase prices, historical single-day electricity sales prices, historical hydrogen sales prices, and historical ammonia sales prices; Input the historical annual contract electricity purchase price, the historical monthly contract electricity purchase price, the historical single-day electricity purchase price, the historical single-day electricity sales price, the historical hydrogen sales price, and the historical ammonia sales price into a pre-trained neural network model to obtain the annual contract electricity purchase price, the monthly contract electricity purchase price, the single-day electricity purchase price, the single-day electricity sales price, the hydrogen sales price, and the ammonia sales price; The introduced parameter information includes the annual contract electricity purchase price, the monthly contract electricity purchase price, and the single-day electricity purchase price; the output parameter information includes the single-day electricity sales price, the hydrogen sales price, and the ammonia sales price.
7. A prediction device for a system of electric hydrogen production and ammonia synthesis, It is characterized in that A control center applied to an electric hydrogen production and ammonia synthesis system, wherein the electric hydrogen production and ammonia synthesis system further comprises a water electrolysis hydrogen production station and an ammonia synthesis station which are communicatively connected to the control center; the device comprises: An acquisition module, used to acquire output parameter information and input parameter information of the electric hydrogen production and ammonia synthesis system; An establishment module is used to establish a target model based on the output parameter information and the introduced parameter information, taking the electric hydrogen production and ammonia synthesis system reaching a preset condition as an optimization target; An optimization module, used to optimize the target model using wind power output data and photovoltaic power output data to obtain a two-stage robust optimization model; A calculation module is used to solve the two-stage robust optimization model by solving constraint conditions, system constraint conditions, a first constraint condition corresponding to the water electrolysis hydrogen production station, and a second constraint condition corresponding to the ammonia synthesis station, to obtain business introduction information and business output information corresponding to the electric hydrogen production and ammonia synthesis system to achieve the optimization target, an actual value of a target operating state parameter of the ammonia synthesis station, and an actual value of a target hydrogen production power of the water electrolysis hydrogen production station; Wherein, the target model is: Min.(C EL -R) In the formula, C EL is the annual cost of the electricity market, R is the annual total revenue of hydrogen and ammonia products; the subscripts m, d, and t represent the time t on the dth day of the mth month of the year; They are annual contracted electricity purchase, monthly contracted electricity purchase, and daily electricity purchase. The amount of electricity sold per day; They represent the annual contract electricity purchase price, monthly contract electricity purchase price, and single-day electricity purchase price respectively. The price of electricity sold per day; They are the sales volume of ammonia in the ammonia market and the sales volume of hydrogen in the hydrogen market; The selling price of ammonia and hydrogen respectively; Wherein, the two-stage robust optimization model is: In the formula, Ω 1 for A set of upper-level decision variables representing the annual contracted electricity purchase amount, the monthly contracted electricity purchase amount, the ammonia sales amount in the ammonia market, and the target operating state parameters; Ω 2 for A set of lower-level decision variables representing the daily power purchase, the daily power sales, the hydrogen sales in the hydrogen market, and the target hydrogen production power; is the target operating state parameter, is the target hydrogen production power; In the formula, is the predicted value of wind power output, is the wind power output data, is the predicted value of photovoltaic power output, is the photovoltaic power output data, is the wind power output fluctuation value, is the photovoltaic power output fluctuation value, L 2 is the set of wind power output and photovoltaic power output in time series, and Λ represents the interval description of wind power output and photovoltaic power output.
8. An electronic device, It is characterized in that include: A memory and a processor, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor executes the machine-readable instructions to implement the method according to any one of claims 1 to 6.
9. A storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
