Ideal linear electrical resistor
Model of a linear DC resistor that can vary with respect to temperature.
The model implements the Ohm's law
V = R(T) i.
The resistance R(T) varies depending on the temperature T as
R(T) = R (1 + α (T - Tref)),
where the resistance R is the reference value of the resistance, α is the
linear temperature coefficient, and Tref is the reference temperature.
The temperature T is the temperature of the heat port if useHeatPort = true
.
- November 2, 2024, by Michael Wetter:
Changed guarding against division by zero.
This is for
Buildings #4032.
- November 3, 2015, by Michael Wetter:
Set default value for P_nominal
to avoid an error when translating
the model in Dymola's pedantic mode.
- May 14, 2015, by Marco Bonvini:
Changed parent class to
Buildings.Electrical.Interfaces.ResistiveLoad in order
to help openmodelica parsing the model. This fixes issue
#415.
-
February 1, 2013, by Thierry S. Nouidui:
First implementation.
-
May 28, 2014, by Marco Bonvini:
Revised model and documentation.
Generated at 2025-04-03T18:24:42Z
by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos