Ideal components for AC singlephase models
This package hosts ideal models for quasi stationary single phase circuits. Quasi stationary theory for single phase circuits can be found in the references.
Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
Idle | Idle branch |
Short | Short cut branch |
IdealCommutingSwitch | Ideal commuting switch |
IdealIntermediateSwitch | Ideal intermediate switch |
IdealOpeningSwitch | Ideal electrical opener |
IdealClosingSwitch | Ideal electrical closer |
IdealTransformer | Ideal transformer |
Idle branch
This model is a simple idle branch considering the complex current i = 0.
Extends from Interfaces.OnePort (Two pins, current through).
Name | Description |
---|---|
pin_p | Positive pin |
pin_n | Negative pin |
Short cut branch
This model is a simple short cut branch considering the complex voltage v = 0.
Extends from Interfaces.OnePort (Two pins, current through).
Name | Description |
---|---|
pin_p | Positive pin |
pin_n | Negative pin |
Ideal commuting switch
The commuting switch has a positive pin p and two negative pins n1 and n2. The switching behaviour is controlled by the input signal control. If control is true, the pin p is connected with the negative pin n2. Otherwise, the pin p is connected to the negative pin n1.
In order to prevent singularities during switching, the opened
switch has a (very low) conductance Goff
and the closed switch has a (very low) resistance Ron.
The limiting case is also allowed, i.e., the resistance Ron of the
closed switch could be exactly zero and the conductance Goff of the
open switch could be also exactly zero. Note, there are circuits,
where a description with zero Ron or zero Goff is not possible.
Please note:
In case of useHeatPort=true the temperature dependence of the electrical
behavior is not modelled. The parameters are not temperature dependent.
Use with care: This switch is only intended to be used for structural changes, not for fast switching sequences, due to the quasistationary formulation.
Extends from Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Name | Description |
---|---|
Ron | Closed switch resistance [Ohm] |
Goff | Opened switch conductance [S] |
useHeatPort | =true, if heatPort is enabled |
T | Fixed device temperature if useHeatPort = false [K] |
Name | Description |
---|---|
heatPort | Conditional heat port |
p | |
n2 | |
n1 | |
control | true => p--n2 connected, false => p--n1 connected |
Ideal intermediate switch
The intermediate switch has four switching contact pins p1, p2, n1, and n2. The switching behaviour is controlled by the input signal control. If control is true, the pin p1 is connected to pin n2, and the pin p2 is connected to the pin n2. Otherwise, the pin p1 is connected to n1, and p2 is connected to n2.
In order to prevent singularities during switching, the opened switch has a (very low) conductance Goff and the closed switch has a (very low) resistance Ron.
The limiting case is also allowed, i.e., the resistance Ron of the
closed switch could be exactly zero and the conductance Goff of the
open switch could be also exactly zero. Note, there are circuits,
where a description with zero Ron or zero Goff is not possible.
Please note:
In case of useHeatPort=true the temperature dependence of the electrical
behavior is not modelled. The parameters are not temperature dependent.
Use with care: This switch is only intended to be used for structural changes, not for fast switching sequences, due to the quasistationary formulation.
Extends from Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Name | Description |
---|---|
Ron | Closed switch resistance [Ohm] |
Goff | Opened switch conductance [S] |
useHeatPort | =true, if heatPort is enabled |
T | Fixed device temperature if useHeatPort = false [K] |
Name | Description |
---|---|
heatPort | Conditional heat port |
p1 | |
p2 | |
n1 | |
n2 | |
control | true => p1--n2, p2--n1 connected, otherwise p1--n1, p2--n2 connected |
Ideal electrical opener
The ideal opening switch has a positive pin p and a negative pin n. The switching behaviour is controlled by the input signal control. If control is true, pin p is not connected with negative pin n. Otherwise, pin p is connected with negative pin n.
In order to prevent singularities during switching, the opened
switch has a (very low) conductance Goff
and the closed switch has a (very low) resistance Ron.
The limiting case is also allowed, i.e., the resistance Ron of the
closed switch could be exactly zero and the conductance Goff of the
open switch could be also exactly zero. Note, there are circuits,
where a description with zero Ron or zero Goff is not possible.
Please note:
In case of useHeatPort=true the temperature dependence of the electrical
behavior is not modelled. The parameters are not temperature dependent.
Use with care: This switch is only intended to be used for structural changes, not for fast switching sequences, due to the quasistationary formulation.
Extends from Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.OnePort (Two pins, current through), Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Name | Description |
---|---|
Ron | Closed switch resistance [Ohm] |
Goff | Opened switch conductance [S] |
useHeatPort | =true, if heatPort is enabled |
T | Fixed device temperature if useHeatPort = false [K] |
Name | Description |
---|---|
pin_p | Positive pin |
pin_n | Negative pin |
heatPort | Conditional heat port |
control | true => switch open, false => p--n connected |
Ideal electrical closer
The ideal closing switch has a positive pin p and a negative pin n. The switching behaviour is controlled by input signal control. If control is true, pin p is connected with negative pin n. Otherwise, pin p is not connected with negative pin n.
In order to prevent singularities during switching, the opened
switch has a (very low) conductance Goff
and the closed switch has a (very low) resistance Ron.
The limiting case is also allowed, i.e., the resistance Ron of the
closed switch could be exactly zero and the conductance Goff of the
open switch could be also exactly zero. Note, there are circuits,
where a description with zero Ron or zero Goff is not possible.
Please note:
In case of useHeatPort=true the temperature dependence of the electrical
behavior is not modelled. The parameters are not temperature dependent.
Use with care: This switch is only intended to be used for structural changes, not for fast switching sequences, due to the quasistationary formulation.
Extends from Modelica.Electrical.QuasiStationary.SinglePhase.Interfaces.OnePort (Two pins, current through), Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Name | Description |
---|---|
Ron | Closed switch resistance [Ohm] |
Goff | Opened switch conductance [S] |
useHeatPort | =true, if heatPort is enabled |
T | Fixed device temperature if useHeatPort = false [K] |
Name | Description |
---|---|
pin_p | Positive pin |
pin_n | Negative pin |
heatPort | Conditional heat port |
control | true => p--n connected, false => switch open |
Ideal transformer
The ideal transformer is a two-port circuit element without magnetization. Voltages and currents are ideally transformed:
v1 = v2*n; i2 = -i1*n;
where n
is a real number called the turns ratio.
Name | Description |
---|---|
n | Ratio of primary to secondary voltage |
Name | Description |
---|---|
pin_p1 | Primary positive pin |
pin_p2 | Secondary positive pin |
pin_n1 | Primary negative pin |
pin_n2 | Secondary negative pin |