Energy Management Method, System, Computer Device And Readable Storage Medium

Information

  • Patent Application
  • 20250162466
  • Publication Number
    20250162466
  • Date Filed
    October 31, 2024
    6 months ago
  • Date Published
    May 22, 2025
    2 days ago
Abstract
Disclosed are an energy management method, system, computer device and readable storage medium. The method includes: obtaining a first current output power and a previous output power of a first energy supplier; obtaining a current power change rate of the first energy supplier according to the first current output power and the previous output power; obtaining a first reference power of the first energy supplier according to the first current output power, the previous output power and the current power change rate; obtaining a second current output power of a second energy supplier; obtaining a second reference power of the second energy supplier according to the first current output power, the second current output power and the first reference power; obtaining current flow rates of first and second gas and a current furnace temperature; and obtaining a reference flow rate of the first gas and a reference furnace temperature.
Description
TECHNICAL FIELD

The present disclosure relates to the field of hybrid energy storage, and in particular, to an energy management method, system, computer device and readable storage medium.


BACKGROUND

Proton exchange membrane fuel cells (PEMFCs) output electric power by supplying hydrogen and are currently applied to various vehicles or other generation devices. In order to improve the dynamic power and power density of the fuel cells, the fuel cells are usually used in combination with other energy storage component(s) (such as a super-capacitor, a lithium-ion battery, etc.) to ensure better performance in the vehicles or other generation devices.


SUMMARY

Embodiments of the present disclosure provide an energy management method, including: obtaining a first current output power and a previous output power of a first energy supplier; obtaining a current power change rate of the first energy supplier according to the first current output power and the previous output power; obtaining a first reference power of the first energy supplier according to the first current output power, the previous output power and the current power change rate; obtaining a second current output power of a second energy supplier; obtaining a second reference power of the second energy supplier according to the first current output power, the second current output power and the first reference power; obtaining a current flow rate of a first gas, a current flow rate of a second gas and a current furnace temperature; where the first energy supplier is connected to a gas conversion device, the first gas is converted into the second gas through the gas conversion device, the second gas is used for the first energy supplier to generate electricity, and the current furnace temperature is a current temperature of a furnace in the gas conversion device; and obtaining a reference flow rate of the first gas and a reference furnace temperature according to the current flow rate of the first gas, the current flow rate of the second gas, and the current furnace temperature.


An embodiment of the present disclosure also provides an energy management system, including an obtaining module and a processing module. The obtaining module is configured to obtain a first current output power and a previous output power of a first energy supplier, obtain a current flow rate of a first gas and a current furnace temperature, and obtain a current flow rate of a second gas; the processing module is configured to obtain a current power flow rate of the first energy supplier according to the first current output power and the previous output power; the processing module is further configured to obtain a first reference power of the first energy supplier according to the first current output power, the previous output power and the current power change rate; the obtaining module is further configured to obtain a second current output power of a second energy supplier; the processing module is further configured to obtain a second reference power of the second energy supplier according to the first current output power, the second current output power and the first reference power; the processing module is further configured to obtain a reference flow rate of the first gas and a reference furnace temperature according to the current flow rate of the first gas, the current furnace temperature and the current flow rate of the second gas.


An embodiment of the present disclosure also provides a computer device, including a processor, a memory, an input interface and an output interface; the processor is connected to the memory, the input interface and the output interface respectively, where the input interface and the output interface are configured to receive data and output data respectively, the memory is configured to store a computer program, and the processor is configured to call the computer program, so that the computer device executes the energy management method described in any of the above embodiments.


An embodiment of the present disclosure also provides a computer-readable storage medium that stores a computer program, and the computer program is adapted to be loaded and executed by a processor, so that a computer device having the processor executes the energy management method described in any of the above embodiments.


It can be seen from the above technical solutions that the energy management method of the embodiments of the present disclosure has at least one of the following advantages and positive effects.


In the embodiments of the present disclosure, the first reference power of the first energy supplier is obtained through the first current output power, the previous output power and the current power change rate, and the first reference power adapts to the power change rate of the first energy supplier, thus the operating efficiency and service life of the first energy supplier can be improved. The second reference power of the second energy supplier is obtained according to the first current output power, the second current output power and the first reference power, and the reference flow rate of the first gas and the reference furnace temperature are obtained through the current flow rate of the first gas, the current flow rate of the second gas and the current furnace temperature, thereby realizing the power allocation between the first energy supplier and the second energy supplier, optimizing the allocation of load power, and balancing the energy supply of the first energy supplier and the second energy supplier, moreover, the operation is efficient, the energy consumption is reduced and the service life of the two energy suppliers is extended.





BRIEF DESCRIPTION OF THE DRAWINGS

The above and other features and advantages of the present disclosure will become more apparent by describing in detail example embodiments thereof with reference to the accompanying drawings.



FIG. 1 is a flow chart of an energy management method according to some embodiments of the present disclosure.



FIG. 2 is an energy conversion architecture diagram of an ammonia-powered proton exchange membrane fuel cell hybrid application according to some embodiments of the present disclosure.



FIG. 3 is a control architecture diagram of an energy management method according to some embodiments of the present disclosure.



FIG. 4 is a schematic diagram showing a relationship between an output power and an operating efficiency of the PEM fuel cell according to some embodiments of the present disclosure.



FIG. 5 is a flow chart of regulating a furnace temperature, an ammonia flow rate and a hydrogen flow rate according to some embodiments of the present disclosure.



FIG. 6 is a schematic diagram showing a relationship among the ammonia gas, the hydrogen gas and a furnace temperature according to some embodiments of the present disclosure.



FIG. 7 is an energy conversion architecture diagram of an ammonia-powered proton exchange membrane fuel cell hybrid application according to other embodiments of the present disclosure.



FIG. 8 is an energy conversion architecture diagram of an ammonia-powered proton exchange membrane fuel cell hybrid application according to other embodiments of the present disclosure.



FIG. 9 is a block diagram of an energy management system according to some embodiments of the present disclosure.





DETAILED DESCRIPTION

The terms “first”, “second”, etc. in the present disclosure are used only as labels and are not numerical limitations to their objects. The flow charts shown in the drawings are only illustrative, and it is unnecessary to include all contents and operations/steps, nor must they be performed in the order described. For example, some operations/steps can be decomposed, and some operations/steps can be merged or partially merged, so the actual order of execution may change according to the actual situation.


During the use of fuel cells and other energy suppliers, there may be an imbalance in energy supply, which not only reduces the operating efficiency of the whole device, but also reduces the operating efficiency and service life of each energy supplier, and increases power consumption.


As shown in FIG. 1, an embodiment of the present disclosure provides an energy management method, which can be applied to an ammonia-powered PEM fuel cell hybrid electric vehicle as shown in FIG. 2 to ensure the high-efficiency operation of the hybrid energy supply of the hybrid electric vehicle. The embodiments of the present disclosure take the PEM fuel cell hybrid electric vehicle as an example, but they are not limited thereto. The energy management method can also be applied to other hybrid electric equipment.


As shown in FIG. 2, the architecture of an ammonia-powered PEM fuel cell hybrid application may include a first energy supply device 1, a second energy supply device 2, a load, and an energy management system 900.


The first energy supply device 1 includes a gas conversion device 11 and a fuel cell device 12. The gas conversion device 11 may include an ammonia tank 111, a flow controller 112, a furnace 113, a furnace controller 114, a gas purifier 115 and a gas buffer 116. The fuel cell device 12 may include a PEM fuel cell 121, a fuel cell controller 122, and a power conditioner 123. The second energy supply device 2 may include a super-capacitor 21, a super-capacitor manager 22, a power converter 23, a battery 24 and a battery manager 25. The load may include a motor 3, a motor controller 4 and/or an auxiliary device 5.


The ammonia tank 111 is used to store ammonia (NH3) and output the ammonia to the flow controller 112. The flow controller 112 is used to control the flow rate of ammonia, and can measure the flow rate *Qa of ammonia in real time and provide it to the energy management system 900, and receive an ammonia flow rate reference value *Qar sent by the energy management system 900 to regulate the flow rate of ammonia, and output the regulated ammonia to the furnace 113. The furnace controller 114 is used to control the temperature of the furnace 113, so that the ammonia is split into hydrogen and nitrogen by the furnace 113, and hydrogen, nitrogen and a small amount of ammonia are output to the gas purifier 115. The furnace controller 114 can measure the furnace temperature *Tf and input power *Pf thereof in real time and send them to the energy management system 900, and receive the reference furnace temperature *Tfr of the furnace 113 fed back by the energy management system 900, and the real-time input power of the furnace controller 114 is Pf. The gas purifier 115 removes ammonia from the mixed gas of hydrogen, nitrogen, and ammonia, and outputs the hydrogen and nitrogen to the gas buffer 116. The gas buffer 116 is used to maintain the stability of the gas flow and provide hydrogen and nitrogen to the PEM fuel cell 121.


