Applied thermodynamics for process modeling