where X is some thermodynamic property at given temperature, volume and mole numbers, X i d is value of the property for an ideal gas, and X r e s is the residual property. The reference state is typically incorporated into the ideal gas contribution to the value, as