Package Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Ideal
Ideal components for AC singlephase models

Information

This package hosts ideal models for quasi stationary single phase circuits. Quasi stationary theory for single phase circuits can be found in the references.

See also

MultiPhase.Ideal

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
IdealClosingSwitchIdeal electrical closer
IdealCommutingSwitchIdeal commuting switch
IdealIntermediateSwitchIdeal intermediate switch
IdealOpeningSwitchIdeal electrical opener
IdealTransformerIdeal transformer
IdleIdle branch
ShortShort cut branch

Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Ideal.​Idle
Idle branch

Information

This model is a simple idle branch considering the complex current i = 0.

See also

Short

Extends from Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Interfaces.​OnePort (Two pins, current through).

Connectors

TypeNameDescription
PositivePinpin_pPositive quasi-static single-phase pin
NegativePinpin_nNegative quasi-static single-phase pin

Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Ideal.​Short
Short cut branch

Information

This model is a simple short cut branch considering the complex voltage v = 0.

See also

Idle

Extends from Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Interfaces.​OnePort (Two pins, current through).

Connectors

TypeNameDescription
PositivePinpin_pPositive quasi-static single-phase pin
NegativePinpin_nNegative quasi-static single-phase pin

Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Ideal.​IdealCommutingSwitch
Ideal commuting switch

Information

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).

Parameters

TypeNameDefaultDescription
ResistanceRon1e-5Closed switch resistance
ConductanceGoff1e-5Opened switch conductance
BooleanuseHeatPortfalse=true, if heatPort is enabled
final TemperatureT293.15Fixed device temperature if useHeatPort = false

Connectors

TypeNameDescription
HeatPort_aheatPortConditional heat port
PositivePinp 
NegativePinn2 
NegativePinn1 
input BooleanInputcontroltrue => p--n2 connected, false => p--n1 connected

Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Ideal.​IdealIntermediateSwitch
Ideal intermediate switch

Information

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.

IdealIntermediateSwitch1

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.

IdealIntermediateSwitch2

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).

Parameters

TypeNameDefaultDescription
ResistanceRon1e-5Closed switch resistance
ConductanceGoff1e-5Opened switch conductance
BooleanuseHeatPortfalse=true, if heatPort is enabled
final TemperatureT293.15Fixed device temperature if useHeatPort = false

Connectors

TypeNameDescription
HeatPort_aheatPortConditional heat port
PositivePinp1 
PositivePinp2 
NegativePinn1 
NegativePinn2 
input BooleanInputcontroltrue => p1--n2, p2--n1 connected, otherwise p1--n1, p2--n2 connected

Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Ideal.​IdealOpeningSwitch
Ideal electrical opener

Information

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) and Modelica.​Electrical.​Analog.​Interfaces.​ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).

Parameters

TypeNameDefaultDescription
ResistanceRon1e-5Closed switch resistance
ConductanceGoff1e-5Opened switch conductance
BooleanuseHeatPortfalse=true, if heatPort is enabled
final TemperatureT293.15Fixed device temperature if useHeatPort = false

Connectors

TypeNameDescription
PositivePinpin_pPositive quasi-static single-phase pin
NegativePinpin_nNegative quasi-static single-phase pin
HeatPort_aheatPortConditional heat port
input BooleanInputcontroltrue => switch open, false => p--n connected

Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Ideal.​IdealClosingSwitch
Ideal electrical closer

Information

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) and Modelica.​Electrical.​Analog.​Interfaces.​ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).

Parameters

TypeNameDefaultDescription
ResistanceRon1e-5Closed switch resistance
ConductanceGoff1e-5Opened switch conductance
BooleanuseHeatPortfalse=true, if heatPort is enabled
final TemperatureT293.15Fixed device temperature if useHeatPort = false

Connectors

TypeNameDescription
PositivePinpin_pPositive quasi-static single-phase pin
NegativePinpin_nNegative quasi-static single-phase pin
HeatPort_aheatPortConditional heat port
input BooleanInputcontroltrue => p--n connected, false => switch open

Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Ideal.​IdealTransformer
Ideal transformer

Information

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.

Parameters

TypeNameDefaultDescription
Realn1Ratio of primary to secondary voltage

Connectors

TypeNameDescription
PositivePinpin_p1Primary positive pin
PositivePinpin_p2Secondary positive pin
NegativePinpin_n1Primary negative pin
NegativePinpin_n2Secondary negative pin