modelControlledIdealCommutingSwitch
Controlled ideal two-way switch
Information
The ideal leaking controlled electrical commuting switch is built as a macro element from an ideal controlled opening switch and an ideal controlled closing switch.The logic is such that the top switch is considered open and the bottom switch is considered closed, when the real-valued control signal assumes a value larger than a threshold value, called level.
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.Voltage | level | 0.5 | Switch level |
| Modelica.SIunits.Resistance | Ron | 1.E-5 | Closed switch resistance |
| Modelica.SIunits.Conductance | Goff | 1.E-5 | Opened switch conductance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p | Positive electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n2 | Second negative electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n1 | First negative electrical connector | |
| Modelica.Electrical.Analog.Interfaces.Pin | control | Control pin: if control.v > level p--n2 connected, otherwise p--n1 connected |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ControlledIdealOpeningSwitch | Sw1 | ||
| ControlledIdealClosingSwitch | Sw2 |