This function computes at the support points Td the derivatives dT/du of the cubic hermite spline approximation to the temperature vs. specific internal energy relation. These derivatives are then used by the function Buildings.HeatTransfer.Conduction.BaseClasses.temperature_u to compute for a given specific internal energy the temperature.
function der_temperature_u input Modelica.Units.SI.SpecificHeatCapacity c "Specific heat capacity"; input Modelica.Units.SI.Temperature TSol "Solidus temperature, used only for PCM."; input Modelica.Units.SI.Temperature TLiq "Liquidus temperature, used only for PCM"; input Modelica.Units.SI.SpecificInternalEnergy LHea "Latent heat of phase change"; input Boolean ensureMonotonicity = false "Set to true to force derivatives dT/du to be monotone"; output Modelica.Units.SI.SpecificInternalEnergy ud[Buildings.HeatTransfer.Conduction.nSupPCM] "Support points for derivatives"; output Modelica.Units.SI.Temperature Td[Buildings.HeatTransfer.Conduction.nSupPCM] "Support points for derivatives"; output Real dT_du[Buildings.HeatTransfer.Conduction.nSupPCM](each fixed = false, each unit = "kg.K2/J") "Derivatives dT/du at the support points"; end der_temperature_u;
Buildings.HeatTransfer.Data.BaseClasses.Material
to the elements of this type as OpenModelica fails to translate the
model if the input to this function is a record.
Buildings.HeatTransfer.Data.BaseClasses.Material
rather than
Buildings.HeatTransfer.Data.Solids.Generic
.