Method and device for determining hydrogen cost of hydrogen refueling station, medium and electronic equipment

By dividing the pressure range of the hydrogen storage tank at a hydrogen refueling station into unit pressure ranges and combining the parameters of the hydrogen compressor with the time difference, the cost of hydrogen in different time periods is calculated, which solves the problem of inaccurate cost accounting for hydrogen refueling stations and achieves accurate cost accounting and operational optimization.

CN121352181APending Publication Date: 2026-01-16CHINA NAT PETROLEUM CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410950339.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2026-01-16

AI Technical Summary

Technical Problem

Existing hydrogen refueling stations fail to consider the differences in electricity costs at different times when calculating hydrogen costs, resulting in inaccurate cost accounting.

Method used

The pressure range of the hydrogen storage tank is divided into multiple unit pressure ranges. By obtaining the fixed cost of hydrogen, the parameters of the hydrogen compressor, and the time difference, the cost of hydrogen in each unit pressure range at different time periods is calculated. A weighted coefficient is used to adjust for differences in electricity costs, so as to achieve accurate cost accounting.

Benefits of technology

It enables accurate calculation of hydrogen costs at hydrogen refueling stations, improves the precision of cost calculation, adapts to changes in electricity costs over different time periods, and optimizes the operation and management of hydrogen refueling stations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121352181A_ABST
    Figure CN121352181A_ABST
Patent Text Reader

Abstract

The invention discloses a hydrogen cost determination method and device of a hydrogen refueling station, a medium and electronic equipment. The method comprises the following steps: equally dividing a pressure interval from zero to maximum pressure of a hydrogen storage tank into a plurality of unit pressure intervals; at first time, determining first hydrogen mass and first hydrogen cost corresponding to the unit pressure interval; hydrogen fixed cost, hydrogen compressor parameters in a target time period and a time difference are obtained, the target time period is a time period from the first time to second time, the time difference is a difference value between the second time and the first time, and the second time is after the first time; and according to the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameters, the time difference and the hydrogen fixed cost, the second hydrogen cost corresponding to the unit pressure interval at the second time is determined. According to the invention, the hydrogen cost of the hydrogen refueling station can be accurately calculated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of hydrogen refueling station technology, and in particular, to a method, apparatus, medium, and electronic equipment for determining the hydrogen cost of a hydrogen refueling station. Background Technology

[0002] Hydrogen refueling stations are important facilities that provide hydrogen refueling services for hydrogen fuel cell vehicles. Based on refueling time, they are divided into fast refueling and slow refueling. The former is based on the pressure difference between the hydrogen storage tank of the hydrogen refueling station and the hydrogen storage cylinder of the hydrogen fuel cell vehicle. The hydrogen storage tank of the hydrogen refueling station is filled with hydrogen using a hydrogen compressor, while the latter is filled with hydrogen fuel cell vehicles using a hydrogen compressor.

[0003] Currently, hydrogen refueling stations typically use fixed costs to calculate their hydrogen costs. However, electricity prices vary at different times, resulting in varying costs for the hydrogen compressor to refuel the station's storage tanks. Therefore, using fixed costs to calculate hydrogen costs is not conducive to accurate cost accounting. Summary of the Invention

[0004] The embodiments of this application provide a method, apparatus, medium, and electronic equipment for determining the hydrogen cost of a hydrogen refueling station, which can accurately calculate the hydrogen cost of a hydrogen refueling station.

[0005] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0006] According to a first aspect of this application, a method for determining the hydrogen cost of a hydrogen refueling station is provided, comprising:

[0007] The pressure range of the hydrogen storage tank from zero to maximum pressure is divided into multiple unit pressure ranges.

[0008] At the first moment, determine the first hydrogen mass and the first hydrogen cost corresponding to the unit pressure range;

[0009] Obtain the fixed cost of hydrogen, the parameters of the hydrogen compressor within a target time period, and the time difference, wherein the target time period is the time period from the first time to the second time, the time difference is the difference between the second time and the first time, and the second time is after the first time;

[0010] Based on the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameters, the time difference, and the fixed cost of hydrogen, determine the second hydrogen cost corresponding to the unit pressure range at the second time.