The PEM fuel cell 121 is used to convert hydrogen into electric energy, and can measure the flow rate *Qh of hydrogen in real time, and send *Qh to the energy management system 900. The magnitude of the flow rate of the hydrogen is positively correlated with the electric energy generated by the PEM fuel cell 121. The fuel cell controller 122 is used to provide power to the auxiliary components in the PEM fuel cell 121 and send its own input power *Pfcc measured in real time to the energy management system 900. The power conditioner 123 is used to adjust the output power of the PEM fuel cell 121, and send its own output power *Ppcuh measured in real time to the energy management system 900, and receive the reference output power *Pfcr of the power conditioner 123 sent by the energy management system 900.


The power converter 23 is used to adjust the output power Psc of the super-capacitor 21 and send the real-time measured high-side power *Ppch of the power converter 23 to the energy management system 900, and receive the high-side power reference value *Pscr of the power converter sent by the energy management system 900. The power converter 23 has a high-voltage side and a low-voltage side, and the high-side power refers to the power of the high-voltage side of the power converter 23. The super-capacitor manager 22 is used to monitor the operation of the super-capacitor 21 and provide real-time measured state of energy (*SOE) and output power Psc to the energy management system 900.


The battery manager 25 monitors the operation of the battery 24. The output power of the battery 24 is Pb. The battery manager 25 measures the output power *Pb of the battery 24 in real time and the state of charge (*SOC), and sends *Pb and *SOC to the energy management system 900. The battery 24 can automatically meet the power changes of the auxiliary device 5, and the input power of the auxiliary device 5 is represented by Pad.


The motor controller 4 is used to adjust the output power of the motor 3. The input power of the motor controller 4 is Pmc. The motor controller 4 can measure its input power *Pmc in real time and send it to the energy management system 900.


The PEM fuel cell 121, the super-capacitor 21 and the battery 24 are used to provide electric energy to the motor controller 4, the furnace controller 114, the fuel cell controller 122 and the auxiliary device 5, and the super-capacitor 21 and the battery 24 can absorb braking energy through the motor 3 and motor controller 4 (under braking). The super-capacitor 21 and the battery 24 can also receive the electric energy provided by the PEM fuel cell 121 to maintain the stable operation of the whole vehicle.


As shown in FIG. 1, the energy management method according to the embodiment of the present disclosure includes the following steps S100˜S700.


In S100: a first current output power *Pfc(tk) and a previous output power *Pfc(tk−1) of a first energy supplier are obtained.


As shown in FIG. 3, the first current output power *Pfc(tk) and the previous output power *Pfc(tk−1) are respectively the output power processed according to the load power and the state of the second energy supplier at a current moment tk and a previous moment tk−1 of the first energy supplier, and are processed using the optimizing controller of allocation 60 shown in FIG. 3 (see Tables 1 to 5 below for specific processing procedures). For example, as shown in FIG. 3, the load power may be the real-time measured input power *Pmc of the motor controller 4, the real-time measured input power *Pfcc of the fuel cell controller 122 and the real-time measured input power *Pf of the furnace controller 114, the first energy supplier may be a PEM fuel cell 121, the second energy supplier may include a super-capacitor 21 and/or a battery 24, and the state of the second energy supplier may include the real-time measured state of energy *SOE of the super-capacitor 21 and/or the real-time measured state of charge *SOC of the battery. The state of energy (SOE) refers to the ratio of the current remaining energy (releasable energy) to the rated energy of the super-capacitor, indicating its remaining capacity. The state of charge (SOC) refers to the ratio of the current remaining charge to the rated charge of the battery, indicating its remaining capacity.


Among them, tk represents the current moment, tk−1 represents the previous moment, k≥1 and is a positive integer.


In S200: a current power change rate Rpfc(tk) of the first energy supplier is obtained according to the first current output power *Pfc(tk) and the previous output power *Pfc(tk−1).


Rpfc(tk) can be obtained according to the following formula (1):











R
pfc

(

t
k

)

=






*


P
fc




(

t
k

)


-




*


P
fc




(

t

k
-
1


)





t
k

-

t

k
-
1








(
1
)







In S300: a first reference power of the first energy supplier is obtained according to the first current output power *Pfc(tk), the previous output power *Pfc(tk−1) and the current power change rate Rpfc(tk).


As shown in FIG. 3, S300 may include the following contents A1˜A5.


In A1: a first preset power threshold of the first energy supplier is obtained.


As shown in FIG. 3, the first preset power threshold may include a first preset power maximum value Pfc,max and a first preset power minimum value Pfc,min, that is, the first energy supplier normally operates between Pfc,min and Pfc,max. The first preset power threshold can be set according to the actual operating conditions of the first energy supplier. For example, the first energy supplier may be a PEM fuel cell. When the rated power of the PEM fuel cell is 18 kW, Pfc,min=7 kW, and Pfc,max=20 kW. When the rated power of the PEM fuel cell is other values, Pfc,min and Pfc,max may also change. There are no special restrictions here.


In A2: a first current limited power *Pfcl(tk) of the first energy supplier is obtained according to the first current output power *Pfc(tk) and the first preset power threshold.


As shown in FIG. 3, since *Pfc(tk) is an optimized value, it may not be within the first preset threshold range, and it needs to be limited to the first preset threshold range to ensure normal operation.


The first current limited power *Pfcl(tk) is obtained according to the fuel cell power limiter 10. If Pfc,min≤*Pfcl(tk)≤Pfc,max, then *Pfcl(tk)=*Pfc(tk); if *Pfcl(tk)>Pfc,max, then *Pfcl(tk)=Pfc,max; if *Pfcl(tk) is less than Pfc,min, then *Pfcl(tk)−Pfc,min.


In A3: a previous limited power *Pfcl(tk−1) of the first energy supplier is obtained according to the previous output power *Pfc(tk−1) and the first preset power threshold.


As shown in FIG. 3, the previous limited power *Pfcl(tk−1) is obtained according to the fuel cell power limiter 10. If Pfc,min≤*Pfcl(tk−1)≤Pfc,max, then *Pfcl(tk−1)=*Pfc(tk−1); if *Pfcl(tk−1)>Pfc,max, then *Pfcl(tk−1)=Pfc,max; if *Pfcl(tk−1) is less than Pfc,min, then *Pfcl(tk−1)=Pfc,min.


In A4: a power change rate threshold of the first energy supplier is obtained.


In the embodiment of the present disclosure, the first energy supplier may include a PEM fuel cell 121 for providing low-dynamic power, and the second energy supplier may include a super-capacitor 21 for providing high-dynamic power. The dynamic power means that the amount of power changes over time. For example, when the change rate of the load power is large (such as a sudden increase in load power), this situation belongs to the high-dynamic power, and the second energy supplier is used preferentially to provide electric energy. When the change rate of the load power is small, that is, the load power is relatively stable, this situation belongs to the low-dynamic power, and the first energy supplier is used preferentially to provide electric energy.


That is to say, the change rate of the output power of the second energy supplier is greater than the change rate of the output power of the first energy supplier. The power change rate threshold of the first energy supplier includes the maximum power change rate Rpfc,max and the minimum power change rate Rpfc,min. For example, when the rated power of the PEM fuel cell 121 is 30 kW, Rpfc,min may be −4 kW/s, Rpfc,max may be 4 kW/s. When the current power change rate Rpfc(tk) of the first energy supplier is between the maximum power change value and the minimum power change value, the output power of the first energy supplier is low-dynamic power. Referring to FIG. 2, the method of the present disclosure enables the PEM fuel cell 121 to provide low-dynamic load demand, the super-capacitor 21 to provide both high-dynamic load demand and low-dynamic load demand, and the battery 24 to provide both high-dynamic load demand and low-dynamic load demand. The change rate of the output power of the PEM fuel cell 121 is limited to a low-dynamic range of Rpfc,min˜Rpfc,max, the power demand beyond this range is allocated to the super-capacitor 21, and the power demand beyond the limited power range of the super-capacitor 21 is allocated to the battery 24, so that each energy supplier can cooperate with each other under different load demand to improve operating efficiency.


In A5: the first reference power is obtained according to the first current limited power *Pfcl(tk), the previous limited power *Pfcl(tk−1), the current power change rate Rpfc(tk) and the power change rate threshold.


In the embodiment of the present disclosure, A5 may include the following contents B1˜B2.


In B1: according to the maximum power change rate Rpfc,max and the minimum power change rate Rpfc,min, a maximum dynamic power variable Δ Pfc,max and a minimum dynamic power variable Δ Pfc,min of the first energy supplier are obtained.


