A method, device, equipment and storage medium for optimizing capacity configuration of hydrogen storage system
By constructing the capacity allocation optimization objective function and constraint conditions, the hydrogen storage system capacity optimization parameters are generated, the hydrogen supply flow is controlled, the hydrogen storage system capacity allocation adaptation problem is solved, and a stable and economical hydrogen production-hydrogen storage-hydrogen consumption system is achieved. Operate and maximize hydrogen production utilization.
Patent Information
- Application Number
- CN202310879341.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-07-17
AI Technical Summary
How to determine the storage capacity of the hydrogen storage system to adapt the hydrogen production-hydrogen storage-hydrogen consumption system to make it operate stably and economically, especially in the face of the intermittency and volatility of renewable energy hydrogen production systems.
By obtaining the hydrogen production flow rate of the hydrogen production system at different times, the current and previous hydrogen storage capacity of the hydrogen storage system, the hydrogen supply flow rate, and the maximum and minimum hydrogen consumption flow rate of the hydrogen consumption system, the capacity allocation optimization objective function and constraints are constructed. According to the conditions, the hydrogen storage system capacity optimization parameters are generated to control the hydrogen supply flow, achieve the minimum hydrogen storage capacity configuration and maximize the hydrogen production utilization rate.
It achieves stable operation of the hydrogen production-hydrogen storage-hydrogen consumption system, reduces hydrogen storage investment costs, improves economic benefits, and avoids system discontinuity problems caused by hydrogen flow fluctuations.
Smart Images

