Method for filling a tank with gas

09574708 · 2017-02-21

Assignee

Inventors

Cpc classification

International classification

Abstract

The invention relates to a method for filling a tank with a pressurized fuel gas, the average temperature of the gas in the tank is estimated in real time during the filling. The method includes, before the filling, determining the initial temperature of the gas in the tank, determining the initial pressure of the gas in the tank, determining the initial average temperature of the wall of the tank and determining the initial mass of gas in the tank. According to the method, during the filling, the enthalpy of the gas entering into the tank is determined as a function of time and the mass of gas injected into the tank is determined as a function of time or, respectively, the pressure in the tank is determined as a function of time. The average temperature of the gas at the time in the tank is determined in degrees K.

Claims

1. A method for filling a type IV composite tank bounded by a wall of generally cylindrical shape with a pressurized fuel gas, the gas being injected into the tank via an injector of diameter (di), in which the average temperature T(t) of the gas in the tank is estimated in real time as a function of time t during the filling, the method comprising, 1) before the filling, and after utilizing a pre-filling pressure jet of the gas, a. determining the initial temperature T(0) of the gas in the tank, b. determining the initial pressure P(0) of the gas in the tank, c. determining the initial average temperature of the wall of the tank T.sub.W(0) and d. determining the initial mass of gas in the tank m(0), 2) during the filling, a. determining the enthalpy h.sub.e(t) of the gas entering into the tank as a function of time and b. determining the mass m(t) of gas injected into the tank as a function of time or, respectively, c. determining the pressure P(t) in the tank as a function of time, d. determining the average temperature T(t) of the gas at the time t in the tank in degrees K, i. wherein T(t) is a function of the first degree of the average temperature T(t1) of the gas at the preceding time (t1) and of a heat transfer coefficient k.sub.g(t1) of convective heat transfer between the gas and the internal wall of the tank (1) at the time (t1) in W.Math.m.sup.2.Math.K.sup.1, ii. wherein k.sub.g(t1) is given by the relationship k.sub.g=(g/Dint).Math.Nuint, g is the thermal conductivity of the gas in the tank in W.Math.m.sup.1.Math.K.sup.1, Dint is the inside diameter of the tank in meters and Nuint is the Nusselt number of the gas in the tank, wherein Nuint is a function of the Reynolds number (Red) relating to forced convection in the tank and the Rayleigh number (Radint) relating to natural convection inside the tank by a formula Nuint=a.Math.Radint.sup.b+c.Math.Red.sup.d, wherein a is a dimensionless coefficient depending on the ratio (Lint/Dint) of the inside length Lint of the tank in meters to the inside diameter Dint of the tank in meters, and wherein c being a dimensionless coefficient depending on the ratio (Dint/di) of the inside diameter Dint of the tank in meters to the diameter di of the injector in meters, a, b, c and d being dimensionless positive real numbers, a being between 0 and 0.2, b being between 0.2 and 0.5, c being between 0 and 0.3 and d being between 0.5 and 0.9.

2. The method of claim 1, wherein the dimensionless coefficient a depending on the ratio Lint/Dint is given by the formula:
a=a1*exp(a2*(Lint/Dint)) in which exp signifies the exponential function, where a1 is between 0 and 0.04 and a2 is between 0.1 and 0.3.

3. The method of claim 1, wherein the dimensionless coefficient c depending on the ratio (Dint/di) is given by the formula:
c=c1*exp(c2*(Dint/d)) in which exp signifies the exponential function, c1 being between 0 and 0.05 and c2 being between 0.5 and 3.

4. The method of claim 1, wherein the average temperature T(t) of the gas is determined in real time by solving numerically two enthalpy balances: a first enthalpy balance applied to the gas injected into the tank and a second enthalpy balance applied to the wall of the tank, using the equation of state of real gases applied to the gas in the tank, and thermophysical properties of the gas comprising the compressibility factor Z, the specific heat capacity cp and the enthalpy per unit mass h of the gas.

5. The method of claim 1, wherein the mass of gas in the tank is determined in real time by solving numerically two enthalpy balances: a first enthalpy balance applied to the gas injected into the tank and a second enthalpy balance applied to the wall of the tank, using the equation of state of real gases applied to the gas in the tank, and thermophysical properties of the gas comprising the compressibility factor Z, the specific heat capacity cp and the enthalpy per unit mass h of the gas.

