.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 SI.Temperature TRef "Reference temperature";
  input SI.LinearTemperatureCoefficient alpha20 "Temperature coefficient at 20 degC";
  input SI.Temperature T "Actual temperature";
  output Real R "Actual value at T";
end linearTemperatureDependency;

Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f