Energy and exergy analysis of a chemical process system with distributed parameters based on the enthalpy-direction factor diagram | Synapse