This invention relates to a method and
system for calculating and compensating the
State of Charge (SOC) of a
hydrogen storage
system. The invention includes: real-time acquisition of the pressure and temperature of
hydrogen gas within the storage container; correction of the pressure based on the pressure and temperature to obtain a standard pressure at 20°C; calculation of the initial SOC value using the pressure-temperature method based on the 20°C standard pressure; acquisition of the
heat transfer coefficient, heat exchange area, real-time
hydrogen storage
mass, and hydrogen
specific heat capacity at
constant pressure within the storage container, and calculation of a
thermal effect compensation coefficient based on the pressure change rate and temperature change rate;
thermal effect compensation of the initial SOC value based on the
thermal effect compensation coefficient to obtain a thermally compensated SOC value; correction of the
hydrogen density based on the second virial coefficient of hydrogen, the real-time absolute pressure within the storage cylinder, and the real-time
thermodynamic temperature to obtain a density correction coefficient; and correction of the thermally compensated SOC value based on the density correction coefficient to obtain the final SOC value. This invention improves the accuracy and stability of SOC calculation for
hydrogen storage systems.