Water removal and mass fraction calculation