[0011] In some embodiments of this application, based on the foregoing scheme, the hydrogen compressor parameters include compressor power, compressor capacity, and compressor electricity cost, wherein the compressor electricity cost is the electricity cost payable when the hydrogen refueling station operates the compressor. The step of determining the second hydrogen cost corresponding to the unit pressure range at the second time based on the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameters, the time difference, and the fixed cost of hydrogen includes:

[0012] The first target cost corresponding to the unit pressure range at the first time is determined based on the product of the first hydrogen mass and the first hydrogen cost.

[0013] Based on the compressor capacity, the time difference, and the first hydrogen mass, determine the second hydrogen mass corresponding to the unit pressure range at the second time.

[0014] Based on the compressor capacity, the time difference, the compressor power, the compressor electricity cost, the first target cost, and the hydrogen fixed cost, determine the second target cost corresponding to the unit pressure range at the second time.

[0015] The second hydrogen cost is determined based on the quotient of the second target cost and the second hydrogen mass.

[0016] In some embodiments of this application, based on the foregoing scheme, determining the second hydrogen mass corresponding to the unit pressure range at the second time based on the compressor capacity, the time difference, and the first hydrogen mass includes:

[0017] The mass of the third hydrogen gas is determined based on the product of the compressor capacity and the time difference.

[0018] The mass of the second hydrogen gas is determined based on the sum of the mass of the first hydrogen gas and the mass of the third hydrogen gas.

[0019] In some embodiments of this application, based on the foregoing scheme, determining the second target cost corresponding to the unit pressure range at the second time based on the compressor capacity, the time difference, the compressor power, the compressor electricity cost, the first target cost, and the hydrogen fixed cost includes:

[0020] The third target cost is determined by multiplying the fixed cost of hydrogen and the mass of the third hydrogen.

[0021] The fourth target cost is determined by multiplying the compressor's electricity cost, the compressor's power, and the time difference.

[0022] The second target cost is determined based on the sum of the third target cost, the fourth target cost, and the first target cost.

[0023] In some embodiments of this application, based on the foregoing scheme, determining the fourth target cost based on the product of the compressor electricity cost, the compressor power, and the time difference includes:

[0024] Determine the weighting coefficients corresponding to the unit pressure range;

[0025] The fourth target cost is determined by multiplying the compressor electricity cost, the compressor power, the time difference, and the weighting coefficient.

[0026] In some embodiments of this application, based on the foregoing scheme, determining the first hydrogen mass and the first hydrogen cost corresponding to the unit pressure range at the first time includes:

[0027] At the first time point, the current temperature of the hydrogen storage tank, the current volume of the hydrogen storage tank, and the first hydrogen cost are obtained;

[0028] Determine a first lower pressure limit value for the unit pressure range and a second lower pressure limit value for the next unit pressure range, wherein the next unit pressure range is greater than the unit pressure range.

[0029] The first density is determined based on the current temperature and the first lower pressure limit.

[0030] The second density is determined based on the current temperature and the second lower pressure limit.

[0031] The density difference is determined based on the difference between the second density and the first density;

[0032] The mass of the first hydrogen gas is determined by multiplying the density difference and the current volume.

[0033] According to a second aspect of this application, a method for determining the hydrogen cost of a hydrogen refueling station is provided, comprising:

[0034] Obtain the pressure threshold and fixed value;

[0035] When the upper limit of the unit pressure range is less than or equal to the pressure threshold, the hydrogen cost corresponding to the unit pressure range is a fixed value.

[0036] When the upper limit of the unit pressure range is greater than the pressure threshold, the hydrogen cost corresponding to the unit pressure range is determined according to the method described in any of the embodiments of the first aspect above.

[0037] According to a third aspect of this application, a hydrogen cost determination device for a hydrogen refueling station is provided, comprising:

[0038] The pressure range of the hydrogen storage tank from zero to maximum pressure is divided into multiple unit pressure ranges.

[0039] The first determining unit determines the first hydrogen mass and the first hydrogen cost corresponding to the unit pressure range at the first time.

[0040] The acquisition unit acquires the fixed cost of hydrogen, the parameters of the hydrogen compressor within a target time period, and the time difference, wherein the target time period is the time period from the first time to the second time, the time difference is the difference between the second time and the first time, and the second time is after the first time.

[0041] The second determining unit determines the second hydrogen cost corresponding to the unit pressure range at the second time based on the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameters, the time difference, and the fixed cost of hydrogen.