6. The method of claim 1, wherein the average pressure P(t) of the gas in the tank is determined in real time by solving numerically two enthalpy balances: a first enthalpy balance applied to the gas injected into the tank and a second enthalpy balance applied to the wall of the tank, using the equation of state of real gases applied to the gas in the tank, and thermophysical properties of the gas comprising the compressibility factor Z, the specific heat capacity c.sub.p and the enthalpy per unit mass h of the gas.

7. The method of claim 1, wherein the average temperature of the wall of the tank Tw(t) is determined in real time by solving numerically two enthalpy balances: a first enthalpy balance applied to the gas injected into the tank and a second enthalpy balance applied to the wall of the tank, using the equation of state of real gases applied to the gas in the tank, and thermophysical properties of the gas comprising the compressibility factor Z, the specific heat capacity Cp and the enthalpy per unit mass h of the gas.

8. The method of claim 1, wherein the tank has a ratio (Lint/Dint) of the inside length of the tank Lint in meters to the inside diameter of the tank Dint in meters is between 1.5 and 7.

9. The method of claim 1, wherein the ratio (Dint/di) of the inside diameter of the tank Dint in meters to the diameter di of the injector (2) in meters is between 30 and 80.

10. The method of claim 1, wherein the Reynolds number (Red) relating to forced convection in the tank is between 5.610.sup.4 and 2.010.sup.6.

11. The method of claim 1, wherein the Rayleigh number (Radint) relating to natural convection inside the tank is between 8.010.sup.8 and 1.010.sup.12.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) Other particularities and advantages will become apparent on reading the following description, given with reference to the figures in which:

(2) FIG. 1 shows a partial schematic view illustrating an example filling station able to implement the method according to the invention; and

(3) FIGS. 2 and 3 show partial schematic views illustrating two possible examples of implementation of the method according to the invention, respectively.

DESCRIPTION OF PREFERRED EMBODIMENTS

(4) The filling station partially and schematically illustrated in FIG. 1 comprises an injector 2 located at the end of a flexible tube 5 intended to be connected to the orifice of a tank 1 to be filled. The flexible tube 5 is connected via at least one valve system 6 to a source 4 of pressurized gas.

(5) The method preferably makes use of a model of the macroscopic thermal effects that come into play in the system comprising the flexible tube 5, the tank 1 and its environment during the filling of the tank 1.

(6) The physical properties of the gas (e.g. hydrogen) at the outlet of the injector 2 or just upstream of the latter are assumed to be known (pressure P and temperature T in real time). This allows the enthalpy h of the gas to be calculated at this location.

(7) As detailed below, the model preferably uses simplifying assumptions to decrease the calculation time while still ensuring a good approximation of the effects in question.

(8) In addition, to obtain the desired interoperability between stations, the calculation of the magnitude of each of the effects must be related to characteristic parameters of the tanks to be filled, communicated to the station by virtue of the communication protocol standardized by the SAE standard. Thus, the geometric dimensions of the tank 1 are assumed to be known (length, diameter, area(s), etc.).

(9) According to one advantageous feature, the model uses a Nusselt correlation to determine the temperature variation in the tank. This Nusselt correlation is expressed by way of two adimensional numbers: the Reynolds number relating to forced internal convection and the Rayleigh number relating to natural internal convection. According to one particularly advantageous particularity these two adimensional numbers are expressed by an expression depending on the geometry of the tank, in particular the ratios L.sub.int/Dint and Dint/di.

(10) Lint being the inside length of the tank in meters, Dint the inside diameter of the tank and di the diameter of the injector in meters (known).

(11) This method allows any hydrogen vehicle to be effectively and rapidly filled without measuring the temperature of the gas in the tank.

(12) Preferably, the model for estimating the temperature of the gas in the tank 1 is what is called a zero dimensional (OD) mathematical model.

(13) Such a model assumes that the gas (hydrogen in our example) entering into the tank 1 is immediately and perfectly mixed with the gas present. In addition, the temperature T(t) of the hydrogen in the tank 1 is considered to be uniform at every point. Thus, and as accepted in current standards and draft standards, the temperature T(t) of the gas in the tank (1), whether estimated or measured, is considered to be the average temperature of the gas in the tank 1.

(14) In addition, the temperature T(0) of the gas in the tank 1 before filling is approximated to ambient temperature Tamb because the tank 1 is assumed to be in thermodynamic equilibrium before it is filled.

(15) There is a compromise between the precision and the complexity of the model of the method for estimating the temperature T(t) (complexity constraining its calculation speed).

