modelIdealClosingSwitch
Ideal leaking switch of analog electrical library
Extends from Interfaces.OnePort.
Information
The ideal leaking electrical closing switch is built in bondgraphic technology from a bond graph Sw2 element, a 1-junction, and three bonds. A-causal bonds must be used here, because the causality depends on the embedding of the switch in its environment. A leaking switch has been used to ensure that the switch will not lead to a division by zero in either switch position, irrespective of the circuit topology.The logic is such that the switch is considered closed, when the Boolean control signal assumes a value of true.
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.Blocks.Interfaces.BooleanInput | control | true/false opened/closed switch |