[0042] According to a fourth aspect of this application, a computer-readable storage medium is provided that stores a computer program thereon, the computer program including executable instructions that, when executed by a processor, implement the method described in any of the embodiments of the first aspect above.

[0043] According to a fifth aspect of this application, an electronic device is provided, comprising: one or more processors; and a memory for storing executable instructions of the processors, which, when executed by the one or more processors, cause the one or more processors to perform the method described in any of the embodiments of the first aspect above.

[0044] The beneficial effects of this application are as follows:

[0045] For a unit pressure range, based on the first hydrogen cost at the first time, the time difference, and the hydrogen compressor parameters within the target time period, the second hydrogen cost at the second time is determined, thereby updating the hydrogen cost for the unit pressure range and achieving accurate calculation of the hydrogen cost for the hydrogen refueling station.

[0046] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0047] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0048] Figure 1 A flowchart illustrating a method for determining the hydrogen cost of a hydrogen refueling station according to an embodiment of this application is shown;

[0049] Figure 2 A block diagram of a hydrogen cost determination device for a hydrogen refueling station according to an embodiment of this application is shown;

[0050] Figure 3 A schematic diagram of a computer-readable storage medium in an embodiment of this application is shown;

[0051] Figure 4 A schematic diagram of the system structure of an electronic device in an embodiment of this application is shown. Detailed Implementation

[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0053] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0054] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0055] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0056] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "multiple" means two or more.

[0057] Figure 1 A flowchart illustrating a method for determining the hydrogen cost of a hydrogen refueling station according to an embodiment of this application is shown. See [link / reference]. Figure 1 This paper provides a method for determining the hydrogen cost of a hydrogen refueling station, which includes at least S1 to S4, detailed below:

[0058] In step S1, the pressure range from zero to maximum pressure of the hydrogen storage tank is divided into multiple unit pressure intervals. The maximum pressure of the hydrogen storage tank can be the maximum operating pressure of the hydrogen storage tank. For example, if the design pressure of the hydrogen storage tank is 49.5 MPa and the maximum operating pressure is 45 MPa, then the maximum pressure of the hydrogen storage tank is 45 MPa. The pressure range from zero to maximum pressure is divided into multiple unit pressure intervals, that is, the pressure range of 0-45 MPa is divided into multiple unit pressure intervals. If it is divided into 45 unit pressure intervals, then the first unit pressure interval is 0-1 MPa and the last unit pressure interval is 44-45 MPa.

[0059] In step S2, at the first time interval, the first hydrogen mass and the first hydrogen cost corresponding to the unit pressure range are determined.

[0060] In step S3, the fixed cost of hydrogen, the parameters of the hydrogen compressor within the target time period, and the time difference are obtained. The target time period is the time period from the first time to the second time, and the time difference is the difference between the second time and the first time, wherein the second time is after the first time.

[0061] In step S4, the second hydrogen cost corresponding to the unit pressure range at the second time is determined based on the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameters, the time difference, and the fixed hydrogen cost.

[0062] In some embodiments, the hydrogen compressor parameters include compressor power, compressor capacity, and compressor electricity cost. The compressor electricity cost is the electricity fee payable by the hydrogen refueling station when operating the compressor. Determining the second hydrogen cost corresponding to the unit pressure range at the second time based on the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameters, the time difference, and the hydrogen fixed cost includes: determining the first target cost corresponding to the unit pressure range at the first time based on the product of the first hydrogen mass and the first hydrogen cost; determining the second hydrogen mass corresponding to the unit pressure range at the second time based on the compressor capacity, the time difference, and the first hydrogen mass; determining the second target cost corresponding to the unit pressure range at the second time based on the compressor capacity, the time difference, the compressor power, the compressor electricity cost, the first target cost, and the hydrogen fixed cost; and determining the second hydrogen cost based on the quotient of the second target cost and the second hydrogen mass. When the first time is the original time and the second time is the current time, the first target cost can be understood as the original cost of the unit pressure range, and the second target cost can be understood as the current cost of the unit pressure range.

[0063] In some embodiments, determining the second hydrogen mass corresponding to the unit pressure range at the second time based on the compressor capacity, the time difference, and the first hydrogen mass includes: determining the third hydrogen mass based on the product of the compressor capacity and the time difference; and determining the second hydrogen mass based on the sum of the first hydrogen mass and the third hydrogen mass.

