Abstract
Keywords
Introduction
In order to cope with environmental pollution and energy shortages, China is now developing rapid new energy technologies. Among them, wind power has developed particularly rapidly. In 2017, China's total installed wind power capacity was 164 million kW, an increase of 10.5%, accounting for 9.2% of total wind turbine capacity (National Energy Administration of the People's Republic of China, 2018). It is undeniable that wind power also has some shortcomings. Wind power itself has volatility and untainty (Li, 2012), which makes it difficult to be completely absorbed. In 2017, 41.9 billion kW⋅h of electricity generated by wind power in China was not used, and the average abandonment rate was as high as 12% (National Energy Administration of the People's Republic of China, 2018). The wind power consumption situation is more severe, and its large-scale grid connection will cause the grid to fluctuate and it will not be able to provide electricity normally, which has huge hidden danger. When the wind power permeability increases to a certain extent, only thermal power is used to deal with the uncertainty of wind power output. Frequent start and stop of thermal power units will cause fluctuations in the power grid and cannot operate safely and stably.
Gas turbine, as a high operational flexibility equipment in power system, its output power can quickly track the fluctuation of wind power output, which is expected to alleviate the phenomenon of wind abandonment in power system. As of 2017, China’s gas turbine assembled machines reached 76.29 million kW, accounting for 4.29% of the installed power generation capacity, and the annual power generation capacity reached 220 billion kW⋅h. In the coastal areas of Jiangsu, Zhejiang, Shanghai and Guangdong, gas engine assembly accounts for more than 30% (Liu and Wang, 2018). The China Energy Department issued the “Thirteenth Five-Year Plan for Electric Power Development”, proposing to increase the ratio of natural gas utilization and orderly develop natural gas power generation, by then, the application of electricity and natural gas will be closer (National Development and Reform Commission of the People's Republic of China, 2016). Complementary power generation is a way to increase energy utilization in the context of current energy shortages, and is widely used in the field of distributed new energy (Xiong et al., 2015). At present, the world is based on the complementary characteristics of different primary energy. In the production process of secondary energy, through reasonable coordination and cooperation, it can achieve good energy efficient use and stable supply of electrical energy. Wind-solar complementary system is one of the most in-depth complementary systems in research. Literature (Benlahbib et al., 2020) proposed a hybrid microgrid system based on wind and solar power generation for remote area applications. Through the control of power electronic devices to improve the utilization of power, but there is no mutual influence between the systems. Literature (Tan et al., 2021) proposes a wind-solar-water hybrid power generation system, which uses different energy sources to complement each other, reduces the impact of wind and solar fluctuations on electric energy, and improves the quality of power output from the grid. Since the influencing factors in the multi-energy complementary system are more complicated, a unilateral increase in the efficiency of energy production cannot improve the overall coordinated operation of the system. Therefore, literature (Bouchekara et al., 2021) uses a multi-objective method to optimize the design of the microgrid, and obtains the optimal solution according to the needs to maximize the system economy.
The above-mentioned complementary models are mainly based on wind-solar complementation, and there are few domestic and foreign researches on the combination of wind and natural gas. The national natural gas ownership is low and unevenly distributed, the natural gas reserves are insufficient, and the network infrastructure is relatively backward. In 2017, China needed a total of 230 billion m3 of natural gas for production and living, but the gas production was only 138 billion m3, and the natural gas supply was insufficient. In addition, according to China’s specific conditions, China’s residential gas has a higher priority than non-residential gas industries (Sun et al., 2018). When the natural gas supply is insufficient, priority will be given to limiting the natural gas supply of gas-fired units, thus limiting the variation range of their output power, thereby reducing the wind power consumption capacity of the power system. Therefore, this is also a factor restricting the development of gas power generation technology in China.
Due to gas turbine has the characteristics of high operation flexibility and rapid response, Therefore, gas turbines as a supplementary energy source have broad prospects for solving the adverse effects of wind and photovoltaic power generation. Literature (Chen et al., 2020) established a hotspot co-generation model to combine natural gas with wind energy and solar energy to increase the power generation and energy efficiency of renewable energy. In reference (Yao, 2020) Established a short-term coordination plan for electricity and natural gas and a real-time dispatch system to predict short-term wind power changes to reduce forecast errors and reduce the impact of energy uncertainty on air pressure changes. But when the output of wind power is insufficient, it cannot provide enough power to the grid.
Therefore, this article aims at the problem that wind power cannot provide stable power, and builds a wind-gas complementary power generation system, the wind turbine, gas turbine and electrolyzer are modeled by Simulink and multi-objective optimization. The BSO algorithm is used to solve the multi-objective optimization model, and the economic and environmental factors of the wind and air complementary system are analyzed, which can significantly reduce the investment cost of the system. BSO algorithm is used to improve BP network, which improves the prediction accuracy of BP network, and compare the load forecast results with the output of wind power and gas power generation. The wind-gas complementary power generation system is proved to be able to effectively improve the volatility of wind power generation, improve the power quality, and the energy can be fully utilized. The analysis results further prove the rationality of the model and the superiority of BSO-BP network algorithm.
Model introduction
Wind-gas complementary power generation system structure
The complementary power generation system composed of wind generators, micro gas turbines, AC/DC converter, electrolyzers and other equipment connected to the grid can provide electrical energy for the loads in the entire region. The system is shown in Figure 1. The excess power enters the electrolyzer to electrolyze water and store hydrogen.

System structure diagram.
Dynamic mathematical model of micro gas turbine
Compressor
The micro gas turbine studied in this paper uses a centrifugal compressor. The characteristics of the compressor are usually described by the compressor performance curve. The compressor characteristic curve is expressed by the equivalent flow
Pressure ratio and efficiency are the combined flow rate
Volumetric inertia
A volumetric inertia model was developed considering the instability of flow caused by the pipeline between the compressor and the combustion chamber and the internal combustion chamber (Zhong and Yan, 2019). Using the lumped-parameter method, assume that the pressure loss is concentrated at the outlet
Combustion chamber
The combustion chamber is a component with strong heat transfer characteristics. The imbalance of energy input and output will cause temperature change, so the thermal inertia of flue gas in combustion chamber is considered. The dynamic equation describing the flue gas temperature at the combustor outlet is obtained from the unsteady energy balance equation
Turbine
Centripetal turbine is widely used in micro gas turbine. Like centrifugal compressor, the reduced flow rate
Rotor
Without considering the load characteristics of the turbine, only the output power is considered, the inertia equation of rotor rotation is as follows
Wind power generation model
The aerodynamic model of wind turbine is (Kong et al., 2021)
Alkaline electrolyzer model
The
The hydrogen production rate of alkaline electrolyzer is
The overall power consumption of the electrolytic cell can be expressed as
Introduction of BSO algorithm
Brief introduction of algorithm
The process of brainstorming is a creative way for people to solve problems. The process of solving problems is to gather people from different professional fields for divergent thinking, collision of ideas and fusion of ideas, and finally find the most suitable solution. BSO algorithm is an optimization algorithm obtained by abstracting the brainstorming process. BSO algorithm is obtained by abstracting the various elements and processes in the brainstorming process. Each idea in the brainstorming process is abstracted in the algorithm as an individual in the optimization problem solution space, and the set of individuals is represented as a viable solution to the optimization problem. The algorithm abstracts the different stages of the brainstorming process into four operations: clustering, mutation, generation of new individuals, and selection. Four operations are used to update individuals, and ultimately the best solution to the problem is found (Chen et al., 2019b).
Brain storming algorithm is mainly composed of clustering and mutation. K-means clustering algorithm is a BSO clustering method, similar individuals are grouped together as a group, forming a total of k categories, and takes the optimal individual of fitness function value set by itself as the clustering center. At the same time, there is a certain probability that a new population individual will replace one of the cluster centers to avoid falling into the local optimum.
There are four main variation modes of BSO:
Randomly select the best individual in a class and add a disturbance variable to form a new population mutant individual Arbitrarily select individual elements in a population to add random interference to form a new population element; Fusion of two random class centers and randomly adding disturbances to generate a new population individual; Pick two classes arbitrarily from all classes, merge any two individuals in the two classes and add random disturbance to generate a new mutant individual.
The probability that the most prominent individual in each cluster center is selected is
The new individual generation formula is as follows
BSO algorithm flow
Initialization: Clustering: Divide Mutation: Randomly generate a random number Generate new individuals: first generate the random number If if Otherwise, randomly select class non-central individuals as candidate individuals If If Otherwise, two non central individuals are randomly selected from the two classes, which are denoted as
Fuse individual 5. Individual selection: The fitness of the new individual Y is compared with the currently updated individual. Individuals with good fitness enter the next generation. After all n individuals are updated, go to 6), otherwise go to 4) to update the individual; 6. If the individual reaches the optimal solution condition or reaches the preset number of algorithm iteration termination times, the algorithm stops running, otherwise go to 2) Start a new iteration process (Chen et al., 2019a).
Bso-BP neural network prediction model
In the fields of pattern recognition, signal processing, etc., the influence of BP neural network is quite large, but there is still a difficult problem in the design of the network, that is, the determination of the structure. The weight value and threshold value of the BP neural network are randomly assigned. This paper uses the BSO algorithm to optimize, after training, the optimized BP neural network is used to predict the load (Liang et al., 2019). The algorithm flow of BSO-BP neural network is shown in Figure 2.