In the embodiment of the present disclosure, Δ Pfc,max=Rpfc,max*(tk−tk−1), Pfc,min=Rpfc,min*(tk−tk−1).


In B2: according to the current power change rate Rpfc(tk), the maximum power change rate Rpfc,max, the minimum power change rate Rpfc,min, the first current limited power *Pfcl(tk), the previous limited power *Pfcl(tk−1), the maximum dynamic power variable Δ Pfc,max and the minimum dynamic power variable Δ Pfc,min, the first reference power *Pfcr is obtained.


In the embodiment of the present disclosure, in order to obtain the first reference power *Pfcr, B2 may include the following content.


As shown in FIG. 3, the high-dynamic power limiter 20 is used to obtain the first reference power *Pfcr. If Rpfc,min≤Rpfc(tk)≤Rpfc,max, then *Pfcr(tk)=*Pfc(tk); if Rpfc(tk)<Rpfc,min, then *Pfcr(tk)=*Pfcl(tk−1)+Δ Pfc,min; if Rpfc(tk)>Rpfc,max, then *Pfcr (tk)=*Pfcl(tk−1)+Δ Pfc,max.


It should be supplemented that *Pfcr(tk) is the first reference power obtained at the current moment, *Pfcl(tk) is the first current limited power, *Pfcl(tk−1) is the previous limited power, and the others have the same meaning as above.


In S400: a second current output power *Psc(tk) of a second energy supplier is obtained.


As shown in FIG. 3, the second current output power *Psc(tk) is the output power after being processed according to the load power and the state of the second energy supplier (see Tables 1 to 5 below).


In the embodiment of the present disclosure, the first energy supplier may include a fuel cell (such as the PEM fuel cell 121), the second energy supplier may include a super-capacitor 21 and a battery 24, and the second current output power *Psc(tk) is the current output power of the super-capacitor 21. Then obtaining the first current output power *Pfc(tk) of the first energy supplier and obtaining the second current output power *Psc(tk) of the second energy supplier include: obtaining a current load power, a current state of energy of the super-capacitor 21 and a current state of charge of the battery 24; according to the current load power, the current state of energy and the current state of charge, obtaining the first current output power and the second current output power.


Specifically, in the embodiment of the present disclosure, an ammonia-powered PEM fuel cell 121 hybrid electric vehicle is taken as an example. The hybrid electric vehicle includes three modes. The first mode is an idle mode, that is, the motor 3 does not rotate, and the measured input power of the motor controller 4 *Pmc=0; the second mode is a driving mode, that is, the motor 3 rotates, and the measured input power of the motor controller 4 *Pmc>0; the third mode is a braking mode, in this mode, the motor controller 4 controls the rotor of the motor 3 to decelerate, and the motor 3 can feed back the braking energy to the super-capacitor 21 and the battery 24 through the motor controller 4, *Pmc<0. Referring to Tables 1 to 3, the first current output power *Pfc(tk) of the first power supplier and the second current output power *Psc(tk) of the second power supplier are obtained according to the load power, the state of energy *SOE of the super-capacitor 21, and the state of charge *SOC of the battery 24.









TABLE 1







*Pmc=0 (idle mode)








Condition
Result





If *SOE =high & *SOC =high
*Pfc=Pfc,min, *Psc=*Pad−*Pfc


If *SOE =medium & *SOC =high
*Pfc=Pfc,opt, *Psc=−(*Pfc−*Pad)


If *SOE =low & *SOC =high
If (*Pad−Psc,min)≤Pfc,max, then *Psc=Psc,min, *Pfc=*Pad−*Psc;



otherwise, *Pfc=Pfc,max, *Psc=−(*Pfc−*Pad)


If *SOE =high & *SOC =medium
*Pfc=Pfc,opt, *Psc=0


If *SOE =medium & *SOC =
*Pfc=Pfc,opt, *Psc=0


medium



If *SOE =low & *SOC =medium
*Pfc=Pfc,max,



If −(*Pfc−*Pad)≤Psc,min, then *Psc=−(*Pfc−*Pad); otherwise,



*Psc=Psc,min


If *SOE =high & *SOC =low
*Pfc=Pfc,max, *Psc=0


If *SOE =medium & *SOC =low
*Pfc=Pfc,max, *Psc=0


If *SOE =low & *SOC =low
*Pfc=Pfc,max, *Psc=0









Among them, *Pad=*Pfcc+*Pf, that is, *Pad represents the sum of the real-time measured input power *Pfcc of the fuel cell controller 122 and the real-time measured input power *Pf of the furnace controller 114, which is the load power in the idle mode. *SOE has three states: high, medium and low, and *SOC also has three states: high, medium and low (the description at the bottom of Table 4 and Table 5 may be referred to). The negative sign indicates input or charging, for example, in *Psc=−(*Pfc−*Pad) in the second row of Table 1, the negative sign in front indicates the power allocated to the super-capacitor 21, that is, charging the super-capacitor 21.


For the sake of brevity, only part of the content in Table 1 is explained. In the first row, *SOE=high & *SOC=high, then the output power *Pfc of the PEM fuel cell is Pfc,min, that is, the output power is the minimum. If the load power *Pad is greater than *Pfc, the output power *Psc of the super-capacitor 21 is adjusted to a difference between the two to discharge the super-capacitor 21. In the second row, *SOE=medium & *SOC=high, then the output power *Pfc of the PEM fuel cell is adjusted to Pfc,opt. Pfc,opt represents the output power of the fuel cell at its highest operating efficiency. At this time, *Pfc is greater than the load power *Pad, and the remaining power of the PEM fuel cell 121 is used to charge the super-capacitor 21, so *Psc=−(*Pfc−*Pad).


As shown in FIG. 4, the abscissa represents the output power of the fuel cell, and the ordinate represents the operating efficiency of the fuel cell. When the output power is Pfc,opt, the operating efficiency is ηfc,max, which represents the highest operating efficiency. ηfc,h represents the lower limit of high operating efficiency, which may be 90% of ηfc,max, for example. Depending on the load demand, the SOE of the super-capacitor 21 and the SOC of the battery, the output power of the PEM fuel cell 121 can be allocated to [Pfc,ol, Pfc,ou], or [Pfc,min, Pfc,ol], or [Pfc,ou, Pfc,max], and the highest efficiency operation, the high efficiency operation and the operating efficiency as high as possible are obtained respectively.


In the fourth row of Table 1, *SOE=high & *SOC=medium, then the output power *Pfc of the PEM fuel cell is adjusted to Pfc,opt, and the output power of the super-capacitor 21 *Psc=0, then after providing power to the load, the remaining power of the PEM fuel cell charges the battery 24.


The electric power of the present disclosure is jointly provided by the PEM fuel cell 121, the super-capacitor 21 and the battery 24. If the output power of the PEM fuel cell 121 and the super-capacitor 21 (i.e., the output power adjusted by the power conditioner 123 and the power converter 23) changes, the output power of the battery 24 will automatically change to adapt to the new electrical power balance.









TABLE 2







*Pmc > 0 (driving mode)








Condition
Result





If *SOE =high & *SOC=high &
Pfc=(*Pmc+*Pad), *Psc=0


Pfc,min≤(*Pmc+*Pad)≤Pfc,max



If *SOE =high & *SOC =high & Pfc,max< (*Pmc+*Pad)
*Pfc=Pfc,max;



if ((*Pmc+*Pad)−*Pfc)≤Psc,max, then



Psc=(*Pmc+*Pad)−*Pfc; otherwise,



*Psc=Psc,max


If *SOE =medium & *SOC =high & (*Pmc+*Pad) < Pfc,opt
*Pfc=Pfc,opt, *Psc=−(*Pfc−(*Pmc+*Pad))


If *SOE=medium & *SOC=high & Pfc,opt≤ (*Pmc+*Pad) ≤
*Pfc=*Pmc+*Pad, *Psc=0


Pfc,max



If *SOE =medium & *SOC =high & Pfc,max < (*Pmc+*Pad)
*Pfc=Pfc,max, *Psc=0


If *SOE =low & *SOC =high & (*Pmc+*Pad) < Pfc,max
If (*Pmc+*Pad−Psc,min)≤Pfc,max, then



*Psc=Psc,min, *Pfc =*Pmc+*Pad−*Psc;



otherwise, *Pfc=Pfc,max, *Psc=−(*Pfc



(*Pmc+*Pad))


If *SOE =low & *SOC =high & Pfc,max ≤ (*Pmc+*Pad)
*Pfc=Pfc,max, *Psc=0


If *SOE =high & *SOC =medium & (*Pmc+*Pad) < Pfc,opt
*Pfc=Pfc,opt, *Psc=0