[0064] In some implementations, determining the second target cost corresponding to the unit pressure range at the second time based on the compressor capacity, the time difference, the compressor power, the compressor electricity cost, the first target cost, and the hydrogen fixed cost includes: determining a third target cost based on the product of the hydrogen fixed cost and the third hydrogen mass; determining a fourth target cost based on the product of the compressor electricity cost, the compressor power, and the time difference; and determining the second target cost based on the sum of the third target cost, the fourth target cost, and the first target cost. Electricity costs may vary at different times, resulting in different compressor electricity costs within different time periods. For example, daytime electricity costs may be higher than nighttime compressor electricity costs. Based on the current compressor electricity cost, a second hydrogen cost is determined, and this second hydrogen cost replaces the first hydrogen cost as the current hydrogen cost, updating the hydrogen cost and improving the accuracy of hydrogen cost calculation.

[0065] In some implementations, determining the fourth target cost based on the product of the compressor electricity cost, the compressor power, and the time difference includes: determining a weighting coefficient corresponding to the unit pressure range; and determining the fourth target cost based on the product of the compressor electricity cost, the compressor power, the time difference, and the weighting coefficient. The product of the compressor electricity cost, the compressor power, and the time difference can be understood as the target electricity cost within a target time period, and the fourth target cost can be understood as a weighted calculation of the target electricity cost according to the weighting coefficient, thereby including the added value corresponding to the unit pressure range in the hydrogen cost.

[0066] In some implementations, the larger the pressure value of the unit pressure range, the larger the weighting coefficient. The larger the pressure value of the unit pressure range, the higher its added value, and therefore the larger its weighting coefficient.

[0067] In some implementations, with the goal of maximizing the profitability of hydrogen refueling stations, the weighting coefficients are adjusted based on the actual operation of the hydrogen refueling stations, financial data, and customer flow.

[0068] In some implementations, the formula for calculating the second hydrogen cost corresponding to the unit pressure range is as follows: Among them, cf i Let cs be the cost of the second hydrogen gas in the i-th unit pressure range. i M represents the first hydrogen cost for the i-th unit pressure range. i Let J be the mass of hydrogen gas in the first unit pressure range, J be the compressor power, t be the time difference, and ce be the mass of hydrogen gas in the first unit pressure range. t For the compressor electricity cost, Co i J is the weighting coefficient for the i-th unit pressure range, ch is the fixed cost of hydrogen, and K is the compressor capacity. If the hydrogen compressor is not running, then J and K are zero, and cf... i =cs i .

[0069] In some implementations, in cf i and CS i The unit is yuan / kg, M i The unit for is kg, the unit for J is kW, the unit for t is s, and the unit for ce is s. t When the unit of is yuan / kWh, the unit of ch is yuan, and the unit of K is Nm3 / h, the calculation formula for the second hydrogen cost corresponding to the unit pressure range is as follows: Among them, 0.0002778 and 0.000024786 are coefficients generated during unit conversion.

[0070] In some embodiments, determining the first hydrogen mass and first hydrogen cost corresponding to the unit pressure range at the first time includes: at the first time, acquiring the current temperature of the hydrogen storage tank, the current volume of the hydrogen storage tank, and the first hydrogen cost; determining a first lower pressure limit value for the unit pressure range and a second lower pressure limit value for the next unit pressure range, wherein the next unit pressure range is greater than the unit pressure range; determining the first density based on the current temperature and the first lower pressure limit value; determining the second density based on the current temperature and the second lower pressure limit value; determining a density difference based on the difference between the second density and the first density; and determining the first hydrogen mass based on the product of the density difference and the current volume.

[0071] In some implementations, the first hydrogen cost is determined according to the method for determining the hydrogen cost of a hydrogen refueling station, for example, based on the hydrogen cost at a third time prior to the first time.

[0072] In some embodiments, the formula for determining the mass of the first hydrogen gas is as follows: M i =(d(Tf,P i+1 )-d(Tf,P i ))*V, where d(Tf,P i+1 ) represents the second density of the i-th unit pressure interval, characterized by Tf and P i+1 The function for calculating the second density, d(Tf,P) i Let be the first density of the i-th unit pressure range, characterized by Tf and P. i The function for calculating the first density, where V is the current volume, Tf is the current temperature, and P... i+1 P is the lower limit of the pressure in the (i+1)th unit pressure interval. i This represents the lower limit of pressure for the i-th unit pressure range.

