linearTemperatureDependency

Converts a value (e.g. resistance) from reference temperature to an actual temperature

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

Syntax

R = linearTemperatureDependency(RRef, TRef, alpha20, T)

Inputs (4)

RRef

Type: Real

Description: Value at TRef

TRef

Type: Temperature (K)

Description: Reference temperature

alpha20

Type: LinearTemperatureCoefficient (ยน/K)

Description: Temperature coefficient at 20 degC

T

Type: Temperature (K)

Description: Actual temperature

Outputs (1)

R

Type: Real

Description: Actual value at T