BSO-BP algorithm flow chart.

The fitness convergence curve of the three algorithms.
System optimization configuration model
Objective function
The objective function is established with the minimum economic cost of system operation and minimum environmental pollution as the optimization objective (Zhao et al., 2021; Zhu and Liu, 2017)
Objective function 1: Economic cost
For the microgrid, the main expenditures come from the operation and maintenance costs of the gas turbine and the cost of fuel consumption, as well as the cost of interaction with the electric power of the large grid
Operation and maintenance cost
Power grid interaction cost
Objective function 2: Environmental cost
Minimal cost of system environmental pollution control
Because the optimal economic cost and the optimal environmental cost are contradictory, the linear weighting method is used to express the comprehensive benefits as
Constraints
Power balance constraints (Gao et al., 2020; Li and Li, 2018)
2. System and grid interaction power constraints
where
where 3. Constraints on the output of each output source
where
Case analysis
Taking the load change in a certain area in the northern winter as the research object, selecting the load data of 24 hours a day for a period of time and predicting with a group of ten days, setting 1 h as the sampling time node for data collection and sample training. The parameter settings are shown in Table 1.
Parameters of the system.
The NSGA-II algorithm is a fast non-dominated sorting genetic algorithm. It is one of the commonly used algorithms for solving multi-objective optimization problems. It belongs to the group intelligence optimization algorithm like the brainstorming algorithm (BSO) and the particle swarm optimization algorithm (PSO). This paper verifies the advancement and rationality of the algorithm proposed in this paper by comparing the BSO algorithm with the NSGA-II algorithm and the PSO algorithm under the same conditions.
Figure 3 shows the convergence curves of the three algorithms. In the figure, the BSO algorithm begins to converge at the earliest and reaches the minimum when the number of iterations is 4. The fitness value of the NSGA-II algorithm reaches the minimum when the number of iterations is 10, and the fitness value of the PSO algorithm reaches the minimum when the number of iterations is 40. Therefore, it can be known that the BSO algorithm has the fastest convergence speed and can obtain the optimal solution to the problem in the shortest time. The convergence speed of the NSGA-II algorithm is lower than that of the BSO algorithm, and its convergence effect and solution ability are poor. The PSO algorithm has the worst convergence effect and the lowest solution ability.
After optimizing BP neural network with BSO algorithm, the load data collected in recent years are trained and predicted. The result is shown in Figure 4. The trend in the figure shows that the fitting degree between the predicted change trend and the actual change trend is very high. From the error distribution diagram in Figure 5, it can be found that the error of each prediction point does not exceed 0.08, which has high prediction accuracy. Therefore, the BSO-BP algorithm has higher forecasting accuracy and smaller forecasting errors for load forecasting.