[0073] In some implementations, when the hydrogen refueling station has multiple storage tanks, the formula for determining the mass of the first hydrogen gas is as follows: Among them, M ij Let represent the first hydrogen mass corresponding to the i-th unit pressure range of the j-th hydrogen storage tank, and n represent the number of hydrogen storage tanks.

[0074] In some implementations, during the process of filling the hydrogen storage tank from zero to full, the initial hydrogen mass and initial hydrogen cost are both set to 0, i.e., M. i and CS iThe initial pressure is 0. During the refueling process, the pressure in the hydrogen storage tank gradually increases over time. The hydrogen mass and cost corresponding to the first unit pressure interval increase first. After the pressure in the hydrogen storage tank exceeds the upper limit of the first unit pressure interval, the hydrogen mass and cost corresponding to the second unit pressure interval begin to increase. The pressure in the hydrogen storage tank reaches the pressure corresponding to when it is full. To determine the second hydrogen cost corresponding to the first unit pressure interval, the process is as follows: First, the time when the hydrogen storage tank starts refueling from zero is taken as the first time interval (second 0), and the first second is taken as the second time interval. This determines the second hydrogen cost corresponding to the first unit pressure interval at the first second after the first time interval. Second, the first second is taken as the first time interval, and the second second is taken as the second time interval. This again determines the second hydrogen cost corresponding to the first unit pressure interval at the second second. Finally, through iterative calculations, this process continues until the pressure in the hydrogen storage tank reaches the pressure corresponding to when it is full.

[0075] It should be noted that after the gas pressure in the hydrogen storage tank exceeds the upper limit of the first unit pressure range, the cost of the second hydrogen gas corresponding to the first unit pressure range remains unchanged, and so on, and so on for the Nth unit pressure range, where N is the number of unit pressure ranges.

[0076] In some implementations, the second hydrogen cost is determined in 1-second cycles. For example, the first time is the 1st second, the second time is the 2nd second, the second hydrogen cost in the 2nd second is determined based on the first hydrogen cost in the 1st second, and then the second hydrogen cost in the 3rd second is determined based on the first hydrogen cost in the 2nd second, and so on. The first hydrogen cost in the 2nd second is the second hydrogen cost in the 2nd second.

[0077] In some implementations, the compressor capacity is 500 N / m. 3 The hydrogen refueling station is equipped with a hydrogen storage tank group consisting of 12 identical hydrogen storage tanks that operate in a single, simultaneous manner. The tanks have a design pressure of 49.5 MPa, a maximum operating pressure of 45 MPa, and a volume of 1 m³. 3 Before the hydrogen compressor adds hydrogen to the storage tank, the pressure in the storage tank is 34 MPa. After adding hydrogen, the pressure in the storage tank is between 41 and 42 MPa. The adding time is 1 hour. According to the method for determining the hydrogen cost of a hydrogen refueling station, Table 1 is obtained. In Table 1, 1 represents the unit pressure range of 0-1 MPa, and 45 represents the unit pressure range of 44-45 MPa. Referring to Table 1, the first hydrogen cost and the second hydrogen cost are the same for the unit pressure range of 1 to 34. The first hydrogen cost and the second hydrogen cost are different for the unit pressure range of 35 to 42 because the pressure change of the storage tank is from 34 MPa to 41 MPa.

[0078] Table 1

[0079]

[0080]

[0081] In some implementations, the selling price corresponding to a unit pressure range is determined based on the sum of the second hydrogen cost, a preset profit, and preset taxes. Different selling prices can be used for different unit pressure ranges; the higher the pressure within the unit pressure range, the higher the selling price. When users need rapid refueling, hydrogen from a higher pressure unit pressure range is required, and its selling price is higher. Therefore, to accommodate different users' refueling time requirements, hydrogen refueling stations can provide multiple refueling modes based on the selling price within the unit pressure range, corresponding to different refueling times and fees. The rule is that the shorter the refueling time, the higher the refueling fee.

[0082] In this application, for a unit pressure range, the second hydrogen cost for the second time is determined based on the first hydrogen cost at the first time, the time difference, and the hydrogen compressor parameters within the target time period. This updates the hydrogen cost for the unit pressure range, i.e., the hydrogen cost at the current time is determined based on the hydrogen cost at the previous time, thus achieving accurate calculation of the hydrogen cost for the hydrogen refueling station.

