functionlinearTemperatureDependency
Converts a value (e.g. resistance) from reference temperature to an actual temperature
Extends from Modelica.Icons.Function (Icon for functions).
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.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | RRef | Value at TRef | |
| SI.Temperature | TRef | Reference temperature | |
| SI.LinearTemperatureCoefficient | alpha20 | Temperature coefficient at 20 degC | |
| SI.Temperature | T | Actual temperature |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | R | Actual value at T |