If *SOE = high & *SOC = medium & Pfc,opt
*Pfc=(*Pmc+*Pad), *Psc=0


(*Pmc+*Pad)≤ Pfc,max



If *SOE=high & *SOC =medium & Pfc,max < (*Pmc+*Pad)
*Pfc=Pfc,max;



if Psc,max≥(*Pmc+*Pad)−*Pfc, then



*Psc−(*Pmc+*Pad)−*Pfc; otherwise,



*Psc=Psc,max


If *SOE =medium & *SOC=medium & (*Pmc+*Pad) <
*Pfc=Pfc,opt;


Pfc,opt
if Psc,min≤−(*Pfc−(*Pmc+*Pad)), then



*Psc=−(*Pfc−(*Pmc+*Pad));



otherwise*Psc=Psc,min


If *SOE =medium & *SOC=medium & Pfc,opt
*Pfc=*Pmc+*Pad, *Psc=0


(*Pmc+*Pad) ≤ Pfc,max



If *SOE =medium & *SOC =medium & Pfc,max <
*Pfc=Pfc,max;


(*Pmc+*Pad)
if Psc,max≥(*Pmc+*Pad)−*Pfc, then



*Psc=(*Pmc+*Pad)−*Pfc;



otherwise*Psc=Psc,max


If *SOE =low & *SOC =medium & (*Pmc+*Pad) < Pfc,max
*Pfc=Pfc,max;



if Psc,min≤−(*Pfc−(*Pmc+*Pad)), then



*Psc=−(*Pfc−(*Pmc+*Pad));



otherwise*Psc=Psc,min


If *SOE =low & *SOC=medium & Pfc,max ≤ (*Pmc+*Pad)
*Pfc=Pfc,max, *Psc=0


If *SOE =high & *SOC =low & (*Pmc+*Pad) < Pfc,max
*Pfc=Pfc,max, *Psc=0


If *SOE =high& *SOC =low & Pfc,max ≤ (*Pmc+*Pad)
*Pfc=Pfc,max;



if Psc,max≥(*Pmc+*Pad)−*Pfc, then



*Psc=(*Pmc+*Pad)−*Pfc;



otherwise*Psc=Psc,max


If *SOE =medium & *SOC =low & (*Pmc+*Pad) < Pfc,max
*Pfc=Pfc,max, *Psc=0


If *SOE =medium & *SOC =low & Pfc,max≤ (*Pmc+*Pad)
*Pfc=Pfc,max;



if Psc,max≥(*Pmc+*Pad)−*Pfc, then



*Psc−(*Pmc+*Pad)−*Pfc;



otherwise*Psc=Psc,max


If *SOE =low & *SOC =low
*Pfc=Pfc,max, *Psc=0









In Table 2, *Pmc+*Pad represents the real-time measured load power in the driving mode. From the above content, it can be seen that Pfc,max is the first preset power maximum value, that is, the maximum output power of the PEM fuel cell 121. Pfc,min is the first preset power minimum value, that is, the minimum output power of the PEM fuel cell 121, which is used to maintain the idle operation of the PEM fuel cell 121.


For the sake of brevity, only part of the content in Table 2 is explained. In the first row, *SOE=high & *SOC=high & Pfc,min≤(*Pmc+*Pad)≤Pfc,max, then the output power of the PEM fuel cell *Pfc is *Pmc+*Pad, and the output power of the super-capacitor *Psc is 0, that is, the load power is within the first preset power threshold range, and the load power is provided by the PEM fuel cell. After the PEM fuel cell provides power to the load, the remaining power is used to charge the battery 24.


In the fifth row, *SOE=medium & *SOC=high & Pfc,max<(*Pmc+*Pad), then Pfc=Pfc,max, *Psc=0, that is, the load power is greater than Pfc,max, and the output power of the PEM fuel cell is Pfc,max. If the output power of the PEM fuel cell still cannot meet the load power, the remaining load power is provided by the battery (because the *SOC of the battery is high and the *SOE of the super-capacitor is medium).









TABLE 3







*Pmc < 0 (braking mode)








Condition
Result





If *SOE =high & *SOC =high & 0 ≤ (*Pmc+*Pad) ≤ Pfc,min
*Pfc=Pfc,min, *Psc=0


If *SOE =high & *SOC =high & Pfc,min < (*Pmc+*Pad)
*Pfc=(*Pmc+*Pad), *Psc=0


If *SOE =high & *SOC =high & (*Pmc+*Pad) < 0
*Pfc=Pfc,min, *Psc=0


If *SOE =medium & *SOC =high & 0≤(*Pmc+*Pad) <
*Pfc=Pfc,min, *Psc=−(*Pfc


Pfc,min
(*Pmc+*Pad))


If *SOE =medium & *SOC=high & Pfc,min≤ (*Pmc+*Pad) <
*Pfc=Pfc,min, *Psc=0


Pfc,opt



If *SOE=medium & *SOC=high & Pfc,opt ≤ (*Pmc+*Pad) <
*Pfc=Pfc,opt, *Psc=0


Pfc,max



If *SOE =medium & *SOC=high & (*Pmc+*Pad) < 0
*Pfc=Pfc,min,



if Psc,min≤(−*Pfc+(*Pmc+*Pad)), then



*Psc=(*Pmc+*Pad)−*Pfc;



otherwise, Psc=Psc,min


If *SOE =low & *SOC=high & 0≤(*Pmc+*Pad)
*Pfc=Pfc,max;



if −*Pfc>Psc,min, then *Psc=−*Pfc;



otherwise, *Psc=Psc,min


If *SOE=low & *SOC=high & (*Pmc+*Pad) < 0
If Pfc,min≤((*Pmc+*Pad)−



Psc,min)≤Pfc,max, then *Psc=Psc,min,



*Pfc=(*Pmc+*Pad)−Psc,min;



otherwise if ((*Pmc+*Pad)−



Psc,min)<Pfc,min, then *Pfc=Pfc,min,



*Psc=Psc,min;



otherwise if ((*Pmc+*Pad)−



Psc,min)>Pfc,max, then *Pfc=Pfc,max,



