1. Introduction
At the ninth meeting of the Central Financial and Economic Commission, General Secretary Xi Jinping put forward a major strategic plan to build a new power system led by new energy, a change with far-reaching strategic, global, and revolutionary significance. In view of the rapid development trend of new energy, it is particularly crucial to revolutionize the existing power system in terms of physical form and institutional mechanisms. The core challenge is how to achieve a larger and longer-term power balance more effectively.
In recent years, the installed capacity of photovoltaic (PV) power generation has been growing continuously and the maturity of the technology has been increasing with the significant advancement of clean and efficient energy generation technologies. However, the development of PV power generation also faces two major challenges. First, due to the irregularity of light resources, PV power generation exhibits the characteristics of randomness, volatility, and phasing, which decrease the quality of electric energy affected to a certain extent, and at the same time increase the difficulty of grid scheduling. Secondly, the effective storage of electric energy has become a bottleneck restricting the further development of photovoltaic power generation. Traditional electrochemical, electromagnetic, and physical energy storage technologies are insufficient to meet the needs of large-scale energy storage and future green energy development.
Hydrogen, as a kind of clean energy, has become an ideal choice for PV-scale hydrogen utilization and storage due to its high energy density, large capacity, long life, and easy storage and transmission. The emergence of hydrogen energy provides a new solution to the problem of large-scale and long-cycle electric power balance. As a flexible resource of the power system and a new method of long-cycle energy storage and transmission, hydrogen energy can reduce the pressure of the new power system and aid efficient consumption and stable transmission. Electric–hydrogen coupling technology is expected to solve the difficulty of power system flexibility adjustment after the large-scale development of new energy sources and become an indispensable part of the new power system [
1]. Through the electrolysis of water to produce hydrogen technology, it can effectively improve the peak adjustment ability of photovoltaic generating units and convert the photovoltaic power that cannot be directly utilized into hydrogen energy storage. This stored hydrogen can be used in a variety of scenarios, such as integrating into the existing gas supply network as an energy source for gas turbine power generation and realizing the complementary conversion of electricity and gas. In the chemical industry, hydrogen can be used for the refining of crude oil, the hydrogenation of fats for the production of products such as margarine and edible oils, or the synthesis of chemicals such as ammonia and methanol. In the aerospace industry, liquid hydrogen can be used as a fuel. In addition, it can be used in hydrogen refueling stations to provide power to hydrogen-powered vehicles.
The performance of the electrolyzer, as the core equipment of electrolytic water-to-hydrogen technology, directly determines the efficiency and effectiveness of hydrogen production from renewable energy sources. When smoothing out fluctuations in renewable energy, the electrolyzer needs to be highly adaptable to unstable power output. Currently, an alkaline electrolyzer is the main equipment used in large-scale engineering applications, as its technology is mature and low-cost, but there are problems such as poor dynamic adjustability, low efficiency, and short service life under fluctuating working conditions. In order to overcome these shortcomings, improving the applicability of alkaline electrolytic water to hydrogen systems under fluctuating working conditions has become the key to the development of renewable energy hydrogen production technology [
2].
As a basic chemical product, ammonia is both a raw material and a fuel, which gives it a wide range of application prospects. In the industrial field, ammonia is used as a raw material in many aspects such as fertilizer, refrigerant, explosives, industrial flue gas denitrification, and sewage treatment. Meanwhile, as a zero-carbon fuel, ammonia shows great potential in marine and stationary power generation. Global hydrogen consumption data show that about 90 million tons of hydrogen will be consumed in 2020, of which 33.75 million tons will be used for ammonia. Total carbon emissions from the ammonia industry in 2020 will be more than 200 million tons, and in order to meet this challenge, the replacement of gray hydrogen with green hydrogen will become one of the most important technological paths for carbon emission reduction in the chemical industry.
Hydrogen ammonia synthesis technology adopts the Haber–Bosch Process and the ammonia synthesis station mainly uses hydrogen and nitrogen to synthesize and produce liquid ammonia. The main power-consuming equipment in the process flow of the ammonia synthesis station are compressors, pumps, and other power equipment. Hydrogen comes from the electrolytic water hydrogen production station, and nitrogen comes from the air separation station. Because the ammonia process involves a more complex chemical process, this paper focuses only on the study of new energy hydrogen ammonia system power scheduling problems. To ensure that the ammonia production can be stable, in the ammonia process, based only on empirical values, roughly 2000 standard cubic meters of hydrogen can produce 1 ton of liquid ammonia. In addition, since ammonia separation, circulation, compression, and other processes in the ammonia synthesis section consume less power compared to the entire hydrogen and ammonia system, their power consumption is ignored in this paper.
The cost of ammonia production in the Chinese market in 2022 is highly affected by fluctuations in feedstock prices. Against the backdrop of an anthracite coal price of CNY 1200/ton, the comprehensive production cost of ammonia from coal reaches CNY 3284/ton, while the comprehensive production cost of ammonia from natural gas is CNY 3861/ton at a natural gas price of CNY 4.2/Nm3. According to the International Renewable Energy Agency (IRENA), the production cost of green ammonia in 2022 is between USD 720 and USD 1400 per ton. However, the production cost of green ammonia is expected to gradually decrease as technology advances and production scales expand. By 2030, the production cost of green ammonia is expected to be the same as the current production cost of conventional gray ammonia; and by 2050, the cost of green ammonia will be further reduced to USD 310 and USD 610 per ton. The key to further cost reductions for Renewable Power to Ammonia (RePtA) systems lies in technological advances and scale-up. This will help improve production efficiency and reduce energy consumption and material waste in the production process, thus reducing overall costs. At the same time, with the reduction in green ammonia production costs, its market competitiveness will be further enhanced.
In order to improve the economic efficiency of the off-grid wind hydrogen synthesis ammonia system and achieve stable and coordinated operation, while simultaneously achieving a higher level of consumption of new energy, researchers have carried out a large number of studies on this in the literature. The authors of [
3,
4] studied the concept of process flexibility and the economy of P2A systems. The authors of [
5] studied the economy of green ammonia systems applied to offshore wind power, and [
6] carried out the parameter design of green ammonia systems from wind power.
In the process of solving problems, researchers have also applied many optimization algorithms to new energy power hydrogen ammonia systems. The authors of [
6] proposed a particle swarm algorithm based on the optimization of wind power storage microgrid scheduling and operation analysis. In [
7], a cogeneration microgrid source-load-storage cooperative optimization technology considering wind power consumption was proposed based on genetic algorithms, with the total cost of the operation of the microgrid and the level of wind power consumption as optimization goals. The authors of [
8] established a microgrid operation optimization model with the objective of minimizing power generation cost and environmental cost, and the proposed optimization model is solved by using the multi-intelligent body chaotic particle swarm optimization algorithm.
In the current research on new energy hydrogen synthesis systems, off-grid operation needs to be further studied in terms of new energy consumption demand, equipment configuration, and economy. At the same time, the algorithm needs to be further optimized for the shortcomings of slow convergence speed and ease of falling into the local optimum when solving the model.
In order to solve the above problems, this paper constructs the operation model of an off-grid wind hydrogen synthesis ammonia system, takes economic optimization as the objective function, solves the system based on the sparrow search algorithm, obtains the optimal scheduling and operation simulation scheme, and verifies the reasonableness and validity of the mathematical model and optimization algorithm through real-life examples.
2. Modeling of Off-Grid Scenic Hydrogen-Ammonia Systems
In this section, we will introduce the components of off-grid wind-scenic hydrogen and ammonia systems, including wind power stations, photovoltaic power stations, electrolytic water hydrogen systems, energy storage devices, gas storage equipment, hydrogen ammonia synthesis devices, etc. We will also establish mathematical models of the related equipment according to their operational characteristics, and then establish the optimal economic dispatch model of off-grid wind-scenic hydrogen and ammonia systems.
2.1. Overview of the Wind-Solar Hydrogen-Ammonia System
The core objective of wind-solar hydrogen and ammonia system configuration is to make full use of and efficiently consume local wind-solar resources in regions with relatively weak grid coverage or high construction costs, maximizing the potential of renewable energy and minimizing the rate of power abandonment. By optimizing the allocation of resources, the transfer of the target product of hydrogen and ammonia synthesis is achieved, replacing the traditional high-input and high-cost grid laying with this new approach.
Renewable energy generation is realized through the construction of wind power and photovoltaic units, and electric hydrogen production equipment with highly flexible adjustment capability is deployed locally to convert excess electric energy into hydrogen for storage and utilization. At the same time, in order to balance the fluctuation of power supply and demand, corresponding energy storage equipment and hydrogen storage equipment are equipped to regulate the power difference between the source and the load side, thus assisting in realizing efficient and stable consumption of wind and solar power and providing strong support for the energy security and sustainable development of the region.
2.2. Photovoltaic Power Plant Model
Photovoltaic power generation is based on the photovoltaic effect, whereby solar energy is converted directly into electrical energy by means of solar cells. When sunlight strikes the surface of the cell, the PV cell generates a voltage that converts solar energy to electricity. Photovoltaic power generation systems usually consist of a combination of multiple photovoltaic cells that are connected in series or parallel to form a photovoltaic array. The efficiency of photovoltaic power generation depends mainly on the intensity of solar radiation received by the PV panels, and this intensity is affected by a combination of factors such as the path of sunlight propagation, the position of the sun, and the effect of the atmosphere on the radiation.
Considering the conversion characteristics of PV panel cells under different light intensities, the relationship between the active output of PV panel cells and the intensity of solar radiation can be approximated as [
9]:
Format: —Actual output of photovoltaics, KW; —PV power rating under standard conditions, KW; —Temperature of photovoltaic panel cells, °C; —Setting the light intensity for a specific intensity, W/m2; —Light intensity per unit area under standard conditions, W/m2; —Battery temperature at standard conditions, °C; —Intensity of solar radiation received by the headroom on the PV panel at time t, W/m2; —The temperature coefficient of the photovoltaic panels, taking the value of 0.03~0.05 °C.
2.3. Wind Power Plant Model
For the planned wind power station, the power generation of the wind power station is calculated based on wind speed and other data. The off-grid wind-powered hydrogen-ammonia system realizes the conversion of “new energy-electricity-hydrogen”, which involves the operation of key equipment, and a physical model will be constructed. Among them, the wind turbine converts the captured wind energy into electricity, which is mainly determined by the output curve of the wind turbine, and the power generation of the wind power station can be calculated according to the wind speed and other data [
10,
11]:
Format: —Real-time wind speed, m/s; —Cut-in wind speed, m/s; —Cut-out speed, m/s; —Rated wind speed, m/s; —Actual wind turbine output, MW; —Rated power of the fan under standard conditions, MW.
2.4. Alkaline Electrolytic Water Hydrogen Production Model
Alkaline electrolyzed water-to-hydrogen models are used primarily for the conversion of electricity to hydrogen and oxygen. This type of equipment uses a porous diaphragm to separate the hydrogen side electrodes from the oxygen side electrodes in the electrolyzer. Under normal operating conditions, the alkaline flow rate is fast, which limits the diffusion of gases through the diaphragm. However, under low load conditions, the relative increase in the amount of gas passing through the diaphragm leads to an increase in the levels of oxygen impurities in the hydrogen and hydrogen impurities in the oxygen, which may affect the safety of the equipment and the purity of the output gas.
Therefore, there is a lower limit of minimum power and an upper limit of maximum power for normal operation of the alkaline electric hydrogen generator. The power rate of the alkaline electric hydrogen generator is fast under normal operating conditions, and the power conversion rate is more than 20% of the rated load per second [
12,
13].
The working alkaline electrolyzer can be considered as a nonlinear dc load and the output voltage is modeled as [
14]:
Format: —Reversible voltage for electrolytic baths, kV; —Electrolyzer electrode surface area, m2; —Electrolyzer current, kA; —Electrolyzer operating temperature, °C; —Electrode overvoltage coefficient; —Electrolyzer overpressure experience factor; —Reversible voltage at standard conditions, kV; —Temperature empirical coefficient.
The relationship between single electrolyzer power and hydrogen production is as follows:
Format: —Electrolyzer output power, —Hydrogen production at time t.
When the electrolyzer is started up, the power consumed is mainly used for heating to raise the temperature of the electrolyzer, since the temperature is not sufficient to produce hydrogen. At the same time, taking into account the characteristics of the materials inside the electrolyzer, the operating power must be maintained above a specific limit so that the hydrogen and oxygen cascades do not exceed the safety threshold, which is usually set between 20 and 25% of the rated power of the electrolyzer. In addition, the electrolyzer is allowed to exceed its rated power for short periods of time during operation, up to 110% to 130% of the rated power, a feature that helps to reduce the configured capacity requirements of the electrolyzer. The operating power constraints of the electrolyzer are expressed as follows [
15]:
Format: —Rated operating power of the electrolyzer, —Operating power of the electrolyzer, —Binary Variables for Electrolyzer Start-Stop.
The electrolyzer power creep constraint is expressed as follows:
Format: —Operating power of the electrolyzer; —Binary variable for electrolyzer state; —Climbing rate when the electrolyzer is cold; —Rate of climb when the electrolyzer is warm.
2.5. Gas Storage Equipment Modeling
The wind-solar hydrogen-ammonia system consists of hydrogen production by electrolysis of water, hydrogen storage, and ammonia synthesis at a constant rate. Hydrogen produced by electrolysis of water is stored in tanks, and hydrogen is withdrawn from the tanks at a constant rate for ammonia synthesis. The rate of ammonia production is constant for each time of the year (hour) and the rate of hydrogen required is constant.
Using one year’s operating data, we analyzed the maximum amount of hydrogen actually produced in the electrolyzer during a certain period of time. After subtracting the amount of hydrogen consumed by ammonia synthesis during this period, the maximum amount of hydrogen to be stored can be determined. Based on this data, the number of storage tanks can be further determined to ensure smooth and efficient operation of the system.
Format: —Maximum hydrogen production at a given time of year, Nm3; —Actual hydrogen production, Nm3; —Maximum hydrogen storage capacity, Nm3; —Rated capacity of individual tanks, Nm3; —Number of gas storage tanks, number.
2.6. Hydrogen to Ammonia Plant Model
The hydrogen ammonia plant utilizes a chemical reaction between hydrogen and nitrogen to produce liquid ammonia. The core technology is the Haber–Bosch synthesis, in which hydrogen is produced in a hydrogen plant by electrolysis of water and nitrogen is produced in an air separation station. Due to the safety and economic requirements of chemical production, the ammonia plant can only be regulated within a certain range of quasi-steady state conditions to ensure the stability and safety of the production process.
In order to avoid temperature and pressure overruns in the ammonia reactor and in various process steps such as ammonia splitting, circulation, and heat transfer, the load creep rate needs to be limited [
16]:
Format: —scheduling step; —Ammonia yield at time t; —Ammonia load creep rate; , —Upper and lower limits of load climbing rate, take +15% and −25% of rated output per hour.
At the same time, the ammonia production rate should be maintained within the given interval due to the constraints of heat balance and catalyst activity:
Format: , —The upper and lower limits of ammonia production were taken as 100 percent and 20 percent of the nominal production rate.
2.7. Modeling of Energy Storage Equipment
In this article, an electrochemical energy storage system is considered for regulating the difference between the windlight fluctuation and the electrical load profile of the electric hydrogen production equipment, which improves the efficiency of the system for hydrogen production through the transfer of electrical energy in the temporal sequence, as well as enhances the flexibility of the system regulation, which can be expressed as [
17]:
Format:
,
—Charging and discharging power of energy storage devices, MW;
—rating, MW;
,
—Binary variables for charging and discharging flags of energy storage devices;
—Capacity of energy storage devices;
,
—Charge and discharge factors for energy storage devices;
—Maximum capacity of the energy storage device;
,
—Upper and lower charging and discharging limits for energy storage devices. As shown in
Figure 1, the energy storage device operation strategy is shown.
(1) Input new energy power , Capacity of energy storage devices .
(2) When the new energy power is greater than load power , energy storage is for determining whether charging is possible; When the new energy power is less than load power , the energy storage carries out the judgment of whether it can be discharged or not.
(3) Determining whether energy storage can be charged or discharged requires considering whether the current capacity of the storage device is within the set range. When judging charging, if the current energy storage capacity is less than 85% of the maximum capacity, charging is permitted; otherwise, power is discarded. When judging the discharge, if the current storage capacity is more than 15% of the maximum capacity, the discharge is allowed; otherwise, it is terminated.
(4) The capacity of the energy storage device for the next time period can be further calculated based on the current charging and discharging conditions . The energy storage capacity for the next time period is re-entered and the program runs in a loop.
5. Conclusions
This article proposes an economic optimization scheduling method based on the Sparrow Search Algorithm (SSA) for the new energy electric hydrogen synthesis and ammonia system, taking into account the operating characteristics of the electrolyzer and the characteristics of the electrochemical energy storage device and considering the operation mode of wind energy supply and energy storage in the system balance, which can accurately reflect the economic benefits of the system production simulation operation and realize the production and operation of the off-grid electric hydrogen synthesis and ammonia system in a more accurate way. The production and operation of an off-grid electric hydrogen synthesis ammonia system effectively maximize the economic benefits of the system, achieving the complete consumption of new energy.
Taking the typical daily wind and light characteristics of the Daan area as an example, we carried out the optimization scheduling of the system for a 24 h operation simulation and used the sparrow search algorithm to optimize the system’s hydrogen production, power abandonment rate, and energy storage output. We then obtained the number of electrolyzers of the wind hydrogen ammonia system operating at each time period, maximized hydrogen production under the premise of meeting the constraints of the power abandonment rate, and stabilized ammonia production, so as to reduce the maximization of the system’s economic benefits.
By comparing the solution results of the algorithm proposed in this paper with those of the conventional optimization algorithm, the results solved by the sparrow search algorithm are superior, the economic benefits of the system are better, and the solution efficiency is higher. It can be seen that the sparrow search algorithm proposed in this paper shows superiority in the economic optimization scheduling problem of the new energy hydrogen synthesis ammonia system, which in turn verifies the reasonableness and validity of the application of the algorithm proposed in this paper.
Combined with the research results of this paper, the next step will be to continue to study the impact of the joint start-stop strategy of wind power and hydrogen production units, wind power randomness, and other factors on the system operation results.
This will allow us to establish a more detailed and accurate planning and operation integration model and to realize more accurate operation simulation and optimization of off-grid wind power and hydrogen storage systems.