modelHeatingResistor
Extends from Modelica.Electrical.Analog.Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n), ObsoleteModelica3.Icons.ObsoleteModel (Icon for an obsolete model (use only for this case)).
Information
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*1.e-6 [1/K]. Resistors are available for 1 .. 7000 ppm/K, i.e., alpha = 1e-6 .. 7e-3 1/K;
When connector heatPort is not connected, the temperature
dependent behaviour is switched off by setting heatPort.T = T_ref.
Additionally, the equation heatPort.Q_flow = 0 is implicitly present
due to a special rule in Modelica that flow variables of not connected
connectors are set to zero.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Resistance | R_ref | 1 | Resistance at temperature T_ref |
| Modelica.SIunits.Temperature | T_ref | 300 | Reference temperature |
| Real | alpha | 0 | Temperature coefficient of resistance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePin | p (from TwoPin) | Positive electrical pin | |
| NegativePin | n (from TwoPin) | Negative electrical pin | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v (from TwoPin) | Voltage drop of the two pins (= p.v - n.v) | |
| SI.Current | i (from OnePort) | Current flowing from pin p to pin n | |
| Modelica.SIunits.Resistance | R | Resistance = R_ref*(1 + alpha*(heatPort.T - T_ref)); |
Revisions
- 2002
by Anton Haumer
initially implemented