*Psc=((*Pmc+*Pad)−*Pfc


If *SOE=high & *SOC=medium & 0≤ (*Pmc+*Pad)< Pfc,min
*Pfc=Pfc,min, *Psc=0


If *SOE=high * & *SOC=medium &
*Pfc=Pfc,min, *Psc=*Pmc+*Pad −*Pfc


Pfc,min≤(*Pmc+*Pad)<Pfc,opt



If *SOE =high & *SOC=medium & Pfc,opt≤(*Pmc+*Pad) <
*Pfc=Pfc,opt, *Psc=*Pmc+*Pad −*Pfc


Pfc,max



If *SOE =high & *SOC =medium & (*Pmc+*Pad) < 0
*Pfc=Pfc,opt, *Psc=0


If *SOE =medium & *SOC=medium & 0 ≤ (*Pmc+*Pad) <
*Pfc=Pfc,opt, *Psc=−(*Pfc−(*Pmc+*Pad))


Pfc,opt



If SOE =medium & *SOC=medium &
*Pfc=*Pmc+*Pad, *Psc=0


Pfc,opt≤(*Pmc+*Pad) < Pfc,max



If *SOE =medium & *SOC=medium & (*Pmc+*Pad) < 0
*Pfc=Pfc,opt,



if (−*Pfc+(*Pmc+*Pad)) ≥ Psc,min, then



*Psc=(*Pmc+*Pad)−*Pfc; otherwise,



*Psc=Psc,min


If *SOE =low & *SOC =medium & 0≤ (*Pmc+*Pad)
*Pfc=Pfc,max



if −(*Pfc−(*Pmc+*Pad))≥Psc,min, then



*Psc=−(*Pfc−(*Pmc+*Pad)); otherwise,



Psc=Psc,min


If *SOE=low & *SOC=medium & (*Pmc+*Pad) < 0
If Pfc,min ≤ ((*Pmc+*Pad)−Psc,min)≤



Pfc,max, then *Pfc=(*Pmc+*Pad)−



Psc,min, *Psc=Psc,min;



otherwise if ((*Pmc+*Pad)−



Psc,min)<Pfc,min, then *Pfc=Pfc,min,



*Psc=Psc,min;



otherwise if ((*Pmc+*Pad)−



Psc,min)>Pfc,max, then *Pfc=Pfc,max,



*Psc=((*Pmc+*Pad)−*Pfc


If *SOE =high & *SOC =low & (*Pmc+*Pad) ≥0
*Pfc=Pfc,max, *Psc =*Pmc+*Pad


If *SOE =high & *SOC =low & (*Pmc+*Pad) <0
*Pfc=Pfc,max, *Psc=0


If *SOE =medium & *SOC =low & (*Pmc+*Pad) ≥0
*Pfc=Pfc,max, *Psc=0


If *SOE =medium & *SOC =low & (*Pmc+*Pad) <0
*Pfc=Pfc,max, *Psc=0


If *SOE =low & *SOC =low
*Pfc=Pfc,max, *Psc=0









Among them, (*Pmc+*Pad)<0 means that under braking, the electric energy converted by the braking energy of the motor 3 through the motor controller 4 is greater than the electric energy required by the load, that is, the motor controller 4 is equivalent to an energy supply device at this time, as opposed to the output power of the motor controller 4.


In the first row, *SOE=high, *SOC=high, 0≤(*Pmc+*Pad)≤Pfc,min, that is, the load power is positive and less than the first preset power minimum value, the output power of the PEM fuel cell 121 is adjusted to Pfc,min. At this time, the super-capacitor 21 does not need to be charged, so *Psc=0, and the remaining power of the PEM fuel cell 121 charges the battery 24. Although the *SOC of the battery 24 is high, since the capacity of the battery 24 is larger, the remaining energy can be used to charge the battery 24.


In the fifth row from the bottom, *SOE=high & *SOC=low & (*Pmc+*Pad)≥0, since *SOC is low, the output power *Pfc of the PEM fuel cell is adjusted to Pfc,max, and the output power of the super-capacitor 21 is *Pmc+*Pad, that is, the super-capacitor 21 provides electric energy to the load, and the PEM fuel cell charges the battery 24.


In the embodiment of the present disclosure, Table 4 is for the obtaining of the state of charge (SOC) of the battery 24, and Table 5 is for the obtaining of the state of energy (SOE) of the super-capacitor 21.









TABLE 4







Obtaining of the SOC of the battery








Condition
Result





If *SOC(tk) >SOCmax
SOC = high


If SOCnu<*SOC(tk)≤SOCmax &*SOC(tk)<*SOC (tk−1)



If SOCnl≤*SOC(tk) ≤ SOCnu
SOC =


If SOCmin≤*SOC(tk) < SOCnl & *SOC(tk) < *SOC (tk−1)
medium


If SOCnu<*SOC(tk)≤SOCmax & *SOC(tk)>*SOC(tk−1)



If *SOC(tk)<SOCmin
SOC = low


If SOCmin≤*SOC(tk) < SOCnl & *SOC(tk)>*SOC (tk−1)



If *SOC(tk) =*SOC(tk−1)
There is no



change in level









When the state of charge (SOC) of the battery 24 is medium, the *SOC is within [SOCnl, SOCnu], SOCnl represents the lower limit when the SOC is “medium”, and SOCnu represents the upper limit when the SOC is “medium”. When the *SOC is within [SOCnl, SOCnu], the battery 24 can be protected from aging or performance degradation, the battery 24 can be kept running efficiently, and the battery 24 can be charged or discharged. When the *SOC is within [SOCmin, SOCnl], it means that the SOC is “low” and the battery needs to be charged. SOCmin means the lower limit when the SOC is “low”. When the *SOC is in within [SOCnu, SOCmax], it means that the SOC is “high” and the battery needs to be discharged. SOCmax means the upper limit when the SOC is “high”. The values of SOCmin, SOCnl, SOCnu, and SOCmax can be set according to the model of the battery 24. For example, when the battery 24 is a lithium-ion battery, SOCmin may be 20%, SOCnl may be 55%, SOCnu may be 85%, and SOCmax may be 100%, there are no special restrictions here.









TABLE 5







Obtaining of the SOE of the super-capacitor 21








Condition
Result





If *SOE(tk)>SOEmax
SOE = high


If SOEnu<*SOE(tk)≤SOEmax &*SOE(tk)<*SOE (tk−1)



If SOEnl≤*SOE(tk) ≤ SOEnu
SOE =


If SOEmin≤*SOE(tk)<SOEnl &*SOE(tk)<*SOE (tk−1)
medium


If SOEnu<*SOE(tk)≤SOEmax &*SOE(tk)>*SOE(tk−1)



If *SOE(tk)<SOEmin
SOE = low


If SOEmin≤*SOE(tk)<SOEnl &*SOE(tk)>*SOE(tk−1)



If *SOE(tk)=*SOE(tk−1)
There is no



change in level









Among them, when the state of energy (SOE) of the super-capacitor 21 is medium, the *SOE is within [SOEnl, SOEnu], that is, SOEnl represents the lower limit when the SOE is “medium”, and SOEnu represents the upper limit when the SOE is “medium”. When the *SOE is within [SOEnl, SOEnu], the super-capacitor 21 can be protected from aging or performance degradation, the super-capacitor 21 can be kept running efficiently, and the super-capacitor 21 can be charged or discharged. When *SOE is within [SOEmin, SOEnl], it means that SOE is “low” and the super-capacitor 21 needs to be charged. SOEmin means the lower limit when SOE is “low”. When *SOE is within [SOEnu, SOEmax], it means that SOE is “high” and the super-capacitor 21 needs to be discharged. SOEmax means the upper limit when SOE is “high”. The values of SOEmin, SOEnl, SOEnu, and SOEmax can be set according to the model of the super-capacitor 21. For example, when the super-capacitor 21 is an electric double layer capacitor (EDLC), SOEmin may be 30%, SOEnl may be 45%, SOEnu may be 90%, SOEmax may be 100%, there is no special restrictions here.


The conditions in Table 4 and Table 5 can be determined according to the hysteresis control algorithm to make SOC/SOE change smoothly, which can be obtained by those skilled in the art according to the related art, and will not be described again here.


In S500: a second reference power *Pscr(tk) of the second energy supplier is obtained according to the first current output power *Pfc(tk), the second current output power Psc(tk) and the first reference power *Pfcr(tk).


In the embodiment of the present disclosure, S500 may include: obtaining a second preset power threshold of the second energy supplier; obtaining the second reference power *Pscr(tk) according to the first current output power *Pfc(tk), the second current output power *Psc(tk), the first reference Power *Pfcr(tk) and the second preset power threshold.


As shown in FIG. 3, the load power and the *SOE of the super-capacitor 21 and the *SOC of the battery 24 are measured in real time, and the optimizing controller of allocation 60 is used to obtain the first current output power *Pfc(tk) according to the above table and obtain the first current limited power *Pfcl(tk). If *Pfc(tk) is not equal to *Pfcl(tk), the first calculator 30 in FIG. 3 is used to calculate a difference between *Pfc(tk) and *Pfcl(tk), and the difference and the second current output power *Psc(tk) of the second energy supplier are summed, that is, *Psc(tk)+*Pfc(tk)−*Pfcl(tk), and the remaining power of the first energy supplier (PEM fuel cell 121) is allocated to the second energy supplier (super-capacitor 21).


After obtaining the first reference power *Pfcr(tk) using the high-dynamic power limiter 20, if *Pfcr(tk) is not equal to *Pfcl(tk), the second calculator 40 is used to calculate a difference between *Pfcl(tk) and *Pfcr(tk), and the difference and *Psc(tk)+*Pfc(tk)−*Pfcl(tk) are summed to obtain the output power of the second energy supplier after allocation, that is, *Psc(tk)+*Pfc(tk)−*Pfcl(tk)+*Pfcl(tk)−*Pfcr(tk)=*Psc(tk)+*Pfc(tk)−*Pfcr(tk).


The second preset power threshold of the second energy supplier is obtained. The second preset power threshold may include a second preset power maximum value Psc,max and a second preset power minimum value Psc,min, that is, the second energy supplier operates normally when the output power is between Psc,max and Psc,min.


As shown in FIG. 3, the super-capacitor limiter 50 is used to obtain the current second reference power *Pscr(tk). Specifically, after obtaining the output power *Psc(tk)+*Pfc(tk)−*Pfcr(tk) of the second energy supplier after allocation, if Psc,min≤*Psc(tk)+*Pfc(tk)−*Pfcr(tk)≤Psc,max, then *Pscr(tk)=*Psc(tk)+*Pfc(tk)−*Pfcr(tk); if *Psc(tk)+*Pfc(tk)−*Pfcr(tk)>Psc,max, then *Pscr(tk)=Psc,max; if *Psc(tk)+*Pfc(tk)−*Pfcr (tk)<Psc,min, then *Pscr(tk)=Psc,min.


Through the above management, the first energy supplier maintains high-efficiency operation in the low-dynamic power range, and the remaining power of the first energy supplier is allocated to the second energy supplier, so that the second energy supplier operates within the normal range, for example, the SOE of the super-capacitor 21 and the SOC of the battery 24 are kept within a normal range, thereby avoiding aging or performance degradation of the super-capacitor 21 and the battery 24, and maintaining high-efficiency operation. Furthermore, the second energy supplier is able to operate efficiently in a high-dynamic power range.


After obtaining the first reference power and the second reference power, the energy management system 900 may feed back the first reference power to the power conditioner 123 and feed back the second reference power to the power converter 23, so that they can output the specified power respectively.


In S600: the current flow rate *Qa of the first gas, the current flow rate *Qh of the second gas, and the current furnace temperature *Tf are obtained.


In the embodiment of the present disclosure, referring to FIG. 2, the gas conversion device 11 is connected to the first energy supplier (PEM fuel cell). The gas conversion device 11 is used to convert the first gas into the second gas, and the second gas is used for the fuel cell 121 to generate electricity. As shown in FIG. 2, the current furnace temperature *Tf is the current temperature of the furnace 113 in the gas conversion device 11 and is measured by the furnace controller 114. As shown in FIG. 3, *Qa is the ammonia flow rate measured in real time, and *Qh is the hydrogen flow rate measured in real time. The first gas may be ammonia, and the second gas may be hydrogen.


In S700: according to the current flow rate *Qa of the first gas, the current flow rate *Qh of the second gas, and the current furnace temperature *Tf, the reference flow rate *Qar of the first gas and the reference furnace temperature *Tfr are obtained.


S700 is designed to keep the flow rate Qh of the second gas (hydrogen) stable and reduce the furnace temperature as much as possible to save energy consumption. S700 may include the following contents C1˜C3.


In C1: if the current furnace temperature *Tf minus one preset furnace temperature step size Ht is greater than the minimum preset furnace temperature Tfl, the current flow rate *Qa of the first gas is regulated to *Qar to maintain the current flow rate of the second gas to be stable; if the regulated flow rate *Qar of the first gas is within a preset range, the furnace temperature is continuously reduced according to the preset furnace temperature step size to no less than the minimum preset furnace temperature, and the flow rate *Qar of the first gas is continued to be regulated to maintain the current flow rate *Qh of the second gas to be stable.


As shown in FIG. 5, the minimum preset furnace temperature Tfl is the lower limit of the temperature at which the second gas (hydrogen) can be normally produced. The preset range of the flow rate of the first gas is [Qal, Qau], the preset furnace temperature step size is Ht, and Ht may be 0.5° C. Referring to FIG. 6, a schematic diagram of the relationship among ammonia, hydrogen and the furnace temperature is shown. From this, it can be seen that the hydrogen flow rate increases as the ammonia flow rate increases, and the hydrogen flow rate increases as the furnace temperature increases. The flow rate of the first gas (ammonia) can be adjusted according to FIG. 6 to maintain the current flow rate of the second gas (hydrogen). For example, the flow rate can be increased or decreased by at least one flow rate step size.


In C2: if the current furnace temperature *Tf minus one preset furnace temperature step size Ht or multiple preset furnace temperature step sizes is greater than the minimum preset furnace temperature Tf, and the regulated flow rate of the first gas is outside the preset range, then the flow rate of the first gas is regulated to the maximum flow rate or the minimum flow rate to obtain the reference flow rate *Qar of the first gas, and the furnace temperature is regulated to obtain the reference furnace temperature *Tfr to maintain the flow rate of the second gas to be stable. It should be noted that since the reference flow rate *Qar is also the flow rate after the first gas is regulated, it is also expressed as *Qar.


As shown in FIG. 5, in this case, *Tf−Ht>Tfl, *Qar≤Qal, or *Qar≥Qau, if *Qar≤Qal, then it is regulated to *Qar=Qal, if *Qar≥Qau, then it is regulated to *Qar=Qau (that is, if *Qar is not within the preset range, then *Qar is regulated to the upper limit or lower limit of the range), and *Qar at this time is the obtained reference flow rate of the first gas. At this time, *Qar cannot be further adjusted, thus the hydrogen flow rate can only be kept stable by adjusting the furnace temperature. The final furnace temperature obtained is the reference furnace temperature *Tfr.


Referring to FIG. 6, according to the measured value of hydrogen flow rate *Qh, the furnace temperature is adjusted to keep it stable. For example, if the hydrogen flow rate *Qh is 12 L/min and *Qa is 8 L/min (assumed to be the upper limit value or lower limit value), the furnace temperature to keep the hydrogen flow rate stable should be 680° C., while the actual furnace temperature is 700° C., then it only needs to adjust the furnace temperature to 680° C. The adjustment can be made based on the corresponding relationship among the three in FIG. 6 as a reference. The above example is only for the convenience of illustrating how to adjust according to FIG. 6, and the specific values should be selected according to the actual situation.


In C3: if the current furnace temperature *Tf minus one preset furnace temperature step size Ht or multiple preset furnace temperature step sizes is less than or equal to the minimum preset furnace temperature Tfl, the reduced furnace temperature is regulated to the minimum preset furnace temperature to obtain the reference furnace temperature, and the flow rate *Qar of the first gas is regulated to obtain the reference flow rate *Qar of the first gas and maintain the current flow rate *Qh of the second gas to be stable.


As shown in FIG. 5, in this case, *Tfr=*Tf−Ht≤Tfl, that is, the regulated furnace temperature *Tfr is less than or equal to the minimum preset furnace temperature Tfl, then the regulated furnace temperature is adjusted to the minimum preset furnace temperature Tfl, and the minimum preset furnace temperature Tfl at this time is the reference furnace temperature *Tfr. Since the furnace temperature cannot be further adjusted at this time, the hydrogen flow rate *Qh can only be kept stable by adjusting the ammonia flow rate *Qar. The ammonia flow rate obtained at this time is the reference flow rate *Qar of the first gas. It should be noted that since the reference furnace temperature *Tfr is also the furnace temperature after regulation, it is also expressed as *Tfr.


Continuing to refer to FIG. 6, for example, the hydrogen flow rate *Qh is 12 L/min, and the reference furnace temperature *Tfr is 680° C. (assumed to be the lower limit), then the ammonia flow rate *Qh to keep the hydrogen flow rate stable should be 8 L/min, but in fact the ammonia flow rate is 10 L/min, then the ammonia flow rate can be adjusted to 8 L/min. The adjustment can be made based on the corresponding relationship among the three in FIG. 6 as a reference. The above example is only for the convenience of illustrating how to adjust according to FIG. 6, and the specific values should be selected according to the actual situation.


After the above adjustments, if the hydrogen flow rate still changes, the above adjustments are continued until the hydrogen flow rate is stable.


In the embodiment of the present disclosure, after using the energy management method to obtain the first reference power *Pfcr of the first energy supplier (PEM fuel cell 121), the hydrogen flow rate and the ammonia flow rate corresponding to *Pfcr can be obtained. In order to keep the hydrogen flow rate stable at this moment to maintain *Pfcr, the ammonia flow rate and the furnace temperature are adjusted according to the above contents of C1˜C3, and the ammonia flow rate reference value *Qar and the reference furnace temperature *Tfr corresponding to *Pfcr are output to adjust the ammonia flow rate and the furnace temperature to the corresponding reference values. When the value of *Pfcr changes, the corresponding hydrogen flow rate also changes, and the ammonia flow rate and the furnace temperature are adjusted according to the above contents of C1˜C3. Therefore, the whole hybrid function architecture is adjusted in real time to ensure high-efficiency operation.


The above adjustment can optimize the ammonia flow rate and keep the furnace temperature to the lowest, and maximize the operating efficiency of the gas conversion device 11, so that the gas conversion device 11 can provide stable hydrogen for the PEM fuel cell 121 in the fuel cell device 12, and thus the operation of the PEM fuel cell 121 is more efficient and stable.


It should be noted that if *Tf≤Tf, that is, the furnace temperature *Tf measured in real time (it is not reduced) is less than or equal to the minimum preset furnace temperature, then the furnace temperature *Tf may be regulated to the minimum preset furnace temperature, and then the ammonia flow rate is adjusted to keep the hydrogen flow rate stable.


As shown in FIGS. 7 and 8, which are energy conversion architecture diagrams of ammonia-powered proton exchange membrane fuel cell hybrid applications shown in other embodiments of the present disclosure, the difference from FIG. 2 is that in FIG. 2, the motor controller 4 is used and power is output to the motor 3, while in FIG. 7, an inverter 3′ is used and AC power is output, and in FIG. 8, a DC-DC converter 3″ is used and DC power is output. The energy management method of the embodiments of the present disclosure is suitable for the hybrid applications in FIGS. 7 and 8.


An embodiment of the present disclosure also provides an energy management system 900, including an obtaining module 901 and a processing module 902. The obtaining module 901 is configured to obtain a first current output power and a previous output power of a first energy supplier. The processing module 902 is configured to obtain a current power change rate of the first energy supplier according to the first current output power and the previous output power. The processing module 902 is also configured to obtain a first reference power of the first energy supplier according to the first current output power, the previous output power and the current power change rate. The obtaining module 901 is also configured to obtain a second current output power of a second energy supplier. The processing module 902 is also configured to obtain a second reference power of the second energy supplier according to the first current output power, the second current output power and the first reference power. The obtaining module 901 is also configured to obtain a current flow rate of a first gas, a current flow rate of a second gas, and a current furnace temperature, where the first energy supplier is connected to a gas conversion device, the first gas is converted into the second gas by the gas conversion device, the second gas is used for the first energy supplier to generate electricity, and the current furnace temperature is the current temperature of a furnace in the gas conversion device. The processing module 902 is also configured to obtain a reference flow rate of the first gas and a reference furnace temperature according to the current flow rate of the first gas, the current flow rate of the second gas and the current furnace temperature.


In the embodiment of the present disclosure, the processing module 902 may include an optimizing controller of allocation 60, a fuel cell power limiter 10 and a high-dynamic power limiter 20 as shown in FIG. 3.


Embodiments of the present disclosure also provide a computer device, including a processor, a memory, an input interface and an output interface; the processor is connected to the memory, the input interface and the output interface respectively, where the input interface and the output interface are used to receive data and output data respectively, the memory is used to store a computer program, and the processor is used to call the computer program, so that the computer device executes the energy management methods in any of the above embodiments.


Embodiments of the present disclosure also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. The computer program is adapted to be loaded and executed by a processor, so that a computer device having the processor executes the energy management methods in any of the above embodiments.


The computer device and the computer-readable storage medium of the embodiments of the present disclosure, by executing the above energy management methods, allocate the load power between the first energy supplier and the second energy supplier optimally, so that the first energy supplier and the second energy supplier operate efficiently, thereby enabling the whole electrical equipment to operate efficiently, while avoiding performance degradation of the first energy supplier and the second energy supplier, and prolonging the service life of the first energy supplier and the second energy supplier.


It should be understood that the present disclosure is not limited in its application to the detailed structure and arrangement of components set forth in this specification. The present disclosure may have other implementations and may be implemented and carried out in various ways. The aforementioned variations and modifications fall within the scope of the present disclosure. It should be understood that the disclosure disclosed and defined in this specification extends to all alternative combinations of two or more individual features mentioned or apparent in the text and/or drawings. All of these different combinations constitute alternative aspects of the present disclosure. The implementations described in this specification illustrate the best mode known for carrying out the present disclosure, and will enable those skilled in the art to utilize the present disclosure.

Claims
  • 1. An energy management method, comprising: obtaining a first current output power and a previous output power of a first energy supplier;obtaining a current power change rate of the first energy supplier according to the first current output power and the previous output power;obtaining a first reference power of the first energy supplier according to the first current output power, the previous output power and the current power change rate;obtaining a second current output power of a second energy supplier;obtaining a second reference power of the second energy supplier according to the first current output power, the second current output power and the first reference power;obtaining a current flow rate of a first gas, a current flow rate of a second gas and a current furnace temperature; wherein the first energy supplier is connected to a gas conversion device, the first gas is converted into the second gas through the gas conversion device, the second gas is used for the first energy supplier to generate electricity, and the current furnace temperature is a current temperature of a furnace in the gas conversion device; andobtaining a reference flow rate of the first gas and a reference furnace temperature according to the current flow rate of the first gas, the current flow rate of the second gas, and the current furnace temperature.
  • 2. The method according to claim 1, wherein obtaining the first reference power of the first energy supplier according to the first current output power, the previous output power and the current power change rate, comprises: obtaining a first preset power threshold of the first energy supplier;obtaining a first current limited power of the first energy supplier according to the first current output power and the first preset power threshold;obtaining a previous limited power of the first energy supplier according to the previous output power and the first preset power threshold;obtaining a power change rate threshold of the first energy supplier;obtaining the first reference power according to the first current limited power, the previous limited power, the current power change rate and the power change rate threshold.
  • 3. The method according to claim 2, wherein the power change rate threshold comprises a maximum power change rate and a minimum power change rate; obtaining the first reference power according to the first current limited power, the previous limited power, the current power change rate and the power change rate threshold comprises:obtaining a maximum dynamic power variable and a minimum dynamic power variable of the first energy supplier according to the maximum power change rate and the minimum power change rate;obtaining the first reference power according to the current power change rate, the maximum power change rate, the minimum power change rate, the first current limited power, the previous limited power, the maximum dynamic power variable and the minimum dynamic power variable.
  • 4. The method according to claim 3, wherein obtaining the first reference power according to the current power change rate, the maximum power change rate, the minimum power change rate, the first current limited power, the previous limited power, the maximum dynamic power variable and the minimum dynamic power variable, comprises: if Rpfc,min<Rpfc(tk)≤Rpfc,max, then *Pfcr (tk)=*Pfc(tk);if Rpfc(tk)<Rpfc,min, then *Pfcr(tk)=*Pfcl(tk−1)+ΔPfc,min;if Rpfc(tk)>Rpfc,max, then *Pfcr(tk)=*Pfcl(tk−1)+ΔPfc,max;wherein Rpfc, min is the minimum power change rate, Rpfc,max is the maximum power change rate, Rpfc(tk) is the current power change rate, *Pfcr(tk) is the first reference power, *Pfcl(tk) is the first current limited power, *Pfcl(tk−1) is the previous limited power, Δ Pfc,min is the minimum dynamic power variable, Δ Pfc,max is the maximum dynamic power variable, tk represents a current moment, tk−1 represents a previous moment, k≥1 and is a positive integer.
  • 5. The method according to claim 1, wherein obtaining the second reference power of the second energy supplier according to the first current output power, the second current output power and the first reference power, comprises: obtaining a second preset power threshold of the second energy supplier;obtaining the second reference power according to the first current output power, the second current output power, the first reference power and the second preset power threshold.
  • 6. The method according to claim 1, wherein obtaining the reference flow rate of the first gas and the reference furnace temperature according to the current flow rate of the first gas, the current flow rate of the second gas and the current furnace temperature, comprises:in a case that the current furnace temperature minus a preset furnace temperature step size is greater than a minimum preset furnace temperature, regulating the current flow rate of the first gas to maintain the current flow rate of the second gas to be stable; in a case that the regulated flow rate of the first gas is within a preset range, continuing to reduce a furnace temperature according to the preset furnace temperature step size and continuing to regulate the flow rate of the first gas to maintain the current flow rate of the second gas to be stable;in a case that the current furnace temperature minus one preset furnace temperature step size or multiple preset furnace temperature step sizes is greater than the minimum preset furnace temperature, and the regulated flow rate of the first gas is outside the preset range, regulating the flow rate of the first gas to a maximum flow rate or a minimum flow rate to obtain the reference flow rate of the first gas, and regulating the furnace temperature to obtain the reference furnace temperature to maintain the current flow rate of the second gas to be stable;in a case that the current furnace temperature minus one preset furnace temperature step size or multiple preset furnace temperature step sizes is less than or equal to the minimum preset furnace temperature, regulating the reduced furnace temperature to the minimum preset furnace temperature to obtain the reference furnace temperature, and regulating the flow rate of the first gas to obtain the reference flow rate of the first gas to maintain the current flow rate of the second gas to be stable.
  • 7. The method according to claim 1, wherein the first energy supplier comprises a fuel cell, and the second energy supplier comprises a super-capacitor and a battery; obtaining the first current output power of the first energy supplier and obtaining the second current output power of the second energy supplier comprises:obtaining a current load power, a current state of energy of the super-capacitor, and a current state of charge of the battery;obtaining the first current output power and the second current output power according to the current load power, the current state of energy and the current state of charge.
  • 8. A computer device, comprising: a processor, a memory, an input interface and an output interface; wherein the processor is connected to the memory, the input interface and the output interface respectively, wherein the input interface and the output interface are configured to receive data and output data respectively, the memory is configured to store a computer program, and the processor is configured to call the computer program, so that the computer device executes: obtaining a first current output power and a previous output power of a first energy supplier;obtaining a current power change rate of the first energy supplier according to the first current output power and the previous output power;obtaining a first reference power of the first energy supplier according to the first current output power, the previous output power and the current power change rate;obtaining a second current output power of a second energy supplier;obtaining a second reference power of the second energy supplier according to the first current output power, the second current output power and the first reference power;obtaining a current flow rate of a first gas, a current flow rate of a second gas and a current furnace temperature; wherein the first energy supplier is connected to a gas conversion device, the first gas is converted into the second gas through the gas conversion device, the second gas is used for the first energy supplier to generate electricity, and the current furnace temperature is a current temperature of a furnace in the gas conversion device; andobtaining a reference flow rate of the first gas and a reference furnace temperature according to the current flow rate of the first gas, the current flow rate of the second gas, and the current furnace temperature.
  • 9. The computer device according to claim 8, wherein the processor is further configured to execute: obtaining a first preset power threshold of the first energy supplier;obtaining a first current limited power of the first energy supplier according to the first current output power and the first preset power threshold;obtaining a previous limited power of the first energy supplier according to the previous output power and the first preset power threshold;obtaining a power change rate threshold of the first energy supplier;obtaining the first reference power according to the first current limited power, the previous limited power, the current power change rate and the power change rate threshold.
  • 10. The computer device according to claim 9, wherein the power change rate threshold comprises a maximum power change rate and a minimum power change rate; wherein the processor is further configured to execute:obtaining a maximum dynamic power variable and a minimum dynamic power variable of the first energy supplier according to the maximum power change rate and the minimum power change rate;obtaining the first reference power according to the current power change rate, the maximum power change rate, the minimum power change rate, the first current limited power, the previous limited power, the maximum dynamic power variable and the minimum dynamic power variable.
  • 11. The computer device according to claim 10, wherein the processor is further configured to execute: if Rpfc,min≤Rpfc(tk)≤Rpfc,max, then *Pfcr(tk)=*Pfcl(tk);if Rpfc(tk)<Rpfc,min, then *Pfcr(tk)=*Pfcl(tk−1)+ΔPfc,min;if Rpfc(tk)>Rpfc,max, then *Pfcr(tk)=*Pfcl(tk−1)+ΔPfc,max;wherein Rpfc,min is the minimum power change rate, Rpfc,max is the maximum power change rate, Rpfc(tk) is the current power change rate, *Pfcr(tk) is the first reference power, *Pfcl(tk) is the first current limited power, *Pfcl(tk−1) is the previous limited power, Δ Pfc,min is the minimum dynamic power variable, Δ Pfc,max is the maximum dynamic power variable, tk represents a current moment, tk−1 represents a previous moment, k≥1 and is a positive integer.
  • 12. The computer device according to claim 8, wherein the processor is further configured to execute: obtaining a second preset power threshold of the second energy supplier;obtaining the second reference power according to the first current output power, the second current output power, the first reference power and the second preset power threshold.
  • 13. The computer device according to claim 8, wherein the processor is further configured to execute: in a case that the current furnace temperature minus a preset furnace temperature step size is greater than a minimum preset furnace temperature, regulating the current flow rate of the first gas to maintain the current flow rate of the second gas to be stable; in a case that the regulated flow rate of the first gas is within a preset range, continuing to reduce a furnace temperature according to the preset furnace temperature step size and continuing to regulate the flow rate of the first gas to maintain the current flow rate of the second gas to be stable;in a case that the current furnace temperature minus one preset furnace temperature step size or multiple preset furnace temperature step sizes is greater than the minimum preset furnace temperature, and the regulated flow rate of the first gas is outside the preset range, regulating the flow rate of the first gas to a maximum flow rate or a minimum flow rate to obtain the reference flow rate of the first gas, and regulating the furnace temperature to obtain the reference furnace temperature to maintain the current flow rate of the second gas to be stable;in a case that the current furnace temperature minus one preset furnace temperature step size or multiple preset furnace temperature step sizes is less than or equal to the minimum preset furnace temperature, regulating the reduced furnace temperature to the minimum preset furnace temperature to obtain the reference furnace temperature, and regulating the flow rate of the first gas to obtain the reference flow rate of the first gas to maintain the current flow rate of the second gas to be stable.
  • 14. The computer device according to claim 8, wherein the first energy supplier comprises a fuel cell, and the second energy supplier comprises a super-capacitor and a battery; wherein the processor is further configured to execute obtaining a current load power, a current state of energy of the super-capacitor, and a current state of charge of the battery;obtaining the first current output power and the second current output power according to the current load power, the current state of energy and the current state of charge.
  • 15. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is adapted to be loaded and executed by a processor, so that a computer device having the processor executes: obtaining a first current output power and a previous output power of a first energy supplier;obtaining a current power change rate of the first energy supplier according to the first current output power and the previous output power;obtaining a first reference power of the first energy supplier according to the first current output power, the previous output power and the current power change rate;obtaining a second current output power of a second energy supplier;obtaining a second reference power of the second energy supplier according to the first current output power, the second current output power and the first reference power;obtaining a current flow rate of a first gas, a current flow rate of a second gas and a current furnace temperature; wherein the first energy supplier is connected to a gas conversion device, the first gas is converted into the second gas through the gas conversion device, the second gas is used for the first energy supplier to generate electricity, and the current furnace temperature is a current temperature of a furnace in the gas conversion device; andobtaining a reference flow rate of the first gas and a reference furnace temperature according to the current flow rate of the first gas, the current flow rate of the second gas, and the current furnace temperature.
  • 16. The computer-readable storage medium according to claim 15, wherein the processor is further configured to execute: obtaining a first preset power threshold of the first energy supplier;obtaining a first current limited power of the first energy supplier according to the first current output power and the first preset power threshold;obtaining a previous limited power of the first energy supplier according to the previous output power and the first preset power threshold;obtaining a power change rate threshold of the first energy supplier;obtaining the first reference power according to the first current limited power, the previous limited power, the current power change rate and the power change rate threshold.
  • 17. The computer-readable storage medium according to claim 16, wherein the power change rate threshold comprises a maximum power change rate and a minimum power change rate; wherein the processor is further configured to execute:obtaining a maximum dynamic power variable and a minimum dynamic power variable of the first energy supplier according to the maximum power change rate and the minimum power change rate;obtaining the first reference power according to the current power change rate, the maximum power change rate, the minimum power change rate, the first current limited power, the previous limited power, the maximum dynamic power variable and the minimum dynamic power variable.
  • 18. The computer-readable storage medium according to claim 17, wherein the processor is further configured to execute: if Rpfc,min≤Rpfc(tk)≤Rpfc,max, then *Pfcr(tk)=*Pfcl(tk);if Rpfc(tk)<Rpfc,min, then *Pfcr(tk)=*Pfcl(tk−1)+ΔPfc,min,if Rpfc(tk)>Rpfc,max, then *Pfcr(tk)=*Pfcl(tk−1)+ΔPfc,max;wherein Rpfc,min is the minimum power change rate, Rpfc,max is the maximum power change rate, Rpfc(tk) is the current power change rate, *Pfcr(tk) is the first reference power, *Pfcl(tk) is the first current limited power, *Pfcl(tk−1) is the previous limited power, Δ Pfc,min is the minimum dynamic power variable, Δ Pfc,max is the maximum dynamic power variable, tk represents a current moment, tk−1 represents a previous moment, k≥1 and is a positive integer.
  • 19. The computer-readable storage medium according to claim 15, wherein the processor is further configured to execute: obtaining a second preset power threshold of the second energy supplier;obtaining the second reference power according to the first current output power, the second current output power, the first reference power and the second preset power threshold.
  • 20. The computer-readable storage medium according to claim 15, wherein the processor is further configured to execute: in a case that the current furnace temperature minus a preset furnace temperature step size is greater than a minimum preset furnace temperature, regulating the current flow rate of the first gas to maintain the current flow rate of the second gas to be stable; in a case that the regulated flow rate of the first gas is within a preset range, continuing to reduce a furnace temperature according to the preset furnace temperature step size and continuing to regulate the flow rate of the first gas to maintain the current flow rate of the second gas to be stable;in a case that the current furnace temperature minus one preset furnace temperature step size or multiple preset furnace temperature step sizes is greater than the minimum preset furnace temperature, and the regulated flow rate of the first gas is outside the preset range, regulating the flow rate of the first gas to a maximum flow rate or a minimum flow rate to obtain the reference flow rate of the first gas, and regulating the furnace temperature to obtain the reference furnace temperature to maintain the current flow rate of the second gas to be stable;in a case that the current furnace temperature minus one preset furnace temperature step size or multiple preset furnace temperature step sizes is less than or equal to the minimum preset furnace temperature, regulating the reduced furnace temperature to the minimum preset furnace temperature to obtain the reference furnace temperature, and regulating the flow rate of the first gas to obtain the reference flow rate of the first gas to maintain the current flow rate of the second gas to be stable.
Priority Claims (1)
Number Date Country Kind
PCT/CN2023/133400 Nov 2023 WO international
CROSS-REFERENCE TO RELATED APPLICATION

The present application is filed based upon and claims benefit of an International Application No. PCT/CN2023/133400 filed on Nov. 22, 2023, the entire contents of which are incorporated herein by reference.