[0083] According to a second aspect of this application, a method for determining the hydrogen cost of a hydrogen refueling station is provided, comprising: obtaining a pressure threshold and a fixed value; when the upper limit of the unit pressure range is less than or equal to the pressure threshold, the hydrogen cost corresponding to the unit pressure range is a fixed value; when the upper limit of the unit pressure range is greater than the pressure threshold, determining the hydrogen cost corresponding to the unit pressure range according to the method described in any embodiment of the first aspect above.

[0084] Figure 2 A block diagram of a hydrogen cost determination device for a hydrogen refueling station according to an embodiment of this application is shown. See also: Figure 2 According to a third aspect of this application, a hydrogen cost determination device 100 for a hydrogen refueling station is provided, comprising:

[0085] Unit 101 divides the pressure range from zero to maximum pressure of the hydrogen storage tank into multiple unit pressure ranges.

[0086] The first determining unit 102 determines the first hydrogen mass and the first hydrogen cost corresponding to the unit pressure range at the first time.

[0087] The acquisition unit 103 acquires the fixed cost of hydrogen, the parameters of the hydrogen compressor within a target time period, and the time difference, wherein the target time period is the time period from the first time to the second time, the time difference is the difference between the second time and the first time, and the second time is after the first time.

[0088] The second determining unit 104 determines the second hydrogen cost corresponding to the unit pressure range at the second time based on the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameters, the time difference, and the hydrogen fixed cost.

[0089] Based on the same inventive concept, as a fourth aspect, this application also provides a computer-readable storage medium storing a program product capable of implementing the hydrogen cost determination method for a hydrogen refueling station described above. In some possible embodiments, various aspects of this application can also be implemented as a program product including program code, which, when run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this specification according to the various exemplary embodiments of this application.

[0090] refer to Figure 3 As shown, a program product 200 for implementing the above-described method according to an embodiment of this application is described. It may employ a portable compact disc read-only memory (CD-ROM) and include program code, and can run on a terminal device, such as a personal computer. However, the program product of this application is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0091] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0092] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0093] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0094] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0095] In another respect, this application also provides an electronic device capable of implementing the above-described method.

[0096] Those skilled in the art will understand that various aspects of this application can be implemented as a system, method, or program product. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "system."

[0097] The following reference Figure 4 To describe an electronic device 300 according to this embodiment of the present application. Figure 4 The electronic device 300 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0098] like Figure 4 As shown, the electronic device 300 is manifested in the form of a general-purpose computing device. The components of the electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one storage unit 320, and a bus 330 connecting different system components (including storage unit 320 and processing unit 310).

[0099] The storage unit stores program code that can be executed by the processing unit 310, causing the processing unit 310 to perform the steps described in the "Embodiment Methods" section above according to various exemplary embodiments of this application.

[0100] Storage unit 320 may include readable media in the form of volatile storage units, such as random access memory (RAM) 321 and / or cache memory 322, and may further include read-only memory (ROM) 323.

[0101] Storage unit 320 may also include a program / utility 324 having a set (at least one) of program modules 325, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0102] Bus 330 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0103] Electronic device 300 can also communicate with one or more external devices 400 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 300, and / or with any device that enables electronic device 300 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 350. Furthermore, electronic device 300 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 360. As shown, network adapter 360 communicates with other modules of electronic device 300 via bus 330. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0104] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit.

[0105] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0106] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0107] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0108] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A hydrogen cost determination method for a hydrogen station, applied to a hydrogen station, characterized by, The method comprises: dividing a pressure range from zero to maximum pressure of a hydrogen storage tank into a plurality of unit pressure ranges; determining a first hydrogen mass and a first hydrogen cost corresponding to the unit pressure range at a first time; obtaining a hydrogen fixed cost, a hydrogen compressor parameter and a time difference in a target time period, wherein the target time period is a time period from the first time to a second time, the time difference is a difference between the second time and the first time, and the second time is after the first time; determining a second hydrogen cost corresponding to the unit pressure range at the second time according to the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameter, the time difference and the hydrogen fixed cost.

