This function computes the equivalent specific heat of moist air as the ratio of change in enthalpy relative to the change in temperature of the air entering and leaving the tower.
function equivalentHeatCapacity extends Modelica.Icons.Function; input Modelica.Units.SI.Temperature TIn "Inlet temperature"; input Modelica.Units.SI.Temperature TOut "Outlet temperature"; output Modelica.Units.SI.SpecificHeatCapacity equivalentHeatCapacity "Equivalent specific heat capacity"; end equivalentHeatCapacity;