modelIdealIntermediateSwitch

Ideal intermediate switch

Information

The ideal leaking electrical intermediate switch is built as a macro element from two two-way switches.

The logic is such that the two switches are connected in parallel, when the Boolean control signal assumes a value of true. The are connected over the cross, when the control signal assumes a value of false.


Parameters:

 Ron:    Leakage resistance in on state (default value = 1e-5 Ohm)

 Goff:   Leakage conductance in off state (default value = 1e-5 Mho)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.ResistanceRon1.E-5Closed switch resistance
Modelica.SIunits.ConductanceGoff1.E-5Opened switch conductance

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp1First positive electrical connector
Modelica.Electrical.Analog.Interfaces.PositivePinp2Second positive electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn1First negative electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn2Second negative electrical connector
Modelica.Blocks.Interfaces.BooleanInputcontroltrue => p1--n2, p2--n1 connected, otherwise p1--n1, p2--n2 connected
IdealCommutingSwitchSw1
IdealCommutingSwitchSw2