Thermodynamic analysis of hydrocarbon fluids