function h_T_der
import ThermofluidStream.Media.myMedia.Interfaces.Choices;
extends Modelica.Icons.Function;
input IdealGases.Common.DataRecord data "Ideal gas data";
input SI.Temperature T "Temperature";
input Boolean exclEnthForm = excludeEnthalpyOfFormation "If true, enthalpy of formation Hf is not included in specific enthalpy h";
input ThermofluidStream.Media.myMedia.Interfaces.Choices.ReferenceEnthalpy refChoice = referenceChoice "Choice of reference enthalpy";
input SI.SpecificEnthalpy h_off = h_offset "User defined offset for reference enthalpy, if referenceChoice = UserDefined";
input Real dT(unit = "K/s") "Temperature derivative";
output Real h_der(unit = "J/(kg.s)") "Derivative of specific enthalpy at temperature T";
end h_T_der;