.Modelica.Electrical.Machines.Thermal.linearTemperatureDependency

Information

This is the same function as Modelica.Electrical.Machines.Thermal.convertResistance but without physical units for input RRef and result R. This avoids problems if the function is used to calculate linear temperature dependency for other values than resistances.

From the temperature coefficient alpha20 at 20 degC (equals to 293.15 K) the parameter alphaRef at TRef

                        alpha20
  alphaRef = -------------------------------
              1 + alpha20 * (TRef - 293.15)

is determined; using this value, actual value (e.g. resistance R) with respect to the actual temperature T is calculated by

   R
  ------ = 1 + alphaRef * (T - TRef)
   RRef

where RRef is the value (e.g. resistance) at the reference temperature TRef.

Interface

function linearTemperatureDependency
  extends Modelica.Icons.Function;
  input Real RRef "Value at TRef";
  input Modelica.SIunits.Temperature TRef "Reference temperature";
  input Modelica.SIunits.LinearTemperatureCoefficient alpha20 "Temperature coefficient at 20 degC";
  input Modelica.SIunits.Temperature T "Actual temperature";
  output Real R "Actual value at T";
end linearTemperatureDependency;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39