Hydrogen consumption scheduling method, device and equipment considering power-hydrogen supply-demand relationship and medium
By dynamically matching the supply and demand relationship between electricity and hydrogen, the hydrogen scheduling method solves the problem of low electricity-hydrogen coupling efficiency in industrial parks and achieves efficient utilization of resources and stability of the energy system.
Patent Information
- Application Number
- CN202411530721.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-10-30
AI Technical Summary
The existing technology is difficult to effectively and dynamically match the supply and demand relationship between power and hydrogen, resulting in low electric and hydrogen coupling efficiency in industrial parks, high resource waste, and unstable energy systems.
By collecting power supply and hydrogen consumption plans, we can judge operating conditions, formulate hydrogen production and hydrogen consumption plans, and use dual-objective optimization algorithms to generate hydrogen usage scheduling plans, dynamically adjust hydrogen load and hydrogen usage costs, and optimize hydrogen production and supply.
It improves the efficiency of electricity-hydrogen coupling, reduces resource waste, enhances the reliability and stability of the energy system in industrial parks, and makes full use of the fluctuation characteristics of renewable energy.
Smart Images

Figure CN119338197A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy management technology, and in particular to a hydrogen scheduling method, device, equipment and medium that take into account the supply and demand relationship of electric hydrogen. Background Art
[0002] In modern industrial parks, electricity and hydrogen are two important energy sources. With the development of renewable energy, the volatility of electricity supply has increased, and the role of hydrogen as an energy storage and energy carrier has become increasingly important. However, how to effectively and dynamically match the supply and demand of electricity and hydrogen, ensure the stable supply of electricity and hydrogen in industrial parks, improve the economy of system operation, and reduce the waste of resources caused by energy supply and demand mismatch is still an urgent problem to be solved.
[0003] Traditional hydrogen supply methods are usually static, that is, hydrogen production companies provide hydrogen according to pre-set production plans and the needs of industrial users. However, this method cannot flexibly respond to fluctuations in power supply, resulting in excessive hydrogen production when power supply is in excess, and insufficient hydrogen production when power supply is tight. Static hydrogen supply methods also cannot motivate industrial users to increase hydrogen consumption when power supply is abundant, thus failing to fully utilize the fluctuating characteristics of renewable energy. This reduces the efficiency of electricity-hydrogen coupling, increases resource waste, and reduces the reliability and stability of the energy system of industrial parks.
[0004] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention
[0005] The present invention provides a hydrogen scheduling method, device, equipment and medium that take into account the supply and demand relationship of electric hydrogen, thereby effectively solving the problems in the background technology.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is: a hydrogen scheduling method considering the supply and demand relationship of electric hydrogen, comprising the following steps:
[0007] Collect the day-ahead power supply plan and hydrogen consumption plan, and determine the operating conditions based on the collected plans;
[0008] Formulate a hydrogen production and use plan based on the operating conditions, and establish a user hydrogen use utility function;
[0009] A set of hydrogen costs of the optimal objective function is obtained by solving the dual-objective optimization algorithm, and a hydrogen scheduling plan is generated;
[0010] Monitor the hydrogen load transfer amount, update the fitting parameters in the hydrogen use utility function, collect user feedback, update the hydrogen use cost, and update the hydrogen use scheduling plan.
[0011] Furthermore, the operating conditions include:
[0012] The power supply P of the upper level in the period t a (t) can simultaneously meet the power demand P b (t) and hydrogen production power demand P c (t), that is, P a (t)≥P b (t)+P c (t);
[0013] The power supply P of the upper level in the period t a (t) can only meet the power demand P b (t) but does not meet the hydrogen production power demand P c (t), that is, P b (t)+P c (t)≥P a (t)≥P b (t);
[0014] The power supply P of the upper level in the period t a (t) Unable to meet the power demand P b (t), that is, P a (t)≤P b (t).
[0015] Furthermore, formulating a hydrogen production and use plan according to the operating conditions includes:
[0016] When P a (t)≥P b (t)+P c (t), the multi-transmission power ΔP(t) = P a (t)-(P b (t)+P c (t)) is consumed and all used to produce hydrogen and stored in the hydrogen storage tank. Under this condition, the planned hydrogen production power in the period t is P el (t)=ΔP(t)+P c (t), the planned hydrogen supply is λ is the unit energy loss of hydrogen production;
[0017] When P b (t)+P c (t)≥P a (t)≥P bAt (t), the hydrogen in the hydrogen storage tank is delivered to the user to meet the hydrogen supply shortage. If the hydrogen storage in the hydrogen storage tank does not meet the shortage, the power grid needs to provide hydrogen production power P buy (t) to meet the hydrogen supply demand. Under this condition, the planned hydrogen production power in the period t is P el (t) = P a (t)-P b (t)+P buy (t), the planned hydrogen supply is
[0018] When P a (t)≤P b (t), the fuel cell consumes the hydrogen in the hydrogen storage tank to generate electricity to meet the power supply shortage. After meeting the power supply shortage, if there is a surplus of hydrogen in the hydrogen storage tank, it will be transported to industrial users to meet the hydrogen supply shortage; if the hydrogen storage in the hydrogen storage tank does not meet the shortage, the power grid needs to provide hydrogen production power P buy (t) to meet the hydrogen supply demand. Under this condition, the planned hydrogen production power in the period t is P el (t) = P buy (t), the planned hydrogen supply is
[0019] Furthermore, the hydrogen utility function is:
[0020]
[0021] Where θ is the hydrogen utility of user n, α and β are fitting parameters; Q el (t) is the planned hydrogen supply volume of the hydrogen production enterprise to user n during period t.
[0022] Furthermore, the monitoring of the hydrogen load transfer amount and updating of the fitting parameters in the hydrogen utility function include the following steps:
[0023] Record the user's actual hydrogen load transfer ΔH i '(t);
[0024] By formula Calculate the actual hydrogen utility θ'(t) of industrial user i in period t;
[0025] Substituting the actual hydrogen utility θ'(t) at different time periods into the formula The θ(t) in updates the fitting parameters α and β.
[0026] Furthermore, the method of solving a set of hydrogen costs of the optimal objective function by using a dual-objective optimization algorithm comprises the following steps:
[0027] Generate multiple sets of hydrogen cost sequences r i(t), and set the initial hydrogen benchmark cost as the average value of the hydrogen cost series for all periods of the day, that is:
[0028]
[0029] Based on the hydrogen utility function Calculate hydrogen load transfer with hydrogen plan;
[0030] The hydrogen load transfer of all industrial users during the whole period and economic benefits of hydrogen production enterprises For the optimization goal, a set of hydrogen cost standards that can produce the maximum hydrogen load transfer and the maximum economic benefits of hydrogen production enterprises are solved.
[0031] Furthermore, the hydrogen utility function The calculation of hydrogen load transfer with the hydrogen plan includes:
[0032] Assume that the benchmark cost of hydrogen used by industrial user i is r i 0 (t) yuan / Nm3, useful hydrogen cost in period t i (t) yuan / Nm3, when r i (t)≥r i 0 At (t), industrial user i generates hydrogen load transfer ΔH i (t) = θ(t)Q el (t);
[0033] Industrial user i has ΔH i (t)Nm3 of hydrogen demand is transferred to the subsequent period, and the hydrogen benchmark cost is updated to r at the next moment. i 0 (t+1)=r i (t), the hydrogen consumption of industrial user i is updated to Q e ' l (t+1)=ΔH i (t)+Q el (t+1);
[0034] If r i (t)<r i 0 (t), ΔH i (t) = 0, the baseline cost of hydrogen usage at the next moment remains unchanged.
[0035] Furthermore, the dual-objective optimization algorithm comprises the following steps:
[0036] Input the day-ahead power supply plan and hydrogen consumption plan data, and the hydrogen consumption cost sequence r i(t), initialize the hydrogen cost series population; input the hydrogen load transfer amount H of all industrial users in the whole period of the objective function total The economic benefits of hydrogen production enterprises total The calculation method calculates the objective function value of the population, wherein the objective function value of the population is based on the hydrogen cost sequence r i (t) Calculate the hydrogen load transfer H of all industrial users during the whole period total The economic benefits of hydrogen production enterprises total ;
[0037] Use non-dominated sorting to screen multiple groups of parent hydrogen cost sequences, and form multiple groups of child hydrogen cost sequences by selecting, crossing over, and mutating the screened individuals;
[0038] After the generated multiple groups of child hydrogen cost sequences have corresponding objective function values greater than the multiple groups of parent hydrogen cost sequences, the parent population is merged with the child population, and new individuals are selected to form a new parent population through non-dominated sorting and crowding calculation again, until the corresponding objective function value of the new parent population is greater than the corresponding objective function value of the child population, and the stopping criterion is met;
[0039] The number of iterations is set, and the new parent population is made to repeat selection, crossover, and mutation until the number of iterations is met. The optimal individual objective function value in the population after the iteration is output, which can calculate a set of hydrogen cost sequences for the maximum hydrogen load transfer and the maximum economic benefit of the hydrogen production enterprise.
[0040] The present invention also includes a hydrogen scheduling device that takes into account the supply and demand relationship of electric hydrogen, using the above method, the device comprising:
[0041] An operating condition judgment unit is used to collect the day-ahead power supply plan and hydrogen consumption plan, and judge the operating condition based on the collected plans;
[0042] A hydrogen utility calculation unit, used to formulate a hydrogen production and use plan according to the operating conditions, and to establish a user hydrogen utility function;
[0043] A hydrogen use scheduling unit is used to obtain a set of hydrogen use costs of the optimal objective function through a dual-objective optimization algorithm and generate a hydrogen use scheduling plan;
[0044] The updating unit is used to monitor the hydrogen load transfer amount, update the fitting parameters in the hydrogen use utility function, collect user feedback, update the hydrogen use cost, and update the hydrogen use scheduling plan.
[0045] The present invention also includes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described above is implemented.
[0046] The present invention also includes a storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described above is implemented.
[0047] The beneficial effects of the present invention are as follows: the present invention enables industrial users' hydrogen load to dynamically match hydrogen production and supply plans. The dynamic adjustment of hydrogen cost standards encourages industrial users to increase hydrogen consumption during periods of abundant electricity supply, thereby converting fluctuations in electricity supply into a means of regulating hydrogen demand. This method not only improves the efficiency of electricity-hydrogen coupling and reduces resource waste, but also enhances the reliability and stability of the industrial park energy system. Through the monitoring and data analysis of hydrogen flow acquisition equipment, the calculation standard and accuracy of hydrogen cost are further optimized, making the entire system more efficient and economical in actual operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] 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, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0049] Figure 1 is a flow chart of the method in Example 1;
[0050] Figure 2 It is a structural schematic diagram of the device in Example 1;
[0051] Figure 3 The industrial park structure and energy flow diagram in Example 2;
[0052] Figure 4 A flow chart for generating the hydrogen cost for the industrial park in Example 2;
[0053] Figure 5 It is a flow chart of the dual-objective optimization algorithm in Example 2;
[0054] Figure 6 A schematic diagram of the structure of a computer device. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0056] Embodiment 1:
[0057] like Figure 1As shown: A hydrogen scheduling method considering the supply and demand relationship of electric hydrogen includes the following steps:
[0058] Collect the day-ahead power supply plan and hydrogen consumption plan, and determine the operating conditions based on the collected plans;
[0059] Formulate hydrogen production and use plans based on operating conditions, and establish a hydrogen use utility function for users;
[0060] A set of hydrogen costs of the optimal objective function is obtained by solving the dual-objective optimization algorithm, and a hydrogen scheduling plan is generated;
[0061] Monitor the amount of hydrogen load transfer, update the fitting parameters in the hydrogen utility function, collect user feedback, update the hydrogen cost, and update the hydrogen scheduling plan.
[0062] Dynamically match the hydrogen load of industrial users with hydrogen production and supply plans. Dynamic adjustment of hydrogen cost standards encourages industrial users to increase hydrogen consumption during periods of abundant electricity supply, thereby converting fluctuations in electricity supply into a means of regulating hydrogen demand. This method not only improves the efficiency of electricity-hydrogen coupling and reduces resource waste, but also enhances the reliability and stability of the industrial park energy system. Through the monitoring and data analysis of hydrogen flow acquisition equipment, the calculation standard and accuracy of hydrogen cost are further optimized, making the entire system more efficient and economical in actual operation.
[0063] In this embodiment, the operating conditions include:
[0064] The power supply P of the upper level in the period t a (t) can simultaneously meet the power demand P b (t) and hydrogen production power demand P c (t), that is, P a (t)≥P b (t)+P c (t);
[0065] The power supply P of the upper level in the period t a (t) can only meet the power demand P b (t) but does not meet the hydrogen production power demand P c (t), that is, P b (t)+P c (t)≥P a (t)≥P b (t);
[0066] The power supply P of the upper level in the period t a (t) Unable to meet the power demand P b (t), that is, P a (t)≤P b (t).
[0067] Formulate hydrogen production and use plans based on operating conditions, including:
[0068] When P a (t)≥P b (t)+P c (t), the multi-transmission power ΔP(t) = P a (t)-(P b (t)+P c (t)) is consumed and all used to produce hydrogen and stored in the hydrogen storage tank. Under this condition, the planned hydrogen production power in the period t is P el (t)=ΔP(t)+P c (t), the planned hydrogen supply is λ is the unit energy loss of hydrogen production;
[0069] When P b (t)+P c (t)≥P a (t)≥P b At (t), the hydrogen in the hydrogen storage tank is delivered to the user to meet the hydrogen supply shortage. If the hydrogen storage in the hydrogen storage tank does not meet the shortage, the power grid needs to provide hydrogen production power P buy (t) to meet the hydrogen supply demand. Under this condition, the planned hydrogen production power in the period t is P el (t) = P a (t)-P b (t)+P buy (t), the planned hydrogen supply is
[0070] When P a (t)≤P b (t), the fuel cell consumes the hydrogen in the hydrogen storage tank to generate electricity to meet the power supply shortage. After meeting the power supply shortage, if there is a surplus of hydrogen in the hydrogen storage tank, it will be transported to industrial users to meet the hydrogen supply shortage; if the hydrogen storage in the hydrogen storage tank does not meet the shortage, the power grid needs to provide hydrogen production power P buy (t) to meet the hydrogen supply demand. Under this condition, the planned hydrogen production power in the period t is P el (t) = P buy (t), the planned hydrogen supply is
[0071] The hydrogen utility function is:
[0072]
[0073] Where θ is the hydrogen utility of user n, α and β are fitting parameters; Q el (t) is the planned hydrogen supply volume of the hydrogen production enterprise to user n during period t.
[0074] In this embodiment, monitoring the hydrogen load transfer amount and updating the fitting parameters in the hydrogen utility function include the following steps:
[0075] Record the user's actual hydrogen load transfer ΔH i '(t);
[0076] By formula Calculate the actual hydrogen utility θ'(t) of industrial user i in period t;
[0077] Substituting the actual hydrogen utility θ'(t) at different time periods into the formula The θ(t) in θ(t) updates the fitting parameters α and β.
[0078] In this embodiment, a set of hydrogen costs of the optimal objective function is obtained by solving the dual-objective optimization algorithm, including the following steps:
[0079] Generate multiple sets of hydrogen cost sequences r i (t), and set the initial hydrogen benchmark cost as the average value of the hydrogen cost series for all periods of the day, that is:
[0080]
[0081] Based on hydrogen utility function Calculate hydrogen load transfer with hydrogen plan;
[0082] The hydrogen load transfer of all industrial users during the whole period and economic benefits of hydrogen production enterprises For the optimization goal, a set of hydrogen cost standards that can produce the maximum hydrogen load transfer and the maximum economic benefits of hydrogen production enterprises are solved.
[0083] Based on hydrogen utility function The calculation of hydrogen load transfer with the hydrogen plan includes:
[0084] Assume that the benchmark cost of hydrogen used by industrial user i is r i 0 (t) yuan / Nm3, useful hydrogen cost in period t i (t) yuan / Nm3, when r i (t)≥r i 0 At (t), industrial user i generates hydrogen load transfer ΔH i (t) = θ(t)Q el (t);
[0085] Industrial user i has ΔH i (t)Nm3 of hydrogen demand is transferred to the subsequent period, and the hydrogen benchmark cost is updated to r at the next moment. i 0(t+1)=r i (t), the hydrogen consumption of industrial user i is updated to Q e ' l (t+1)=ΔH i (t)+Q el (t+1);
[0086] If r i (t)<r i 0 (t), ΔH i (t) = 0, the baseline cost of hydrogen usage at the next moment remains unchanged.
[0087] The dual-objective optimization algorithm includes the following steps:
[0088] Input the day-ahead power supply plan and hydrogen consumption plan data, and the hydrogen consumption cost sequence r i (t), initialize the hydrogen cost series population; input the hydrogen load transfer amount H of all industrial users in the whole period of the objective function total The economic benefits of hydrogen production enterprises total The calculation method is to calculate the objective function value of the population, and the objective function value of the population is based on the hydrogen cost sequence r i (t) Calculate the hydrogen load transfer H of all industrial users during the whole period total The economic benefits of hydrogen production enterprises total ;
[0089] Use non-dominated sorting to screen multiple groups of parent hydrogen cost sequences, and form multiple groups of child hydrogen cost sequences by selecting, crossing over, and mutating the screened individuals;
[0090] After the generated multiple groups of child hydrogen cost sequences have corresponding objective function values greater than the multiple groups of parent hydrogen cost sequences, the parent population is merged with the child population, and new individuals are selected to form a new parent population through non-dominated sorting and crowding calculation again, until the corresponding objective function value of the new parent population is greater than the corresponding objective function value of the child population, and the stopping criterion is met;
[0091] The number of iterations is set, and the new parent population is made to repeat selection, crossover, and mutation until the number of iterations is met. The optimal individual objective function value in the population after the iteration is output, which can calculate a set of hydrogen cost sequences for the maximum hydrogen load transfer and the maximum economic benefit of the hydrogen production enterprise.
[0092] like Figure 2 As shown, this embodiment also includes a hydrogen scheduling device that takes into account the supply and demand relationship of electric hydrogen. Using the above method, the device includes:
[0093] An operating condition judgment unit is used to collect the day-ahead power supply plan and hydrogen consumption plan, and judge the operating condition based on the collected plans;
[0094] A hydrogen utility calculation unit is used to formulate hydrogen production and use plans according to operating conditions and establish a user hydrogen utility function;
[0095] A hydrogen use scheduling unit is used to obtain a set of hydrogen use costs of the optimal objective function through a dual-objective optimization algorithm and generate a hydrogen use scheduling plan;
[0096] The updating unit is used to monitor the hydrogen load transfer amount, update the fitting parameters in the hydrogen utility function, collect user feedback, update the hydrogen cost, and update the hydrogen scheduling plan.
[0097] Embodiment 2:
[0098] like Figure 3 The structure diagram of the industrial park and the energy flow are shown in Figure 1. The equipment involved includes: photovoltaic power generation equipment, wind power generation equipment, gas turbines, electrolyzers, hydrogen storage tanks, fuel cells, industrial user hydrogen load, and industrial user electricity load. The superior of the hydrogen production enterprise is composed of power companies, which are responsible for providing the hydrogen production enterprise with a day-ahead output plan; the subordinate is composed of industrial user groups, which are responsible for providing the hydrogen production enterprise with a day-ahead electricity and hydrogen plans. As an energy manager, the hydrogen production enterprise formulates a hydrogen production and supply plan based on the supply and demand information provided by its superiors and subordinates.
[0099] According to the electricity and hydrogen supply and demand information provided by the upper and lower levels of the hydrogen production enterprise, the following three working conditions can be generated:
[0100] Working condition 1): The power supply P of the upper level in the period t a (t) can simultaneously meet the power demand P b (t) and hydrogen production power demand P c (t), that is, P a (t)≥P b (t)+P c (t). At this time, the multi-transmission power ΔP(t) = P a (t)-(P b (t)+P c (t)) is consumed by hydrogen production enterprises, all of which are used to produce hydrogen and stored in hydrogen storage tanks. Therefore, the planned hydrogen production power in the t period under this condition is P el (t)=ΔP(t)+P c (t), the planned hydrogen supply is λ is the unit energy loss of hydrogen production. The hydrogen production power mainly reflects the operating power of the electrolyzer of the hydrogen production enterprise during the period t; the planned hydrogen supply mainly reflects the amount of hydrogen delivered by the hydrogen storage tank to industrial users during the period t of the hydrogen production enterprise.
[0101] Working condition 2): The power supply P of the upper level in the period t a (t) can only meet the power demand P b (t) but does not meet the hydrogen production power demand P c (t), that is, P b (t)+P c (t)≥P a (t)≥P b (t). At this time, hydrogen production enterprises deliver hydrogen in hydrogen storage tanks to industrial users to meet the shortage of hydrogen supply. If the amount of hydrogen stored in the hydrogen storage tank does not meet the shortage, the power grid needs to provide hydrogen production power P buy (t) to meet the hydrogen supply demand. Therefore, the planned hydrogen production power in the period t under this condition is P el (t) = P a (t)-P b (t)+P buy (t), the planned hydrogen supply is λ is the unit energy loss of hydrogen production.
[0102] Working condition 3): The power supply P of the upper level in the period t a (t) Unable to meet the power demand P b (t), that is, P a (t)≤P b (t). At this time, the hydrogen production enterprise consumes the hydrogen in the hydrogen storage tank through fuel cells to generate electricity to meet the power supply shortage. After meeting the power supply shortage, if there is a surplus of hydrogen in the hydrogen storage tank, it will be transported to industrial users to meet the hydrogen supply shortage; if the hydrogen storage in the hydrogen storage tank does not meet the shortage, the power grid needs to provide hydrogen production power P buy (t) to meet the hydrogen supply demand. Therefore, the planned hydrogen production power in the period t under this condition is P el (t) = P buy (t), the planned hydrogen supply is λ is the unit energy loss of hydrogen production.
[0103] like Figure 4 As shown in the figure, the hydrogen cost standard is used to adjust the time distribution of hydrogen load, which is announced to industrial users by hydrogen production enterprises in the near future. The formulation steps are as follows:
[0104] Step 1): Establish the hydrogen utility function for industrial users based on the hydrogen use plan provided by the subordinate:
[0105]
[0106] θ is the hydrogen use utility of user n, which is used to quantitatively analyze the hydrogen use benefits of industrial users in period t based on the hydrogen use plan of industrial users; α and β are fitting parameters; Q el(t) is the planned hydrogen supply volume of hydrogen production enterprises to user n in period t. The function θ(t) satisfies the increasing function characteristics and the marginal decreasing function characteristics. Therefore, changing the fitting parameters can make θ(t) based on the hydrogen demand of industrial users Q el (t) Fit a hydrogen utilization efficiency curve with a value range between 0 and 1.
[0107] Step 2): Hydrogen base cost r i 0 (t) can be used as a reference standard to predict whether industrial users will generate hydrogen load transfer and be affected by the hydrogen cost series r i (t) changes, and the initial hydrogen benchmark cost is the average value of the hydrogen cost sequence for all periods of the day, that is,
[0108] Assume that the base cost of hydrogen for industrial user i is r i 0 (t) yuan / Nm3, if the cost of hydrogen used in the period t is r i (t) yuan / Nm3, when r i (t)≥r i 0 At (t), industrial user i generates hydrogen load transfer ΔH i (t) = θ(t)Q el (t), that is, industrial user i has ΔH i The hydrogen demand of (t) Nm3 is transferred to the period t+1.
[0109] The hydrogen benchmark cost for the next time period t+1 is updated to r i 0 (t+1)=r i (t), the hydrogen consumption of industrial user i is updated to Q e ' l (t+1)=ΔH i (t)+Q el (t+1); if r i (t)<r i 0 (t), ΔH i (t) = 0, the baseline cost of hydrogen usage at the next moment remains unchanged.
[0110] Step 3): Take the hydrogen load transfer amount of all industrial users in period t and economic benefits of hydrogen production enterprises To optimize the target, a set of hydrogen cost sequences r of the optimal objective function is obtained by solving the dual-objective optimization algorithm. i ,in is the weight coefficient, which is determined by the supply and demand relationship between electricity and hydrogen during period t. The algorithm solution process is as follows: Figure 5The specific solution process of introducing the dual-objective optimization algorithm to the hydrogen cost standard is as follows:
[0111] First, relevant scenario data and equipment parameters (including equipment operating parameters in the park, equipment output constraints, hydrogen storage device constraints, grid interaction constraints, hydrogen cost-level power supply plan, and industrial user electricity and hydrogen plan) are input, and multiple sets of hydrogen cost sequences r are initialized within the hydrogen cost constraint range. i (t) Population.
[0112] Based on the scenario data, the planned hydrogen production power P for all periods can be obtained by using step 1 in the hydrogen cost standard formulation step. el (t) and the planned hydrogen supply Q el (t) and generates the corresponding hydrogen utility function θ(t).
[0113] The full-time hydrogen load transfer ΔH of all industrial users can be obtained by step 2 of the hydrogen cost standard for each period of the day. i (t).
[0114] Through the calculation method of hydrogen load transfer of all industrial users mentioned above Calculation method of total cost of hydrogen use Calculate the objective function value for each population.
[0115] For the initially generated population (parent generation), the non-dominated sorting is first used to screen the parent generation to screen out the population with a larger objective function of hydrogen transfer load and economic benefit, and then the offspring are formed by selecting, crossing over, and mutating the screened individuals until the generated second generation meets the stopping criteria (the second generation objective function value is greater than the parent population).
[0116] The parent population is merged with the child population, and new individuals are selected to form a new parent population through non-dominated sorting and crowding calculation again, until the new parent population meets the stopping criterion (the objective function value of the new parent population is further improved).
[0117] The number of iterations is set, and the new parent population is made to repeat selection, crossover, and mutation behaviors until the number of iterations is met. The optimal individual objective function value and hydrogen cost in the population after the iteration are output, that is, a set of hydrogen cost standards that produce the maximum hydrogen load transfer and the maximum economic benefit of the hydrogen production enterprise in the population.
[0118] In the actual operation of the industrial park, the hydrogen production enterprise records the actual hydrogen load transfer of industrial users ΔH i '(t), through the formula Calculate the actual hydrogen utility θ'(t) of industrial user i in period t, and update the hydrogen cost in period t to r i '(t)=r i(t)θ'(t), and replace the actual hydrogen utility θ'(t) in different periods with the formula The fitting parameters α and β are updated by θ(t) in , and applied in the subsequent formulation of hydrogen cost standards.
[0119] After the daily scheduling plan is completed, the subsequent hydrogen cost generation range will be adjusted based on user feedback, fitting parameter changes and actual operating results, and the hydrogen production and supply plans will be continuously optimized to achieve better electricity-hydrogen coupling effects and reliable operation of the industrial park.
[0120] See also Figure 6 A computer device 400 provided in an embodiment of the present application includes: a processor 410 and a memory 420, wherein the memory 420 stores a computer program executable by the processor 410, and when the computer program is executed by the processor 410, the above method is executed.
[0121] The embodiment of the present application further provides a storage medium 430 on which a computer program is stored. When the computer program is run by the processor 410, the above method is executed.
[0122] Among them, the storage medium 430 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
[0123] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0124] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0125] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0126] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0127] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0128] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0129] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0130] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A hydrogen scheduling method considering the supply and demand relationship of electric hydrogen, characterized in that: The steps include: Collect the day-ahead power supply plan and hydrogen consumption plan, and determine the operating conditions based on the collected plans; Formulate a hydrogen production and use plan based on the operating conditions, and establish a user hydrogen use utility function; A set of hydrogen costs of the optimal objective function is obtained by solving the dual-objective optimization algorithm, and a hydrogen scheduling plan is generated; Monitor the hydrogen load transfer amount, update the fitting parameters in the hydrogen use utility function, collect user feedback, update the hydrogen use cost, and update the hydrogen use scheduling plan.
2. The hydrogen scheduling method considering the supply and demand relationship of electric hydrogen according to claim 1 is characterized in that: The operating conditions include: The power supply P of the upper level in the period t a (t) can simultaneously meet the power demand P b (t) and hydrogen production power demand P c (t), denoted as P a (t)≥P b (t)+P c (t); The power supply P of the upper level in the period t a (t) can only meet the power demand P b (t) but does not meet the hydrogen production power demand P c (t), denoted as P b (t)+P c (t)≥P a (t)≥P b (t); The power supply P of the upper level in the period t a (t) Unable to meet the power demand P b (t), denoted as P a (t)≤P b (t).
3. The hydrogen scheduling method considering the supply and demand relationship of electric hydrogen according to claim 2 is characterized in that: The formulating of a hydrogen production and use plan according to the operating conditions includes: When P a (t)≥P b (t)+P c (t), the multi-transmission power ΔP(t) = P a (t)-(P b (t)+P c (t)) is consumed and all used to produce hydrogen and stored in the hydrogen storage tank. Under this condition, the planned hydrogen production power in the period t is P el (t) = ΔP(t) + P c (t), the planned hydrogen supply is λ is the unit energy loss of hydrogen production; When P b (t)+P c (t)≥P a (t)≥P b At (t), the hydrogen in the hydrogen storage tank is delivered to the user to meet the hydrogen supply shortage. If the hydrogen storage in the hydrogen storage tank does not meet the shortage, the power grid needs to provide hydrogen production power P buy (t) to meet the hydrogen supply demand. Under this condition, the planned hydrogen production power in the period t is P el (t) = P a (t)-P b (t)+P buy (t), the planned hydrogen supply is When P a (t)≤P b (t), the fuel cell consumes the hydrogen in the hydrogen storage tank to generate electricity to meet the power supply shortage. After meeting the power supply shortage, if there is a surplus of hydrogen in the hydrogen storage tank, it will be transported to industrial users to meet the hydrogen supply shortage; if the hydrogen storage in the hydrogen storage tank does not meet the shortage, the power grid needs to provide hydrogen production power P buy (t) to meet the hydrogen supply demand. Under this condition, the planned hydrogen production power in the period t is P el (t) = P buy (t), the planned hydrogen supply is 4. The hydrogen scheduling method considering the supply and demand relationship of electric hydrogen according to claim 1 is characterized in that: The hydrogen utility function is: Where θ is the hydrogen utility of user n, α and β are fitting parameters; Q el (t) is the planned hydrogen supply volume of the hydrogen production enterprise to user n during period t.
5. The hydrogen scheduling method considering the supply and demand relationship of electric hydrogen according to claim 4 is characterized in that: The monitoring of the hydrogen load transfer amount and updating of the fitting parameters in the hydrogen utility function include the following steps: Record the user's actual hydrogen load transfer ΔH i '(t); By formula Calculate the actual hydrogen utility θ'(t) of industrial user i in period t; Substituting the actual hydrogen utility θ'(t) at different time periods into the formula The θ(t) in θ(t) updates the fitting parameters α and β.
6. The hydrogen scheduling method considering the supply and demand relationship of electric hydrogen according to claim 4 is characterized in that: The method of solving a set of hydrogen costs of the optimal objective function by using a dual-objective optimization algorithm comprises the following steps: Generate multiple sets of hydrogen cost sequences r i (t), and set the initial hydrogen benchmark cost as the average value of the hydrogen cost series for all periods of the day, that is: Based on the hydrogen utility function Calculate hydrogen load transfer with hydrogen plan; The hydrogen load transfer of all industrial users during the whole period and economic benefits of hydrogen production enterprises To optimize the goal, a set of hydrogen cost standards that can produce the maximum hydrogen load transfer and the maximum economic benefits of hydrogen production enterprises are solved.
7. The hydrogen scheduling method considering the supply and demand relationship of electric hydrogen according to claim 6 is characterized in that: The hydrogen utility function The calculation of hydrogen load transfer with the hydrogen plan includes: Assume that the benchmark cost of hydrogen used by industrial user i is Yuan / Nm3, useful hydrogen cost in period t i (t) yuan / Nm3, when When industrial user i generates hydrogen load transfer ΔH i (t) = θ(t)Q el (t); Industrial user i has ΔH i The hydrogen demand of (t)Nm3 is transferred to the subsequent period, and the hydrogen base cost is updated to The hydrogen consumption of industrial user i is updated to Q e ' l (t+1)=ΔH i (t)+Q el (t+1); Ruodang When ΔH i (t) = 0, the baseline cost of hydrogen usage at the next moment remains unchanged.
8. The hydrogen scheduling method considering the supply and demand relationship of electric hydrogen according to claim 7 is characterized in that: The dual-objective optimization algorithm comprises the following steps: Input the day-ahead power supply plan and hydrogen consumption plan data, and the hydrogen consumption cost sequence r i (t), initialize the hydrogen cost series population; input the hydrogen load transfer amount H of all industrial users in the whole period of the objective function total The economic benefits of hydrogen production enterprises total The calculation method calculates the objective function value of the population, wherein the objective function value of the population is based on the hydrogen cost sequence r i (t) Calculate the hydrogen load transfer H of all industrial users during the whole period total The economic benefits of hydrogen production enterprises total ; Use non-dominated sorting to screen multiple groups of parent hydrogen cost sequences, and form multiple groups of child hydrogen cost sequences by selecting, crossing over, and mutating the screened individuals; After the generated multiple groups of child hydrogen cost sequences have corresponding objective function values greater than the multiple groups of parent hydrogen cost sequences, the parent population is merged with the child population, and new individuals are selected to form a new parent population through non-dominated sorting and crowding calculation again, until the corresponding objective function value of the new parent population is greater than the corresponding objective function value of the child population, and the stopping criterion is met; The number of iterations is set, and the new parent population is made to repeat selection, crossover, and mutation until the number of iterations is met. The optimal individual objective function value in the population after the iteration is output, which can calculate a set of hydrogen cost sequences for the maximum hydrogen load transfer and the maximum economic benefit of the hydrogen production enterprise.
9. A hydrogen scheduling device considering the supply and demand relationship of electric hydrogen, characterized in that: Using the method according to any one of claims 1 to 8, the device comprises: An operating condition judgment unit is used to collect the day-ahead power supply plan and hydrogen consumption plan, and judge the operating condition based on the collected plans; A hydrogen utility calculation unit, used to formulate a hydrogen production and use plan according to the operating conditions, and to establish a user hydrogen utility function; A hydrogen use scheduling unit is used to obtain a set of hydrogen use costs of the optimal objective function through a dual-objective optimization algorithm and generate a hydrogen use scheduling plan; The updating unit is used to monitor the hydrogen load transfer amount, update the fitting parameters in the hydrogen use utility function, collect user feedback, update the hydrogen use cost, and update the hydrogen use scheduling plan.
10. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
11. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Big data-based hydrogen production, transportation and hydrogenation scheduling system
CN113420382A
Electro-hydrogen energy system scheduling method considering flexible hydrogen demand
CN113452020A
Comprehensive energy system low-carbon optimization operation method considering electricity-to-gas efficient hydrogen utilization
CN116401868A
Park-level IES optimal scheduling method and device
CN116663714A