modelControlledIdealIntermediateSwitch

Controlled ideal intermediate switch

Information

The ideal leaking controlled electrical intermediate switch is built as a macro element from two controlled 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.Voltagelevel0.5Switch level
Modelica.SIunits.ResistanceRon1.E-5Closed switch resistance
Modelica.SIunits.ConductanceGoff1.E-5Opened switch conductance

Connectors

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.Electrical.Analog.Interfaces.PincontrolControl pin: if control.v > level p1--n2, p2--n1 connected, otherwise p1--n1, p2--n2 connected

Components

TypeNameDefaultDescription
ControlledIdealCommutingSwitchSw1
ControlledIdealCommutingSwitchSw2