(16) The principal physical effects coming into play during the filling are: compression and injection of gas into the tank 1, internal convection between the gas and the wall 3 of the tank 1, external convection between the wall 3 of the tank 1 and the ambient air, and radiation from the external wall 3 of the tank 1 into the atmosphere.

(17) This model may be divided into two subsystems: 1) the gas (hydrogen) and 2) the wall of the tank (liner+composite when it is a question of a composite tank).

(18) Thus, the gas will exchange heat with the wall 3 of the tank 1, which itself will interact with the surrounding medium. Each subsystem is therefore characterized by its own temperature, pressure and mass variables. These subsystems interact with each other and exchange heat in order to reach equilibrium.

(19) In addition, during the filling, the gas injected into the tank 1 from the source 4 has its own enthalpy he.

(20) The amount of heat transferred is related to the transfer area. Therefore, it is essential to know the characteristic dimensions of the tank 1 that are the inside diameter Dint and the inside length Lint. The forced convection related to the movement engendered by the flow of gas entering into the tank will be characterized by the injection diameter di of the injector 2 in the neck of the tank (at the orifice).

(21) To determine the temperature T of the gas in the tank 1, it is necessary to consider the preponderant effects at play in the system in question during the filling phase and having an impact on this temperature. The effects considered are: admission of the gas, i.e. the thermodynamic state of the gas injected into the tank 1 (which differs from that initially present); compression of the gas in the tank 1 (hydrogen heats up when compressed); internal convection (only the wall 3 limits exchange between the interior and exterior of the tank 1 and therefore internal convection allows heat to be evacuated to the exterior); external convection (between the exterior and the tank 1); and radiation between the external wall 3 and the surrounding air (exchange of heat by radiation with the atmosphere due to the difference between the temperature Tw of the wall 3 and the external ambient temperature Tamb).

(22) One preponderant effect is missing from this list. This is conduction in the wall 3 of the tank 1. The following paragraph explains this and the associated assumptions.

(23) According to one advantageous particularity, the composite wall 3 of a type IV tank known per se (liner+reinforcing fibres) is considered to be homogeneous as regards heat exchange (single homogeneous wall the properties of which correspond to the weighted average of each component, the temperature in the thickness of the wall 3 is modelled by a gradient).

(24) All the physical effects described above may be written as mathematical equations. Two energy balances and one equation of state may allow an expression for the temperature T(t) depending on known data to be defined.

(25) As illustrated in FIG. 2, the (known) input data (parameters) may be: constant data, namely: physical properties of hydrogen (H.sub.2), the geometry of the tank (Dint, Lint, etc.), the diameter di of the injector and physical properties of the walls 3; initial conditions (variables), namely: the initial pressure of the gas in the tank P(0), the initial temperature of the gas in the tank 1 T(0), the initial temperature of the wall of the tank Tw(0) and the initial mass of gas in the tank m(0); and the enthalpy he(t) of the injected gas and the pressure P(t) measured as close as possible to the tank 1, for example in the flexible tube 5.

(26) These data are known, calculated or easily measured.

(27) From these input data the model may calculate the following output data: the temperature T(t) of the gas in the tank 1 at the time t; the mass m(t) of the gas in the tank 1 at the time t; and the temperature Tw(t) of the wall of the tank 1 at the time t.

(28) In the variant in FIG. 3, the device is provided with a sensor for measuring the flow rate of the gas entering into the tank 1. In this case, the mass m(t) of gas injected in real time into the tank 1 is an input datum and the pressure P(t) of the gas in the tank is an output (calculated) datum.

(29) The first energy balance equation gives the enthalpy balance for the gas in the tank 1. Three terms have an impact on the enthalpy variation: the first is due to compression of the gas, the second represents convection between the gas and the internal wall of the tank and the third term results from the amount of gas injected into the tank. The equation obtained is:

(30) h t = 1 P t + k g S i m ( T wi - T ) + m . m ( h e - h ) ( Eq . 1 )
where

(31) m=the mass of gas in the tank (in kg);

(32) dh/dt=the time derivative of the enthalpy per unit mass of the gas in the tank (in J.Math.kg.sup.1.Math.s.sup.1);

(33) V=the volume of the tank (in m.sup.3);

(34) dP/dt=the time derivative of the pressure of the gas in the tank (in Pa.Math.s.sup.1);

(35) kg=the coefficient of convective transfer between the gas and the internal wall (in W.Math.m.sup.2.Math.K.sup.1);

(36) Si=the inside area of the wall of the tank (in m.sup.2);