BSO-BP neural network load forecasting curve.

Load forecast error curve.
The system configuration of each component of the system is shown in Table 2.
System configuration.
The working parameters of the electrolytic cell are shown in Table 3.
Working parameters.
It can be seen from Table 3 that there are many influencing factors in the hydrogen production process of the electrolytic cell. Therefore, in the modeling and simulation process, reasonable values are selected according to the range of each parameter in the table to simulate the working process of the electrolytic cell.
Take typical northern winter days as the analysis object, it is divided into two scenes for comparative analysis as shown in Table 4.
Scene setting.
It can be seen from Figure 6 that when the economic cost is the smallest, the gas turbine has a larger output. When the wind power output capacity is insufficient to meet the load demand, the gas turbine generates power to compensate for the required power. When considering environmental factors, as shown in Figure 7, the gas turbine cannot be operated for a long time. It only 7:00–8:00, 11:00–14:00 and 18:00–20:00 can run power generation to supplement the insufficient wind power output. Among them, the wind speed in the time period of 11:00–18:00 is relatively low, and the output power cannot meet the local load demand. It can be seen in Figure 6 that when the output capacity of wind power is insufficient, the electric energy generated by the gas turbine can make up for the insufficient output of wind power to meet the load demand. As shown in Figure 7, due to environmental cost factors, the gas turbine cannot be operated continuously for a long time. It only runs at a specific time in the morning, midnight and evening, and can play a role in compensating wind power during its operation time. In the time period of 0:00–6:00 and 15:00–17:00, the gas turbine stops working. At this time, the wind speed is low, and the wind power output cannot meet the load demand. Therefore, the energy management center needs to distribute electric energy from the grid to the load.

