HeatingResistor

Temperature dependent electrical resistor

    HeatingResistor

Library

Modelica/Electrical/Analog/Basic

Description

This is a model for an electrical resistor where the generated heat is dissipated to the environment via connector heatPort and where the resistance R is temperature dependent according to the following equation:

    R = R_ref*(1 + alpha*(heatPort.T - T_ref))

alpha is the temperature coefficient of resistance, which is often abbreviated as TCR. In resistor catalogues, it is usually defined as X [ppm/K] (parts per million, similarly to percentage) meaning X*1e-6 [1/K]. Resistors are available for 1 .. 7000 ppm/K, i.e., alpha = 1e-6 .. 7e-3 1/K;

Via parameter useHeatPort the heatPort connector can be enabled and disabled (default = enabled). If it is disabled, the generated heat is transported implicitly to an internal temperature source with a fixed temperature of T_ref.

If the heatPort connector is enabled, it must be connected.

Parameters

HeatingResistor_0

NameLabelDescriptionData TypeValid Values

mo_R_ref

R_ref

Resistance at temperature T_ref

Scalar

mo_T_ref

T_ref

Reference temperature

Scalar

mo_alpha

alpha

Temperature coefficient of resistance (R = R_ref*(1 + alpha*(heatPort.T - T_ref))

Scalar

mo_useHeatPort

useHeatPort

=true, if heatPort is enabled

Number

0
1

mo_T

T

Fixed device temperature if useHeatPort = false

Scalar

HeatingResistor_1

NameLabelDescriptionData TypeValid Values

mo_v

v

v

Structure

mo_v/fixed

fixed

Cell of scalars

true
false

mo_v/start

start

Cell of scalars

mo_i

i

i

Structure

mo_i/fixed

fixed

Cell of scalars

true
false

mo_i/start

start

Cell of scalars

mo_LossPower

LossPower

LossPower

Structure

mo_LossPower/fixed

fixed

Cell of scalars

true
false

mo_LossPower/start

start

Cell of scalars

mo_T_heatPort

T_heatPort

T_heatPort

Structure

mo_T_heatPort/fixed

fixed

Cell of scalars

true
false

mo_T_heatPort/start

start

Cell of scalars

mo_R

R

R

Structure

mo_R/fixed

fixed

Cell of scalars

true
false

mo_R/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

p

implicit

Positive electrical pin

input

1

n

implicit

Negative electrical pin

output

1

Port 3

implicit

Conditional heat port

input

mo_useHeatPort