(37) m=the mass of gas in the tank (in kg);

(38) h.sub.e=the enthalpy per unit mass of the gas entering into the tank (in J.Math.kg.sup.1);

(39) h=the enthalpy per unit mass of the gas in the tank (in J.Math.kg.sup.1);

(40) T.sub.wi=the temperature of the internal wall of the tank making direct contact with the gas=(T+T.sub.w)/2. This temperature is assumed to be equal to the average of the temperature T of the gas and that T.sub.w of the wall (in K); and

(41) {dot over (m)}=the mass flow rate entering into the tank (kg.Math.s.sup.1).

(42) To correctly calculate the value of the enthalpy per unit mass, the general definition of the enthalpy h of a real gas is used (see below):

(43) h = Cp T + ( 1 - T ) P ( Eq . 2 )
where

(44) dh=the variation in the enthalpy of the fluid in question (in J.Math.kg.sup.1);

(45) Cp=the specific heat capacity at constant pressure of the fluid in question (in J.Math.kg.sup.1.Math.K.sup.1);

(46) dT=the variation in the temperature of the fluid in question (in K);

(47) =the isochoric compressibility coefficient of the fluid in question (in K.sup.1);

(48) T=the temperature of the fluid in question (in K);

(49) dP=the variation in the pressure of the fluid in question (in Pa); and

(50) =the density of the fluid in question (in kg.Math.m.sup.3).

(51) By inserting the temperature of the gas T, the temperature Tw of the wall and the pressure P of the gas in the tank 1, equation 3 is obtained:

(52) m Cp T t = V T P t + k g S i ( T wi - T ) + m . ( h e - h ) ( Eq . 3 )

(53) The second equation defining the enthalpy balance applied to the wall 3 of the tank is given by Equation 4 below (the three terms on the right of the equation represent the heat transferred to the wall by internal convection, by external convection and by radiation, respectively).

(54) m w Cp w T w t = k g S i ( T - T wi ) + k a S e ( T amb - T we ) + .Math. S e ( T amb 4 - T we 4 ) ( Eq . 4 )
where

(55) k.sub.g=the coefficient of convective transfer between the external wall and the ambient air (in W.Math.m.sup.2.Math.K.sup.1);

(56) S.sub.e=the external area of the wall of the tank (in m.sup.2);

(57) =the emissivity of the external wall of the tank (dimensionless);

(58) =the Stefan-Boltzmann constant (in W.Math.m.sup.2.Math.K.sup.4=5.6710.sup.8);

(59) T.sub.amb=the ambient temperature (in K);

(60) T.sub.we=the temperature of the external surface of the wall of the tank. This temperature is equal to the average of the ambient temperature T.sub.amb and that T.sub.w of the wall T.sub.we=(T.sub.w+T.sub.amb)/2 (in K);

(61) T.sub.wi=the temperature of the internal surface of the wall of the tank (in K);

(62) S.sub.i=the inside area of the wall of the tank (in m.sup.2); and

(63) Cp.sub.w=the specific heat capacity of the wall of the tank (in J.Math.kg.sup.1.Math.K.sup.1).

(64) The third equation is the equation of state applied to the gas in the tank 1.
P.Math.V=n.Math.R.Math.Z(P,T).Math.T(Eq. 5)
where

(65) n=the quantity of material in the tank in mol;

(66) R=ideal gas constant (=8.314 Pa.Math.m.sup.3.Math.mol.sup.1.Math.K.sup.1); and

(67) Z(P, T) is the (dimensionless) compressibility factor of the real gas in question, a function of pressure P and temperature T. This function is known and tabulated for gases as a function of temperature and pressure.

(68) This formula is preferred to the ideal gas law for a wide range of pressures.

(69) It is then possible to express the pressure P in the tank as a function of m (mass) and T (temperature) via Equation 5.

(70) P = R V M Z ( T , P ) m T

(71) Equations 3, 4 and 5 allow the three unknowns (P, T, T.sub.w) to be calculated.

(72) This may be achieved by discretization in order to carry out a step-by-step calculation (for example with the software package Matlab). The numerical process chosen may be a process such as the time explicit Euler process. There is no discretization of space if the model is a zero dimensional (OD) model.

(73) The thermodynamic parameters Cp, , h, Z may be precisely calculated by interpolation from NIST data tables, pressure and temperature (P and T) being known. NIST is the abbreviation of National Institute of Standards and Technology.

