From the temperature coefficient alpha1
at
temperature T1
(default 20 degC = 293.15 K) the
temperature coefficient alpha2
at temperature
T2
is calculated:
alpha1 alpha2 = ------------------------ 1 + alpha1 * (T2 - T1)
function convertAlpha extends Modelica.Icons.Function; input Modelica.SIunits.LinearTemperatureCoefficient alpha1 "Temperature coefficient at temperature 1 (default: 20 degC)"; input Modelica.SIunits.Temperature T2 "Temperature 2"; input Modelica.SIunits.Temperature T1 = 293.15 "Temperature 1 (default: 20 degC)"; output Modelica.SIunits.LinearTemperatureCoefficient alpha2 "Temperature coefficient at TRef"; end convertAlpha;