modelPartialTwoPortRLC
Extends from Buildings.Electrical.Interfaces.PartialTwoPort (Model of a generic two port component with phase systems), Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Information
Partial model of a resistance that links two generalized electrical connectors.
The model computes a resistance R(T) that varies depending on the temperature T as
R(T) = Rref (M + T)/(M + Tref),
where the resistance Rref is the reference value of the resistance,
M is the temperature coefficient of the cable material, and
Tref is the reference temperature.
The temperature T is the temperature of the heat port if useHeatPort = true.
The impedance L and the capacity C do not vary with respect to the temperature and are specified by the user.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useHeatPort (from ConditionalHeatPort) | false | = true, if heatPort is enabled |
| SI.Temperature | T (from ConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
| Modelica.Units.SI.Resistance | R | Resistance at temperature T_ref | |
| Modelica.Units.SI.Temperature | T_ref | 298.15 | Reference temperature |
| Modelica.Units.SI.Temperature | M | 507.65 | Temperature constant (R_actual = R*(M + T_heatPort)/(M + T_ref)) |
| Modelica.Units.SI.Capacitance | C | Capacity | |
| Modelica.Units.SI.Inductance | L | Inductance | |
| Nominal conditions | |||
| Modelica.Units.SI.Voltage | V_nominal | Nominal voltage (V_nominal >= 0) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Electrical.Interfaces.BaseTerminal | terminal_n (from PartialBaseTwoPort) | Electric terminal side p | |
| Buildings.Electrical.Interfaces.BaseTerminal | terminal_p (from PartialBaseTwoPort) | Electric terminal side n | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | Conditional heat port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | LossPower (from ConditionalHeatPort) | Loss power leaving component via heatPort | |
| SI.Temperature | T_heatPort (from ConditionalHeatPort) | Temperature of heatPort | |
| Modelica.Units.SI.Resistance | R_actual | Actual resistance = R*(M + T_heatPort)/(M + T_ref) |
Revisions
-
June 3, 2014, by Marco Bonvini:
Added User's guide.