2. The method of claim 1, wherein The hydrogen compressor parameter comprises a compressor power, a compressor capacity and a compressor electricity fee, the compressor electricity fee is an electricity fee to be paid when the hydrogen filling station operates the compressor, and the determination of the second hydrogen cost corresponding to the unit pressure range at the second time according to the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameter, the time difference and the hydrogen fixed cost comprises: determining a first target cost corresponding to the unit pressure range at the first time according to a product of the first hydrogen mass and the first hydrogen cost; determining a second hydrogen mass corresponding to the unit pressure range at the second time according to the compressor capacity, the time difference and the first hydrogen mass; determining a second target cost corresponding to the unit pressure range at the second time according to the compressor capacity, the time difference, the compressor power, the compressor electricity fee, the first target cost and the hydrogen fixed cost; determining the second hydrogen cost according to a quotient of the second target cost and the second hydrogen mass.

3. A method of determining the cost of hydrogen for a hydrogen refueling station according to claim 2, characterized in that, The determination of the second hydrogen mass corresponding to the unit pressure range at the second time according to the compressor capacity, the time difference and the first hydrogen mass comprises: determining a third hydrogen mass according to a product of the compressor capacity and the time difference; determining the second hydrogen mass according to a sum of the first hydrogen mass and the third hydrogen mass.

4. The method of claim 3, wherein The determination of the second target cost corresponding to the unit pressure range at the second time according to the compressor capacity, the time difference, the compressor power, the compressor electricity fee, the first target cost and the hydrogen fixed cost comprises: determining a third target cost according to a product of the hydrogen fixed cost and the third hydrogen mass; determining a fourth target cost according to a product of the compressor electricity fee, the compressor power and the time difference; determining the second target cost according to a sum of the third target cost, the fourth target cost and the first target cost.

5. A method of determining the cost of hydrogen for a hydrogen refueling station according to claim 4, characterized in that, The determination of the fourth target cost according to the product of the compressor electricity fee, the compressor power and the time difference comprises: determining a weighting coefficient corresponding to the unit pressure range; determining the fourth target cost according to a product of the compressor electricity fee, the compressor power, the time difference and the weighting coefficient.

6. The method of claim 1, wherein The first hydrogen mass and the first hydrogen cost corresponding to the unit pressure interval are determined at the first time, comprising: At the first time, the current temperature of the hydrogen storage tank, the current volume of the hydrogen storage tank, and the first hydrogen cost are obtained; A first pressure lower limit value of the unit pressure interval and a second pressure lower limit value of a next unit pressure interval are determined, wherein the next unit pressure interval is greater than the unit pressure interval; The first density is determined according to the current temperature and the first pressure lower limit value; The second density is determined according to the current temperature and the second pressure lower limit value; A density difference value is determined according to a difference between the second density and the first density; The first hydrogen mass is determined according to a product of the density difference value and the current volume.

7. A method of determining the cost of hydrogen for a hydrogen refueling station, characterized by, Comprising: A pressure threshold value and a fixed value are obtained; When an upper limit value of the unit pressure interval is less than or equal to the pressure threshold value, a hydrogen cost corresponding to the unit pressure interval is a fixed value; When the upper limit value of the unit pressure interval is greater than the pressure threshold value, the hydrogen cost corresponding to the unit pressure interval is determined according to the method of claim 1.

8. A hydrogen cost determination device of a hydrogen station, characterized by, Comprising: A dividing unit divides a pressure interval from zero to a maximum pressure of a hydrogen storage tank into a plurality of unit pressure intervals; A first determining unit determines a first hydrogen mass and a first hydrogen cost corresponding to the unit pressure interval at a first time; An obtaining unit obtains a hydrogen fixed cost, a hydrogen compressor parameter in a target time period, and a time difference, wherein the target time period is a time period from the first time to a second time, the time difference is a difference between the second time and the first time, and the second time is after the first time; A second determining unit determines a second hydrogen cost corresponding to the unit pressure interval at the second time according to the first hydrogen mass, the first hydrogen cost, the hydrogen compressor parameter, the time difference, and the hydrogen fixed cost.

9. A computer-readable storage medium, characterized in that, A computer program is stored thereon, and the computer program comprises executable instructions, which, when executed by a processor, implement the method of any one of claims 1-7.

10. An electronic device, comprising: Comprising: One or more processors; A memory for storing executable instructions of the processor, which, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.