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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Resistance | Ron | 1.E-5 | Closed switch resistance |
| Modelica.SIunits.Conductance | Goff | 1.E-5 | Opened switch conductance |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p1 | First positive electrical connector | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | p2 | Second positive electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n1 | First negative electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n2 | Second negative electrical connector | |
| Modelica.Blocks.Interfaces.BooleanInput | control | true => p1--n2, p2--n1 connected, otherwise p1--n1, p2--n2 connected | |
| IdealCommutingSwitch | Sw1 | ||
| IdealCommutingSwitch | Sw2 |