(74) In the following equations, the indices t and t1 correspond to the present time t and the preceding time t1, respectively. The derivatives are replaced by variations between two consecutive times.

(75) The following approximation is used: the value of the specific heat capacity of the gas is calculated at (t1) instead of at the time (t). Specifically, since the temperature T(t) is still not known it is not possible to read the value of Cp(t) from a table. This assumption may be made because the specific heat capacity varies little between two consecutive times.

(76) P(t)=(R/V.Math.M).Math.Z(T(t),P(t)).Math.m(t).Math.T(t) approximates to
P(t)=(R/V.Math.M).Math.Z(T(t1),P(t1)).Math.m(t).Math.T(t)(Eq. 6).

(77) By discretizing Equation 3 and by isolating T(t) via Equation 6, it is possible to express T(t) in the following form:

(78) T t = T t - 1 1 - m t - 1 m t A t - 1 1 - A t - 1 + t k gt - 1 S i ( T wt - 1 - T t - 1 ) + ( m t - m t - 1 ) ( h et - 1 - h t - 1 ) m t Cp t - 1 ( 1 - A t - 1 ) , where A t - 1 = t - 1 T t - 1 R Z ( T t - 1 , P t - 1 ) Cp t - 1 M and A t = t T t R Z ( T , P ) Cp t M . ( Eq . 7 )

(79) This equation is a discretized expression of the temperature T(t) of the gas at the time t. This expression can be implemented in an algorithm of the software sensor.

(80) In the same way, it is possible to discretize the last unknown, namely the temperature of the wall T.sub.w(t) obtained from Equation 4:

(81) T w ( t ) = T w ( t - 1 ) + t m w Cp w [ k g ( t - 1 ) S i ( T ( t - 1 ) - T wi ( t - 1 ) ) + k a ( t - 1 ) S e ( T amb ( t - 1 ) - T we ( t - 1 ) ) + .Math. S e ( T amb 4 ( t - 1 ) - T we ( t - 1 ) ) ] ( Eq . 8 )
where

(82) m.sub.w=the mass of the wall in kg;

(83) Cp.sub.w=the (modelled) specific heat capacity of the wall in J.Math.kg.sup.1.Math.K.sup.1;

(84) k.sub.g(t1)=the coefficient of convective heat transfer at the time t1 between the gas and the internal wall in W.Math.m.sup.2.Math.K.sup.1;

(85) k.sub.a(t1)=the coefficient of convective transfer at the time t1 between the external wall and the ambient air in W.Math.m.sup.2.Math.K.sup.1;

(86) S.sub.i=the internal area of the tank in m.sup.2;

(87) S.sub.e=the area of the external wall of the tank in m.sup.2;

(88) T.sub.wi(t1)=the temperature of the internal surface of the wall of the tank at the time (t1) in K;

(89) T.sub.we(t1)=the temperature of the external surface of the wall of the tank at the time (t1) in K; and

(90) =the emissivity of the tank (dimensionless) and =Boltzmann's constant in W.Math.m.sup.2.Math.k.sup.4=5.6710.sup.8.

(91) Equations 6, 7 and 8 allow the three unknowns T(t), T.sub.w(t) and P(t) (or m(t)) to be calculated by iterative calculation.

(92) Expressions for the transfer coefficients k.sub.a and k.sub.g are detailed below.

(93) The heat transfer coefficients, which define the profile of the temperature increase during filling, are expressed via adimensional numbers. When the fluid is in forced flow (case of filling), writing the convection correlations in universal form involves three adimensional numbers: the Nusselt number (Nu=(k.sub.g.Math.Lc)/), the Prandtl number Pr=(.Math.Cp/) and the Reynolds number Re=V.Math.Lc/v, where:

(94) Nu is the (dimensionless) Nusselt number, Pr is the (dimensionless) Prandtl number, Re is the (dimensionless) Reynolds number, Lc is the characteristic length of the tank (in m), is the thermal conductivity of the gas in W.Math.m.sup.1.Math.K.sup.1, v is the kinematic viscosity of the gas in m.sup.2.Math.s.sup.1 and is the dynamic viscosity of the gas in kg.Math.m.sup.1.Math.s.sup.1.

(95) In phases where the mass flow rate entering into the tank is zero (in the pre-filling phase before and after the pressure pulse, during a buffer change, etc.) the convection in the tank is no longer mixed (forced+natural) but only natural. In this case, the number that governs the natural convection is the Grashof number (Gr), but commonly accepted correlations use the Rayleigh number (Ra).

