modelSwitch
Switch kernel, no terminals
Extends from Partials.SwitchBase (Switch base kernel, no terminals).
Information
Use only as component within complete Switch model.
Cleared at first current-zero after opening.
When opening at current <> 0: arc becomes true (open changes from false to true).
When open and i crosses zero: arc becomes false (open does not change).
When closing: arc becomes false (open changes from true to false).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Resistance | epsR (from SwitchBase) | 1e-5 | resistance 'closed' |
| SI.Conductance | epsG (from SwitchBase) | 1e-5 | conductance 'open' |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| InputVoltage | v (from SwitchBase) | ||
| Modelica.Blocks.Interfaces.BooleanInput | closed (from SwitchBase) | true:closed, false:open |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Current | i (from SwitchBase) | ||
| Boolean | arc (from SwitchBase) | arc on | |
| Boolean | open (from SwitchBase) | not closed |