Hydrogen storage capacity setting method and device, electronic equipment and readable storage medium
By calculating the number of shutdowns and losses of multiple hydrogen storage capacity of the hydrogen storage system, and selecting the capacity with the smallest target loss as the set capacity, the problem of excessive loss caused by improper capacity configuration of the hydrogen storage system is solved, and a stable hydrogen supply is achieved.
Patent Information
- Application Number
- CN202311846067.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2025-07-01
AI Technical Summary
Improper capacity configuration of hydrogen storage systems leads to excessive loss in production systems or the inability to stabilize hydrogen supply of downstream equipment.
By obtaining the number of shutdowns, depreciation losses and operation losses corresponding to the multiple hydrogen storage capacity of the hydrogen storage system, the target loss of each hydrogen storage capacity is calculated, and the hydrogen storage capacity with the smallest target loss is selected as the set capacity of the hydrogen storage system.
Effectively reduce the total loss of the hydrogen storage system, ensure the stability of hydrogen supply, and avoid excessive system losses caused by excessive capacity or too small.
Smart Images

Figure CN120234493A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hydrogen storage, and particularly to a method, device, electronic device and readable storage medium for setting hydrogen storage capacity. Background Art
[0002] Producing hydrogen through green energy is a common technology for reducing carbon emissions. In related technologies, a hydrogen storage system stores and releases hydrogen to achieve stable hydrogen supply. However, in related technologies, the capacity of the hydrogen storage system is configured based on experience. For the real-time changing hydrogen supply and hydrogen consumption, the capacity of the hydrogen storage system may be too large, resulting in excessive input loss of the entire production system, or too small, leading to the inability to stably supply hydrogen to downstream equipment, causing downstream equipment to shut down and excessive loss of the entire production system.
[0003] It can be seen that there are problems of excessive loss of the production system caused by too large or too small capacity of the hydrogen storage system in related technologies. Summary of the Invention
[0004] Embodiments of the present invention provide a method, device, electronic device and readable storage medium for setting hydrogen storage capacity to solve the problem of excessive loss of the production system caused by too large or too small capacity of the hydrogen storage system in related technologies.
[0005] To solve the above problems, the present invention is implemented as follows:
[0006] In a first aspect, embodiments of the present invention provide a method for setting hydrogen storage capacity, including:
[0007] Obtain the first shutdown times and the second shutdown times corresponding to each hydrogen storage capacity among multiple hydrogen storage capacities of the hydrogen storage system, where the first shutdown times are the number of times when the shutdown duration of downstream equipment is less than or equal to a set duration, the second shutdown times are the number of times when the shutdown duration of downstream equipment is greater than the set duration, and the multiple hydrogen storage capacities are multiple hydrogen storage capacities that can be set by the hydrogen storage system;
[0008] Obtain the depreciation loss corresponding to each hydrogen storage capacity, and obtain the operating loss corresponding to each hydrogen storage capacity;
[0009] Obtain the first shutdown loss corresponding to the first shutdown times corresponding to each hydrogen storage capacity, and obtain the second shutdown loss corresponding to the second shutdown times corresponding to each hydrogen storage capacity;
[0010] Set the sum of the depreciation loss, the operating loss, the first shutdown loss and the second shutdown loss corresponding to the first hydrogen storage capacity as the target loss corresponding to the first hydrogen storage capacity, so as to obtain the target loss of each hydrogen storage capacity, where the first hydrogen storage capacity is one of the multiple hydrogen storage capacities;
[0011] Set the hydrogen storage capacity corresponding to the minimum target loss among the multiple hydrogen storage capacities as the target hydrogen storage capacity, and the target hydrogen storage capacity is the set capacity of the hydrogen storage system.
[0012] In a second aspect, an embodiment of the present invention further provides a hydrogen storage capacity setting device, including:
[0013] A first acquisition module, configured to acquire the first shutdown times and the second shutdown times corresponding to each hydrogen storage capacity among the multiple hydrogen storage capacities of the hydrogen storage system, where the first shutdown time is the number of times that the shutdown duration of the downstream device is less than or equal to the set duration, the second shutdown time is the number of times that the shutdown duration of the downstream device is greater than the set duration, and the multiple hydrogen storage capacities are multiple hydrogen storage capacities that can be set by the hydrogen storage system;
[0014] A second acquisition module, configured to acquire the depreciation loss corresponding to each hydrogen storage capacity, and acquire the operation loss corresponding to each hydrogen storage capacity;
[0015] A third acquisition module, configured to acquire the first shutdown loss corresponding to the first shutdown times corresponding to each hydrogen storage capacity, and acquire the second shutdown loss corresponding to the second shutdown times corresponding to each hydrogen storage capacity;
[0016] A first processing module, configured to set the sum of the depreciation loss, the operation loss, the first shutdown loss, and the second shutdown loss corresponding to the first hydrogen storage capacity as the target loss corresponding to the first hydrogen storage capacity, so as to obtain the target loss of each hydrogen storage capacity, where the first hydrogen storage capacity is one of the multiple hydrogen storage capacities;
[0017] A second processing module, configured to set the hydrogen storage capacity corresponding to the minimum target loss among the multiple hydrogen storage capacities as the target hydrogen storage capacity, and the target hydrogen storage capacity is the set capacity of the hydrogen storage system.
[0018] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps in the hydrogen storage capacity setting method described in the first aspect above are implemented.
[0019] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium for storing a program, and when the program is executed by a processor, the steps in the hydrogen storage capacity setting method described in the first aspect above are implemented.
[0020] In an embodiment of the present invention, by obtaining the first shutdown times and the second shutdown times corresponding to each hydrogen storage capacity among multiple hydrogen storage capacities of a hydrogen storage system; obtaining the depreciation loss corresponding to each hydrogen storage capacity, and obtaining the operation loss corresponding to each hydrogen storage capacity; obtaining the first shutdown loss corresponding to the first shutdown times corresponding to each hydrogen storage capacity, and obtaining the second shutdown loss corresponding to the second shutdown times corresponding to each hydrogen storage capacity; setting the sum of the depreciation loss, the operation loss, the first shutdown loss, and the second shutdown loss corresponding to the first hydrogen storage capacity as the target loss corresponding to the first hydrogen storage capacity, so as to obtain the target loss of each hydrogen storage capacity, where the first hydrogen storage capacity is one of the multiple hydrogen storage capacities; setting the hydrogen storage capacity with the smallest corresponding target loss among the multiple hydrogen storage capacities as the target hydrogen storage capacity, and the loss during the operation of the target hydrogen storage capacity is the smallest, thereby effectively reducing the loss of the hydrogen storage system. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0022] Figure 1 is a flowchart of a method for setting hydrogen storage capacity provided by an embodiment of the present invention;
[0023] Figure 2 is an input and input schematic diagram of a hydrogen storage system provided by an embodiment of the present invention;
[0024] Figure 3 is a structural diagram of a device for setting hydrogen storage capacity provided by an embodiment of the present invention;
[0025] Figure 4 is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.
[0027] Please refer to Figure 1 , Figure 1 is a flowchart of a method for setting hydrogen storage capacity provided by an embodiment of the present invention. As Figure 1 shown, it includes the following steps:
[0028] Step 101: Obtain the first shutdown times and the second shutdown times corresponding to each hydrogen storage capacity of the hydrogen storage system. The first shutdown times are the number of times when the shutdown duration of the downstream device is less than or equal to the set duration, and the second shutdown times are the number of times when the shutdown duration of the downstream device is greater than the set duration. The multiple hydrogen storage capacities are multiple hydrogen storage capacities that can be set by the hydrogen storage system.
[0029] The above first shutdown times and second shutdown times are the shutdown times of the downstream device when the hydrogen storage system operates at each hydrogen storage capacity. It should be noted that the amount of hydrogen supplied upstream of the hydrogen storage system and the amount of hydrogen consumed by the downstream device will not change due to the influence of the hydrogen storage system capacity. Under different hydrogen storage capacity conditions, the shutdown times of the downstream device caused by insufficient hydrogen supply from the hydrogen storage system are also different. Therefore, it is necessary to obtain the first shutdown times and the second shutdown times corresponding to different hydrogen storage capacities to determine the losses caused by the shutdown of the downstream device.
[0030] The above multiple hydrogen storage capacities are the capacities that the hydrogen storage system can set. The multiple hydrogen storage capacities are within a preset range [D min , D max , where the minimum value of the hydrogen storage capacity is D min , and the maximum value is D max . It should be noted that the minimum value D min of the hydrogen storage capacity is set according to experience, with the criterion of avoiding frequent shutdowns; while the maximum value D max of the hydrogen storage capacity is determined according to the scale of the site where the hydrogen storage system is located and the management requirements of the hazard sources related to the hydrogen storage system. The multiple hydrogen storage capacities can be obtained by dividing the preset range [D min , D max by the equal division method. For example, if there are N hydrogen storage capacities, then the preset range [D min , D max is divided into N - 1 sub-intervals to obtain N sampling points, and each sampling point corresponds to a hydrogen storage capacity, that is, N hydrogen storage capacities are obtained.
[0031] Step 102: Obtain the depreciation losses corresponding to each hydrogen storage capacity, and obtain the operation losses corresponding to each hydrogen storage capacity.
[0032] The above depreciation losses and operation losses are the losses that occur during the use of the hydrogen storage system. It should be noted that the hydrogen storage system has a service life after it is built, and the depreciation losses are the losses caused by the use of the hydrogen storage system. For hydrogen storage systems with different hydrogen storage capacities, there are also differences in their construction investments. Therefore, it is necessary to obtain the corresponding depreciation losses for different hydrogen storage capacities to determine the final target losses of each hydrogen storage system.
[0033] In addition, there are also differences in the inputs required for hydrogen storage systems with different hydrogen storage capacities during operation, such as power consumption losses or material losses. For hydrogen storage systems with larger hydrogen storage capacities, their operating losses are greater. Therefore, it is necessary to obtain the corresponding operating losses for different hydrogen storage capacities to determine the final target losses of each hydrogen storage system.
[0034] Step 103: Obtain the first shutdown loss corresponding to the first shutdown times for each hydrogen storage capacity, and obtain the second shutdown loss corresponding to the second shutdown times for each hydrogen storage capacity.
[0035] It should be noted that the first shutdown times refer to the number of times when the downstream equipment shutdown duration is less than or equal to the set duration. In this case, the downstream equipment is not powered off and is in a standby state. When the hydrogen storage system supplies hydrogen to meet the demand, it can start working in a timely manner, and the losses caused by shutdown are relatively small; while the second shutdown times refer to the number of times when the downstream equipment shutdown duration is greater than the set duration. In this case, the downstream equipment will be powered off and shut down until the hydrogen supplied by the hydrogen storage system meets the demand before restarting. This shutdown causes greater losses. Therefore, it is necessary to confirm the first shutdown loss and the second shutdown loss for the first shutdown times and the second shutdown times respectively. Among them, the first shutdown times and the second shutdown times are obtained through production simulation based on the data of hydrogen supplied upstream and the data of hydrogen consumed downstream. The specific process is described in detail in the subsequent embodiments.
[0036] Step 104: Set the sum of the depreciation loss, the operating loss corresponding to the first hydrogen storage capacity, and the first shutdown loss and the second shutdown loss corresponding to the first hydrogen storage capacity as the target loss corresponding to the first hydrogen storage capacity, so as to obtain the target losses of each hydrogen storage capacity. The first hydrogen storage capacity is one of the multiple hydrogen storage capacities.
[0037] Step 105: Set the hydrogen storage capacity corresponding to the minimum target loss among the multiple hydrogen storage capacities as the target hydrogen storage capacity, and the target hydrogen storage capacity is the set capacity of the hydrogen storage system.
[0038] It should be noted that the larger the hydrogen storage capacity, the greater the corresponding depreciation loss and operating loss, but the smaller the first shutdown loss and the second shutdown loss. By determining the target losses of each hydrogen storage capacity, the hydrogen storage capacity with the minimum target loss is determined for installation and operation, so as to solve the problem of excessive production system losses caused by too large or too small hydrogen storage system capacity.
[0039] Among them, for each hydrogen storage capacity, it is necessary to set the sum of its corresponding depreciation loss, operating loss, first shutdown loss and second shutdown loss as the target loss, and confirm the target hydrogen storage capacity through the total target loss.
[0040] In an embodiment of the present invention, by obtaining the first shutdown times and the second shutdown times corresponding to each hydrogen storage capacity among multiple hydrogen storage capacities of a hydrogen storage system; obtaining the depreciation loss corresponding to each hydrogen storage capacity, and obtaining the operation loss corresponding to each hydrogen storage capacity; obtaining the first shutdown loss corresponding to the first shutdown times corresponding to each hydrogen storage capacity, and obtaining the second shutdown loss corresponding to the second shutdown times corresponding to each hydrogen storage capacity; setting the sum of the depreciation loss, the operation loss, the first shutdown loss and the second shutdown loss corresponding to the first hydrogen storage capacity as the target loss corresponding to the first hydrogen storage capacity, so as to obtain the target loss of each hydrogen storage capacity, where the first hydrogen storage capacity is one of the multiple hydrogen storage capacities; setting the hydrogen storage capacity corresponding to the minimum target loss among the multiple hydrogen storage capacities as the target hydrogen storage capacity, and the loss during the operation of the target hydrogen storage capacity is the smallest, thereby effectively reducing the loss of the hydrogen storage system.
[0041] In one embodiment, the obtaining the depreciation loss corresponding to each hydrogen storage capacity includes:
[0042] Obtaining the unit equipment cost of the hydrogen storage capacity, the installed power of the compressor of the hydrogen storage system, the unit equipment cost of the compressor, the installation loss coefficient, the system residual value and the service life;
[0043] Setting the sum of the product of the first hydrogen storage capacity and the unit equipment cost of the hydrogen storage capacity and the product of the installed power of the compressor and the unit equipment cost of the compressor as the first intermediate loss corresponding to the first hydrogen storage capacity;
[0044] Setting the sum of the product of the first intermediate loss corresponding to the first hydrogen storage capacity and the installation loss coefficient and the intermediate loss corresponding to each hydrogen storage capacity as the second intermediate loss corresponding to the first hydrogen storage capacity;
[0045] Calculating the product value of the second intermediate loss corresponding to the first hydrogen storage capacity and the system residual value, and setting the quotient of the difference between the second intermediate loss corresponding to the first hydrogen storage capacity and the product value and the service life as the depreciation loss corresponding to the first hydrogen storage capacity, so as to obtain the depreciation loss corresponding to each hydrogen storage capacity.
[0046] It should be noted that the depreciation losses of different hydrogen storage capacities are related to the construction inputs of hydrogen storage systems with different capacities. During the construction process of the entire system, there are inputs for multiple projects. Among them, only the construction input corresponding to the hydrogen storage capacity is related to the hydrogen storage capacity. Therefore, in the embodiments of the present invention, only the depreciation corresponding to the hydrogen storage capacity is determined.
[0047] It should be noted that the depreciation loss can be set to be linearly related to the hydrogen storage capacity for calculation (for example, depreciation loss = coefficient × hydrogen storage capacity + constant), or in the embodiments of the present invention, the depreciation loss is refined, including unit equipment cost, installation loss, system residual value, etc. By obtaining the unit equipment cost of the hydrogen storage capacity, the installed power of the compressor of the hydrogen storage system, the unit equipment cost of the compressor, the installation loss coefficient, the system residual value, and the service life, the depreciation loss corresponding to the hydrogen storage capacity is calculated, thereby improving the accuracy of the depreciation loss and better conforming to the usage scenario of the hydrogen storage system.
[0048] Further, the depreciation loss corresponding to the hydrogen storage capacity can be expressed by the following formula:
[0049]
[0050] In the formula is the depreciation loss, D n is different hydrogen storage capacities, c1 is the unit equipment cost of the hydrogen storage capacity, F2 is the installed power of the compressor, c2 is the unit equipment cost of the compressor, β is the installation loss coefficient, is the service life, M is the service life. Through the above formula, the depreciation loss corresponding to each hydrogen storage capacity can be quickly obtained.
[0051] Among them, the variable in the formula is D n , and other parameters are all fixed parameters (for example, the installed power of the compressor is related to the maximum hydrogen consumption flow of the downstream equipment and is a fixed value). By inputting the hydrogen storage capacity into the formula, the depreciation loss corresponding to the hydrogen storage capacity can be obtained.
[0052] In the embodiments of the present invention, by obtaining the unit equipment cost of the hydrogen storage capacity, the installed power of the compressor of the hydrogen storage system, the unit equipment cost of the compressor, the installation loss coefficient, the system residual value, and the service life; setting the sum of the product of the first hydrogen storage capacity and the unit equipment cost of the hydrogen storage capacity and the product of the installed power of the compressor and the unit equipment cost of the compressor as the first intermediate loss corresponding to the first hydrogen storage capacity; setting the product of the first intermediate loss corresponding to the first hydrogen storage capacity and the installation loss coefficient and the sum of the intermediate losses corresponding to each hydrogen storage capacity as the second intermediate loss corresponding to the first hydrogen storage capacity; calculating the product value of the second intermediate loss corresponding to the first hydrogen storage capacity and the system residual value, and setting the quotient of the difference between the second intermediate loss corresponding to the first hydrogen storage capacity and the product value and the service life as the depreciation loss corresponding to the first hydrogen storage capacity, so as to obtain the depreciation loss corresponding to each hydrogen storage capacity, and further determine the target loss corresponding to each hydrogen storage capacity.
[0053] In one embodiment, the operation loss includes at least one of labor loss, material loss, and power consumption loss. Obtaining the operation loss corresponding to each hydrogen storage capacity includes at least one of the following:
[0054] Input the first hydrogen storage capacity into a preset artificial loss formula for calculation to obtain the artificial loss corresponding to the first hydrogen storage capacity, so as to obtain the artificial loss corresponding to each hydrogen storage capacity;
[0055] Input the first hydrogen storage capacity into a preset material loss formula for calculation to obtain the material loss corresponding to the first hydrogen storage capacity, so as to obtain the depreciation loss corresponding to each hydrogen storage capacity;
[0056] Obtain the installed power, working duration, and unit cost of electricity of the compressor of the hydrogen storage system, and set the product of the installed power of the compressor, the working duration, and the unit cost of electricity as the electricity loss;
[0057] Among them, the preset artificial loss formula is expressed in the following manner:
[0058] H k,labor (t) = D n ×h k,labor +H k,labor (t) 0
[0059] H k,labor (t) is the artificial loss, D n is one of the multiple hydrogen storage capacities, h k,labor and H k,labor (t) 0 are constants;
[0060] The preset material loss formula is expressed in the following manner:
[0061] H k,material (t) = D n ×h k,material +H k,material (t) 0
[0062] H k,material (t) is the material loss, h k,material and H k,material (t) 0 are constants.
[0063] It should be noted that the operation loss can be set to be linearly related to the hydrogen storage capacity for calculation (for example, operation loss = coefficient × hydrogen storage capacity + constant), or it can be calculated by splitting the operation loss in the embodiments of the present invention to obtain the losses of multiple detailed items, including at least one of artificial loss, material loss, and electricity loss. By calculating at least one of artificial loss, material loss, and electricity loss respectively in the embodiments of the present invention to obtain the operation loss, the accuracy of the operation loss is improved, which is more in line with the usage scenario of the hydrogen storage system.
[0064] Specifically, when the operating losses include three items: labor losses, material losses, and power consumption losses, the operating losses can be expressed by the following formula:
[0065]
[0066] is the operating loss, t is the operating time of the hydrogen storage system, k is the item included in the operating loss, that is, three items: labor losses, material losses, and power consumption losses, H k,power is the power consumption loss, and is specifically expressed by the following formula:
[0067] H k,power (t) = F2 × t F2 × P elec
[0068] F2 is the installed power of the compressor, t F2 is the working duration, P elec is the unit cost of power consumption.
[0069] In the embodiment of the present invention, by inputting the first hydrogen storage capacity into a preset labor loss formula for calculation, the labor loss corresponding to the first hydrogen storage capacity is obtained to obtain the labor loss corresponding to each hydrogen storage capacity; the first hydrogen storage capacity is input into a preset material loss formula for calculation, and the material loss corresponding to the first hydrogen storage capacity is obtained to obtain the depreciation loss corresponding to each hydrogen storage capacity; the installed power of the compressor, the working duration, and the unit cost of power consumption of the hydrogen storage system are obtained, and the product of the installed power of the compressor, the working duration, and the unit cost of power consumption is set as the power consumption loss. In this way, by splitting the operating loss into at least one of labor loss, material loss, and power consumption loss, and then calculating the labor loss, material loss, and power consumption loss corresponding to different hydrogen storage capacities respectively, the operating loss corresponding to each hydrogen storage capacity is determined, improving the accuracy of the obtained operating loss.
[0070] In one embodiment, the obtaining of the first shutdown times and the second shutdown times corresponding to each hydrogen storage capacity in the multiple hydrogen storage capacities of the hydrogen storage system includes:
[0071] Obtaining the hydrogen supply data at a plurality of consecutive times, the hydrogen storage input data and hydrogen storage output data of the hydrogen storage system at the plurality of times, and the minimum hydrogen consumption load of the downstream equipment of the hydrogen storage system;
[0072] Calculating the sum value of the supply data and the hydrogen storage output data at each of the plurality of times, and setting the difference between the sum value of the plurality of times and the hydrogen storage input data as the intermediate supply data;
[0073] Statistically analyze the intermediate supply data to obtain multiple target frequencies. Each target frequency in the multiple target frequencies corresponds to a first moment or multiple consecutive second moments. The first moment and the second moments are moments when the intermediate supply data is less than the minimum hydrogen consumption load among the multiple moments;
[0074] Set the target frequencies corresponding to multiple consecutive second moments with a duration greater than the set duration as the second shutdown frequencies, and set the target frequencies corresponding to multiple consecutive second moments with a duration less than or equal to the set duration and the target frequencies corresponding to a first moment as the first shutdown frequencies.
[0075] The hydrogen supply data h h2 (t) of the above-mentioned consecutive multiple moments, the hydrogen storage input data d h2 (t) of the hydrogen storage system at multiple moments, the hydrogen storage output data ω' h2 (t) and the minimum hydrogen consumption load of the downstream equipment of the hydrogen storage system are obtained from historical data collection, and their relationship is as Figure 2 shown. The supply data at each moment is divided into hydrogen storage input data and hydrogen consumption data ω' h '2(t) directly input to the downstream equipment. That is, the hydrogen consumption data of the downstream equipment is obtained through the following method:
[0076] h h2 (t) = d h2 (t) + ω' h '2(t)
[0077] Through the above formula, it can be confirmed that the hydrogen input to the downstream equipment is h h2 (t) + ω' h2 (t) - d h2 (t), that is, the intermediate supply data at each moment is obtained.
[0078] It should be noted that the hydrogen consumption load of the downstream equipment has a maximum hydrogen consumption load W max and a minimum hydrogen consumption load W min . In the case where the hydrogen supply data of the hydrogen storage system and the upstream hydrogen cannot meet the minimum hydrogen consumption load of the downstream equipment, the downstream equipment shuts down. And when the hydrogen supply data of the hydrogen storage system and the upstream hydrogen meet the minimum hydrogen consumption load of the downstream equipment (that is, ω' h2 (t) + ω' h '2(t) ≤ W minIn the case of [[ID=]], the downstream device can still work properly. Therefore, the downtime moments among multiple moments are determined through this condition. Specifically: The intermediate supply data is statistically analyzed to obtain multiple target frequencies. Each target frequency among the multiple target frequencies corresponds to a first moment or multiple consecutive second moments. The first moment and the second moment are moments when the intermediate supply data is less than the minimum hydrogen consumption load among the multiple moments.
[0079] Among them, when the target frequency corresponds to a first moment, the downtime duration is less than the set duration, which is recorded as a first downtime frequency; while when the target frequency corresponds to multiple consecutive second moments, it is necessary to determine whether the multiple consecutive second moments are greater than the set duration. If it is greater than the set duration, it is recorded as a second downtime frequency, otherwise it is still recorded as a first downtime frequency.
[0080] Furthermore, the real-time hydrogen storage volume of the hydrogen storage system is greater than or equal to 0 and less than or equal to each hydrogen storage capacity, that is, D(t) ∈ [0, D n , where D(t) is the real-time hydrogen storage volume of the hydrogen storage system at time t, and D n is the hydrogen storage capacity. The hydrogen storage input data and output data corresponding to the hydrogen storage capacity are related to the hydrogen storage capacity. The hydrogen storage capacity is used as a constraint condition for the real-time hydrogen storage volume of the hydrogen storage system to improve the accuracy of the calculated first downtime frequency and second downtime frequency.
[0081] Among them, the real-time hydrogen storage volume of the hydrogen storage system is expressed by the following formula:
[0082]
[0083] Among them, D(t) is the real-time hydrogen storage volume of the hydrogen storage system at time t, and d h2 (t) is the hydrogen storage input data of the hydrogen storage system at time t, ω' h2 (t) is the hydrogen storage input data of the hydrogen storage system at time t, and t is a moment.
[0084] In the embodiments of the present invention, by using the hydrogen storage capacity as a constraint condition for the real-time hydrogen storage volume of the hydrogen storage system, the accuracy of the calculated first downtime frequency and second downtime frequency is improved.
[0085] It should be noted that the first shutdown count is the number of times the downstream device is shut down for a duration less than or equal to the set duration. In this case, the downstream device is not powered off and is in a standby state. When the hydrogen storage system supplies hydrogen to meet the demand, it can be started promptly, and the loss caused by shutdown is relatively small. The second shutdown count is the number of times the downstream device is shut down for a duration greater than the set duration. In this case, the downstream device will be powered off and shut down until the hydrogen supplied by the hydrogen storage system meets the demand before it can be restarted. This shutdown causes a relatively large loss. Therefore, it is necessary to confirm the first shutdown loss and the second shutdown loss for the first shutdown count and the second shutdown count respectively.
[0086] Among them, the first shutdown loss is confirmed in the following way:
[0087] In one embodiment, obtaining the first shutdown loss corresponding to the first shutdown count for each hydrogen storage capacity includes:
[0088] Obtaining the single - shutdown loss;
[0089] Respectively setting the product of the single - shutdown loss and the first shutdown count corresponding to the first hydrogen storage capacity as the first shutdown loss corresponding to the first hydrogen storage capacity, so as to obtain the first shutdown loss corresponding to each hydrogen storage capacity.
[0090] It should be noted that the shutdown duration of the downstream device corresponding to the first shutdown count is less than or equal to the set duration. Under this condition, the downstream device is in a heat - preservation and pressure - preservation state. It only needs to start working immediately after the hydrogen supply is restored and does not need to be restarted. Only the energy consumption loss during heat - preservation and pressure - preservation during shutdown will occur, that is, the single - shutdown loss Q1. Based on the obtained first shutdown count, the first shutdown loss can be calculated. The calculation process can be expressed by the following formula:
[0091] c′ Δ = Q1×Δ′ r
[0092] Among them, c′ Δ is the first shutdown loss, and Δ′ r is the first shutdown count.
[0093] In addition, the second shutdown loss is confirmed in the following way:
[0094] In one embodiment, obtaining the second shutdown loss corresponding to the second shutdown count for each hydrogen storage capacity includes:
[0095] Obtaining the cost of the downstream device, the preset cold - start count, and the start - up energy loss;
[0096] Input the cost of the downstream device, the preset number of cold starts, and the start-up energy loss into a preset loss formula, and calculate the second number of shutdowns corresponding to the first hydrogen storage capacity to obtain the second shutdown loss corresponding to the first hydrogen storage capacity, so as to obtain the second shutdown loss corresponding to each hydrogen storage capacity;
[0097] Among them, the preset loss formula is expressed in the following way:
[0098]
[0099] c Δ ” is the second shutdown loss, is the cost of the downstream device, is the preset number of cold starts, Δ r ” is the second number of shutdowns, and Q2 is the start-up energy loss.
[0100] It should be noted that when the shutdown duration of the downstream device exceeds the set duration, the downstream device no longer maintains heat and pressure, but completely shuts down and restarts only when the hydrogen supply is restored. The number of starts of the downstream device is fixed and can only be started a certain number of times during its service life. Restarting in this case will cause restart losses of the downstream device. Therefore, when calculating the second shutdown loss, the part of the downstream device loss needs to be added to improve the accuracy of the calculated second shutdown loss.
[0101] In summary, the target loss corresponding to each hydrogen storage capacity is expressed by the following formula:
[0102]
[0103] Among them, C n,storage is the target loss, c Δ = c' Δ + c” Δ .
[0104] Please refer to Figure 3 , Figure 3 which is the structural diagram of a hydrogen storage capacity setting device provided by an embodiment of the present invention. As Figure 3 shown, the hydrogen storage capacity setting device 300 includes:
[0105] A first acquisition module 301, configured to acquire the first number of shutdowns and the second number of shutdowns corresponding to each hydrogen storage capacity among multiple hydrogen storage capacities of a hydrogen storage system. The first number of shutdowns is the number of times when the shutdown duration of the downstream device is less than or equal to the set duration, and the second number of shutdowns is the number of times when the shutdown duration of the downstream device is greater than the set duration. The multiple hydrogen storage capacities are multiple hydrogen storage capacities that can be set by the hydrogen storage system;
[0106] A second acquisition module 302, configured to acquire the depreciation loss corresponding to each hydrogen storage capacity, and acquire the operation loss corresponding to each hydrogen storage capacity;
[0107] A third acquisition module 303, configured to acquire the first shutdown loss corresponding to the first shutdown times of each hydrogen storage capacity, and acquire the second shutdown loss corresponding to the second shutdown times of each hydrogen storage capacity;
[0108] A first processing module 304, configured to set the sum of the depreciation loss, the operation loss, the first shutdown loss and the second shutdown loss corresponding to the first hydrogen storage capacity as the target loss corresponding to the first hydrogen storage capacity, so as to obtain the target loss of each hydrogen storage capacity, where the first hydrogen storage capacity is one of the multiple hydrogen storage capacities;
[0109] A second processing module 305, configured to set the hydrogen storage capacity corresponding to the minimum target loss among the multiple hydrogen storage capacities as the target hydrogen storage capacity, and the target hydrogen storage capacity is the set capacity of the hydrogen storage system.
[0110] In one embodiment, the second acquisition module 302 includes:
[0111] A first acquisition unit, configured to acquire the unit equipment cost of the hydrogen storage capacity, the installed power of the compressor of the hydrogen storage system, the unit equipment cost of the compressor, the installation loss coefficient, the system residual value, and the service life;
[0112] A first calculation unit, configured to set the sum of the product of the first hydrogen storage capacity and the unit equipment cost of the hydrogen storage capacity, and the product of the installed power of the compressor and the unit equipment cost of the compressor as the first intermediate loss corresponding to the first hydrogen storage capacity;
[0113] A second calculation unit, configured to set the sum of the product of the first intermediate loss corresponding to the first hydrogen storage capacity and the installation loss coefficient, and the intermediate loss corresponding to each hydrogen storage capacity as the second intermediate loss corresponding to the first hydrogen storage capacity;
[0114] A third calculation unit, configured to calculate the product value of the second intermediate loss corresponding to the first hydrogen storage capacity and the system residual value, and set the quotient of the difference between the second intermediate loss corresponding to the first hydrogen storage capacity and the product value and the service life as the depreciation loss corresponding to the first hydrogen storage capacity, so as to obtain the depreciation loss corresponding to each hydrogen storage capacity.
[0115] In one embodiment, the operation loss includes at least one of labor loss, material loss, and power consumption loss, and the second acquisition module 302 includes at least one of the following:
[0116] A fourth calculation unit, configured to input the first hydrogen storage capacity into a preset artificial loss formula for calculation to obtain the artificial loss corresponding to the first hydrogen storage capacity, so as to obtain the artificial loss corresponding to each hydrogen storage capacity;
[0117] A fifth calculation unit, configured to input the first hydrogen storage capacity into a preset material loss formula for calculation to obtain the material loss corresponding to the first hydrogen storage capacity, so as to obtain the depreciation loss corresponding to each hydrogen storage capacity;
[0118] A second acquisition unit, configured to acquire the installed power, working duration, and unit power consumption cost of the compressor of the hydrogen storage system, and set the product of the installed power of the compressor, the working duration, and the unit power consumption cost as the power consumption loss;
[0119] Wherein, the preset artificial loss formula is expressed as follows:
[0120] H k,labor (t) = D n ×h k,labor +H k,labor (t) 0
[0121] H k,labor (t) is the artificial loss, D n is one of the multiple hydrogen storage capacities, h k,labor and H k,labor (t) 0 are constants;
[0122] The preset material loss formula is expressed as follows:
[0123] H k,material (t) = D n ×h k,material +H k,material (t) 0
[0124] H k,material (t) is the material loss, h k,material and H k,material (t) 0 are constants.
[0125] In one embodiment, the first acquisition module 301 includes:
[0126] A third acquisition unit, configured to acquire the hydrogen supply data at a plurality of consecutive moments, the hydrogen storage input data and hydrogen storage output data of the hydrogen storage system at the plurality of moments, and the minimum hydrogen consumption load of the downstream equipment of the hydrogen storage system;
[0127] A sixth calculation unit, configured to calculate the sum of the supply data and the hydrogen storage output data at each of the multiple moments, and set the difference between the sum of the multiple moments and the hydrogen storage input data as the intermediate supply data;
[0128] A statistics unit, configured to perform statistics on the intermediate supply data to obtain a plurality of target times, where each target time in the plurality of target times corresponds to a first moment or a plurality of consecutive second moments, and the first moment and the second moment are moments when the intermediate supply data is less than the minimum hydrogen consumption load among the multiple moments;
[0129] A processing unit, configured to set the target times corresponding to the plurality of consecutive second moments with a duration greater than the set duration as the second shutdown times, and set the target times corresponding to the plurality of consecutive second moments with a duration less than or equal to the set duration and the target times corresponding to a first moment as the first shutdown times.
[0130] In one embodiment, the real-time hydrogen storage amount of the hydrogen storage system is less than each hydrogen storage capacity, and the real-time hydrogen storage amount of the hydrogen storage system is represented by the following formula:
[0131]
[0132] where D(t) is the real-time hydrogen storage amount of the hydrogen storage system at time t, and d h2 (t) is the hydrogen storage input data of the hydrogen storage system at time t, and ω' h2 (t) is the hydrogen storage input data of the hydrogen storage system at time t, and t is a moment.
[0133] In one embodiment, the third acquisition module 303 includes:
[0134] A fourth acquisition unit, configured to acquire the single shutdown loss;
[0135] A seventh calculation unit, configured to set the product of the single shutdown loss and the first shutdown times corresponding to the first hydrogen storage capacity as the first shutdown loss corresponding to the first hydrogen storage capacity, so as to obtain the first shutdown loss corresponding to each hydrogen storage capacity.
[0136] In one embodiment, the third acquisition module 303 includes:
[0137] A fifth acquisition unit, configured to acquire the cost of the downstream device, the preset cold start times, and the start energy loss;
[0138] An eighth calculation unit is configured to input the cost of the downstream device, the preset number of cold starts, and the start-up energy loss into a preset loss formula, and calculate the second number of shutdowns corresponding to the first hydrogen storage capacity to obtain the second shutdown loss corresponding to the first hydrogen storage capacity, so as to obtain the second shutdown loss corresponding to each hydrogen storage capacity;
[0139] Wherein, the preset loss formula is expressed as follows:
[0140]
[0141] c Δ ” is the second shutdown loss, is the cost of the downstream device, is the preset number of cold starts, Δ r ” is the second number of shutdowns, and Q2 is the start-up energy loss.
[0142] The hydrogen storage capacity setting device provided by the embodiments of the present invention can implement each process of the above-mentioned hydrogen storage capacity setting method, and the technical features correspond one by one, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0143] It should be noted that the hydrogen storage capacity setting device in the embodiments of the present invention can be a device, or a component, an integrated circuit, or a chip in an electronic device.
[0144] The embodiments of the present invention also provide an electronic device. Refer to Figure 4 , Figure 4 is a schematic structural diagram of an electronic device provided by the embodiments of the present invention. The electronic device includes a memory 401, a processor 402, and a program or instruction stored in the memory 401 and running. When the program or instruction is executed by the processor 402, it can implement Figure 1 any step in the corresponding method embodiment and achieve the same beneficial effects, which will not be elaborated here.
[0145] Wherein, the processor 402 can be a CPU, an ASIC, an FPGA, or a GPU.
[0146] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the program can be stored in a readable medium.
[0147] The embodiments of the present invention also provide a readable storage medium. A computer program is stored on the readable storage medium. When the computer program is executed by a processor, it can implement the above-mentioned Figure 1Any step in the corresponding method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here. The storage medium, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disc, etc.
[0148] The terms "first", "second", etc. in the embodiments of the present invention are used to distinguish similar objects and do not necessarily describe a specific order or sequence. In addition, the terms "comprising" and "having" and any of their variants are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to such process, method, product or device. In addition, the use of "and / or" in this application means at least one of the connected objects. For example, A and / or B and / or C means including A alone, B alone, C alone, and the cases where A and B exist, B and C exist, A and C exist, and A, B, and C all exist.
[0149] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not clearly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of another identical element in the process, method, article or device comprising that element.
[0150] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment method can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, air conditioner, or a second terminal device, etc.) to execute the methods of the various embodiments of this application.
[0151] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.
Claims
1. A method for setting the hydrogen storage capacity, characterized in that Including: Obtaining a first number of shutdowns and a second number of shutdowns corresponding to each hydrogen storage capacity among multiple hydrogen storage capacities of a hydrogen storage system, where the first number of shutdowns is the number of times the downstream equipment shutdown duration is less than or equal to a set duration, the second number of shutdowns is the number of times the downstream equipment shutdown duration is greater than the set duration, and the multiple hydrogen storage capacities are multiple hydrogen storage capacities that can be set by the hydrogen storage system; Obtaining the depreciation loss corresponding to each hydrogen storage capacity, and obtaining the operating loss corresponding to each hydrogen storage capacity; Obtaining a first shutdown loss corresponding to the first number of shutdowns corresponding to each hydrogen storage capacity, and obtaining a second shutdown loss corresponding to the second number of shutdowns corresponding to each hydrogen storage capacity; Setting the sum of the depreciation loss, the operating loss, the first shutdown loss, and the second shutdown loss corresponding to the first hydrogen storage capacity as the target loss corresponding to the first hydrogen storage capacity, so as to obtain the target loss of each hydrogen storage capacity, where the first hydrogen storage capacity is one of the multiple hydrogen storage capacities; Setting the hydrogen storage capacity corresponding to the minimum target loss among the multiple hydrogen storage capacities as the target hydrogen storage capacity, and the target hydrogen storage capacity is the set capacity of the hydrogen storage system.
2. The method according to claim 1, characterized in that, The obtaining the depreciation loss corresponding to each hydrogen storage capacity includes: Obtaining the unit equipment cost of the hydrogen storage capacity, the installed power of the compressor of the hydrogen storage system, the unit equipment cost of the compressor, the installation loss coefficient, the system residual value, and the service life; Setting the sum of the product of the first hydrogen storage capacity and the unit equipment cost of the hydrogen storage capacity and the product of the installed power of the compressor and the unit equipment cost of the compressor as the first intermediate loss corresponding to the first hydrogen storage capacity; Setting the product of the first intermediate loss corresponding to the first hydrogen storage capacity and the installation loss coefficient and the sum of the intermediate losses corresponding to each hydrogen storage capacity as the second intermediate loss corresponding to the first hydrogen storage capacity; Calculating the product value of the second intermediate loss corresponding to the first hydrogen storage capacity and the system residual value, and setting the quotient of the difference between the second intermediate loss corresponding to the first hydrogen storage capacity and the product value and the service life as the depreciation loss corresponding to the first hydrogen storage capacity, so as to obtain the depreciation loss corresponding to each hydrogen storage capacity.
3. The method according to claim 1, wherein The operating loss includes at least one of labor loss, material loss, and power consumption loss. The obtaining the operating loss corresponding to each hydrogen storage capacity includes at least one of the following: Inputting the first hydrogen storage capacity into a preset labor loss formula for calculation to obtain the labor loss corresponding to the first hydrogen storage capacity, so as to obtain the labor loss corresponding to each hydrogen storage capacity; Inputting the first hydrogen storage capacity into a preset material loss formula for calculation to obtain the material loss corresponding to the first hydrogen storage capacity, so as to obtain the depreciation loss corresponding to each hydrogen storage capacity; Obtaining the installed power of the compressor of the hydrogen storage system, the working duration, and the unit power consumption cost, and setting the product of the installed power of the compressor, the working duration, and the unit power consumption cost as the power consumption loss; Wherein, the preset labor loss formula is expressed in the following manner: H k,labor H(t) = D n × h k,labor + H k,labor (t) 0 H k,labor (t) is the artificial loss, D n is one of the multiple hydrogen storage capacities, h k,labor and H k,labor (t) 0 is a constant; The preset material loss formula is expressed as follows: H k,material (t) = D n × h k,material + H k,material (t) 0 H k,material (t) is the material loss, h k,material and H k,material (t) 0 are constants.
4. The method according to claim 1, characterized in that, The obtaining of the first shutdown times and the second shutdown times corresponding to each hydrogen storage capacity among the multiple hydrogen storage capacities of the hydrogen storage system includes: Obtaining the hydrogen supply data at a plurality of consecutive moments, the hydrogen storage input data and the hydrogen storage output data of the hydrogen storage system at the plurality of moments, and the minimum hydrogen consumption load of the downstream equipment of the hydrogen storage system; Calculating the sum value of the supply data and the hydrogen storage output data at each of the plurality of moments, and setting the difference between the sum values of the plurality of moments and the hydrogen storage input data as the intermediate supply data; Statistically analyzing the intermediate supply data to obtain a plurality of target times, each target time in the plurality of target times corresponding to a first moment or a plurality of consecutive second moments, where the first moment and the second moment are the moments when the intermediate supply data is less than the minimum hydrogen consumption load among the plurality of moments; Setting the target times corresponding to the plurality of consecutive second moments with a duration greater than the set duration as the second shutdown times, and setting the target times corresponding to the plurality of consecutive second moments with a duration less than or equal to the set duration and the target times corresponding to a first moment as the first shutdown times.
5. The method according to claim 4, wherein The real-time hydrogen storage amount of the hydrogen storage system is less than each hydrogen storage capacity, and the real-time hydrogen storage amount of the hydrogen storage system is expressed by the following formula: Among them, D(t) is the real-time hydrogen storage amount of the hydrogen storage system at time t, and d h2 (t) is the hydrogen storage input data of the hydrogen storage system at time t, ω' h2 (t) is the hydrogen storage input data of the hydrogen storage system at time t, and t is a moment.
6. The method according to claim 1, characterized in that, The obtaining of the first shutdown loss corresponding to the first shutdown times corresponding to each hydrogen storage capacity includes: Obtaining the single shutdown loss; Respectively setting the product of the single shutdown loss and the first shutdown times corresponding to the first hydrogen storage capacity as the first shutdown loss corresponding to the first hydrogen storage capacity, so as to obtain the first shutdown loss corresponding to each hydrogen storage capacity.
7. The method according to claim 1, wherein The obtaining of the second shutdown loss corresponding to the second shutdown times corresponding to each hydrogen storage capacity includes: Obtaining the cost of the downstream equipment, the preset cold start times, and the start-up energy loss; Inputting the cost of the downstream equipment, the preset cold start times, and the start-up energy loss into the preset loss formula, and calculating the second shutdown times corresponding to the first hydrogen storage capacity to obtain the second shutdown loss corresponding to the first hydrogen storage capacity, so as to obtain the second shutdown loss corresponding to each hydrogen storage capacity; Wherein, the preset loss formula is expressed as follows: c Δ ” is the second shutdown loss, is the cost of the downstream equipment, is the preset number of cold starts, Δ r ” is the second shutdown times, Q2 is the startup energy loss.
8. A hydrogen storage capacity setting device, characterized in that, Including: A first obtaining module, configured to obtain the first shutdown times and the second shutdown times corresponding to each hydrogen storage capacity among the multiple hydrogen storage capacities of the hydrogen storage system, where the first shutdown times are the times when the shutdown duration of the downstream equipment is less than or equal to the set duration, the second shutdown times are the times when the shutdown duration of the downstream equipment is greater than the set duration, and the multiple hydrogen storage capacities are the multiple hydrogen storage capacities that can be set by the hydrogen storage system; A second obtaining module, configured to obtain the depreciation loss corresponding to each hydrogen storage capacity, and obtain the operation loss corresponding to each hydrogen storage capacity; A third acquisition module, configured to acquire a first shutdown loss corresponding to the first shutdown times corresponding to each hydrogen storage capacity, and acquire a second shutdown loss corresponding to the second shutdown times corresponding to each hydrogen storage capacity; A first processing module, configured to set the sum of the depreciation loss, the operation loss, the first shutdown loss, and the second shutdown loss corresponding to the first hydrogen storage capacity as the target loss corresponding to the first hydrogen storage capacity, so as to obtain the target loss corresponding to each hydrogen storage capacity, where the first hydrogen storage capacity is one of the multiple hydrogen storage capacities; A second processing module, configured to set the hydrogen storage capacity corresponding to the minimum target loss among the multiple hydrogen storage capacities as the target hydrogen storage capacity, and the target hydrogen storage capacity is the set capacity of the hydrogen storage system.
9. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the hydrogen storage capacity setting method according to any one of claims 1 to 7.
10. A readable storage medium for storing a program, characterized in that, When the program is executed by the processor, it implements the steps in the hydrogen storage capacity setting method according to any one of claims 1 to 7.