Density = f(temp)
Howdy.
For full tanks, you normally have high level sensors that close the inlet valves when they change from dry to wet. The difference in the loaded mass of fuel comes about because the density of the fuel decreases with increasing temperature.