(96) By applying these adimensional numbers to our thermodynamic system, the internal convection in the tank kg and the external convection ka can then be written, with the corresponding indices, as:
k.sub.g=(gas/Lc).Math.Nuint and k.sub.a=(air/Lc).Math.Nuext
where Nuint=the Nusselt number of the gas in the tank and Nuext=the Nusselt number of the air outside the tank.

(97) The value of the Nusselt number is strongly dependent on the reference quantities chosen and the physical meaning intended to be given thereto. In our case the characteristic lengths are defined as Lc=Dint (inside diameter of the tank) for k.sub.g, and Lc=Dext (outside diameter of the tank) for k.sub.a.

(98) The Nusselt number defines the ratio of the heat transmitted by conduction and convection at the limit between a wall and a fluid. The thermal conductivity is a property of the gas varying with pressure P and temperature T and may be precisely calculated for example by interpolation of NIST data.

(99) According to one advantageous particularity, the Nusselt number of the gas is correlated both to the Rayleigh number (Ra) and to the Reynolds number (Re) by the formula:

(100) Nuint=a.Math.Radint.sup.b+c.Math.Red.sup.d in which a is a dimensionless coefficient depending on the ratio (Lint/Dint) of the inside length of the tank Lint in meters to the inside diameter of the tank Dint in meters, c being a dimensionless coefficient depending on the ratio (Dint/di) of the inside diameter of the tank Dint in meters to the diameter di of the injector in meters, a, b, c and d being dimensionless positive real numbers, a being comprised between 0 and 0.2, b being comprised between 0.2 and 0.5, c being comprised between 0 and 0.3 and d being comprised between 0.5 and 0.9.

(101) This expression has been validated experimentally (the temperature T(t) estimated by the software sensor was compared to physical measurements carried out on tanks instrumented with temperature and pressure sensors).

(102) The inventors have observed that this expression gave very satisfactory results for type IV tanks the Lint/Dint ratio of which was comprised between 1.5 and 7 and preferably 1.8 and 6.6 and with a Dint/di ratio comprised between 30 and 80 and preferably between 35.0 and 72.3.

(103) The inventors have observed that the Reynolds number and its associated coefficients (c and d) allow the maximum temperature reached by the gas during a filling operation to be adjusted. For its part, the Rayleigh number and the associated coefficients (a and b) determine the profile of the temperature variation of the gas, in particular before and after the filling phase even though the two actions are combined during filling.

(104) The fidelity of the estimation is particularly high in the case where the dimensionless coefficient a depending on the ratio (Lint/Dint) is given by the formula:
a=a1*exp(a2*(Lint/Dint))
in which exp signifies the exponential function, where a1 is comprised between 0 and 0.04 and a2 is comprised between 0.1 and 0.3; and

(105) the dimensionless coefficient c depending on the ratio (Dint/di) is given by the formula:
c=c1*exp(c2*(Dint/d))
in which exp signifies the exponential function, c1 being comprised between 0 and 0.05 and c2 being comprised between 0.5 and 3.

(106) The (dimensionless) Reynolds number (Red) relating to forced convection in the tank 1 is preferably comprised between 5.610.sup.4 and 2.010.sup.6. In addition, the (dimensionless) Rayleigh number (Radint) relating to natural internal convection in the tank (1) is preferably comprised between 8.010.sup.8 and 1.010.sup.12.

(107) The effectiveness of this model was validated by four test trials combining test beds or actual filling stations and six tanks.

(108) The relative error in the maximum temperature reached at the end of the filling was smaller than 3%. This was equivalent to an average deviation with respect to the measured temperature of about 8 K (the standard deviation being 3.45 K).

(109) By virtue of these results, the method allows the mass m(t) of gas in the tank 1 to be calculated at each time and therefore the mass transferred from the start of the filling to be obtained. Specifically, knowing the pressure and volume and having estimated the temperature, the real gas law allows the quantity of material to be deduced and therefore the mass since the molar mass of hydrogen is known.

(110) According to the method, the temperature during filling may advantageously be estimated in filling stations where dynamic communication with the vehicle is not possible (the pressure and temperature in the tank of the connected vehicle are not communicated to the station).

(111) It will be understood that many additional changes in the details, materials, steps and arrangement of parts, which have been herein described in order to explain the nature of the invention, may be made by those skilled in the art within the principle and scope of the invention as expressed in the appended claims. Thus, the present invention is not intended to be limited to the specific embodiments in the examples given above.