Figure CN116894612B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hydrogen storage systems, and in particular to a method, device, equipment and storage medium for optimizing capacity configuration of a hydrogen storage system. Background Art
[0002] Due to the intermittent and volatile nature of renewable energy sources such as photovoltaics and wind power, the renewable energy hydrogen production-storage-use system is a complex dynamic system. The fluctuations at the power generation end are transmitted to the hydrogen production end, making the hydrogen flow intermittent and fluctuating. However, at the hydrogen use end, especially the chemical hydrogen use system that needs to operate continuously, it is difficult to withstand too large changes in hydrogen flow. Therefore, a hydrogen storage system is needed to provide storage and buffering for hydrogen, so as to both absorb renewable energy hydrogen production and meet the dynamic and stable operation of the downstream hydrogen use system. However, how to determine the storage capacity of the hydrogen storage system to adapt to the hydrogen production-storage-use system so that the hydrogen production-storage-use system can operate stably and economically has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] In view of this, the present invention provides a method, device, equipment and storage medium for optimizing the capacity configuration of a hydrogen storage system to solve the technical problem of how to determine the storage capacity of the hydrogen storage system to adapt to the hydrogen production-storage-use system so that the hydrogen production-storage-use system can operate stably and economically.
[0004] In a first aspect, the present invention provides a method for optimizing the capacity configuration of a hydrogen storage system, comprising: obtaining the hydrogen production flow of the hydrogen production system at different times, the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity of the hydrogen storage system, and the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate of the hydrogen consumption system, wherein the hydrogen production flow rate at different times includes the hydrogen production flow rate at the current moment; constructing a capacity configuration optimization objective function based on the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity; constructing constraints corresponding to the capacity configuration optimization objective function based on the hydrogen production flow rates at different times, the hydrogen storage capacity at the current moment, the hydrogen supply flow rate at the previous moment, the hydrogen supply flow rate at the current moment, the maximum hydrogen storage capacity, the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate; solving the capacity configuration optimization objective function to generate capacity optimization parameters of the hydrogen storage system; wherein the capacity optimization parameters of the hydrogen storage system are used to control the hydrogen supply flow rate of the hydrogen storage system at the current moment.
[0005] The method for optimizing the capacity configuration of a hydrogen storage system provided in this embodiment constructs a capacity configuration optimization objective function and constraints corresponding to the capacity configuration optimization objective function by acquiring the hydrogen production flow of the hydrogen production system at different times, the hydrogen storage capacity of the hydrogen storage system at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate and the maximum hydrogen storage capacity, and the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate of the hydrogen consumption system; and solves the capacity configuration optimization objective function to generate the capacity optimization parameters of the hydrogen storage system to control the hydrogen supply flow rate of the hydrogen storage system. On the one hand, the hydrogen storage system is a transition system connecting fluctuating hydrogen production and flexible hydrogen use. According to the relationship between the hydrogen production flow rate of the hydrogen production system, the hydrogen storage capacity of the hydrogen storage system, the maximum hydrogen storage capacity of the hydrogen storage system, the maximum hydrogen consumption flow rate of the hydrogen consumption system and the minimum hydrogen consumption flow rate of the hydrogen consumption system, the capacity optimization parameters of the hydrogen storage system are generated by solving the objective function; on the other hand, the hydrogen supply flow rate of the hydrogen storage system is controlled by using the capacity optimization parameters of the hydrogen storage system, so as to achieve the effect of maximizing the utilization rate of hydrogen production with the minimum hydrogen storage capacity configuration, while minimizing the investment cost of hydrogen storage and improving economic benefits.
[0006] In an optional embodiment, the constraints include an average value constraint of hydrogen production flow rate within the first prediction period, an average value constraint of hydrogen production flow rate within the second prediction period, a difference constraint of hydrogen flow rate in different gears, a hydrogen storage capacity constraint, an actual hydrogen production flow rate constraint at the current moment, a capacity coefficient constraint and a hydrogen supply flow constraint.
[0007] The hydrogen storage system capacity configuration optimization method provided in this embodiment solves the objective function by constructing different constraints, thereby generating hydrogen storage system capacity optimization parameters, thereby achieving the effect of maximizing hydrogen production utilization with the minimum hydrogen storage capacity configuration, while minimizing the hydrogen storage investment cost and improving economic benefits.
[0008] In an optional embodiment, based on the hydrogen production flow at different times, the hydrogen storage capacity at the current time, the hydrogen supply flow at the previous time, the hydrogen supply flow at the current time, the maximum hydrogen storage capacity, the maximum hydrogen consumption flow and the minimum hydrogen consumption flow, the constraint conditions corresponding to the capacity configuration optimization objective function are constructed, including: obtaining a first prediction duration, determining the average value constraint condition of the hydrogen production flow within the first prediction duration based on the hydrogen production flow at different times and the first prediction duration; obtaining a second prediction duration, determining the average value constraint condition of the hydrogen production flow within the second prediction duration based on the hydrogen production flow at different times and the second prediction duration; obtaining the number of hydrogen consumption flow grades Based on the maximum hydrogen flow rate and the minimum hydrogen flow rate, determine the difference constraints of hydrogen flow rates at different levels; based on the hydrogen storage capacity at the previous moment, the hydrogen production flow rate at the current moment, the hydrogen supply flow rate at the current moment, and the maximum hydrogen storage capacity, determine the constraints of the hydrogen storage capacity at the current moment; based on the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, and the hydrogen supply flow rate at the current moment, determine the constraints of the actual hydrogen production flow rate at the current moment; obtain the capacity coefficients of different levels corresponding to the number of hydrogen flow levels, and construct capacity coefficient constraints based on the capacity coefficients of different levels; compare the hydrogen supply flow rate at the previous moment with zero, and determine the constraints of the hydrogen supply flow rate at the current moment based on the comparison result.
[0009] The hydrogen storage system capacity configuration optimization method provided in this embodiment constructs different constraint conditions by acquiring different physical quantities, so that the generated hydrogen storage system capacity optimization parameters are more suitable for the hydrogen production-storage-use system, thereby achieving the effect of maximizing the hydrogen production utilization rate with the minimum hydrogen storage capacity configuration, while minimizing the hydrogen storage investment cost and improving economic benefits.
[0010] In an optional embodiment, the hydrogen supply flow rate at the previous moment is compared with zero, and the hydrogen supply flow rate constraint at the current moment is determined based on the comparison result, including: when the hydrogen supply flow rate at the previous moment is zero, the hydrogen supply recovery coefficient is obtained, and the hydrogen supply flow rate constraint at the current moment is determined based on the maximum hydrogen storage capacity, the hydrogen supply recovery coefficient and the hydrogen storage capacity at the previous moment.
[0011] The method for optimizing the capacity configuration of the hydrogen storage system provided in this embodiment determines the current working state by judging the working state of the hydrogen storage system at the previous moment and obtaining the hydrogen supply recovery coefficient, thereby avoiding the shutdown of the hydrogen use system due to insufficient hydrogen supply capacity of the hydrogen storage system and the inability to work continuously, thereby ensuring the stable operation of the hydrogen production-storage-use system.
[0012] In an optional embodiment, the hydrogen supply flow rate at the previous moment is compared with zero, and the hydrogen supply flow rate constraint condition at the current moment is determined based on the comparison result, and also includes: when the hydrogen supply flow rate at the previous moment is greater than zero, obtaining the first predicted flow coefficient and the first predicted capacity coefficient; comparing the average value of the hydrogen production flow rate within the first prediction time period with the product of the minimum hydrogen flow rate and the first predicted flow coefficient, and comparing the hydrogen storage capacity at the previous moment with the product of the maximum hydrogen storage capacity and the first predicted capacity coefficient; when the average value of the hydrogen production flow rate within the first prediction time period is less than the product of the minimum hydrogen flow rate and the first predicted flow coefficient, and the hydrogen storage capacity at the previous moment is greater than the product of the maximum hydrogen storage capacity and the first predicted capacity coefficient, then determining the hydrogen supply flow rate constraint condition at the current moment based on the minimum hydrogen flow rate, the hydrogen supply flow rate at the previous moment and the difference between the hydrogen flow rates of different gears.
[0013] The method for optimizing the capacity configuration of a hydrogen storage system provided in this embodiment determines the working status of the hydrogen storage system at the previous moment, obtains a first predicted flow coefficient and a first predicted capacity coefficient, predicts the hydrogen production flow rate within a certain period of time, and adjusts the hydrogen supply flow rate in time to avoid the situation where the hydrogen production flow rate suddenly decreases within a period of time, and the hydrogen stored in the hydrogen storage system is insufficient to continuously supply the downstream, thereby avoiding a hydrogen supply cut in the downstream, thereby ensuring the stable operation of the hydrogen production-storage-use system.
[0014] In an optional embodiment, the hydrogen supply flow rate at the previous moment is compared with zero, and the hydrogen supply flow rate constraint condition at the current moment is determined based on the comparison result, and also includes: when the hydrogen supply flow rate at the previous moment is greater than zero, obtaining the second predicted flow coefficient and the second predicted capacity coefficient; comparing the average value of the hydrogen production flow rate within the second prediction time period with the product of the maximum hydrogen consumption flow rate and the second predicted flow coefficient, and comparing the hydrogen storage capacity at the previous moment with the product of the maximum hydrogen storage capacity and the second predicted capacity coefficient; when the average value of the hydrogen production flow rate within the second prediction time period is greater than or equal to the product of the maximum hydrogen consumption flow rate and the second predicted flow coefficient, and the hydrogen storage capacity at the previous moment is greater than the product of the maximum hydrogen storage capacity and the second predicted capacity coefficient, then the hydrogen supply flow rate constraint condition at the current moment is determined based on the maximum hydrogen consumption flow rate, the hydrogen supply flow rate at the previous moment and the difference between the hydrogen consumption flows at different gears.
[0015] The method for optimizing the capacity configuration of a hydrogen storage system provided in this embodiment determines the working status of the hydrogen storage system at the previous moment, obtains the second predicted flow coefficient and the second predicted capacity coefficient, predicts the hydrogen production flow within a certain period of time, and adjusts the hydrogen supply flow in time to avoid the situation where the hydrogen production flow suddenly increases within a period of time, and the hydrogen storage system has insufficient space to store hydrogen, thereby avoiding the discharge of excess hydrogen, thereby ensuring the stable operation of the hydrogen production-storage-use system and maximizing the hydrogen production utilization rate.
[0016] In an optional embodiment, the hydrogen supply flow rate at the previous moment is compared with zero, and the hydrogen supply flow rate constraint condition at the current moment is determined based on the comparison result, and also includes: when the hydrogen supply flow rate at the previous moment is greater than zero, and the average value of the hydrogen production flow rate within the first prediction period is greater than or equal to the product of the minimum hydrogen flow rate and the first predicted flow coefficient, or the hydrogen storage capacity at the previous moment is less than or equal to the product of the maximum hydrogen storage capacity and the first predicted capacity coefficient, or the average value of the hydrogen production flow rate within the second prediction period is less than the product of the maximum hydrogen flow rate and the second predicted capacity coefficient, or the hydrogen storage capacity at the previous moment is less than or equal to the product of the maximum hydrogen flow rate and the second predicted capacity coefficient, then the hydrogen supply flow rate constraint condition at the current moment is determined based on the maximum hydrogen flow rate and the difference between the hydrogen flow rates of different gears.
[0017] The method for optimizing the capacity configuration of the hydrogen storage system provided in this embodiment determines the hydrogen supply flow constraint at the current moment based on the maximum hydrogen flow and the difference between the hydrogen flow in different gears by judging the relationship between the hydrogen supply flow at the previous moment, the predicted hydrogen production flow, the minimum hydrogen flow, and the maximum hydrogen flow, and provides a supply method for the maximum hydrogen flow and the minimum hydrogen flow, as well as a supply adjustment method for the hydrogen flow between the maximum hydrogen flow and the minimum hydrogen flow. The hydrogen supply flow of the hydrogen storage system is refined, and according to the relationship between the real-time hydrogen storage capacity, the hydrogen production flow and the maximum hydrogen storage capacity, according to different conditions, by analyzing the relationship between the average hydrogen production flow and the maximum and minimum hydrogen flow in the next period of time, the hydrogen supply flow is corrected, and the hydrogen supply flow is directly determined by grading, thereby ensuring the stable operation of the hydrogen production-storage-use system.
[0018] In a second aspect, the present invention provides a device for optimizing the capacity configuration of a hydrogen storage system, including: a first acquisition module, used to acquire the hydrogen production flow rate of the hydrogen production system at different times, the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity of the hydrogen storage system, and the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate of the hydrogen consumption system, wherein the hydrogen production flow rate at different times includes the hydrogen production flow rate at the current moment; a first construction module, used to construct a capacity configuration optimization objective function based on the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity; a second construction module, used to construct constraints corresponding to the capacity configuration optimization objective function based on the hydrogen production flow rate at different moments, the hydrogen storage capacity at the current moment, the hydrogen supply flow rate at the previous moment, the hydrogen supply flow rate at the current moment, the maximum hydrogen storage capacity, the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate; a first generation module, used to solve the capacity configuration optimization objective function and generate capacity optimization parameters of the hydrogen storage system; wherein the capacity optimization parameters of the hydrogen storage system are used to control the hydrogen supply flow rate of the hydrogen storage system at the current moment.
[0019] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for optimizing capacity configuration of a hydrogen storage system according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0020] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for optimizing capacity configuration of a hydrogen storage system according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 is a schematic diagram of a hydrogen production-storage-use system according to an embodiment of the present invention;
[0023] Figure 2 is a schematic flow chart of a method for optimizing capacity configuration of a hydrogen storage system according to an embodiment of the present invention;
[0024] Figure 3 is a flow chart of another method for optimizing capacity configuration of a hydrogen storage system according to an embodiment of the present invention;
[0025] Figure 4 is a structural block diagram of a device for optimizing capacity configuration of a hydrogen storage system according to an embodiment of the present invention;
[0026] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0028] The hydrogen storage system capacity configuration optimization method provided in this manual can be applied to Figure 1The electronic device in the hydrogen production-storage-use system shown. The electronic device may include, but is not limited to, a notebook computer, a desktop computer, a notebook computer, a mobile terminal, such as a mobile phone, a tablet computer, etc. Of course, the hydrogen storage system capacity configuration optimization method provided in this specification can also be applied to the application running in the above electronic device.
[0029] An embodiment of the present invention provides a method for optimizing the capacity configuration of a hydrogen storage system. By solving a constructed capacity configuration optimization objective function, capacity optimization parameters of the hydrogen storage system are generated to achieve a stable and economical operation effect of the hydrogen production-storage-use system.
[0030] According to an embodiment of the present invention, an embodiment of a method for optimizing the capacity configuration of a hydrogen storage system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.
[0031] In this embodiment, a method for optimizing the capacity configuration of a hydrogen storage system is provided, which can be used for the above-mentioned notebooks, desktop computers, notebooks, desktop computers, mobile terminals such as mobile phones, tablet computers, etc. Figure 2 is a flow chart of a method for optimizing capacity configuration of a hydrogen storage system according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0032] Step S201, obtaining the hydrogen production flow rate of the hydrogen production system at different times, the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity of the hydrogen storage system, and the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate of the hydrogen consumption system, wherein the hydrogen production flow rate at different times includes the hydrogen production flow rate at the current moment.
[0033] Specifically, the hydrogen production flow rate HP(t) at different times of the hydrogen production system, the hydrogen storage capacity HS(t) at the current moment of the hydrogen storage system, the hydrogen supply flow rate HT(t-1) at the previous moment, the hydrogen supply flow rate HT(t) at the current moment and the maximum hydrogen storage capacity HSC, and the maximum hydrogen flow rate HUmax and the minimum hydrogen flow rate HUmin of the hydrogen consumption system are obtained through information collection equipment, such as sensors, wherein the hydrogen production flow rate at different times includes the hydrogen production flow rate at the current moment. The hydrogen storage capacity of the hydrogen storage system also includes the initial hydrogen storage capacity HS(0). Different moments can be determined according to the sampling period of the information collection equipment, or determined by those skilled in the art according to actual conditions, and there is no limitation here.
[0034] Step S202, constructing a capacity configuration optimization objective function based on the current hydrogen storage capacity, the previous hydrogen storage capacity, the current hydrogen supply flow rate and the maximum hydrogen storage capacity.
[0035] Specifically, based on the current hydrogen storage amount HS(t), the previous hydrogen storage amount HS(t-1), and the current hydrogen supply flow rate HT(t), the actual hydrogen production flow rate HPa(t) can be obtained, as shown in equation (1):
[0036] HPa(t)=HT(t)+HS(t)-HS(t-1) (1)
[0037] Furthermore, the capacity configuration optimization objective function can be constructed as formula (2):
[0038] HSC / ΣHPa(t)(2)
[0039] Among them, HSC represents the maximum hydrogen storage capacity, and ΣHPa(t) represents the sum of the actual hydrogen production flow rates at different times.
[0040] Step S203, based on the hydrogen production flow at different times, the hydrogen storage capacity at the current time, the hydrogen supply flow at the previous time, the hydrogen supply flow at the current time, the maximum hydrogen storage capacity, the maximum hydrogen consumption flow and the minimum hydrogen consumption flow, construct the constraint conditions corresponding to the capacity configuration optimization objective function.
[0041] Specifically, the constraints include the average value constraint of hydrogen production flow rate within the first prediction period, the average value constraint of hydrogen production flow rate within the second prediction period, the difference constraint of hydrogen flow rate in different gears, the hydrogen storage capacity constraint, the actual hydrogen production flow rate constraint at the current moment, the capacity coefficient constraint and the hydrogen supply flow constraint.
[0042] Step S204, solving the capacity configuration optimization objective function to generate the hydrogen storage system capacity optimization parameters; wherein the hydrogen storage system capacity optimization parameters are used to control the hydrogen supply flow of the hydrogen storage system at the current moment.
[0043] Specifically, based on the constraints, the capacity configuration optimization objective function is solved until the optimization goal is met, such as minimizing the value of the capacity configuration optimization objective function. Taking the objective function HSC / ΣHPa(t) as an example, minimizing the HSC / ΣHPa(t) ratio is used as the optimization goal to generate the capacity optimization parameters of the hydrogen storage system. The capacity optimization parameters of the hydrogen storage system include the maximum hydrogen storage capacity of the hydrogen storage system and the hydrogen supply flow control parameters of the hydrogen storage system, which are used to control the hydrogen supply flow of the hydrogen storage system at the current moment. By constructing different constraints to solve the objective function, the capacity optimization parameters of the hydrogen storage system are generated, so as to achieve the effect of maximizing the utilization rate of hydrogen production with the minimum hydrogen storage capacity configuration, while minimizing the investment cost of hydrogen storage and improving economic benefits.
[0044] The method for optimizing the capacity configuration of a hydrogen storage system provided in this embodiment constructs a capacity configuration optimization objective function and constraints corresponding to the capacity configuration optimization objective function by acquiring the hydrogen production flow of the hydrogen production system at different times, the hydrogen storage capacity of the hydrogen storage system at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate and the maximum hydrogen storage capacity, and the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate of the hydrogen consumption system; and solves the capacity configuration optimization objective function to generate the capacity optimization parameters of the hydrogen storage system to control the hydrogen supply flow rate of the hydrogen storage system. On the one hand, the hydrogen storage system is a transition system connecting fluctuating hydrogen production and flexible hydrogen use. According to the relationship between the hydrogen production flow rate of the hydrogen production system, the hydrogen storage capacity of the hydrogen storage system, the maximum hydrogen storage capacity of the hydrogen storage system, the maximum hydrogen consumption flow rate of the hydrogen consumption system and the minimum hydrogen consumption flow rate of the hydrogen consumption system, the capacity optimization parameters of the hydrogen storage system are generated by solving the objective function; on the other hand, the hydrogen supply flow rate of the hydrogen storage system is controlled by using the capacity optimization parameters of the hydrogen storage system, so as to achieve the effect of maximizing the utilization rate of hydrogen production with the minimum hydrogen storage capacity configuration, while minimizing the investment cost of hydrogen storage and improving economic benefits.
[0045] In this embodiment, a method for optimizing the capacity configuration of a hydrogen storage system is provided, which can be used for the above-mentioned notebooks, desktop computers, mobile terminals such as mobile phones, tablet computers, etc. Figure 3 is a flow chart of a method for optimizing capacity configuration of a hydrogen storage system according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0046] Step S301, obtain the hydrogen production flow rate of the hydrogen production system at different times, the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity of the hydrogen storage system, and the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate of the hydrogen consumption system, wherein the hydrogen production flow rate at different times includes the hydrogen production flow rate at the current moment. For details, please refer to Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.
[0047] Step S302: construct a capacity configuration optimization objective function based on the current hydrogen storage capacity, the previous hydrogen storage capacity, the current hydrogen supply flow rate and the maximum hydrogen storage capacity. Figure 2 Step S202 of the illustrated embodiment will not be described in detail here.
[0048] Step S303, based on the hydrogen production flow at different times, the hydrogen storage capacity at the current time, the hydrogen supply flow at the previous time, the hydrogen supply flow at the current time, the maximum hydrogen storage capacity, the maximum hydrogen consumption flow and the minimum hydrogen consumption flow, construct the constraint conditions corresponding to the capacity configuration optimization objective function.
[0049] Specifically, the above step S303 includes:
[0050] Step S3031, obtaining a first prediction duration, and determining a constraint condition for an average value of hydrogen production flow rate within the first prediction duration based on hydrogen production flow rates at different times and the first prediction duration.
[0051] Specifically, the first prediction time is denoted as Tf1. The constraint condition of the average value HPa1(t) of the hydrogen production flow rate within the first prediction time can be determined by the following relational expression (3).
[0052]
[0053] Among them, HPa1(t) represents the average value of the hydrogen production flow rate within the first prediction time period, t represents the calculation start time, Tf1 represents the first prediction time period, and HP(t) represents the hydrogen production flow rate at the current time.
[0054] Step S3032, obtaining a second prediction duration, and determining a constraint condition for an average value of the hydrogen production flow rate within the second prediction duration based on the hydrogen production flow rates at different times and the second prediction duration.
[0055] Specifically, the second prediction time is denoted as Tf2. The constraint condition of the average value HPa2(t) of the hydrogen production flow rate within the first prediction time can be determined by the following relational expression (4).
[0056]
[0057] Among them, HPa2(t) represents the average value of the hydrogen production flow rate within the first prediction time period, t represents the calculation start time, Tf2 represents the first prediction time period, and HP(t) represents the hydrogen production flow rate at the current time.
[0058] Step S3033, obtaining the number of hydrogen flow levels, and determining the constraint conditions for the difference of hydrogen flow rates in different levels based on the maximum hydrogen flow rate and the minimum hydrogen flow rate.
[0059] Specifically, those skilled in the art can determine the number of hydrogen flow rate grades N according to actual needs, and no limitation is imposed here. The constraint condition of the difference ΔHU of hydrogen flow rates in different grades can be determined by the following relational formula (5).
[0060] ΔHU=(HUmax-HUmin) / N (5)
[0061] Among them, ΔHU represents the difference in hydrogen flow rates at different levels, HUmax represents the maximum hydrogen flow rate, HUmin represents the minimum hydrogen flow rate, and N represents the number of hydrogen flow levels.
[0062] Step S3034, determining the hydrogen storage constraint at the current moment based on the hydrogen storage at the previous moment, the hydrogen production flow at the current moment, the hydrogen supply flow at the current moment, and the maximum hydrogen storage capacity.
[0063] Specifically, the constraint condition of the hydrogen storage amount HS(t) at the current moment can be determined by the following equation (6).
[0064] HS(t)=min[HS(t-1)+HP(t)-HT(t),HSC] (6)
[0065] Among them, HS(t) represents the hydrogen storage capacity at the current moment, HS(t-1) represents the hydrogen storage capacity at the previous moment, HP(t) represents the hydrogen production flow rate at the current moment, HT(t) represents the hydrogen supply flow rate at the current moment, and HSC represents the maximum hydrogen storage capacity.
[0066] Step S3035, determining the actual hydrogen production flow constraint at the current moment based on the hydrogen storage amount at the current moment, the hydrogen storage amount at the previous moment and the hydrogen supply flow at the current moment.
[0067] In some optional implementations, the above step S3035 includes:
[0068] Step a1, subtract the sum of the hydrogen storage capacity at the previous moment and the hydrogen production flow rate at different moments from the hydrogen storage capacity at the current moment, that is, HS(t-1)+HP(t)-HT(t).
[0069] Step a2: when the calculation result is greater than the maximum hydrogen storage capacity, the actual hydrogen production flow constraint at the current moment is determined based on the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment and the hydrogen supply flow at the current moment.
[0070] Specifically, when the calculation result is greater than the maximum hydrogen storage capacity, as shown in equation (7):
[0071] HS(t-1)+HP(t)-HT(t)>HSC (7)
[0072] The hydrogen production system is adjusted to reduce the hydrogen production. The actual hydrogen production flow at the current moment is determined based on the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment and the hydrogen supply flow at the current moment. As an optional implementation, the actual hydrogen production flow at the current moment HPa(t) can be determined by the following relationship (1).
[0073] HPa(t)=HT(t)+HS(t)-HS(t-1) (1)
[0074] Among them, HPa(t) represents the actual hydrogen production flow at the current moment, HS(t) represents the hydrogen storage capacity at the current moment, HS(t-1) represents the hydrogen storage capacity at the previous moment, and HT(t) represents the hydrogen supply flow at the current moment.
[0075] Step S3036, obtaining different capacity coefficients corresponding to the number of hydrogen flow levels, and constructing capacity coefficient constraint conditions based on the different capacity coefficients.
[0076] Specifically, with the number of grades being N, the capacity coefficients of different grades can be expressed as Rsc1, Rsc2, Rsc3, Rsc4..., Rscn, where n = N + 1. As an optional implementation, the capacity coefficient constraint condition can be constructed by the following relation (8).
[0077] Rsc1>Rsc2>Rsc3>Rsc4>...>Rscn (8)
[0078] Step S3037, comparing the hydrogen supply flow rate at the previous moment with zero, and determining the hydrogen supply flow rate constraint condition at the current moment based on the comparison result.
[0079] In some optional implementations, the above step S3037 includes:
[0080] Step b1, when the hydrogen supply flow rate at the previous moment is zero, the hydrogen supply recovery coefficient is obtained, and the hydrogen supply flow constraint condition at the current moment is determined based on the maximum hydrogen storage capacity, the hydrogen supply recovery coefficient and the hydrogen storage amount at the previous moment.
[0081] Specifically, the hydrogen supply recovery coefficient is denoted as Rtc. When the hydrogen supply flow rate HT(t-1) at the previous moment is 0, the hydrogen supply flow rate calculation formula can be shown as formula (9):
[0082]
[0083] Among them, HT(t) represents the hydrogen supply flow rate at the current moment, HUmin represents the minimum hydrogen flow rate, HS(t-1) represents the hydrogen storage capacity at the previous moment, HSC represents the maximum hydrogen storage capacity, and Rtc represents the hydrogen supply recovery coefficient.
[0084] The hydrogen storage system capacity configuration optimization method provided in this embodiment constructs different constraint conditions by acquiring different physical quantities, so that the generated hydrogen storage system capacity optimization parameters are more suitable for the hydrogen storage system, thereby achieving the effect of maximizing the hydrogen production utilization rate with the minimum hydrogen storage capacity configuration, while minimizing the hydrogen storage investment cost and improving economic benefits.
[0085] In some optional implementations, the above step S3037 further includes:
[0086] Step c1, when the hydrogen supply flow rate at the previous moment is greater than zero, a first predicted flow coefficient and a first predicted capacity coefficient are obtained.
[0087] Specifically, the first predicted flow coefficient is denoted as Rfu1, and the first predicted capacity coefficient is denoted as Rfc1.
[0088] Step c2, compare the average hydrogen production flow rate within the first prediction duration with the product of the minimum hydrogen consumption flow rate and the first prediction flow coefficient, and compare the hydrogen storage amount at the previous moment with the product of the maximum hydrogen storage capacity and the first prediction capacity coefficient.
[0089] Step c3, when the average hydrogen production flow rate within the first prediction duration is less than the product of the minimum hydrogen consumption flow rate and the first prediction flow coefficient, and the hydrogen storage amount at the previous moment is greater than the product of the maximum hydrogen storage capacity and the first prediction capacity coefficient, then determine the hydrogen supply flow rate constraint condition at the current moment based on the minimum hydrogen consumption flow rate, the hydrogen supply flow rate at the previous moment, and the difference in hydrogen consumption flow rates at different levels.
[0090] Specifically, if the average hydrogen production flow rate HPa1(t) within the first prediction duration < HUmin * Rfu1 and HS(t - 1) > HSC * Rfc1, as an optional implementation manner, the hydrogen supply flow rate HT(t) constraint condition at the current moment can be determined through the following relational expression (10).
[0091] HT(t) = max[HUmin, HT(t - 1) - ΔHU] (10)
[0092] Wherein, HT(t) represents the hydrogen supply flow rate at the current moment, HUmin represents the minimum hydrogen consumption flow rate, HT(t - 1) represents the hydrogen supply flow rate at the previous moment, and ΔHU represents the difference in hydrogen consumption flow rates at different levels.
[0093] The method for optimizing the capacity configuration of the hydrogen storage system provided in this embodiment predicts the hydrogen production flow rate within a certain duration by judging the working state of the hydrogen storage system at the previous moment and obtaining the first prediction flow coefficient and the first prediction capacity coefficient, and timely adjusts the hydrogen supply flow rate, so as to avoid the situation that the hydrogen stored in the hydrogen storage system is not enough to continuously supply the downstream when the hydrogen production flow rate suddenly becomes smaller within a period of time, thereby avoiding the hydrogen supply interruption downstream, and ensuring the stable operation of the hydrogen production - hydrogen storage - hydrogen consumption system.
[0094] In some optional implementation manners, the above step S3037 further includes:
[0095] Step d1, when the hydrogen supply flow rate at the previous moment is greater than zero, obtain the second prediction flow coefficient and the second prediction capacity coefficient.
[0096] Specifically, denote the second prediction flow coefficient as Rfu2 and the second prediction capacity coefficient as Rfc2.
[0097] Step d2, compare the average hydrogen production flow rate within the second prediction duration with the product of the maximum hydrogen consumption flow rate and the second prediction flow coefficient, and compare the hydrogen storage amount at the previous moment with the product of the maximum hydrogen storage capacity and the second prediction capacity coefficient.
[0098] Step d3, when the average value of the hydrogen production flow rate within the second prediction period is greater than or equal to the product of the maximum hydrogen flow rate and the second predicted flow coefficient, and the hydrogen storage capacity at the previous moment is greater than the product of the maximum hydrogen storage capacity and the second predicted capacity coefficient, the hydrogen supply flow constraint at the current moment is determined based on the maximum hydrogen flow rate, the hydrogen supply flow rate at the previous moment and the difference between the hydrogen flow rates at different gears.
[0099] Specifically, if the average hydrogen production flow rate HPa2(t)≥HUmax*Rfu2 within the second prediction period and HS(t-1)>HSC*Rfc2, as an optional implementation, the constraint condition of the hydrogen supply flow rate HT(t) at the current moment can be determined by the following relationship (11).
[0100] HT(t)=min[HUmax, HT(t-1)+ΔHU] (11)
[0101] Among them, HT(t) represents the hydrogen supply flow rate at the current moment, HUmax represents the maximum hydrogen consumption flow rate, HT(t-1) represents the hydrogen supply flow rate at the previous moment, and ΔHU represents the difference in hydrogen consumption flow rates at different gears.
[0102] The method for optimizing the capacity configuration of a hydrogen storage system provided in this embodiment determines the working status of the hydrogen storage system at the previous moment, obtains the second predicted flow coefficient and the second predicted capacity coefficient, predicts the hydrogen production flow within a certain period of time, and adjusts the hydrogen supply flow in time to avoid the situation where the hydrogen production flow suddenly increases within a period of time, and the hydrogen storage system has insufficient space to store hydrogen, thereby avoiding the discharge of excess hydrogen, thereby ensuring the stable operation of the hydrogen production-storage-use system.
[0103] In some optional implementations, the above step S3037 further includes:
[0104] Step e1, when the hydrogen supply flow rate at the previous moment is greater than zero, and the average value of the hydrogen production flow rate within the first prediction period is greater than or equal to the product of the minimum hydrogen flow rate and the first predicted flow coefficient, or the hydrogen storage capacity at the previous moment is less than or equal to the product of the maximum hydrogen storage capacity and the first predicted capacity coefficient, or the average value of the hydrogen production flow rate within the second prediction period is less than the product of the maximum hydrogen flow rate and the second predicted flow coefficient, or the hydrogen storage capacity at the previous moment is less than or equal to the product of the maximum hydrogen flow rate and the second predicted capacity coefficient, then determine the hydrogen supply flow constraint at the current moment based on the maximum hydrogen flow rate and the difference between the hydrogen flow rates of different gears.
[0105] Specifically, when HPa1(t)≥HUmin*Rfu1 or HS(t-1)≤HSC*Rfc1 or HPa2(t)<HUmax*Rfu2 or HS(t-1)≤HSC*Rfc2, as an optional implementation, the constraint condition of the hydrogen supply flow HT(t) at the current moment can be determined by the following relationship (12).
[0106]
[0107] Among them, HT(t) represents the hydrogen supply flow rate at the current moment, N represents the number of hydrogen flow levels, ΔHU represents the difference in hydrogen flow rates in different levels, Rsc1, Rsc2, Rsc3, Rsc4..., Rscn represent the capacity coefficients of the 1st, 2nd, 3rd, 4th...nth levels respectively, and n=N+1.
[0108] The method for optimizing the capacity configuration of the hydrogen storage system provided in this embodiment determines the hydrogen supply flow constraint at the current moment based on the maximum hydrogen flow and the difference between the hydrogen flow in different gears by judging the relationship between the hydrogen supply flow at the previous moment, the predicted hydrogen production flow, the minimum hydrogen flow, and the maximum hydrogen flow, and provides a supply method for the maximum hydrogen flow and the minimum hydrogen flow, as well as a supply adjustment method for the hydrogen flow between the maximum hydrogen flow and the minimum hydrogen flow. The hydrogen supply flow of the hydrogen storage system is refined, and according to the relationship between the real-time hydrogen storage capacity, the hydrogen production flow and the maximum hydrogen storage capacity, according to different conditions, by analyzing the relationship between the average hydrogen production flow and the maximum and minimum hydrogen flow in the next period of time, the hydrogen supply flow is corrected, and the hydrogen supply flow is directly determined by grading, thereby ensuring the stable operation of the hydrogen production-storage-use system.
[0109] Step S304, solving the capacity configuration optimization objective function to generate the hydrogen storage system capacity optimization parameters; wherein the hydrogen storage system capacity optimization parameters are used to control the hydrogen supply flow of the hydrogen storage system at the current moment. Figure 2 Step S204 of the illustrated embodiment will not be described in detail here.
[0110] A method for optimizing capacity configuration of a hydrogen storage system is described below through a specific embodiment.
[0111] Embodiment 1:
[0112] According to the hydrogen production flow rate HP(t) at different times of the hydrogen production system, the hydrogen storage capacity HS(t) of the hydrogen storage system at the current time, the hydrogen supply flow rate HT(t-1) at the previous time, the maximum hydrogen storage capacity HSC, the maximum hydrogen flow rate HUmax and the minimum hydrogen flow rate HUmin of the hydrogen consumption system, the size of the hydrogen supply flow rate HT(t) is determined, t represents different times, and the hydrogen supply flow rate control method includes:
[0113] When the hydrogen supply flow rate HT(t-1) = 0 at the previous moment, the hydrogen supply flow rate calculation formula is:
[0114]
[0115] Among them, HS(t-1) is the hydrogen storage at the previous moment, and Rtc is the hydrogen supply recovery coefficient;
[0116] When the hydrogen supply flow rate HT(t - 1) > 0 at the previous moment,
[0117] If the average hydrogen production flow rate HPa1(t) < HUmin * Rfu1 within the first prediction time period and HS(t - 1) > HSC * Rfc1,
[0118] HT(t) = max[HUmin, HT(t - 1) - ΔHU];
[0119] If the average hydrogen production flow rate HPa2(t) ≥ HUmax * Rfu2 within the second prediction time period and HS(t - 1) > HSC * Rfc2,
[0120] HT(t) = min[HUmax, HT(t - 1) + ΔHU];
[0121] Otherwise,
[0122]
[0123] where Rfu1 is the first prediction flow coefficient, Rfc1 is the first prediction capacity coefficient, Rfu2 is the second prediction flow coefficient, Rfc2 is the second prediction capacity coefficient, N is the number of hydrogen consumption flow rate grades, ΔHU is the difference in hydrogen consumption flow rates between different grades, Rsc1, Rsc2, Rsc3, Rsc4,..., Rscn are the capacity coefficients of the 1st, 2nd, 3rd, 4th,..., nth grades respectively, and n = N + 1.
[0124] The calculation formula for the average hydrogen production flow rate HPa1(t) within the first prediction time period is:
[0125]
[0126] where Tf1 is the first prediction time period.
[0127] The calculation formula for the average hydrogen production flow rate HPa2(t) within the second prediction time period is:
[0128]
[0129] where Tf2 is the second prediction time period.
[0130] The calculation formula for the difference in hydrogen consumption flow rates between different grades ΔHU is:
[0131] ΔHU = (HUmax - HUmin) / N
[0132] The calculation formula for the hydrogen storage capacity is:
[0133] HS(t) = min[HS(t - 1) + HP(t) - HT(t), HSC]
[0134] When HS(t-1)+HP(t)-HT(t)>HSC, the hydrogen production amount is reduced, and the actual hydrogen production flow rate HPa(t) is calculated as follows:
[0135] HPa(t)=HT(t)+HS(t)-HS(t-1)
[0136] The capacity coefficients of the 1st, 2nd, 3rd, 4th...nth gears Rsc1, Rsc2, Rsc3, Rsc4..., Rscn satisfy the following relationship:
[0137] Rsc1>Rsc2>Rsc3>Rsc4>...>Rscn
[0138] According to the input conditions such as the hydrogen production flow rate HP(t) at different times, the initial capacity HS(0) of the hydrogen storage system, the maximum hydrogen flow rate HUmax, the minimum hydrogen flow rate HUmin, the number of hydrogen flow grades N and the like, the optimization target is to minimize the ratio HSC / ΣHPa(t) of the maximum hydrogen storage capacity to the sum of the actual hydrogen production flow rates at different times, and the hydrogen supply control method of Example 1 is used as a constraint condition, and the optimized maximum hydrogen storage capacity HSC, hydrogen supply recovery coefficient Rtc, first predicted flow coefficient Rfu1, first predicted capacity coefficient Rfc1, second predicted flow coefficient Rfu2, second predicted capacity coefficient Rfc2, 1st-nth grade capacity coefficient Rsc1-Rscn, first predicted duration Tf1 and second predicted duration Tf2 and other parameters are solved and analyzed.
[0139] For the hydrogen production-storage-use system as a whole, the amount of hydrogen used is equal to the amount of hydrogen produced. By optimizing the objective function determined by the relationship HSC / ΣHPa(t), the minimum hydrogen storage capacity configuration per unit hydrogen consumption in the whole cycle can be achieved, that is, the minimum investment in the hydrogen storage system per unit hydrogen consumption can be solved and calculated to obtain the maximum hydrogen storage capacity and various relationship coefficients, and the hydrogen supply method and hydrogen storage capacity configuration under the economically optimal conditions can be obtained.
[0140] In this embodiment, a device for optimizing the capacity configuration of a hydrogen storage system is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0141] This embodiment provides a hydrogen storage system capacity configuration optimization device, such as Figure 4 As shown, including:
[0142] The first acquisition module 401 is used to obtain the hydrogen production flow rate of the hydrogen production system at different times, the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity of the hydrogen storage system, and the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate of the hydrogen consumption system, wherein the hydrogen production flow rate at different times includes the hydrogen production flow rate at the current moment.
[0143] The first construction module 402 is used to construct a capacity configuration optimization objective function based on the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity.
[0144] The second construction module 403 is used to construct the constraint conditions corresponding to the capacity configuration optimization objective function based on the hydrogen production flow at different times, the hydrogen storage capacity at the current time, the hydrogen supply flow at the previous time, the hydrogen supply flow at the current time, the maximum hydrogen storage capacity, the maximum hydrogen consumption flow and the minimum hydrogen consumption flow.
[0145] The first generation module 404 is used to solve the capacity configuration optimization objective function and generate the hydrogen storage system capacity optimization parameters; wherein the hydrogen storage system capacity optimization parameters are used to control the hydrogen supply flow of the hydrogen storage system at the current moment.
[0146] In some optional embodiments, the constraints include the average value constraint of hydrogen production flow rate within the first prediction period, the average value constraint of hydrogen production flow rate within the second prediction period, the difference constraint of hydrogen flow rate in different gears, the hydrogen storage capacity constraint, the actual hydrogen production flow rate constraint at the current moment, the capacity coefficient constraint and the hydrogen supply flow constraint.
[0147] In some optional implementations, the second building module 403 includes:
[0148] The first determination submodule is used to obtain a first prediction duration, and determine a constraint condition for an average value of the hydrogen production flow rate within the first prediction duration based on the hydrogen production flow rates at different times and the first prediction duration.
[0149] The first acquisition submodule is used to acquire the second prediction duration, and determine the constraint condition of the average value of the hydrogen production flow rate within the second prediction duration based on the hydrogen production flow rate at different times and the second prediction duration.
[0150] The second determination submodule is used to obtain the number of hydrogen flow levels and determine the difference constraints of hydrogen flow rates in different levels based on the maximum hydrogen flow rate and the minimum hydrogen flow rate.
[0151] The third determination submodule is used to determine the hydrogen storage capacity constraint at the current moment based on the hydrogen storage capacity at the previous moment, the hydrogen production flow rate at the current moment, the hydrogen supply flow rate at the current moment, and the maximum hydrogen storage capacity.
[0152] The fourth determination submodule is used to determine the actual hydrogen production flow constraint at the current moment based on the hydrogen storage amount at the current moment, the hydrogen storage amount at the previous moment and the hydrogen supply flow at the current moment.
[0153] The fifth determination submodule is used to obtain different capacity coefficients corresponding to the number of hydrogen flow levels, and to construct capacity coefficient constraints based on the different capacity coefficients.
[0154] The sixth determination submodule is used to compare the hydrogen supply flow rate at the previous moment with zero, and determine the hydrogen supply flow rate constraint condition at the current moment based on the comparison result.
[0155] In some optional implementations, the sixth determining submodule includes:
[0156] The first determination unit is used to obtain the hydrogen supply recovery coefficient when the hydrogen supply flow rate at the previous moment is zero, and determine the hydrogen supply flow constraint condition at the current moment based on the maximum hydrogen storage capacity, the hydrogen supply recovery coefficient and the hydrogen storage amount at the previous moment.
[0157] In some optional implementations, the sixth determining submodule includes:
[0158] The first acquisition unit is used to acquire a first predicted flow coefficient and a first predicted capacity coefficient when the hydrogen supply flow rate at the previous moment is greater than zero.
[0159] The first comparison unit is used to compare the average hydrogen production flow rate within the first prediction time period with the product of the minimum hydrogen consumption flow rate and the first prediction flow coefficient, and to compare the hydrogen storage capacity at the previous moment with the product of the maximum hydrogen storage capacity and the first prediction capacity coefficient.
[0160] The second determination unit is used to determine the hydrogen supply flow constraint at the current moment based on the minimum hydrogen flow, the hydrogen supply flow at the previous moment and the difference between the hydrogen flow rates of different gears when the average value of the hydrogen production flow within the first prediction period is less than the product of the minimum hydrogen flow and the first predicted flow coefficient, and the hydrogen storage capacity at the previous moment is greater than the product of the maximum hydrogen storage capacity and the first predicted capacity coefficient.
[0161] In some optional implementations, the sixth determining submodule further includes:
[0162] A second acquisition unit, used for acquiring a second predicted flow coefficient and a second predicted capacity coefficient when the hydrogen supply flow rate at the previous moment is greater than zero;
[0163] A second comparison unit is used to compare the average value of the hydrogen production flow rate within the second prediction time period with the product of the maximum hydrogen consumption flow rate and the second prediction flow rate coefficient, and to compare the hydrogen storage capacity at the previous moment with the product of the maximum hydrogen storage capacity and the second prediction capacity coefficient;
[0164] The third determination unit is used to determine the hydrogen supply flow constraint at the current moment based on the maximum hydrogen flow, the hydrogen supply flow at the previous moment and the difference between the hydrogen flow rates of different gears when the average value of the hydrogen production flow within the second prediction period is greater than or equal to the product of the maximum hydrogen flow and the second predicted flow coefficient, and the hydrogen storage capacity at the previous moment is greater than the product of the maximum hydrogen storage capacity and the second predicted capacity coefficient.
[0165] In some optional implementations, the sixth determining submodule further includes:
[0166] The fourth determination unit is used to determine the hydrogen supply flow constraint condition at the current moment based on the maximum hydrogen flow and the difference between the hydrogen flow rates of different gears when the hydrogen supply flow at the previous moment is greater than zero, and the average value of the hydrogen production flow within the first prediction period is greater than or equal to the product of the minimum hydrogen flow and the first predicted flow coefficient, or the hydrogen storage capacity at the previous moment is less than or equal to the product of the maximum hydrogen storage capacity and the first predicted capacity coefficient, or the average value of the hydrogen production flow within the second prediction period is less than the product of the maximum hydrogen flow and the second predicted capacity coefficient, or the hydrogen storage capacity at the previous moment is less than or equal to the product of the maximum hydrogen storage capacity and the second predicted capacity coefficient.
[0167] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0168] The hydrogen storage system capacity configuration optimization device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0169] The embodiment of the present invention also provides a computer device having the above Figure 4 The hydrogen storage system capacity configuration optimization device is shown.
[0170] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0171] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0172] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0173] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer 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.
[0174] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0175] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0176] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0177] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0178] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for optimizing the capacity configuration of a hydrogen storage system, characterized in that: The method comprises: Obtaining the hydrogen production flow rate of the hydrogen production system at different times, the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity of the hydrogen storage system, and the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate of the hydrogen consumption system, wherein the hydrogen production flow rate at different times includes the hydrogen production flow rate at the current moment; The capacity configuration optimization objective function is constructed based on the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity; wherein, based on the hydrogen storage capacity HS(t) at the current moment, the hydrogen storage capacity HS(t-1) at the previous moment and the hydrogen supply flow rate HT(t) at the current moment, the actual hydrogen production flow rate HPa(t) at the current moment can be obtained, as shown in the following relationship: HPa(t)=HT(t)+HS(t)-HS(t-1) The capacity configuration optimization objective function can be constructed as follows: HSC / ΣHPa(t) Among them, HSC represents the maximum hydrogen storage capacity, ΣHPa(t) represents the sum of the actual hydrogen production flow at different times; Based on the hydrogen production flow at different times, the hydrogen storage capacity at the current time, the hydrogen supply flow at the previous time, the hydrogen supply flow at the current time, the maximum hydrogen storage capacity, the maximum hydrogen consumption flow and the minimum hydrogen consumption flow, constructing constraint conditions corresponding to the capacity configuration optimization objective function; Solving the capacity configuration optimization objective function to generate a capacity optimization parameter for the hydrogen storage system; wherein the capacity optimization parameter for the hydrogen storage system is used to control the hydrogen supply flow rate of the hydrogen storage system at the current moment; wherein, based on the constraint conditions, solving the capacity configuration optimization objective function until the optimization goal is met, so that the value of the capacity configuration optimization objective function is minimized; The constraint conditions corresponding to the capacity configuration optimization objective function are constructed based on the hydrogen production flow at different times, the hydrogen storage capacity at the current time, the hydrogen supply flow at the previous time, the hydrogen supply flow at the current time, the maximum hydrogen storage capacity, the maximum hydrogen consumption flow and the minimum hydrogen consumption flow, including: Obtain a first prediction duration, and determine a constraint condition of an average value of hydrogen production flow rate within the first prediction duration based on the hydrogen production flow rate at different times and the first prediction duration; determine a constraint condition of an average value of hydrogen production flow rate HPa1(t) within the first prediction duration by the following relationship: Wherein, HPa1(t) represents the average value of hydrogen production flow rate within the first prediction time, t represents the calculation start time, Tf1 represents the first prediction time, and HP(t) represents the hydrogen production flow rate at the current time; Obtain a second prediction duration, and determine a constraint condition for the average value of the hydrogen production flow rate within the second prediction duration based on the hydrogen production flow rate at different times and the second prediction duration; determine a constraint condition for the average value of the hydrogen production flow rate HPa2(t) within the first prediction duration by the following relationship: Wherein, HPa2(t) represents the average value of hydrogen production flow rate within the first prediction time, t represents the calculation start time, Tf2 represents the second prediction time, and HP(t) represents the hydrogen production flow rate at the current time; The number of hydrogen flow rate grades is obtained, and the constraint conditions of the difference of hydrogen flow rates in different grades are determined based on the maximum hydrogen flow rate and the minimum hydrogen flow rate; the constraint conditions of the difference ΔHU of hydrogen flow rates in different grades are determined by the following relationship: ΔHU=(HUmax-HUmin) / N Among them, ΔHU represents the difference of hydrogen flow rate in different gears, HUmax represents the maximum hydrogen flow rate, HUmin represents the minimum hydrogen flow rate, and N represents the number of hydrogen flow rate grades; The hydrogen storage constraint at the current moment is determined based on the hydrogen storage at the previous moment, the hydrogen production flow at the current moment, the hydrogen supply flow at the current moment, and the maximum hydrogen storage capacity; the hydrogen storage constraint HS(t) at the current moment is determined by the following relationship: HS(t)=min[HS(t-1)+HP(t)-HT(t),HSC] Among them, HS(t) represents the hydrogen storage capacity at the current moment, HS(t-1) represents the hydrogen storage capacity at the previous moment, HP(t) represents the hydrogen production flow rate at the current moment, HT(t) represents the hydrogen supply flow rate at the current moment, and HSC represents the maximum hydrogen storage capacity; The actual hydrogen production flow constraint condition at the current moment is determined based on the hydrogen storage amount at the current moment, the hydrogen storage amount at the previous moment and the hydrogen supply flow at the current moment; the actual hydrogen production flow HPa(t) at the current moment is determined by the following relationship: HPa(t)=HT(t)+HS(t)-HS(t-1) Among them, HPa(t) represents the actual hydrogen production flow at the current moment, HS(t) represents the hydrogen storage capacity at the current moment, HS(t-1) represents the hydrogen storage capacity at the previous moment, and HT(t) represents the hydrogen supply flow at the current moment; The capacity coefficients of different gears corresponding to the number of hydrogen flow grades are obtained, and capacity coefficient constraints are constructed based on the capacity coefficients of different gears; the capacity coefficient constraints are constructed by the following relationship: Rsc1>Rsc2>Rsc3>Rsc4>...>Rscn Among them, Rsc1, Rsc2, Rsc3, Rsc4..., Rscn represent different capacity coefficients; The hydrogen supply flow rate at the previous moment is compared with zero, and the hydrogen supply flow rate constraint condition at the current moment is determined based on the comparison result; when the hydrogen supply flow rate at the previous moment HT(t-1)=0, the hydrogen supply flow rate calculation formula is as shown in the following formula: Among them, HT(t) represents the hydrogen supply flow rate at the current moment, HUmin represents the minimum hydrogen flow rate, HS(t-1) represents the hydrogen storage capacity at the previous moment, HSC represents the maximum hydrogen storage capacity, and Rtc represents the hydrogen supply recovery coefficient.
2. The method according to claim 1, characterized in that The step of comparing the hydrogen supply flow rate at the previous moment with zero and determining the hydrogen supply flow rate constraint condition at the current moment based on the comparison result further includes: When the hydrogen supply flow rate at the previous moment is greater than zero, a first predicted flow coefficient and a first predicted capacity coefficient are obtained; Compare the average value of the hydrogen production flow rate within the first prediction time period with the product of the minimum hydrogen consumption flow rate and the first prediction flow coefficient, and compare the hydrogen storage capacity at the previous moment with the product of the maximum hydrogen storage capacity and the first prediction capacity coefficient; When the average hydrogen production flow rate within the first prediction duration is less than the product of the minimum hydrogen consumption flow rate and the first prediction flow coefficient, and the hydrogen storage amount at the previous moment is greater than the product of the maximum hydrogen storage capacity and the first prediction capacity coefficient, then based on the minimum hydrogen consumption flow rate, the hydrogen supply flow rate at the previous moment, and the difference in hydrogen consumption flow rates at different levels, determine the hydrogen supply flow rate constraint condition at the current moment; Among them, denote the first prediction flow coefficient as Rfu1 and the first prediction capacity coefficient as Rfc1. If the average hydrogen production flow rate HPa1(t) within the first prediction duration < HUmin * Rfu1 and HS(t - 1) > HSC * Rfc1, determine the hydrogen supply flow rate HT(t) constraint condition at the current moment through the following relational expression: HT(t) = max[HUmin, HT(t - 1) - ΔHU] Among them, HT(t) represents the hydrogen supply flow rate at the current moment, HUmin represents the minimum hydrogen consumption flow rate, HT(t - 1) represents the hydrogen supply flow rate at the previous moment, and ΔHU represents the difference in hydrogen consumption flow rates at different levels.
3. The method according to claim 2, characterized in that The step of comparing the hydrogen supply flow rate at the previous moment with zero and determining the hydrogen supply flow rate constraint condition at the current moment based on the comparison result further includes: When the hydrogen supply flow rate at the previous moment is greater than zero, then obtain the second prediction flow coefficient and the second prediction capacity coefficient; Compare the average hydrogen production flow rate within the second prediction duration with the product of the maximum hydrogen consumption flow rate and the second prediction flow coefficient, and compare the hydrogen storage amount at the previous moment with the product of the maximum hydrogen storage capacity and the second prediction capacity coefficient; When the average hydrogen production flow rate within the second prediction duration is greater than or equal to the product of the maximum hydrogen consumption flow rate and the second prediction flow coefficient, and the hydrogen storage amount at the previous moment is greater than the product of the maximum hydrogen storage capacity and the second prediction capacity coefficient, then based on the maximum hydrogen consumption flow rate, the hydrogen supply flow rate at the previous moment, and the difference in hydrogen consumption flow rates at different levels, determine the hydrogen supply flow rate constraint condition at the current moment; Among them, denote the second prediction flow coefficient as Rfu2 and the second prediction capacity coefficient as Rfc2. If the average hydrogen production flow rate HPa2(t) within the second prediction duration ≥ HUmax * Rfu2 and HS(t - 1) > HSC * Rfc2, determine the hydrogen supply flow rate HT(t) constraint condition at the current moment through the following relational expression: HT(t) = min[HUmax, HT(t - 1) + ΔHU] Among them, HT(t) represents the hydrogen supply flow rate at the current moment, HUmax represents the maximum hydrogen consumption flow rate, HT(t - 1) represents the hydrogen supply flow rate at the previous moment, and ΔHU represents the difference in hydrogen consumption flow rates at different levels.
4. The method according to claim 3, characterized in that The step of comparing the hydrogen supply flow rate at the previous moment with zero and determining the hydrogen supply flow rate constraint condition at the current moment based on the comparison result further includes: When the hydrogen supply flow rate at the previous moment is greater than zero, and the average value of the hydrogen production flow rate within the first prediction time period is greater than or equal to the product of the minimum hydrogen consumption flow rate and the first prediction flow coefficient, or the hydrogen storage capacity at the previous moment is less than or equal to the product of the maximum hydrogen storage capacity and the first prediction capacity coefficient, or the average value of the hydrogen production flow rate within the second prediction time period is less than the product of the maximum hydrogen consumption flow rate and the second prediction flow coefficient, or the hydrogen storage capacity at the previous moment is less than or equal to the product of the maximum hydrogen storage capacity and the second prediction capacity coefficient, then the hydrogen supply flow constraint condition at the current moment is determined based on the maximum hydrogen consumption flow rate and the difference between the hydrogen consumption flows of different gears; Among them, when HPa1(t)≥HUmin*Rfu1 or HS(t-1)≤HSC*Rfc1 or HPa2(t)<HUmax*Rfu2 or HS(t-1)≤HSC*Rfc2, the constraint condition of the hydrogen supply flow rate HT(t) at the current moment is determined by the following relationship: Among them, HT(t) represents the hydrogen supply flow rate at the current moment, N represents the number of hydrogen flow levels, ΔHU represents the difference in hydrogen flow rates in different levels, Rsc1, Rsc2, Rsc3, Rsc4..., Rscn represent the capacity coefficients of the 1st, 2nd, 3rd, 4th...nth levels respectively, and n=N+1.
5. A hydrogen storage system capacity configuration optimization device, characterized in that: The device comprises: The first acquisition module is used to obtain the hydrogen production flow rate of the hydrogen production system at different times, the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity of the hydrogen storage system, and the maximum hydrogen consumption flow rate and the minimum hydrogen consumption flow rate of the hydrogen consumption system, wherein the hydrogen production flow rate at different times includes the hydrogen production flow rate at the current moment; The first construction module is used to construct a capacity configuration optimization objective function based on the hydrogen storage capacity at the current moment, the hydrogen storage capacity at the previous moment, the hydrogen supply flow rate at the current moment and the maximum hydrogen storage capacity; wherein, based on the hydrogen storage capacity HS(t) at the current moment, the hydrogen storage capacity HS(t-1) at the previous moment and the hydrogen supply flow rate HT(t) at the current moment, the actual hydrogen production flow rate HPa(t) at the current moment can be obtained, as shown in the following relationship: HPa(t)=HT(t)+HS(t)-HS(t-1) The capacity configuration optimization objective function can be constructed as follows: HSC / ΣHPa(t) Among them, HSC represents the maximum hydrogen storage capacity, ΣHPa(t) represents the sum of the actual hydrogen production flow at different times; A second construction module is used to construct the constraint conditions corresponding to the capacity configuration optimization objective function based on the hydrogen production flow at different times, the hydrogen storage capacity at the current time, the hydrogen supply flow at the previous time, the hydrogen supply flow at the current time, the maximum hydrogen storage capacity, the maximum hydrogen consumption flow and the minimum hydrogen consumption flow; The first generation module is used to solve the capacity configuration optimization objective function to generate the capacity optimization parameters of the hydrogen storage system; wherein the capacity optimization parameters of the hydrogen storage system are used to control the hydrogen supply flow rate of the hydrogen storage system at the current moment; wherein, based on the constraint conditions, the capacity configuration optimization objective function is solved until the optimization goal is met, so that the value of the capacity configuration optimization objective function is minimized; The second building block includes: The first determination submodule is used to obtain the first prediction duration, determine the average value constraint of the hydrogen production flow rate within the first prediction duration based on the hydrogen production flow rate at different times and the first prediction duration; determine the average value constraint of the hydrogen production flow rate HPa1(t) within the first prediction duration through the following relationship: Wherein, HPa1(t) represents the average value of hydrogen production flow rate within the first prediction time, t represents the calculation start time, Tf1 represents the first prediction time, and HP(t) represents the hydrogen production flow rate at the current time; The first acquisition submodule is used to obtain the second prediction duration, and determine the average value constraint of the hydrogen production flow rate within the second prediction duration based on the hydrogen production flow rate at different times and the second prediction duration; the average value constraint of the hydrogen production flow rate HPa2(t) within the first prediction duration is determined by the following relationship: Wherein, HPa2(t) represents the average value of hydrogen production flow rate within the first prediction time, t represents the calculation start time, Tf2 represents the second prediction time, and HP(t) represents the hydrogen production flow rate at the current time; The second determination submodule is used to obtain the number of hydrogen flow rate grades, and determine the constraint conditions of the difference of hydrogen flow rates in different grades based on the maximum hydrogen flow rate and the minimum hydrogen flow rate; the constraint conditions of the difference of hydrogen flow rates in different grades ΔHU are determined by the following relationship: ΔHU=(HUmax-HUmin) / N Among them, ΔHU represents the difference of hydrogen flow rate in different gears, HUmax represents the maximum hydrogen flow rate, HUmin represents the minimum hydrogen flow rate, and N represents the number of hydrogen flow rate grades; The third determination submodule is used to determine the hydrogen storage constraint at the current moment based on the hydrogen storage at the previous moment, the hydrogen production flow at the current moment, the hydrogen supply flow at the current moment, and the maximum hydrogen storage capacity; the hydrogen storage constraint HS(t) at the current moment is determined by the following relationship: HS(t)=min[HS(t-1)+HP(t)-HT(t),HSC] Among them, HS(t) represents the hydrogen storage capacity at the current moment, HS(t-1) represents the hydrogen storage capacity at the previous moment, HP(t) represents the hydrogen production flow rate at the current moment, HT(t) represents the hydrogen supply flow rate at the current moment, and HSC represents the maximum hydrogen storage capacity; The fourth determination submodule is used to determine the actual hydrogen production flow constraint at the current moment based on the hydrogen storage amount at the current moment, the hydrogen storage amount at the previous moment and the hydrogen supply flow at the current moment; the actual hydrogen production flow HPa(t) at the current moment is determined by the following relationship: HPa(t)=HT(t)+HS(t)-HS(t-1) Among them, HPa(t) represents the actual hydrogen production flow at the current moment, HS(t) represents the hydrogen storage capacity at the current moment, HS(t-1) represents the hydrogen storage capacity at the previous moment, and HT(t) represents the hydrogen supply flow at the current moment; The fifth determination submodule is used to obtain the capacity coefficients of different gears corresponding to the number of hydrogen flow grades, and to construct capacity coefficient constraints based on the capacity coefficients of different gears; the capacity coefficient constraints are constructed through the following relationship: Rsc1>Rsc2>Rsc3>Rsc4>...>Rscn Among them, Rsc1, Rsc2, Rsc3, Rsc4..., Rscn represent different capacity coefficients; The sixth determination submodule is used to compare the hydrogen supply flow rate at the previous moment with zero, and determine the hydrogen supply flow rate constraint condition at the current moment based on the comparison result; when the hydrogen supply flow rate at the previous moment HT(t-1)=0, the hydrogen supply flow rate calculation formula is as shown in the following formula: Among them, HT(t) represents the hydrogen supply flow rate at the current moment, HUmin represents the minimum hydrogen flow rate, HS(t-1) represents the hydrogen storage capacity at the previous moment, HSC represents the maximum hydrogen storage capacity, and Rtc represents the hydrogen supply recovery coefficient.
6. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the hydrogen storage system capacity configuration optimization method according to any one of claims 1 to 4 by executing the computer instructions.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the hydrogen storage system capacity configuration optimization method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Energy consumption optimization method and device of multi-split refrigerating unit, electronic equipment and storage medium
CN111787764A
Joint programming of production and consumption flexibilities
WO2022129436A1
