Thermodynamics of Chemical Processes