Comprehensive energy configuration method and device of wind, light and hydrogen, electronic equipment and storage medium
By acquiring and calculating typical sunshine data, a mathematical model of the combined heat and power supply integrated energy system was established, and the capacity constraints were optimized using the honey badger algorithm, which solved the problem of low energy utilization in the existing technology and improved the energy utilization of the system. and scenery absorption ability.
Patent Information
- Application Number
- CN202411285287.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-01-17
AI Technical Summary
The energy utilization rate of each equipment in the existing integrated energy system is low, resulting in insufficient flexibility and sustainable energy utilization.
By obtaining typical daily wind and light data, calculating typical daily wind and light power data, and based on the mathematical model of the combined heat and power supply integrated energy system, the honey badger algorithm is used to optimize capacity constraints to minimize the total cost, obtain a comprehensive energy allocation scheme for wind and light hydrogen, and improve energy Utilization rate and scenery absorption capacity.
It effectively improves the overall energy utilization rate of the system, reduces the capacity planning and cost of each equipment, and significantly improves the flexibility of the system and the ability to absorb scenery.
Smart Images

Figure CN119323319A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of capacity configuration of integrated energy systems, and in particular to a method, device, electronic equipment and storage medium for integrated energy configuration of wind, solar and hydrogen. Background Art
[0002] In order to adapt to the trend of international energy transformation, my country will accelerate the construction of new energy industries such as wind power and photovoltaics, promote clean, low-carbon, safe and efficient use of energy, and enhance the consumption and storage capacity of new energy. In recent years, with the continuous increase in the penetration rate of wind power and photovoltaics, promoting their consumption and efficient use faces huge challenges. The wind, solar and hydrogen integrated energy system has become an effective solution for some developed countries to solve this problem due to its clean and efficient advantages.
[0003] The wind-solar-hydrogen integrated energy system usually includes wind power generation, photovoltaic power generation, hydrogen production and storage, etc., aiming to improve the stability and reliability of the energy system through the complementarity of multiple energy forms. This system can handle the intermittent and unstable nature of renewable energy, while using hydrogen as a storage medium and secondary energy carrier.
[0004] At present, increasing the proportion of clean energy and the energy utilization rate of the system have become important goals for the development of integrated energy systems. Adding cogeneration technology to integrated energy systems can achieve this goal well. The cogeneration system is a highly efficient energy utilization technology. While generating electricity, it recycles and utilizes the waste heat generated in the power generation process for heating, hot water supply or industrial process heating, thereby improving the overall energy utilization rate. When the cogeneration system is combined with a wind, solar and hydrogen integrated energy system, the flexibility and sustainability of energy utilization can be further improved. However, the problem of low energy utilization rate of each device in the integrated energy system in the prior art needs to be solved urgently. Therefore, there is a technical problem of low energy utilization rate of each device in the integrated energy system in the prior art. Summary of the invention
[0005] In view of this, it is necessary to provide a comprehensive energy configuration method, device, electronic equipment and storage medium for wind, solar and hydrogen to solve the technical problem of low energy utilization rate of each equipment in the comprehensive energy system in the prior art.
[0006] In order to solve the above technical problems, on the one hand, the present invention provides a comprehensive energy configuration method of wind, solar and hydrogen, comprising: Get typical day scenery data; Based on the typical day wind and solar data, typical daily power data is obtained; A mathematical model of a combined heat and power integrated energy system is established based on the typical day wind and solar data, and the typical daily power data is input into the mathematical model, a capacity constraint condition of the integrated energy system is constructed based on the typical daily power data, and a minimum system investment cost is obtained, and a total cost objective function is established based on the minimum system investment cost; Based on the Honey Badger algorithm and the capacity constraints, the total cost objective function is solved to obtain a comprehensive energy configuration plan for wind, solar and hydrogen.
[0007] In a possible implementation, the typical day scenery data is obtained by the following steps: Acquire historical data of the target area; the historical data includes: wind turbine data and photovoltaic generator data; Based on the historical data of the target area, typical day scenery data is obtained.
[0008] In a possible implementation, obtaining typical day scenery data based on historical data of the target area includes: Cluster analysis is performed based on the historical data of the target area to obtain typical day scenery data.
[0009] In a possible implementation, the calculation formula of the typical daily power data is:
[0010] in, for The power generation of the wind turbine at any moment, is the rated power of the wind turbine generator set, For historical wind speed data The wind speed at the moment, is the cut-in wind speed of the wind turbine, is the cut-out wind speed of the wind turbine and is the rated wind speed of the wind turbine.
[0011] In a possible implementation, the capacity constraint of the integrated energy system is:
[0012] in, for The electricity generated by the wind turbine at any given moment, for The electricity generated by the photovoltaic array at any moment, for The electricity generated by the gas turbine at the moment, for The electricity generated by the fuel cell at all times, for The electricity consumed by the electrolyzer to produce hydrogen and the electricity consumed by the methanogenization equipment to produce methane at all times, for The electrical load demand at any time, for The electric energy consumed by the electric heating boiler at any time, for The heat energy generated by the gas turbine at all times, for The heat energy generated by the gas boiler at all times, for The heat energy generated by the electric heating boiler at all times, for The waste heat generated by fuel cells at all times for The waste heat generated by the P2G equipment at all times, for The output heat of the heat storage tank at any moment, for The input heat of the heat storage tank at any moment, for The heat load demand at any time, for The amount of hydrogen produced by the electrolyzer at any given moment, for The amount of hydrogen consumed by the fuel cell at any given moment. for The amount of hydrogen consumed by the methanogenation equipment at any given moment, for The hydrogen output of the hydrogen storage tank at any time They are The amount of hydrogen input into the hydrogen storage tank at any given moment.
[0013] In a possible implementation, the total cost objective function is:
[0014] in, is the total cost, is the construction cost and operation and maintenance cost of the wind turbine. is the construction cost and operation and maintenance cost of the photovoltaic array, The construction cost and operation and maintenance cost of the gas turbine. The construction cost and operation and maintenance cost of the gas boiler. The construction cost and operation and maintenance cost of P2G equipment. The construction cost and operation and maintenance cost of the electric heating boiler. The construction cost and operation and maintenance cost of carbon capture equipment. is the construction cost and operation and maintenance cost of the heat storage tank, The construction cost and operation and maintenance cost of the hydrogen storage tank. Penalties for abandoning wind and solar power Penalty costs for the environment.
[0015] In a possible implementation, the honey badger algorithm is obtained by the following steps: A honey badger algorithm is obtained, and the honey badger algorithm is optimized based on the golden sine strategy and horizontal crossover to obtain an updated honey badger algorithm.
[0016] On the other hand, the present invention also provides a comprehensive energy configuration device for wind, solar and hydrogen, comprising: Acquisition module, used to obtain typical day scenery data; A calculation module, used for obtaining typical daily power data based on the typical day wind and solar data; A mathematical model module is used to establish a mathematical model of a combined heat and power integrated energy system based on the typical day wind and solar data, and input the typical daily power data into the mathematical model, construct a capacity constraint condition of the integrated energy system based on the typical daily power data, and obtain a minimum system investment cost, and establish a total cost objective function based on the minimum system investment cost; The output module is used to solve the total cost objective function based on the Honey Badger algorithm and the capacity constraints to obtain a comprehensive energy configuration plan for wind, solar and hydrogen.
[0017] On the other hand, the present invention also provides an electronic device, including a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the comprehensive energy configuration method of wind, solar and hydrogen in any of the above-mentioned implementation methods.
[0018] On the other hand, the present invention also provides a computer-readable storage medium for storing computer-readable programs or instructions, which, when executed by a processor, can implement the steps in the comprehensive energy configuration method of wind, solar and hydrogen described in any of the above-mentioned implementation methods.
[0019] The beneficial effect of the present invention is that the comprehensive energy configuration method of wind, solar and hydrogen provided by the present invention comprises: Acquire typical day wind and solar data, and obtain typical daily power data based on the typical day wind and solar data. The purpose of this is to obtain typical day wind and solar data of wind turbines and photovoltaic generators in the target area, and perform power calculation based on the aforementioned data to obtain typical daily power data; establish a mathematical model of a combined heat and power integrated energy system based on the typical day wind and solar data, and input the typical daily power data into the mathematical model, construct capacity constraints of the integrated energy system based on the typical daily power data, and obtain the minimum system investment cost. Based on the minimum system investment cost, establish a total cost objective function. The purpose of this is to establish a combined heat and power integrated energy system based on the typical daily power data. The mathematical model of the combined energy system, the cogeneration system is a high-efficiency energy utilization technology, which recycles the waste heat generated in the power generation process while generating electricity, and uses it for heating, hot water supply or engineering process heating, thereby improving the overall energy utilization rate; based on the Honey Badger algorithm and the capacity constraints, the total cost objective function is solved to obtain a comprehensive energy configuration plan for wind, solar and hydrogen. The purpose of this is to use the cogeneration integrated energy system to solve the total cost objective function through the optimized Honey Badger algorithm and capacity constraints on the basis of minimum cost, and obtain a comprehensive energy configuration plan for wind, solar and hydrogen, so that the system energy utilization rate and wind and solar absorption capacity can be improved on the basis of minimum cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 A schematic flow chart of an embodiment of the comprehensive energy configuration method of wind, solar and hydrogen provided by the present invention; Figure 2 A schematic diagram of an embodiment of the comprehensive energy configuration method for wind, solar and hydrogen provided by the present invention; Figure 3 A light intensity clustering diagram of an embodiment of the wind-solar-hydrogen comprehensive energy configuration method provided by the present invention; Figure 4 A wind speed clustering diagram of an embodiment of the wind-solar-hydrogen comprehensive energy configuration method provided by the present invention; Figure 5 A diagram showing the operation effect of a carbon capture device in one embodiment of the wind-solar-hydrogen comprehensive energy configuration method provided by the present invention; Figure 6An updated Honey Badger algorithm flow chart of an embodiment of the wind-solar-hydrogen comprehensive energy configuration method provided by the present invention; FIG7 is a heat power balance diagram with and without cogeneration of heat and power according to an embodiment of the comprehensive energy configuration method of wind, solar and hydrogen provided by the present invention; Figure 8 A schematic diagram of the structure of an embodiment of the comprehensive energy configuration device for wind, solar and hydrogen provided by the present invention; Fig. 9 A schematic structural diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0022] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0023] In the description of the embodiments of the present application, unless otherwise specified, “plurality” means two or more than two.
[0024] The terms "including" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product or equipment comprising a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules not clearly listed or inherent to these processes, methods, products or equipment.
[0025] The naming or numbering of the steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.
[0026] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0027] The present invention provides a comprehensive energy configuration method, device, electronic device and storage medium for wind, solar and hydrogen, which are described below respectively.
[0028] Figure 1 A flow chart of an embodiment of the comprehensive energy configuration method of wind, solar and hydrogen provided by the present invention and Figure 2 A schematic diagram of an embodiment of the comprehensive energy configuration method for wind, solar and hydrogen provided by the present invention includes: S101, obtaining typical day scenery data; S102, obtaining typical daily power data based on the typical day wind and solar data; S103, establishing a mathematical model of a combined heat and power integrated energy system based on the typical day wind and solar data, and inputting the typical daily power data into the mathematical model, constructing a capacity constraint condition of the integrated energy system based on the typical daily power data, and obtaining a minimum system investment cost, and establishing a total cost objective function based on the minimum system investment cost; S104. Solve the total cost objective function based on the Honey Badger algorithm and the capacity constraint conditions to obtain a comprehensive energy configuration plan for wind, solar and hydrogen.
[0029] It is understandable that the implementation steps of the present invention are as follows: First, obtain the historical data of the area where the wind turbines and photovoltaic generators are located and cluster them to form typical daily wind and light data; then, obtain the typical daily power data based on the typical daily wind and light data; then, establish a mathematical model of the combined heat and power integrated energy system, including wind turbines, photovoltaic arrays, gas turbines, gas boilers, fuel cells, electrolyzers, P2G, electric heating boilers, carbon capture equipment, hydrogen storage tanks, heat storage tanks, and waste heat recovery devices, and obtain the balance relationship between electric power and thermal power; then, perform capacity constraints and operation constraints on the capacity configuration of the integrated energy system; finally, minimize the system investment cost, establish the objective function, and use the improved honey badger algorithm to solve it. The present invention can effectively utilize the waste heat generated in the integrated energy system, effectively improve the overall energy utilization rate of the system, reduce the capacity planning and cost of each device, and significantly improve the system flexibility and wind and light absorption capacity.
[0030] It needs to be further explained that the present invention establishes a capacity configuration model for the wind, solar and hydrogen integrated energy system considering cogeneration of heat and power, including: wind turbines, photovoltaic arrays, fuel cells, P2G equipment, gas turbines, gas boilers, electric heating boilers, carbon capture equipment, heat storage tanks, hydrogen storage tanks, and waste heat recovery devices.
[0031] Figure 3 The illumination intensity cluster diagram of an embodiment of the wind-solar-hydrogen comprehensive energy configuration method provided by the present invention includes: Acquire historical data of the target area; the historical data includes: wind turbine data and photovoltaic generator data; Based on the historical data of the target area, typical day scenery data is obtained.
[0032] It can be understood that the historical data of the area where the wind turbine generator set and the photovoltaic generator set are located are obtained and clustered to form the typical day wind and light data; then, the typical daily power data is obtained based on the typical day wind and light data. The wind turbine generator set is used to convert wind energy into electrical energy to supply the system electrical load demand and the P2G equipment electrical energy demand.
[0033] Figure 4 A wind speed clustering diagram of an embodiment of the comprehensive energy configuration method for wind, solar and hydrogen provided by the present invention includes: Cluster analysis is performed based on the historical data of the target area to obtain typical day scenery data.
[0034] It can be understood that typical day data is generated by clustering historical wind speed data, and the power generation data of the wind turbine generator set on a typical day is calculated based on the typical day data.
[0035] In some embodiments of the present invention, the calculation formula of the typical daily power data is: (1) in, for The power generation of the wind turbine at any moment, is the rated power of the wind turbine generator set, For historical wind speed data The wind speed at the moment, is the cut-in wind speed of the wind turbine, is the cut-out wind speed of the wind turbine and is the rated wind speed of the wind turbine.
[0036] It can be understood that the photovoltaic array is used to convert light energy into electrical energy to supply the system electrical load demand and the P2G device electrical energy demand. The typical day data is generated by clustering the historical light data, and the power generation data of the photovoltaic array on the typical day is calculated based on the typical day data, including: (2) in, for The electrical energy generated by the photovoltaic array at every moment; is the total area of PV panels in the PV array; is the power generation efficiency of the photovoltaic panel; for The amount of solar energy available to photovoltaic panels per unit area at any given moment.
[0037] The gas turbine is used to consume methane to generate electricity and heat to meet the system's electricity and heat needs. The gas turbine output is related to its own output characteristics, and its mathematical expression is: (3) in, for The electrical energy generated by the gas turbine at each moment; For gas turbine power generation efficiency; for The amount of gas consumed by the gas turbine at any given moment; for The heat energy generated by the gas turbine at all times; is the waste heat recovery efficiency.
[0038] The gas boiler is used to consume methane to generate heat energy to supply the system's heat energy needs. The output of the gas boiler is related to its own output characteristics, and its mathematical expression is: (4) in, for The heat energy generated by the gas boiler at all times; The heating efficiency of the gas boiler; for The amount of gas consumed by the gas boiler at each moment.
[0039] The fuel cell is used to assist in providing electrical energy, and the waste heat generated during the power generation process is used to meet the heat load requirements. The mathematical expression of the output electrical energy of the fuel cell is: (5) in, for The electricity generated by the fuel cell at all times; for The amount of hydrogen consumed by the fuel cell at any given moment; The amount of hydrogen required to produce a unit of electricity; For fuel cell working efficiency; for The heat energy generated by the fuel cell at all times.
[0040] The P2G equipment is divided into two parts: electrolytic cell hydrogen production and methanogenic equipment methane production. It is used to produce hydrogen to supply the hydrogen demand of fuel cells and methanogenic equipment. The waste heat generated during the working process supplies the heat load demand. The electrolytic cell consumes electricity to electrolyze water to produce hydrogen, and its mathematical expression is: (6) in, for The amount of hydrogen produced by the electrolyzer at the moment; for The electrical energy consumed by the electrolyzer at any given moment; The working efficiency of the electrolyzer; The amount of hydrogen produced by electrolysis per unit of electrical energy.
[0041] The methane production process of methanation equipment is a chemical equation that converts carbon monoxide and hydrogen into methane. Its chemical expression is as follows: (7) Its mathematical expression is as follows: (8) in, for The amount of methane produced by the methanogenization equipment at any given moment; for The electrical energy consumed by the methanogenation equipment at any given moment; The working efficiency of the methanogenation equipment; is the amount of methane produced per unit of electrical energy used for methanogenesis.
[0042] The mathematical expression of power consumption and heat generation of P2G equipment is: (9) The carbon capture equipment (CCS) is used to collect carbon dioxide produced by the gas turbine and gas boiler and supply it to the methanogenization equipment. The CCS includes an absorption tower and a regeneration tower. Its energy consumption is the same as that of the regeneration tower. The specific expression is as follows: (10) in, For processing unit mass Energy consumption, ; for The carbon capture regeneration tower is used to process quality.
[0043] Since carbon capture consumes a lot of energy, this paper adopts CCS with flue gas diversion, which can be used to capture carbon dioxide through active emission. To achieve the purpose of controlling carbon capture energy consumption, the specific expression is as follows: (11) in, for Total emissions of the unit at the moment; for Moment CCS absorbed The amount of for The flue gas is discharged into the atmosphere at all times The amount.
[0044] Since the energy consumption of carbon capture is mainly concentrated in the regeneration tower, this paper uses liquid storage equipment to perform energy time shifting, effectively eliminating The absorption and regeneration process are coupled. The liquid storage device includes lean liquid and rich liquid storage devices. and Respectively represent The reserves of the rich liquid and lean liquid storage equipment at each moment are expressed as follows: (12) The heat storage tank is used to store the heat energy generated by the equipment in the system and provide it to the residents to meet their heat load requirements. The mathematical expression of the heat storage tank model taking into account its own power loss is as follows: (13) in, for The capacity of the heat storage tank at any given moment; is the self-loss coefficient of the heat storage tank; and are the charging and discharging heat powers of the heat storage tank respectively; and are the thermal energy charging and discharging efficiencies of the heat storage tank respectively.
[0045] The hydrogen storage tank is used to store the hydrogen generated by the P2G device in the system and provide it to the fuel cell. The hydrogen storage tank is used to store hydrogen. According to the van der Waals real gas state equation, its mathematical expression is: (14) in, is Avogadro's constant, ; is the temperature in Kelvin; is the volume of the hydrogen storage tank; is the amount of hydrogen in the hydrogen storage tank; , is the proportionality coefficient, respectively , ; is the initial hydrogen storage capacity of the hydrogen storage tank; is the storage status of the hydrogen storage tank; is the maximum pressure.
[0046] The waste heat recovery device transfers heat energy from high-temperature fluid to low-temperature fluid through direct heat exchange, and its recovery efficiency is .
[0047] The electric heating boiler generates heat energy by consuming electrical energy, and can be used when the system is short of heat but has excess electrical energy. Its mathematical expression is: (15) in, for The heating power of the electric heating boiler at all times; The energy conversion efficiency of the electric heating boiler; for The power consumption of the electric heating boiler at all times.
[0048] Each device in the integrated energy system must meet the power upper and lower limit constraints: (16).
[0049] In some embodiments of the present invention, the capacity constraint condition of the integrated energy system is: (17) in, for The electricity generated by the wind turbine at any given moment, for The electricity generated by the photovoltaic array at any moment, for The electricity generated by the gas turbine at the moment, for The electricity generated by the fuel cell at all times, for The electricity consumed by the electrolyzer to produce hydrogen and the electricity consumed by the methanogenization equipment to produce methane at all times, for The electrical load demand at any time, for The electric energy consumed by the electric heating boiler at any time, for The heat energy generated by the gas turbine at all times, for The heat energy generated by the gas boiler at all times, for The heat energy generated by the electric heating boiler at all times, for The waste heat generated by fuel cells at all times for The waste heat generated by the P2G equipment at all times, for The output heat of the heat storage tank at any moment, for The input heat of the heat storage tank at any moment, for The heat load demand at any time, for The amount of hydrogen produced by the electrolyzer at any given moment, for The amount of hydrogen consumed by the fuel cell at any given moment. for The amount of hydrogen consumed by the methanogenation equipment at any given moment, for The hydrogen output of the hydrogen storage tank at any time They are The amount of hydrogen input into the hydrogen storage tank at any given moment.
[0050] In some embodiments of the present invention, the total cost objective function is: (18) in, is the total cost, is the construction cost and operation and maintenance cost of the wind turbine. is the construction cost and operation and maintenance cost of the photovoltaic array, The construction cost and operation and maintenance cost of the gas turbine. The construction cost and operation and maintenance cost of the gas boiler. The construction cost and operation and maintenance cost of P2G equipment. The construction cost and operation and maintenance cost of the electric heating boiler. The construction cost and operation and maintenance cost of carbon capture equipment. is the construction cost and operation and maintenance cost of the heat storage tank, The construction cost and operation and maintenance cost of the hydrogen storage tank. Penalties for abandoning wind and solar power Penalty costs for the environment.
[0051] Figure 5 A carbon capture device operation effect diagram of an embodiment of the wind-solar-hydrogen comprehensive energy configuration method provided by the present invention, Figure 6 FIG7 is an updated Honey Badger algorithm flow chart of an embodiment of the comprehensive energy configuration method for wind-solar-hydrogen provided by the present invention and FIG7 is a heat power balance diagram with or without cogeneration of an embodiment of the comprehensive energy configuration method for wind-solar-hydrogen provided by the present invention, including: A honey badger algorithm is obtained, and the honey badger algorithm is optimized based on the golden sine strategy and horizontal crossover to obtain an updated honey badger algorithm.
[0052] It can be understood that the wind and solar data and electric and thermal load requirements of a certain region are selected as an example for explanation, and the specific steps are as follows: Step 1: Take the wind and solar data and electric heat load demand of a certain area as a case, use the K-means algorithm to cluster the wind power data and photovoltaic data throughout the year, and obtain 6 wind power output scenarios and 6 photovoltaic output scenarios. Use the median of the cumulative fluctuation as an indicator to select the typical day of each scenario, that is, calculate the cumulative fluctuation of all days in each scenario, and arrange them in order from large to small, and take the day corresponding to the median as the typical day of this type of scenario.
[0053] Based on typical daily data, the predicted output data of the wind turbine generator set is calculated using formula (1).
[0054]
[0055] Considering wind curtailment, (19) in, for The electricity generated by the wind turbine at any given moment, for The amount of wind abandoned at the time, for Predicted output of wind turbines at each moment is the wind abandonment rate.
[0056] Based on typical day data, the predicted output data of the photovoltaic array is calculated using formula (2).
[0057]
[0058] Considering the abandoned light, it is also necessary to meet (20) in, for The electricity generated by the photovoltaic array at any moment, for The amount of light abandoned at a given moment, for The predicted output of the photovoltaic array at the moment and is the light abandonment rate.
[0059] According to formula (3), the gas turbine model is constructed and the constraints are set: (twenty one) in, , They are the upper and lower limits of gas turbine electrical output climb respectively.
[0060] According to formula (4), the gas boiler model is constructed and the constraints are set: (twenty two) in, , They are respectively the upper and lower limits of the thermal output of the gas boiler.
[0061] According to formula (5), the fuel cell model is constructed and the constraints are set: (twenty three) The P2G device model is constructed according to formulas (6), (8), and (9), and the constraints are set as follows: (twenty four) in, , They are the upper and lower limits of the power increase of the P2G device respectively.
[0062] The heat storage tank model is constructed according to formula (13), and the constraints are set as follows: (25) in, , The upper and lower limits of the heat storage tank capacity; , is the maximum charging and discharging power of the heat storage tank; , The charging and discharging status of the heat storage tank; is the initial capacity of the heat storage tank.
[0063] The hydrogen storage tank model is constructed according to formula (14), and the constraints are set as follows: (26) in, , The upper and lower limits of the hydrogen storage tank capacity; , is the maximum charging and discharging power of the hydrogen storage tank; , It is the charging and discharging status of the hydrogen storage tank; is the initial capacity of the hydrogen storage tank.
[0064] The electric heating boiler model is established according to formula (15), and the constraints are set as follows: (27) in, , They are respectively the upper and lower limits of the thermal output of the electric heating boiler.
[0065] Step 2: After building the model of the integrated energy system, set the objective function. The system capacity planning aims at the optimal total cost. At the same time, the abandoned wind and solar power are included in the objective function in the form of penalties to achieve the purpose of improving the system's wind and solar power absorption capacity. The total cost objective function can be expressed as: (28) in, represents the total cost, , , , , , , , , They represent the construction cost and operation and maintenance cost of wind turbines, photovoltaic arrays, gas turbines, gas boilers, P2G equipment, electric heating boilers, carbon capture equipment, heat storage tanks, and hydrogen storage tanks respectively; Punishment for abandoning the wind and the light; Penalty costs for the environment.
[0066] The construction cost and operation and maintenance cost of a wind turbine can be expressed as: (28) in, , Respectively represent the construction cost and operation and maintenance cost of wind turbines; is the installed capacity of wind turbines; is the unit cost of the wind turbine; is the depreciation rate; The useful life; is the operation and maintenance cost per unit power of the wind turbine.
[0067] The construction cost and operation and maintenance cost of a photovoltaic array can be expressed as: (29) in, , They represent the construction cost and operation and maintenance cost of the PV array respectively; is the installed capacity of the PV array; is the unit cost of the PV array; is the operation and maintenance cost per unit power of the PV array.
[0068] The construction cost and operation and maintenance cost of a gas turbine can be expressed as: (30) in, , They represent the construction cost and operation and maintenance cost of the gas turbine respectively; is the installed capacity of the gas turbine; is the unit cost of the gas turbine; is the operation and maintenance cost per unit power of the gas turbine.
[0069] The construction cost and operation and maintenance cost of a gas boiler can be expressed as: (31) in, , Respectively represent the construction cost and operation and maintenance cost of the gas boiler; is the installed capacity of the gas boiler; is the unit cost of the gas boiler; It is the operation and maintenance cost per unit power of the gas boiler.
[0070] The construction cost and operation and maintenance cost of fuel cells can be expressed as: (32) in, , They represent the construction cost and operation and maintenance cost of the fuel cell respectively; is the installed capacity of fuel cells; is the unit cost of the fuel cell; is the operation and maintenance cost per unit power of the fuel cell.
[0071] The construction cost and operation and maintenance cost of P2G equipment can be expressed as: (33) in, , They represent the construction cost and operation and maintenance cost of P2G equipment respectively; The installed capacity of P2G equipment; is the unit cost of the P2G equipment; It is the operation and maintenance cost per unit power of the P2G equipment.
[0072] The construction cost and operation and maintenance cost of an electric heating boiler can be expressed as: (34) in, , Respectively represent the construction cost and operation and maintenance cost of the electric heating boiler; The installed capacity of the electric heating boiler; The unit cost of the electric heating boiler; It is the operation and maintenance cost per unit power of the electric heating boiler.
[0073] The construction cost and operation and maintenance cost of carbon capture equipment can be expressed as: (35) in, , represent the construction cost and operation and maintenance cost of carbon capture equipment respectively; Installed capacity for carbon capture equipment; The unit cost of the carbon capture equipment; is the operation and maintenance cost per unit power of the carbon capture equipment. Figure 4 shown.
[0074] The wind power abandonment penalty and solar power abandonment penalty can be expressed as: (36) in, is the penalty cost per unit of wind abandonment; It is the penalty cost per unit of abandoned light.
[0075] The environmental penalty cost is related to carbon emissions and can be expressed as (37) in, For emission units environmental penalty costs; for time Emissions.
[0076] The parameters of each device are shown in Table 1.
[0077] Table 1 Equipment parameters
[0078] The honey badger algorithm was proposed in 2021. It describes the two hunting phases of the honey badger: the digging phase and the honey-seeking phase. These two phases use the honey badger's sense of smell and the direction of the honey guide bird to approach and obtain food respectively. The honey badger first locates the approximate location of the prey and successfully captures the prey through the sense of smell in the digging phase. The honey guide bird is able to provide information about the location of the hive, but it cannot obtain honey. Therefore, a connection is established between the honey badger and the honey guide bird. The honey guide bird leads the honey badger into the hive, and the honey badger helps the honey guide bird open the hive.
[0079] Initialize the population. Assume is the number of honey badgers, The initialization of the honey badger position is as follows: (38) in, For the The location of the honey badger; and are the upper and lower limits of the search area respectively.
[0080] Digging stage. Honey badgers have a rich sense of smell, which enables them to detect their prey even in harsh environmental conditions. The position of honey badgers during the digging stage is shown below: (39) in, The location of the honey badger after the update; For prey location; is the direction correction parameter; is a constant value greater than or equal to 1, usually set to 6, indicating the ability of the honey badger to obtain food; is the intensity factor, which indicates the control range of the honey badger over its prey; is the density factor, which is the coefficient of the change in the number of random iterations; , , A random number between 0 and 1.
[0081] Honey-seeking stage. Honey guide birds and honey badgers need to find beehives and honey respectively. Honey guide birds guide honey badgers to the food locations they find. This stage is called the honey-seeking stage. The position of honey badgers during the honey-seeking stage is shown below: (40) in, is a random number in the range of 0 to 1; This is the updated location of the honey badger.
[0082] This paper improves the algorithm through the golden sine strategy and horizontal crossover method. The golden sine strategy is a perturbation strategy used in optimization algorithms, which aims to improve the algorithm's search ability and convergence. Based on the periodicity of the sine function, the algorithm can oscillate regularly in the search space. This oscillation helps the algorithm to jump out of the local optimal solution and increase the possibility of global search. The position update of each individual may include a perturbation term based on the sine function. The amplitude and frequency of this perturbation term are dynamically adjusted based on the progress of the honey-hunting stage. The golden section ratio can effectively divide the search space, reduce the number of searches in the honey-hunting stage and maintain a high search efficiency. In each round of iteration, the search range is reduced according to the golden section ratio, which means that each iteration will be closer to the optimal solution while maintaining sufficient exploration ability. This paper introduces the golden sine strategy as a local operator into the position update formula of the honey-hunting stage, making the algorithm's search space more comprehensive and improving the algorithm's search speed and solution accuracy. At the same time, using the golden sine strategy , The parameters can narrow the search space, guide honey badgers to quickly approach the optimal individuals in the population, and reduce the possibility of the algorithm falling into the local optimum. The specific position update formula is as follows: (41) in, for A random number; for A random number; , Both A random number; , According to the golden ratio The coefficient obtained is; , These coefficients narrow the search space and allow the current value to approach the ideal value.
[0083] The Honey Badger Algorithm is optimized to find the optimal solution through the horizontal crossover method. Horizontal crossover is an operation process between two different parents. New solutions are generated through crossover, thereby enhancing the search ability of the solution space.
[0084] (42) in, , They are respectively , A solution; is a random number in the range of 0 to 1; A random number in the range of -1 to 1; , These are the two new solutions generated after the crossover.
[0085] Step 4: Based on the wind-solar-hydrogen integrated energy system considering cogeneration established in the above steps, the improved honey badger algorithm is used to solve it, and the simulation is performed on the MATLAB platform to obtain the capacity configuration result. The simulation results show that the total cost of the model is 4.75708 million yuan, while the total cost of the model without cogeneration is 4.849545 million yuan. Compared with them, the cost of the model proposed in this paper is lower.
[0086] Table 2 Capacity configuration results
[0087] The heat power balance comparison diagram with and without cogeneration is shown in Figure 7 (1) and (2). After adding cogeneration, the output of the gas turbine and gas boiler in the system is significantly reduced, which can reduce the use of fossil fuels and reduce carbon emissions. The waste heat generated by the equipment in the cogeneration system is recycled and reused, and the excess electricity is used to generate heat energy through the electric heating boiler, reducing energy waste and improving the overall energy utilization rate of the system.
[0088] The wind and solar power abandonment rates of the system that does not use cogeneration are 6.71% and 2.56% respectively, while the wind and solar power abandonment rates of the system proposed in this article are 3.44% and 2.15%, which significantly reduce the wind and solar power abandonment rates and improve the system's wind and solar power absorption capacity.
[0089] Figure 8 A schematic structural diagram of an embodiment of a comprehensive energy configuration device for wind, solar and hydrogen provided by the present invention includes: An acquisition module 801 is used to acquire typical day scenery data; A calculation module 802 is used to obtain typical daily power data based on the typical day wind and solar data; The mathematical model module 803 is used to establish a mathematical model of a combined heat and power integrated energy system based on the typical day wind and solar data, input the typical daily power data into the mathematical model, construct a capacity constraint condition of the integrated energy system based on the typical daily power data, obtain a minimum system investment cost, and establish a total cost objective function based on the minimum system investment cost; The output module 804 is used to solve the total cost objective function based on the Honey Badger algorithm and the capacity constraint conditions to obtain a comprehensive energy configuration plan for wind, solar and hydrogen.
[0090] The wind-solar-hydrogen integrated energy configuration device 800 provided in the above embodiment can implement the technical solution described in the above embodiment of the wind-solar-hydrogen integrated energy configuration method. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above embodiment of the wind-solar-hydrogen integrated energy configuration method, which will not be repeated here.
[0091] like Fig. 9 As shown, the present invention also provides an electronic device 900. The electronic device 900 includes a processor 901, a memory 902 and a display 909. Fig. 9 Only some components of the electronic device 900 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0092] In some embodiments, the processor 901 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 902, such as the comprehensive energy configuration method of wind, solar and hydrogen in the present invention.
[0093] In some embodiments, the processor 901 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 901 may be local or remote. In some embodiments, the processor 901 may be implemented in a cloud platform. In one embodiment, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-cloud, etc., or any combination thereof.
[0094] In some embodiments, the memory 902 may be an internal storage unit of the electronic device 900, such as a hard disk or memory of the electronic device 900. In other embodiments, the memory 902 may also be an external storage device of the electronic device 900, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the electronic device 900.
[0095] Furthermore, the memory 902 may include both an internal storage unit of the electronic device 900 and an external storage device. The memory 902 is used to store application software installed in the electronic device 900 and various data.
[0096] In some embodiments, the display 909 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 909 is used to display information on the electronic device 900 and to display a visual user interface. The components 901-909 of the electronic device 900 communicate with each other via a system bus.
[0097] In one embodiment, when the processor 901 executes the wind, solar, and hydrogen integrated energy configuration program in the memory 902, the following steps may be implemented: Get typical day scenery data; Based on the typical day wind and solar data, typical daily power data is obtained; A mathematical model of a combined heat and power integrated energy system is established based on the typical day wind and solar data, and the typical daily power data is input into the mathematical model, a capacity constraint condition of the integrated energy system is constructed based on the typical daily power data, and a minimum system investment cost is obtained, and a total cost objective function is established based on the minimum system investment cost; Based on the Honey Badger algorithm and the capacity constraints, the total cost objective function is solved to obtain a comprehensive energy configuration plan for wind, solar and hydrogen.
[0098] It should be understood that when the processor 901 executes the comprehensive energy configuration program of wind, solar and hydrogen in the memory 902, in addition to the above functions, other functions can also be realized. For details, please refer to the description of the corresponding method embodiment above.
[0099] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 900 mentioned, and the electronic device 900 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable electronic devices may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 900 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0100] Accordingly, an embodiment of the present application also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, it can implement the steps or functions of the comprehensive energy configuration method of wind, solar and hydrogen provided in the above-mentioned method embodiments.
[0101] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0102] The above is a detailed introduction to the comprehensive energy configuration method, device, electronic device and storage medium for wind, solar and hydrogen provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A comprehensive energy configuration method for wind, solar and hydrogen, characterized in that: include: Get typical day scenery data; Based on the typical day wind and solar data, typical daily power data is obtained; A mathematical model of a combined heat and power integrated energy system is established based on the typical day wind and solar data, and the typical daily power data is input into the mathematical model, a capacity constraint condition of the integrated energy system is constructed based on the typical daily power data, and a minimum system investment cost is obtained, and a total cost objective function is established based on the minimum system investment cost; Based on the Honey Badger algorithm and the capacity constraints, the total cost objective function is solved to obtain a comprehensive energy configuration plan for wind, solar and hydrogen.
2. The comprehensive energy configuration method of wind, solar and hydrogen according to claim 1 is characterized in that: The typical day scenery data is obtained by the following steps: Acquire historical data of the target area; the historical data includes: wind turbine data and photovoltaic generator data; Based on the historical data of the target area, typical day scenery data is obtained.
3. The comprehensive energy configuration method of wind, solar and hydrogen according to claim 2 is characterized in that: The typical day scenery data is obtained based on the historical data of the target area, including: Cluster analysis is performed based on the historical data of the target area to obtain typical day scenery data.
4. The comprehensive energy configuration method of wind, solar and hydrogen according to claim 1 is characterized in that: The calculation formula for the typical daily power data is: in, for The power generation of the wind turbine at any moment, is the rated power of the wind turbine generator set, For historical wind speed data The wind speed at the moment, is the cut-in wind speed of the wind turbine, is the cut-out wind speed of the wind turbine and is the rated wind speed of the wind turbine.
5. The comprehensive energy configuration method of wind, solar and hydrogen according to claim 1 is characterized in that: The capacity constraint of the integrated energy system is: in, for The electricity generated by the wind turbine at any given moment, for The electricity generated by the photovoltaic array at any moment, for The electricity generated by the gas turbine at the moment, for The electricity generated by the fuel cell at all times, for The electricity consumed by the electrolyzer to produce hydrogen and the electricity consumed by the methanogenization equipment to produce methane at all times, for The current power load demand, for The electric energy consumed by the electric heating boiler at any time, for The heat energy generated by the gas turbine at all times, for The heat energy generated by the gas boiler at all times, for The heat energy generated by the electric heating boiler at all times, for The waste heat generated by fuel cells at all times, for The waste heat generated by the P2G equipment at all times, for The output heat of the heat storage tank at any moment, for The input heat of the heat storage tank at any moment, for The heat load demand at any time, for The amount of hydrogen produced by the electrolyzer at any given moment, for The amount of hydrogen consumed by the fuel cell at any given moment. for The amount of hydrogen consumed by the methanogenation equipment at any given moment, for The hydrogen output of the hydrogen storage tank at any time They are The amount of hydrogen input into the hydrogen storage tank at any given moment.
6. The comprehensive energy configuration method of wind, solar and hydrogen according to claim 1 is characterized in that: The total cost objective function is: in, is the total cost, is the construction cost and operation and maintenance cost of the wind turbine. is the construction cost and operation and maintenance cost of the photovoltaic array, The construction cost and operation and maintenance cost of the gas turbine. The construction cost and operation and maintenance cost of the gas boiler. The construction cost and operation and maintenance cost of P2G equipment. The construction cost and operation and maintenance cost of the electric heating boiler. The construction cost and operation and maintenance cost of carbon capture equipment. is the construction cost and operation and maintenance cost of the heat storage tank, The construction cost and operation and maintenance cost of the hydrogen storage tank. Penalties for abandoning wind and solar power Penalty costs for the environment.
7. The comprehensive energy configuration method of wind, solar and hydrogen according to claim 1 is characterized in that: The honey badger algorithm is obtained by the following steps: A honey badger algorithm is obtained, and the honey badger algorithm is optimized based on the golden sine strategy and horizontal crossover to obtain an updated honey badger algorithm.
8. A comprehensive energy configuration device for wind, solar and hydrogen, characterized in that: include: Acquisition module, used to obtain typical day scenery data; A calculation module, used for obtaining typical daily power data based on the typical day wind and solar data; A mathematical model module is used to establish a mathematical model of a combined heat and power integrated energy system based on the typical day wind and solar data, and input the typical daily power data into the mathematical model, construct a capacity constraint condition of the integrated energy system based on the typical daily power data, and obtain a minimum system investment cost, and establish a total cost objective function based on the minimum system investment cost; The output module is used to solve the total cost objective function based on the Honey Badger algorithm and the capacity constraints to obtain a comprehensive energy configuration plan for wind, solar and hydrogen.
9. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the comprehensive energy configuration method of wind, solar and hydrogen as described in any one of claims 1 to 7 above.
10. A computer-readable storage medium, characterized in that: Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the steps in the wind, solar and hydrogen integrated energy configuration method as described in any one of claims 1 to 7 above.