Method, device, equipment and storage medium for optimizing rated power of hydrogen production equipment
By constructing a rated power optimization model and particle swarm algorithm, the rated power of wind-solar hydrogen production equipment is optimized, which solves the problem of economic benefits in wind-solar hydrogen production, improves equipment utilization and economy, and reduces costs.
Patent Information
- Application Number
- CN202410789239.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-19
AI Technical Summary
In the process of integrated wind-solar hydrogen production, how to efficiently determine the rated power of hydrogen production equipment to improve the economic benefits of wind-solar hydrogen production is an urgent problem. In the existing technology, energy storage equipment is high-cost, low-efficiency, and difficult to Effectively coupling the volatility of wind and solar power generation.
Based on historical wind and photovoltaic power generation data, the hydrogen production capacity of the hydrogen production equipment, the grid power exchange capacity, and the net power transmission capacity are determined, and a rated power optimization model is constructed, using iterative calculations to optimize the rated power of the hydrogen production equipment, with the goal of economic benefits. , using optimization algorithms such as particle swarm optimization to ensure the convergence and accuracy of the optimization results.
The economic benefits of the wind-solar hydrogen production process have been optimized, the annual utilization hours of hydrogen production equipment have been increased, equipment investment and the cost of grid-connected power exchange have been reduced, ensuring the reliability and efficiency of the optimization results.
Smart Images

