text: In thermodynamics, a departure function is defined for any thermodynamic property as the difference between the property as computed for an ideal gas and the property of the species as it exists in the real world, for a specified temperature T and pressure P.  Common departure functions include those for enthalpy, entropy, and internal energy.
  Departure functions are used to calculate real fluid extensive properties (i.e. properties which are computed as a difference between two states).  A departure function gives the difference between the real state, at a finite volume or non-zero pressure and temperature, and the ideal state, usually at zero pressure or infinite volume and temperature.
  For example, to evaluate enthalpy change between two points h(v,T) and h(v,T) we first compute the enthalpy departure function between volume v and infinite volume at T = T, then add to that the ideal gas enthalpy change due to the temperature change from T to T, then subtract the departure function value between v and infinite volume.
  Departure functions are computed by integrating a function which depends on an equation of state and its derivative.