Scenario 1 system output diagram.

Scenario 2 system output diagram.
For the system to purchase electricity from the grid, as shown in Figure 8, the required value for scenario 1 is much lower than scenario 2. Although the scenario 2 reduces the working time of the gas turbine and relatively reduces the emission of pollutants, the reduction in environmental costs due to the increase in power purchase does not reduce the overall cost of the system, but increases the cost of the system. When the power generation of the system can meet the load demand, the system will send the excess power to the electrolytic cell device, electrolyze water in the electrolytic cell to produce hydrogen, and store the electrical energy in the form of chemical energy. By observing Figure 9, it can be found that the input power and working time of the electrolytic cell in scenario 1 are much greater than the input power and working time of the electrolytic cell in scenario 2. Therefore, more hydrogen energy can also be generated in scenario 1, which improves energy utilization.

Comparison of power purchase curves in different scenarios.

Electrolytic cell power curve in different scenarios.
Conclusion
This paper takes wind power and gas complementary systems as the research object, and proposes a load optimization algorithm based on BSO-BP. The energy management and load forecast of wind power and gas complementary systems are studied with the goal of minimizing the system cost. Conclusion as below:
The BSO algorithm is used to solve the multimodal high-dimensional function problem to optimize the initial weights and thresholds of the BP neural network, to improve the network performance, to make it converge quickly to a better solution, to improve the accuracy of load forecasting and to reduce the error of load forecasting. Through multi-objective optimization calculation and analysis of economic costs and environmental costs, it is proved that the BSO algorithm can make the total cost of the system reach the most economical level, and make the benefit of the system reach the best. After analysis of calculation examples, it is found that gas-fired power generation can effectively make up for the insufficiency of wind power generation at low wind speeds, and minimize the fluctuation of the power grid. The wind-gas complementary system can effectively increase energy utilization and reduce wind curtailment.