Figure CN118365097B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of renewable energy power generation technology, and in particular to a method, device, equipment and storage medium for optimizing the rated power of hydrogen production equipment. Background Art
[0002] As people pay more attention to environmental and climate issues caused by the dependence on fossil fuels, research and application of renewable energy are gradually increasing. Wind and solar energy are two major renewable energy sources, and their application in electricity production has developed rapidly. However, wind and solar power generation are inherently intermittent and unstable, which can easily lead to a large amount of power abandonment, resulting in waste of resources and low utilization of electricity. In response to the problem of power abandonment in wind and solar power generation, hydrogen energy, as a long-term, large-capacity, low-cost energy storage method, can effectively suppress the volatility of wind and solar power generation, and is one of the best ways to store large-scale, long-term and low-cost wind and solar power. Through the integration of wind and solar hydrogen production, the amount of wind and solar power abandonment can be greatly reduced, achieving the purpose of promoting the development of renewable energy and the preparation of green hydrogen.
[0003] Wind-solar hydrogen production integration refers to the use of wind and solar power to generate electricity, and then converting electrical energy into hydrogen energy through the process of water electrolysis, and storing the hydrogen energy process. The equipment that converts electrical energy into hydrogen energy through the process of water electrolysis is called water electrolysis hydrogen production equipment, or hydrogen production equipment for short. In the process of wind-solar hydrogen production integration, hydrogen production equipment has high requirements for the stability of the input power supply, so how to efficiently couple wind-solar power generation and water electrolysis hydrogen production has become an important research topic.
[0004] In the related technology, a certain amount of electrochemical energy storage is usually equipped, and energy storage is used as an intermediate energy storage medium to increase the output of hydrogen while smoothing the volatility of wind and solar power generation. In the process of wind and solar hydrogen production integration, water electrolysis hydrogen production equipment has high requirements on the stability of the input power supply. Therefore, how to efficiently couple wind and solar power generation and water electrolysis hydrogen production is an important research topic. In the prior art, a certain amount of electrochemical energy storage is usually equipped, and energy storage is used as an intermediate energy storage medium to increase the output of hydrogen while smoothing the volatility of wind and solar power generation. However, the cost of energy storage equipment is high, and the energy storage efficiency is relatively low.
[0005] "Grid-connected power exchange" can provide a new solution for the efficient coupling of wind and solar power in hydrogen production. "Grid-connected power exchange" means that when the wind and solar power generation power is equal to the rated power of the hydrogen production equipment, the wind and solar power generation power is directly used for hydrogen production; when the wind and solar power generation power is greater than the rated power of the hydrogen production equipment, the wind and solar power generation power is used to meet the rated power of the hydrogen production equipment for hydrogen production, and the surplus power is used for grid connection; when the wind and solar power generation power is less than the rated power of the hydrogen production equipment, the surplus power is released for hydrogen production.
[0006] Grid-connected power exchange is an effective way to achieve efficient coupling between fluctuating wind and solar power generation and water electrolysis hydrogen production equipment. It can effectively increase the proportion of wind and solar power generation used for hydrogen production and increase the annual utilization hours of water electrolysis hydrogen production equipment.
[0007] However, on the basis of grid-connected power exchange, how to determine the rated power of hydrogen production equipment to improve the economic benefits of integrated wind and solar hydrogen production is an urgent problem to be solved. Summary of the invention
[0008] In order to solve the above technical problems, the present disclosure provides a method, device, equipment and storage medium for optimizing the rated power of hydrogen production equipment. On the basis of considering grid-connected power exchange and taking economic benefits as the optimization goal, the rated power configuration of the hydrogen production equipment in the wind-solar hydrogen production process considering grid-connected power exchange is optimized, thereby further improving the economic benefits of the wind-solar hydrogen production process.
[0009] In a first aspect, the present disclosure provides a method for optimizing the rated power of a hydrogen production equipment, the method comprising: determining the hydrogen production power, grid power exchange power, and net grid-connected power of the hydrogen production equipment based on historical wind and solar power generation data; inputting the hydrogen production power, grid power exchange power, and net grid-connected power of the hydrogen production equipment into a pre-built rated power optimization model for the hydrogen production equipment for iterative calculation, wherein the rated power optimization model comprises an independent variable and a target variable, the independent variable being the rated power of the hydrogen production equipment, and the target variable being the economic benefit; when the iterative calculation satisfies the convergence condition, the optimal rated power of the hydrogen production equipment is obtained.
[0010] In a second aspect, the present disclosure provides a device for optimizing the rated power of a hydrogen production equipment, the device comprising: an electricity determination module, for determining the hydrogen production electricity, grid power exchange electricity, and net grid-connected electricity of the hydrogen production equipment based on historical wind and solar power generation data; a calculation module, for inputting the hydrogen production electricity, the grid power exchange electricity, and the net grid-connected electricity of the hydrogen production equipment into a pre-built rated power optimization model for the hydrogen production equipment for iterative calculation, wherein the rated power optimization model comprises an independent variable and a target variable, the independent variable being the rated power of the hydrogen production equipment, and the target variable being the economic benefit; a rated power determination module, for obtaining the optimal rated power of the hydrogen production equipment when the iterative calculation satisfies the convergence conditions.
[0011] In a third aspect, the present disclosure provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the method for optimizing the rated power of hydrogen production equipment as described in the first aspect above.
[0012] In a fourth aspect, the present disclosure provides a storage medium, which may be a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the method for optimizing the rated power of hydrogen production equipment as in the first aspect described above is implemented.
[0013] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0014] The disclosed embodiment provides a method, device, equipment and storage medium for optimizing the rated power of a hydrogen production equipment, the method comprising: determining the hydrogen production power, grid power exchange power and net grid power of the hydrogen production equipment based on historical wind and solar power generation data; inputting the hydrogen production power, grid power exchange power and net grid power of the hydrogen production equipment into a pre-built rated power optimization model for the hydrogen production equipment for iterative calculation, wherein the rated power optimization model comprises an independent variable and a target variable, the independent variable is the rated power of the hydrogen production equipment, and the target variable is the economic benefit; when the iterative calculation satisfies the convergence condition, the optimal rated power of the hydrogen production equipment is obtained. In this embodiment, on the basis of considering grid power exchange, taking economic benefit as the optimization goal, the rated power configuration of the hydrogen production equipment in the wind and solar hydrogen production process considering grid power exchange is optimized, so as to further improve the economic benefit of the wind and solar hydrogen production process. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0017] Figure 1 A schematic diagram of a process for optimizing the rated power of a hydrogen production equipment provided in an embodiment of the present disclosure;
[0018] Figure 2 A flow chart of a method for calculating the amount of hydrogen produced, the amount of electricity exchanged with the power grid, and the amount of net electricity sent to the grid for a hydrogen production device provided in an embodiment of the present disclosure;
[0019] Figure 3 A schematic diagram of the structure of a device for optimizing the rated power of a hydrogen production device provided in an embodiment of the present disclosure;
[0020] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0022] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0023] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0024] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0025] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0026] To solve all or at least one of the above-mentioned technical problems, an embodiment of the present application provides a method, apparatus, device and storage medium for optimizing the rated power of a hydrogen production equipment, the method comprising: determining the hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment based on historical wind and solar power generation data; inputting the hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment into a pre-built rated power optimization model for the hydrogen production equipment for iterative calculation, wherein the rated power optimization model comprises an independent variable and a target variable, the independent variable being the rated power of the hydrogen production equipment, and the target variable being the economic benefit; when the iterative calculation satisfies the convergence conditions, the optimal rated power of the hydrogen production equipment is obtained.
[0027] In this embodiment, on the basis of considering grid-connected power exchange, taking economic benefits as the optimization goal, the rated power configuration of the hydrogen production equipment in the wind and solar hydrogen production process considering grid-connected power exchange is optimized to further improve the economic benefits of the wind and solar hydrogen production process. Among them, the rated power of hydrogen production can be understood as the installed capacity of the hydrogen production equipment. In the embodiment of the present application, the installed capacity of the hydrogen production equipment is optimized to obtain the optimal installed capacity when economic benefits are taken as the optimization goal in the wind and solar hydrogen production process considering grid-connected power exchange.
[0028] The method for optimizing the rated power of hydrogen production equipment provided by the present disclosure will be described in detail below in conjunction with the accompanying drawings and specific implementation examples.
[0029] Figure 1 This is a flow chart of a method for optimizing the rated power of hydrogen production equipment in an embodiment of the present disclosure. This embodiment can be applicable to wind-solar integrated hydrogen production projects. The method can be executed by a device for optimizing the rated power of hydrogen production equipment. The device for optimizing the rated power of hydrogen production equipment can be implemented in software and / or hardware. The device for optimizing the rated power of hydrogen production equipment can be configured in an electronic device.
[0030] like Figure 1 As shown, the method for optimizing the rated power of hydrogen production equipment provided in the embodiment of the present disclosure mainly includes steps S101-S103.
[0031] S101. Determine the hydrogen production capacity of the hydrogen production equipment, the power grid replacement capacity, and the net power supply to the grid based on historical wind and solar power generation data.
[0032] Wind and solar power generation data can be understood as relevant data generated in the power generation process of wind and solar power generation systems. Wind and solar power generation data can include the actual power generation power P of wind turbines. wind , Rated power generation of wind turbine P windmax , the actual power generation power P of the photovoltaic generator set solar , Rated power generation P of photovoltaic generator set solarmax , the grid power P grid , the amount of electricity sent to the grid. The actual power generation of the wind turbine P wind It can be understood as the power generated by the wind turbine at the sampling time. The rated power of the wind turbine P windmax It can be understood as the installed rated power of the wind turbine generator set, which is fixed. The actual power generation power P of the photovoltaic generator set solar It can be understood as the power generated by the photovoltaic generator set at the sampling time. The rated power generated by the photovoltaic generator set P solarmax It can be understood as the installed rated power of the wind turbine generator set, which is a fixed value. Among them, the wind turbine generator set can be referred to as the wind turbine generator set, and the photovoltaic generator set can be referred to as the light spot generator set.
[0033] The historical wind and solar power generation data can be understood as the wind and solar power generation data in the past period of time. For example, the historical wind and solar power generation data can be understood as the wind and solar power generation data in the past year. Furthermore, the historical wind and solar power generation data is the wind and solar power generation data collected periodically in the past year. In other words, the historical wind and solar power generation data includes the wind and solar power generation data collected at each sampling time, and there is a sampling period between two adjacent sampling times. The above sampling period can be determined according to actual conditions.
[0034] For example, in this embodiment, the sampling period is 1 hour. Accordingly, there are 8760 hours in a year, that is, there are 8760 sampling moments, and wind and solar power generation data are collected once at each sampling moment. When the historical wind and solar power generation data is the wind and solar power generation data collected periodically in the past year, the historical wind and solar power generation data includes 8760 historical wind and solar power generation data.
[0035] Hydrogen production power W of hydrogen production equipment hydro It can be understood as the total amount of electricity consumed by a hydrogen production equipment with rated power during the hydrogen production process over a period of time. When the total power of wind and solar power generation is not enough to support the normal hydrogen production of the hydrogen production equipment, the power grid system needs to provide electricity to the hydrogen production equipment for hydrogen production. exchange It can be understood as the amount of electricity that the hydrogen production equipment obtains from the power grid system in the above case. When the total wind and solar power generation power meets the rated power of the hydrogen production equipment, the surplus electricity is transmitted to the power grid system. Net power transmission to the grid W grid It can be understood as the amount of electricity delivered to the power grid by the hydrogen production equipment in the above case. The total wind and solar power generation refers to the actual power generation power P of the wind turbine generator set. wind The actual power generation power P of the photovoltaic generator set solar The sum value of .
[0036] In a specific implementation, a method for determining the amount of hydrogen produced by hydrogen production equipment, the amount of power exchanged by the power grid, and the amount of net power transmitted to the grid is provided.
[0037] Based on the historical wind and solar power generation data, the hydrogen production capacity, grid power exchange capacity, and net power supply to the grid of the hydrogen production equipment are determined, including: based on the historical wind and solar power generation data and the initial rated power P of the hydrogen production equipment hydromax Determine the hydrogen production capacity of the hydrogen production equipment, the power grid replacement capacity, and the net power supply to the grid. Among them, the initial rated power P of the hydrogen production equipment hydromax It can be set according to the actual situation and is not specifically limited in the embodiments of the present application.
[0038] Specifically, the actual power generation power P of the wind turbine generator set at the i-th sampling moment is obtained.wind and the actual power generation power P of the photovoltaic generator set solar , calculate the actual power generation P of the wind turbine wind and the actual power generation power P of the photovoltaic generator set solar The sum value P wind +P solar , and mark the sum as the total wind and solar power generation power P wind +P solar . Determine the total wind and solar power generation power P wind +P solar Is it greater than the initial rated power P of the hydrogen production equipment? hydromax .
[0039] If the total wind and solar power generation power P wind +P solar Greater than the rated power P of the hydrogen production equipment hydromax , it means that when the total wind and solar power generation power meets the rated power of the hydrogen production equipment, the surplus power can be used for grid connection. At this time, the rated power P of the hydrogen production equipment hydromax As the actual power generation power P of the hydrogen production equipment hydro , the total wind and solar power generation power P wind +P solar Subtract the rated power P of the hydrogen production equipment hydromax As the power P grid .
[0040] If the total wind and solar power generation power P wind +P solar Not greater than the rated power P of the hydrogen production equipment hydromax , then determine whether the power W1 sent to the grid is greater than 0. If the power W1 sent to the grid is greater than 0, the initial rated power P of the hydrogen production equipment is hydromax As the actual power generation power P of the hydrogen production equipment hydro , the total wind and solar power generation power P wind +P solar Subtract the initial rated power P of the hydrogen production equipment hydromax As the power supply to the grid, the power supply to the grid P grid ; If the amount of electricity sent to the grid W1 is equal to 0, the power sent to the grid P grid Set to 0, the total wind and solar power generation power P wind +P solar As the actual power generation power P of the hydrogen production equipment hydro The amount of electricity sent to the grid W1 is the cumulative amount of electricity sent to the grid from the 1st sampling moment to the ith sampling moment.
[0041] Through the above steps, the actual power generation power P of the hydrogen production equipment at the i-th sampling time is obtained. hydroAnd the power of electricity transmission to the grid P grid Then, based on the actual power generation power P of the hydrogen production equipment at the i-th sampling moment hydro And the power of electricity transmission to the grid P grid Calculate the hydrogen production capacity of the hydrogen production equipment, the power grid replacement capacity, and the net power supply to the grid at the i-th sampling moment.
[0042] The hydrogen production power of the hydrogen production equipment at the i-th sampling time is the sum of the hydrogen production power of the hydrogen production equipment calculated at the i-1-th sampling time and the first product. The first product is the actual power generation power P of the hydrogen production equipment at the i-th sampling time. hydro The product of the sampling period.
[0043] From the power supply to the grid P grid Select a maximum value between the negative number of and 0, and add the maximum value and the second product of the sampling period to the grid power W calculated at the i-1th sampling time. exchange As the grid power replacement quantity W at the i-th sampling moment exchange Among them, the power transmission to the grid is P grid A negative number indicates that from the 1st sampling moment to the ith sampling moment, there is no surplus electricity to the grid, and the grid provides electricity to the hydrogen production equipment for hydrogen production.
[0044] The net power supply to the grid at the i-th sampling moment W grid is the net power supply to the grid calculated at the i-1th sampling time W grid The sum of the third product, the third product is the power transmission and grid power P at the i-th sampling moment grid The product of the sampling period.
[0045] Through the above steps, the hydrogen production power, grid power replacement power, and net power supply to the grid of the hydrogen production equipment at the i-th sampling moment are obtained. Then, it is determined whether the i-th sampling moment is the last sampling moment. If the i-th sampling moment is not the last sampling moment, the actual power generation power P of the wind turbine generator set at the i+1-th sampling moment is obtained. wind and the actual power generation power P of the photovoltaic generator set solar , and returns the actual power generation P of the wind turbine generator set wind and the actual power generation power P of the photovoltaic generator set solar The steps and steps of summing the values until the i+1th sampling moment is the last sampling moment, and the hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment at the i-th sampling moment are output as the hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment determined based on the historical wind and solar power generation data.
[0046] Starting from the first sampling moment and calculating to the 8760th sampling moment, the hydrogen production power of the hydrogen production equipment, the power replacement power of the power grid, and the net power transmission to the grid are obtained.
[0047] S102, inputting the hydrogen production power of the hydrogen production equipment, the power exchange power of the power grid and the net power supply to the grid into a pre-built rated power optimization model of the hydrogen production equipment for iterative calculation, wherein the rated power optimization model includes an independent variable and a target variable, the independent variable is the rated power of the hydrogen production equipment, and the target variable is the economic benefit.
[0048] In this embodiment, a pre-built rated power optimization model of the hydrogen production equipment is used to perform rated power optimization. The rated power optimization model of the hydrogen production equipment is described below.
[0049] The rated power optimization model of the hydrogen production equipment provided in the embodiment of the present application can be understood as the solution to an optimization problem with constraints.
[0050] The independent variable of the rated power optimization model is the rated power P of the hydrogen production equipment. hydromax , in other words, the independent variable of the rated power optimization model is the installed capacity of the hydrogen production equipment.
[0051] The constraint conditions of the rated power optimization model include: the rated power of the hydrogen production equipment is greater than a first value and the rated power of the hydrogen production equipment is less than a second value; and the economic benefit is greater than the first value.
[0052] The first value can be set according to actual conditions, and optionally, the first value is 0. The second value is determined according to the installed rated power of the wind and solar power generator set. Optionally, the second value is the sum of the rated power generation of the wind power generator set and the rated power generation of the photovoltaic generator set.
[0053] The rated power of the hydrogen production equipment is greater than 0. In the wind-solar hydrogen production integrated system, hydrogen production equipment is required to produce hydrogen. If the rated power of the hydrogen production equipment is greater than the sum of the rated power generation of the wind turbine and the rated power generation of the photovoltaic generator, it means that the wind turbine and the photovoltaic generator are at the rated power generation (installed rated power). In order to meet the rated power of the hydrogen production equipment, it is necessary to obtain electricity from the power grid. This violates the original intention of establishing the wind-solar hydrogen production integrated system. Therefore, it is necessary to constrain the rated power of the hydrogen production equipment to be less than the sum of the rated power generation of the wind turbine and the rated power generation of the photovoltaic generator. If the economic benefit is greater than 0, it means that the profit in the wind-solar hydrogen production integrated system is greater than 0.
[0054] The objective variables of the power rating optimization model include economic benefits.
[0055] The rated power optimization model of the hydrogen production equipment can be understood as: under the above two constraints, when solving the optimal economic benefit, the optimal rated power of the corresponding hydrogen production equipment. The optimal rated power of the hydrogen production equipment can refer to the installed capacity used to guide the hydrogen production equipment. That is, the installed rated power of the hydrogen production equipment is the highest economic benefit when the optimal rated power is solved as above.
[0056] In a specific implementation, the economic benefit is the difference between operating income and cost; operating income includes hydrogen sales income and electricity sales income; hydrogen production income is determined by the amount of hydrogen produced by the hydrogen production equipment, and electricity sales income is determined by the net amount of electricity sent to the grid; cost includes the investment cost of wind and solar equipment, the investment cost of hydrogen production equipment and the grid-connected power exchange price difference cost; the grid-connected power exchange price difference cost is determined by the amount of power exchanged by the power grid.
[0057] Among them, economic benefit can also be called economic benefit. For example, take the economic benefit as profit as an example. Economic benefit is equal to operating income minus cost.
[0058] The cost mainly considers three parts: the equipment investment cost of wind power equipment and photovoltaic equipment, the equipment investment cost of hydrogen production equipment, and the price difference cost of grid-connected power replacement.
[0059] First, the equipment investment cost of wind power equipment and photovoltaic equipment
[0060] Since the installed rated power of the wind power generator set and the installed capacity of the photovoltaic generator set in this embodiment are fixed, the equipment investment cost of the wind power equipment and the photovoltaic equipment is fixed. wind The equipment investment cost of photovoltaic equipment is expressed as X solar = ... wind Determined by the installed rated power of the wind turbine and the market situation. The equipment investment cost of photovoltaic equipment is X solar It is determined by the installed rated power of the photovoltaic power generation unit and market conditions.
[0061] Second, the equipment investment cost of hydrogen production equipment
[0062] The equipment investment cost of the hydrogen production equipment is determined by the equipment installed rated power unit price and the installed rated power. Specifically, the equipment investment cost of the hydrogen production equipment is the equipment installed rated power unit price A and the installed rated power P hydromax The product of . Among them, the unit price A of the equipment installed rated power can be determined according to market conditions.
[0063] Third, the price difference cost of grid-connected battery replacement
[0064] The difference in price between grid-connected and power-exchange is determined by the amount of electricity exchanged by the grid, W exchange and exchange unit price Xexchange The difference cost of grid-connected power exchange is the grid exchange power W exchange and exchange unit price W exchange The product of. Among them, the exchange unit price X exchange It can be determined according to market conditions.
[0065] Operating income mainly considers two parts, namely hydrogen sales revenue and electricity sales revenue.
[0066] First, income from hydrogen sales
[0067] The amount of electricity used by the hydrogen production equipment is W hydro The energy consumption of hydrogen production equipment by water electrolysis is generally 4.5kWh / (Nm3 H2), and the price of hydrogen is based on X hydro / kg. Therefore, the total revenue from hydrogen sales is W hydro / 4.5×0.0893×X hydro =0.0198×W hydro ×X hydro . Hydrogen price X hydro / kg can be determined according to market conditions.
[0068] Second, electricity sales revenue
[0069] The price of electricity sold to the grid is X elec / kWh calculation, the total amount of electricity sold to the grid is W grid , so the total electricity sales revenue is X elec ×W grid .
[0070] In summary, the economic benefit can be expressed by the following formula:
[0071] Economic benefit = operating income – cost = (revenue from hydrogen sales + revenue from electricity sales) - (equipment investment cost of wind power equipment and photovoltaic equipment + equipment investment cost of hydrogen production equipment + price difference cost of grid-connected power replacement) = 25 × (0.0198 × W hydro ×X hydro +X elec ×W grid )–(X wind +X solar +A×P hydromax +25×X exchange ×W exchange ).
[0072] In this embodiment, the hydrogen production power W of the hydrogen production equipment obtained in S101 is hydro , Grid power exchange capacity W exchange 、Net power supply to the grid W gridSubstituting into the above economic benefit formula, the economic benefit corresponding to the initial rated power of the hydrogen production equipment is obtained. Then, according to a certain optimization algorithm, the initial rated power of the hydrogen production equipment is updated to obtain the updated rated power of the hydrogen production equipment. Based on the updated rated power of the hydrogen production equipment and the historical wind and solar power generation data, the hydrogen production power, grid power replacement power, and net power transmission to the grid of the hydrogen production equipment are determined.
[0073] In one possible implementation, the hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment are input into a pre-built rated power optimization model for the hydrogen production equipment for iterative calculation, including: inputting the hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment into the rated power optimization model to obtain corresponding economic benefits; judging whether a preset convergence condition is met, and updating the rated power of the hydrogen production equipment if the preset convergence condition is not met to obtain an updated rated power of the hydrogen production equipment; determining a new hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment based on the historical wind and solar power generation data and the updated rated power of the hydrogen production equipment; returning to the step of inputting the hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment into the rated power optimization model to obtain corresponding economic benefits, until the preset convergence condition is met, and taking the updated rated power corresponding to the maximum economic benefit as the optimal rated power of the hydrogen production equipment.
[0074] The above preset convergence condition can be set according to actual conditions. In this embodiment, the preset convergence condition is that the number of updates of the rated power of the hydrogen production equipment reaches the maximum number of iterations.
[0075] Determine the initial rated power (initial rated power) of the hydrogen production equipment according to the particle swarm algorithm hydromax Based on the initial rated power and historical wind power generation data, the initial rated power P of the hydrogen production equipment is calculated according to the algorithm introduced in S101. hydromax Then, the hydrogen production capacity, grid power exchange capacity and net grid power supply of the corresponding hydrogen production equipment are substituted into the above economic benefit formula to calculate the initial rated power P of the hydrogen production equipment. hydromax Then, according to the particle swarm algorithm, the rated power of the hydrogen production equipment is updated to obtain the updated rated power P of the hydrogen production equipment. hydromax Based on the updated rated power and historical wind power generation data, the initial rated power P of the hydrogen production equipment is calculated. hydromaxThen, the hydrogen production capacity of the hydrogen production equipment, the power exchange capacity of the power grid and the net power supply to the grid are substituted into the above economic benefit formula to calculate the updated rated power P of the hydrogen production equipment. hydromax Corresponding economic benefits. According to the particle swarm algorithm, the rated power of the hydrogen production equipment can be continuously updated, and the economic benefits corresponding to the updated rated power of each hydrogen production equipment can be calculated.
[0076] After each calculation, the economic benefit corresponding to the updated rated power of the hydrogen production equipment is obtained, and it is determined whether the number of updates of the rated power of the hydrogen production equipment has reached the maximum number of iterations. If it has not reached the maximum number of iterations, the rated power of the hydrogen production equipment is updated to obtain the updated rated power of the hydrogen production equipment, and the economic benefit corresponding to the updated rated power is calculated. When the number of updates of the rated power of the hydrogen production equipment has reached the maximum number of iterations, the iterative calculation is stopped.
[0077] The particle swarm algorithm is introduced below.
[0078] The operation steps of the particle swarm algorithm are:
[0079] 1) Initialize the particle swarm: Randomly generate a group of particles with a certain range as the starting state of the particle swarm. During the particle swarm initialization process, it is necessary to set the initial position and speed of the particle swarm, as well as related parameters, including inertia weight, learning factor, number of iterations, upper and lower limits of each variable, etc., and initialize the individual optimal solution of each particle and the global optimal solution of the entire population.
[0080] 2) Calculate fitness: According to the objective function of the problem, calculate the fitness value of each particle to evaluate the quality of the particle. The fitness of the particle here is the objective function value of the optimization problem mentioned above. At the same time, it is necessary to check whether the particle meets the constraints.
[0081] 3) Update the individual optimal solution: For each particle in the population, update the individual optimal solution of each particle, that is, the individual optimal position of each particle, according to the current fitness value and the historical optimal fitness value of each particle.
[0082] 4) Update the global optimal solution: For the entire population, the global optimal solution, that is, the global optimal position of the entire population, is updated according to the optimal solutions of all individual particles and the historical optimal fitness values.
[0083] 5) Update particle speed and position: For each particle in the population, calculate the new particle speed based on the speed of each particle, the difference between the individual optimal solution and the global optimal solution, so as to better find the optimal solution. Specifically, the speed update formula of the i-th particle at the t+1 iteration is as follows:
[0084] v_i(t+1) = w(t)v_i(t) + c1r1×(pbest_i(t) - x_i(t)) + c2r2(gbest(t) -x_i(t))
[0085] Among them, v_i(t) represents the velocity of the ith particle at time t, w(t) represents the inertia weight at the current moment, pbest_i(t) represents the individual optimal solution of the ith particle at time t, x_i(t) represents the position of the ith particle at time t, gbest(t) represents the global optimal solution, c1 and c2 are learning factors, and r1 and r2 are random numbers between 0 and 1.
[0086] 6) Update particle position: Update the particle position according to the new particle velocity of each particle to better approach the individual and global optimal solutions. Specifically, the update formula is as follows:
[0087] x_i(t+1)=x_i(t)+v_i(t+1)
[0088] Among them, x_i(t) represents the position of the i-th particle when the iteration number is t, and v_i(t+1) represents the velocity of the i-th particle when the iteration number is t+1.
[0089] 7) Determine the stopping condition: If the maximum number of iterations T is reached, stop the iteration and output the optimal independent variable parameters; otherwise, return to step 2.
[0090] S103. When the iterative calculation satisfies a preset convergence condition, the optimal rated power of the hydrogen production equipment is obtained.
[0091] When the number of times the rated power of the hydrogen production equipment is updated reaches the maximum number of iterations, the iterative calculation is stopped. From the economic benefits calculated during the iteration process, the updated rated power of the hydrogen production equipment corresponding to the maximum economic benefit is selected as the optimal rated power of the hydrogen production equipment.
[0092] The disclosed embodiment provides a method for optimizing the rated power of a hydrogen production equipment, the method comprising: determining the hydrogen production power, grid power exchange power, and net grid power supply of the hydrogen production equipment based on historical wind and solar power generation data; inputting the hydrogen production power, grid power exchange power, and net grid power supply of the hydrogen production equipment into a pre-constructed rated power optimization model for the hydrogen production equipment for iterative calculation, wherein the rated power optimization model comprises an independent variable and a target variable, the independent variable is the rated power of the hydrogen production equipment, and the target variable is the economic benefit; when the iterative calculation satisfies the convergence condition, the optimal rated power of the hydrogen production equipment is obtained. In this embodiment, on the basis of considering grid power exchange, taking economic benefit as the optimization goal, the rated power configuration of the hydrogen production equipment in the wind and solar hydrogen production process considering grid power exchange is optimized, so as to further improve the economic benefit of the wind and solar hydrogen production process.
[0093] In this embodiment, based on the updated rated power and historical wind power generation data, the updated rated power P of the hydrogen production equipment is calculated. hydromax The corresponding hydrogen production equipment's hydrogen production capacity, grid power exchange capacity, and net grid power transmission capacity are introduced. Figure 2 As shown, based on the historical wind and solar power generation data and the updated rated power of the hydrogen production equipment, determining the new hydrogen production capacity of the hydrogen production equipment, the new grid power replacement capacity, and the new net power supply to the grid mainly includes the following steps:
[0094] S201. Calculate the power generation power of the hydrogen production equipment at the current sampling moment and the grid-connected power of the power grid at the current sampling moment based on the actual power generation power of the wind turbine group, the actual power generation power of the photovoltaic group and the updated rated power of the hydrogen production equipment at the current sampling moment.
[0095] In a possible implementation, the calculation of the power generation power of the hydrogen production equipment at the current sampling moment and the grid-connected power of the power grid at the current sampling moment based on the actual power generation power of the wind turbine group, the actual power generation power of the photovoltaic group and the updated rated power of the hydrogen production equipment at the current sampling moment includes: when the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment is greater than the updated rated power of the hydrogen production equipment, the updated rated power of the hydrogen production equipment is used as the power generation power of the hydrogen production equipment at the current sampling moment, and the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment minus the updated rated power of the hydrogen production equipment is used as the grid-connected power of the power grid at the current sampling moment; the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment When the value is less than the rated power of the hydrogen production equipment and the net grid-connected power at the current sampling moment is greater than the first value, the updated rated power of the hydrogen production equipment is used as the power generation power of the hydrogen production equipment at the current sampling moment, and the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment minus the updated rated power of the hydrogen production equipment is used as the grid-connected power of the power grid at the current sampling moment; when the sum of the wind power generation power and the photovoltaic power generation power at the current sampling moment is less than the rated power of the hydrogen production equipment and the net grid-connected power at the current sampling moment is equal to the first value, the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment is used as the power generation power of the hydrogen production equipment at the current sampling moment, and the grid-connected power of the power grid at the current sampling moment is set to the first value.
[0096] Specifically, the actual power generation power P of the wind turbine generator set at the i-th sampling moment is obtained. wind and the actual power generation power P of the photovoltaic generator set solar , calculate the actual power generation P of the wind turbine wind and the actual power generation power P of the photovoltaic generator set solar The sum of the wind and solar power generation power P wind +P solar . Determine the total wind and solar power generation power P wind +P solar Is it greater than the updated rated power P of the hydrogen production equipment? hydromax .
[0097] If the total wind and solar power generation power P wind +P solar Greater than the updated rated power P of the hydrogen production equipment hydromax , the updated rated power P of the hydrogen production equipment hydromax As the actual power generation power P of the hydrogen production equipmenthydro , the total wind and solar power generation power P wind +P solar Subtract the updated rated power P of the hydrogen production equipment hydromax As the power P grid .
[0098] If the total wind and solar power generation power P wind +P solar Not more than P of hydrogen production equipment hydromax , then determine whether the power W1 sent to the grid is greater than 0. If the power W1 sent to the grid is greater than 0, the updated rated power P of the hydrogen production equipment will be hydromax As the actual power generation power P of the hydrogen production equipment hydro , the total wind and solar power generation power P wind +P solar Subtract the updated rated power P of the hydrogen production equipment hydromax As the power supply to the grid, the power supply to the grid P grid .
[0099] Among them, the total wind and solar power generation power P wind +P solar Not more than P of hydrogen production equipment hydromax , the amount of electricity W1 sent to the grid is greater than 0, which indicates that the grid needs to release electricity to the hydrogen production equipment, that is, the online power is a negative value, which can also be called the released power of the grid. That is, the rated power of the hydrogen production equipment at the current sampling moment minus the sum of the wind power generation power and the photovoltaic power generation power is taken as the released power of the grid at the current sampling moment.
[0100] If the amount of electricity sent to the grid W1 is equal to 0, the power P grid Set to 0, the total wind and solar power generation power P wind +P solar As the actual power generation power P of the hydrogen production equipment hydro .
[0101] S202: Calculate the hydrogen production power of the hydrogen production equipment at the current sampling moment based on the hydrogen production power of the hydrogen production equipment at the previous sampling moment and the power generation power of the hydrogen production equipment.
[0102] The hydrogen production amount of the hydrogen production equipment at the previous sampling moment is calculated by combining the hydrogen production amount of the hydrogen production equipment at the previous sampling moment with the power generation power of the hydrogen production equipment, including: calculating the first product of the power generation power of the hydrogen production equipment and the sampling period; and taking the sum of the first product and the hydrogen production amount of the hydrogen production equipment at the previous sampling moment as the hydrogen production amount of the hydrogen production equipment at the current sampling moment.
[0103] The hydrogen production power of the hydrogen production equipment at the i-th sampling time is the sum of the hydrogen production power of the hydrogen production equipment calculated at the i-1-th sampling time and the first product. The first product is the actual power generation power P of the hydrogen production equipment at the i-th sampling time. hydro The product of the sampling period.
[0104] S203. Calculate the power exchange capacity of the power grid at the current sampling moment based on the power exchange capacity of the power grid at the previous sampling moment and the online power of the power grid at the current sampling moment.
[0105] In one possible implementation, when the online power of the power grid at the current sampling moment is negative, the negative number of the online power of the power grid at the current sampling moment and the second product of the sampling period are calculated; the sum of the second product and the power grid power exchange amount at the previous sampling moment is taken as the power grid power exchange amount at the current sampling moment.
[0106] When the grid power is negative at the current sampling moment, calculate the negative of the grid power at the current sampling moment and the second product of the sampling period; add the grid power W calculated at the i-1th sampling moment exchange As the grid power replacement quantity W at the i-th sampling moment exchange .
[0107] When the grid power is positive at the current sampling time, the grid power W calculated from the i-1 sampling time is exchange As the grid power replacement quantity W at the i-th sampling moment exchange .
[0108] S204. Calculate the net grid-connected power at the current sampling moment based on the grid-exchanged power at the previous sampling moment and the grid-connected power at the current sampling moment.
[0109] In a possible implementation, the net grid-connected power quantity at the current sampling moment is calculated based on the grid-swapped power quantity at the previous sampling moment and the grid-connected power at the current sampling moment, including: calculating the second product of the grid-connected power at the current sampling moment and the sampling period; taking the sum of the second product and the grid-swapped power quantity at the previous sampling moment as the grid-swapped power quantity at the current sampling moment.
[0110] The net power supply to the grid at the i-th sampling moment W grid is the net power supply to the grid calculated at the i-1th sampling time W grid The sum of the second product, the second product is the grid-connected power P at the i-th sampling moment grid The product of the sampling period.
[0111] S205: Determine whether the next sampling time is the target sampling time.
[0112] The target sampling time is the last sampling time in the historical wind and solar power generation data, for example, the target sampling time is 8760.
[0113] Determine whether i+1 is equal to 8760. If so, execute S206; if not, execute S205.
[0114] S205: If the next sampling time is not the target sampling time, take the next sampling time as the current sampling time, and return to execute step S201.
[0115] S206. Stop calculation, take the hydrogen production power of the hydrogen production equipment at the current sampling moment as the new hydrogen production power of the hydrogen production equipment, take the grid power replacement power at the current sampling moment as the new grid power replacement power, and take the net grid-connected power at the current sampling moment as the new net grid-connected power.
[0116] (1) High-efficiency coupling: By introducing the concept of grid-connected power exchange, high-efficiency coupling between fluctuating wind and solar power generation and water electrolysis hydrogen production equipment is achieved. This new solution allows flexible use of grid power when wind and solar power generation is insufficient, increases the proportion of wind and solar power generation used for hydrogen production, and increases the annual utilization hours of hydrogen production equipment.
[0117] (2) Economic benefit optimization: Based on the consideration of grid-connected power exchange, the invention takes the economic benefit of the wind-solar hydrogen production process as the target variable, and optimizes the rated power configuration of the hydrogen production equipment. Taking economic benefit as the optimization goal, it comprehensively considers multiple factors such as equipment investment cost, grid-connected power exchange price difference cost, hydrogen sales cost, and electricity sales cost, ensuring the best economic benefit of the wind-solar hydrogen production process.
[0118] (3) Constraint optimization: During the optimization process, the upper and lower limit constraints of the rated power of the hydrogen production equipment and the lower limit constraint of the economic benefit were constructed, as well as the target variable of the economic benefit, to ensure the reliability of the optimization results in actual operation.
[0119] (4) Application of optimization algorithms such as particle swarm: The introduction of optimization algorithms such as particle swarm has well combined the optimization algorithm with the operation control method of the wind-solar hydrogen production process with grid-connected power exchange, effectively solving the complex optimization problem of the rated power configuration of the hydrogen production equipment in the wind-solar hydrogen production process considering grid-connected power exchange, which includes target variables, constraints, and target variables. This has improved the efficiency and accuracy of the optimization of the rated power of the hydrogen production equipment considering grid-connected power exchange.
[0120] Figure 3 Schematic diagram of the structure of a device for optimizing the rated power of a hydrogen production equipment in an embodiment of the present disclosure. Figure 3As shown, the device 30 for optimizing the rated power of hydrogen production equipment provided in the embodiment of the present disclosure mainly includes: an electric quantity determination module 31 , a calculation module 32 and a rated power determination module 33 .
[0121] The power determination module 31 is used to determine the hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment based on historical wind and solar power generation data; the calculation module 32 is used to input the hydrogen production power, grid power exchange power and net grid-connected power of the hydrogen production equipment into a pre-built rated power optimization model for the hydrogen production equipment for iterative calculation, wherein the rated power optimization model includes an independent variable and a target variable, the independent variable is the rated power of the hydrogen production equipment, and the target variable is the economic benefit; the rated power determination module 33 is used to obtain the optimal rated power of the hydrogen production equipment when the iterative calculation meets the convergence conditions.
[0122] In a possible implementation, the economic benefit is the difference between operating income and cost; the operating income includes hydrogen sales income and electricity sales income; the hydrogen production income is determined by the amount of hydrogen produced by the hydrogen production equipment, and the electricity sales income is determined by the net amount of electricity sent to the grid; the cost includes the investment cost of wind and solar equipment, the investment cost of hydrogen production equipment and the grid-connected electricity exchange price difference cost; the grid-connected electricity exchange price difference cost is determined by the grid exchanged electricity amount.
[0123] In one possible implementation, the rated power optimization model further includes constraints, which include: the rated power of the hydrogen production equipment is greater than a first value and the rated power of the hydrogen production equipment is less than a second value; and the economic benefit is greater than the first value.
[0124] In one possible implementation, the calculation module 32 is specifically used to input the hydrogen production power of the hydrogen production equipment, the power exchange power of the power grid and the net power supply to the grid into the rated power optimization model to obtain corresponding economic benefits; determine whether the preset convergence condition is met, and if the preset convergence condition is not met, update the rated power of the hydrogen production equipment to obtain the updated rated power of the hydrogen production equipment; determine the new hydrogen production power, new power exchange power of the power grid and new net power supply to the grid based on historical wind and solar power generation data and the updated rated power of the hydrogen production equipment; return to execute the step of inputting the hydrogen production power, the power exchange power of the power grid and the net power supply to the grid into the rated power optimization model to obtain corresponding economic benefits, until the preset convergence condition is met, and the updated rated power corresponding to the maximum economic benefit is used as the optimal rated power of the hydrogen production equipment.
[0125] In one possible implementation, the historical wind and solar power generation data includes wind and solar power generation data at multiple sampling moments, and the wind and solar power generation data includes the actual power generation power of the wind turbine and the actual power generation power of the photovoltaic unit; the calculation module 32 is specifically used to calculate the power generation power of the hydrogen production equipment at the current sampling moment and the online power of the power grid at the current sampling moment based on the actual power generation power of the wind turbine, the actual power generation power of the photovoltaic unit and the updated rated power of the hydrogen production equipment at the current sampling moment; calculate the hydrogen production power of the hydrogen production equipment at the current sampling moment by combining the hydrogen production power of the hydrogen production equipment at the previous sampling moment with the power generation power of the hydrogen production equipment; calculate the power exchange power of the power grid at the current sampling moment based on the power exchange power of the power grid at the previous sampling moment and the online power of the power grid at the current sampling moment; calculate the power exchange power of the power grid at the current sampling moment based on the power exchange power of the power grid at the previous sampling moment and the online power of the power grid at the current sampling moment The net power supply to the grid at the current sampling moment is calculated based on the grid power at the current sampling moment; it is determined whether the current sampling moment is the target sampling moment; if the current sampling moment is not the target sampling moment, the next sampling moment is taken as the new current sampling moment, and the process returns to execute the steps of calculating the power generation power of the hydrogen production equipment at the current sampling moment and the grid power at the current sampling moment based on the actual power generation power of the wind turbine group, the actual power generation power of the photovoltaic group and the updated rated power of the hydrogen production equipment; until the current sampling moment is the target sampling moment, the calculation is stopped, and the hydrogen production power of the hydrogen production equipment at the current sampling moment is taken as the new hydrogen production power of the hydrogen production equipment, the power exchange power of the grid at the current sampling moment is taken as the new power exchange power of the grid, and the net power supply to the grid at the current sampling moment is taken as the new net power supply to the grid.
[0126] In a possible implementation, the calculation module 32 is specifically used to, when the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment is greater than the updated rated power of the hydrogen production equipment, use the updated rated power of the hydrogen production equipment as the power generation power of the hydrogen production equipment at the current sampling moment, and subtract the rated power of the hydrogen production equipment from the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment as the grid-connected power of the power grid at the current sampling moment; when the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment is less than the rated power of the hydrogen production equipment, and the net grid-connected power at the current sampling moment is greater than the first value, use the updated rated power of the hydrogen production equipment as the power generation power of the hydrogen production equipment at the current sampling moment. The rated power of the hydrogen equipment is used as the power generation power of the hydrogen production equipment at the current sampling moment, and the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment minus the updated rated power of the hydrogen production equipment is used as the online power of the power grid at the current sampling moment; when the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment is less than the updated rated power of the hydrogen production equipment, and the net power supply to the grid at the current sampling moment is equal to the first value, the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment is used as the power generation power of the hydrogen production equipment at the current sampling moment, and the online power of the power grid at the current sampling moment is set to the first value.
[0127] In a possible implementation, the calculation module 32 is specifically used to calculate the first product of the power generation power of the hydrogen production equipment and the sampling period; and the sum of the first product and the hydrogen production power of the hydrogen production equipment at the previous sampling moment is used as the hydrogen production power of the hydrogen production equipment at the current sampling moment.
[0128] In one possible implementation, the calculation module 32 is specifically used to calculate the second product of the negative of the online power of the power grid at the current sampling moment and the sampling period when the online power of the power grid at the current sampling moment is negative; and take the sum of the second product and the power exchange amount of the power grid at the previous sampling moment as the power exchange amount of the power grid at the current sampling moment.
[0129] In a possible implementation, the calculation module 32 is specifically used to calculate the third product of the grid-connected power at the current sampling moment and the sampling period; and the sum of the third product and the grid power exchange power at the previous sampling moment is used as the grid power exchange power at the current sampling moment.
[0130] The device for optimizing the rated power of hydrogen production equipment provided in the embodiment of the present application can execute the method for optimizing the rated power of hydrogen production equipment provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
[0131] Figure 4 is a schematic diagram of the structure of an electronic device provided in this embodiment. The electronic device may include a hydrogen production equipment rated power optimization device, such as Figure 4 As shown, the electronic device 400 includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processor 410 in the electronic device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410, the memory 420, the input device 430 and the output device 440 in the electronic device can be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0132] The memory 420, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the method for optimizing the rated power of hydrogen production equipment in the embodiment of the present invention. The processor 410 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 420, that is, implements the method for optimizing the rated power of hydrogen production equipment provided in the embodiment of the present invention.
[0133] The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0134] The input device 430 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device, and may include a keyboard, a mouse, etc. The output device 440 may include a display device such as a display screen.
[0135] This embodiment also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to implement the method for optimizing the rated power of hydrogen production equipment provided in the embodiment of the present invention.
[0136] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention is not limited to the method operations described above, and can also execute related operations in the method for optimizing the rated power of hydrogen production equipment provided in any embodiment of the present invention.
[0137] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0138] It is worth noting that in the embodiment of the above-mentioned search device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0139] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0140] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for optimizing the rated power of hydrogen production equipment, characterized in that: The method comprises: Determine the hydrogen production capacity of hydrogen production equipment, power grid replacement capacity, and net power supply to the grid based on historical wind and solar power generation data; Inputting the hydrogen production power of the hydrogen production equipment, the power exchange power of the power grid and the net power supply to the grid into a pre-built rated power optimization model of the hydrogen production equipment for iterative calculation, wherein the rated power optimization model includes an independent variable and a target variable, the independent variable is the rated power of the hydrogen production equipment, and the target variable is the economic benefit; When the iterative calculation satisfies a preset convergence condition, obtaining the optimal rated power of the hydrogen production equipment; Among them, the hydrogen production power of the hydrogen production equipment, the power exchange power of the power grid and the net power supply to the grid are input into the pre-built rated power optimization model of the hydrogen production equipment for iterative calculation, and the optimal rated power of the hydrogen production equipment is obtained when the iterative calculation meets the preset convergence conditions, including: inputting the hydrogen production power of the hydrogen production equipment, the power exchange power of the power grid and the net power supply to the grid into the rated power optimization model to obtain the corresponding economic benefits; judging whether the preset convergence conditions are met, and updating the rated power of the hydrogen production equipment if the preset convergence conditions are not met to obtain the updated rated power of the hydrogen production equipment; determining the new hydrogen production power, new power exchange power of the power grid and new net power supply to the grid based on the historical wind and solar power generation data and the updated rated power of the hydrogen production equipment; returning to execute the step of inputting the hydrogen production power, the power exchange power of the power grid and the net power supply to the grid into the rated power optimization model to obtain the corresponding economic benefits, until the preset convergence conditions are met, and the updated rated power corresponding to the maximum economic benefit is used as the optimal rated power of the hydrogen production equipment; Wherein, the historical wind and solar power generation data include wind and solar power generation data at multiple sampling moments, and the wind and solar power generation data include the actual power generation power of wind turbines and the actual power generation power of photovoltaic turbines; the method of determining the new hydrogen production power of the hydrogen production equipment, the new power grid exchange power, and the new net power supply to the grid based on the historical wind and solar power generation data and the updated rated power of the hydrogen production equipment includes: calculating the power generation power of the hydrogen production equipment at the current sampling moment and the grid power supply to the grid at the current sampling moment based on the actual power generation power of the wind turbines, the actual power generation power of the photovoltaic turbines, and the updated rated power of the hydrogen production equipment; calculating the hydrogen production power of the hydrogen production equipment at the current sampling moment by combining the hydrogen production power of the hydrogen production equipment at the previous sampling moment with the power generation power of the hydrogen production equipment; calculating the grid exchange power at the current sampling moment based on the grid exchange power at the previous sampling moment and the grid power supply to the grid at the current sampling moment; The power grid exchange power at the previous sampling moment and the power grid online power at the current sampling moment are used to calculate the net power supply to the grid at the current sampling moment; it is determined whether the current sampling moment is the target sampling moment; if the current sampling moment is not the target sampling moment, the next sampling moment is taken as the new current sampling moment, and the process returns to execute the steps of calculating the power generation power of the hydrogen production equipment at the current sampling moment and the power grid online power at the current sampling moment based on the actual power generation power of the wind turbine set, the actual power generation power of the photovoltaic unit and the updated rated power of the hydrogen production equipment; until the current sampling moment is the target sampling moment, the calculation is stopped, and the hydrogen production power of the hydrogen production equipment at the current sampling moment is taken as the new hydrogen production power of the hydrogen production equipment, the power grid exchange power at the current sampling moment is taken as the new power grid exchange power, and the net power supply to the grid at the current sampling moment is taken as the new net power supply to the grid.
2. The method according to claim 1, characterized in that The economic benefit is the difference between operating income and cost; The operating income includes hydrogen sales income and electricity sales income; the hydrogen production income is determined by the amount of hydrogen produced by the hydrogen production equipment, and the electricity sales income is determined by the net amount of electricity sent to the grid; The cost includes the investment cost of wind and solar equipment, the investment cost of hydrogen production equipment and the grid-connected power exchange price difference cost; the grid-connected power exchange price difference cost is determined by the power exchange amount of the power grid.
3. The method according to claim 1, characterized in that The rated power optimization model also includes constraints, which include: the rated power of the hydrogen production equipment is greater than a first value and the rated power of the hydrogen production equipment is less than a second value; and the economic benefit is greater than the first value.
4. The method according to claim 1, characterized in that: The calculation of the power generation power of the hydrogen production equipment at the current sampling moment and the grid-connected power of the power grid at the current sampling moment based on the actual power generation power of the wind turbine group, the actual power generation power of the photovoltaic group and the updated rated power of the hydrogen production equipment at the current sampling moment includes: In the case where the sum of the actual power generation power of the wind turbine set and the actual power generation power of the photovoltaic set at the current sampling moment is greater than the updated rated power of the hydrogen production equipment, the updated rated power of the hydrogen production equipment is used as the power generation power of the hydrogen production equipment at the current sampling moment, and the sum of the actual power generation power of the wind turbine set and the actual power generation power of the photovoltaic set at the current sampling moment minus the updated rated power of the hydrogen production equipment is used as the grid-connected power of the power grid at the current sampling moment; When the sum of the actual power generation power of the wind turbine set and the actual power generation power of the photovoltaic set at the current sampling moment is less than the updated rated power of the hydrogen production equipment, and the net power supply to the grid at the current sampling moment is greater than the first value, the updated rated power of the hydrogen production equipment is used as the power generation power of the hydrogen production equipment at the current sampling moment, and the sum of the actual power generation power of the wind turbine set and the actual power generation power of the photovoltaic set at the current sampling moment minus the updated rated power of the hydrogen production equipment is used as the grid power of the power grid at the current sampling moment; When the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment is less than the rated power of the hydrogen production equipment, and the net power supply to the grid at the current sampling moment is equal to the first value, the sum of the actual power generation power of the wind turbine group and the actual power generation power of the photovoltaic group at the current sampling moment is used as the power generation power of the hydrogen production equipment at the current sampling moment, and the grid-connected power of the power grid at the current sampling moment is set to the first value.
5. The method according to claim 1, characterized in that The hydrogen production power of the hydrogen production equipment at the previous sampling time and the power generation power of the hydrogen production equipment are used to calculate the hydrogen production power of the hydrogen production equipment at the current sampling time, including: Calculating a first product of the power generation power of the hydrogen production equipment and a sampling period; The sum of the first product and the hydrogen production power of the hydrogen production equipment at the previous sampling moment is used as the hydrogen production power of the hydrogen production equipment at the current sampling moment.
6. The method according to claim 1, characterized in that The calculating of the power grid exchange power at the current sampling moment based on the power grid exchange power at the previous sampling moment and the grid access power at the current sampling moment includes: When the online power of the power grid at the current sampling moment is a negative number, calculating the second product of the negative number of the online power of the power grid at the current sampling moment and the sampling period; The sum of the second product and the power grid power exchange amount at the previous sampling moment is used as the power grid power exchange amount at the current sampling moment.
7. The method according to claim 1, characterized in that The calculation of the net power supply to the grid at the current sampling moment based on the power supply of the grid at the previous sampling moment and the grid power at the current sampling moment includes: Calculate the third product of the grid power at the current sampling moment and the sampling period; The sum of the third product and the power grid power exchange amount at the previous sampling moment is used as the power grid power exchange amount at the current sampling moment.
8. A device for optimizing the rated power of hydrogen production equipment, characterized in that: The device comprises: The power determination module is used to determine the hydrogen production power of the hydrogen production equipment, the power grid replacement power, and the net power supply to the grid based on historical wind and solar power generation data; A calculation module, used for inputting the hydrogen production power of the hydrogen production equipment, the power exchange power of the power grid and the net power supply to the grid into a pre-built rated power optimization model of the hydrogen production equipment for iterative calculation, wherein the rated power optimization model includes an independent variable and a target variable, the independent variable is the rated power of the hydrogen production equipment, and the target variable is the economic benefit; A rated power determination module, used for obtaining the optimal rated power of the hydrogen production equipment when the iterative calculation meets the convergence condition; Among them, the hydrogen production power of the hydrogen production equipment, the power exchange power of the power grid and the net power supply to the grid are input into the pre-built rated power optimization model of the hydrogen production equipment for iterative calculation, and the optimal rated power of the hydrogen production equipment is obtained when the iterative calculation meets the preset convergence conditions, including: inputting the hydrogen production power of the hydrogen production equipment, the power exchange power of the power grid and the net power supply to the grid into the rated power optimization model to obtain the corresponding economic benefits; judging whether the preset convergence conditions are met, and updating the rated power of the hydrogen production equipment if the preset convergence conditions are not met to obtain the updated rated power of the hydrogen production equipment; determining the new hydrogen production power, new power exchange power of the power grid and new net power supply to the grid based on the historical wind and solar power generation data and the updated rated power of the hydrogen production equipment; returning to execute the step of inputting the hydrogen production power, the power exchange power of the power grid and the net power supply to the grid into the rated power optimization model to obtain the corresponding economic benefits, until the preset convergence conditions are met, and the updated rated power corresponding to the maximum economic benefit is used as the optimal rated power of the hydrogen production equipment; Wherein, the historical wind and solar power generation data include wind and solar power generation data at multiple sampling moments, and the wind and solar power generation data include the actual power generation power of wind turbines and the actual power generation power of photovoltaic turbines; the method of determining the new hydrogen production power of the hydrogen production equipment, the new power grid exchange power, and the new net power supply to the grid based on the historical wind and solar power generation data and the updated rated power of the hydrogen production equipment includes: calculating the power generation power of the hydrogen production equipment at the current sampling moment and the grid power supply to the grid at the current sampling moment based on the actual power generation power of the wind turbines, the actual power generation power of the photovoltaic turbines, and the updated rated power of the hydrogen production equipment; calculating the hydrogen production power of the hydrogen production equipment at the current sampling moment by combining the hydrogen production power of the hydrogen production equipment at the previous sampling moment with the power generation power of the hydrogen production equipment; calculating the grid exchange power at the current sampling moment based on the grid exchange power at the previous sampling moment and the grid power supply to the grid at the current sampling moment; The power grid exchange power at the previous sampling moment and the power grid online power at the current sampling moment are used to calculate the net power supply to the grid at the current sampling moment; it is determined whether the current sampling moment is the target sampling moment; if the current sampling moment is not the target sampling moment, the next sampling moment is taken as the new current sampling moment, and the process returns to execute the steps of calculating the power generation power of the hydrogen production equipment at the current sampling moment and the power grid online power at the current sampling moment based on the actual power generation power of the wind turbine set, the actual power generation power of the photovoltaic unit and the updated rated power of the hydrogen production equipment; until the current sampling moment is the target sampling moment, the calculation is stopped, and the hydrogen production power of the hydrogen production equipment at the current sampling moment is taken as the new hydrogen production power of the hydrogen production equipment, the power grid exchange power at the current sampling moment is taken as the new power grid exchange power, and the net power supply to the grid at the current sampling moment is taken as the new net power supply to the grid.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for optimizing the rated power of the hydrogen production equipment as described in any one of claims 1-7.
10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for optimizing the rated power of hydrogen production equipment as described in any one of claims 1 to 7 is implemented.
