Appearance
Breaker
Single-phase circuit breaker. Acts as a small R_on resistance when closed and a very large R_off resistance when open. The open/close command comes from a wired control input, a named signal (0 = open, > 0 = close), or a built-in time schedule that toggles the breaker open↔closed at each time in a list (starting from a chosen initial state — no wiring needed). When commanded to open, the breaker holds closed until the through-current can be interrupted — its magnitude falls to the Interrupt-current threshold, or the current crosses zero — modelling current-zero clearing (set the threshold large to open instantly under load, 0 to wait for a natural AC zero); this clearing logic applies to a time-triggered open as well. Optional per-branch current and open/closed-state observables. No arc model.
Category: Single-Phase / Switching
Ports
| Name | Direction | Value type | Notes |
|---|---|---|---|
N1 | electrical | double | |
N2 | electrical | double | |
ctrl | input | double | Visible when trigger_source == 0 |
Parameters
Config
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
resistance_on | R_on | double | 0.001 | Ohms (Ω, kΩ, MΩ) | Closed-state resistance. Pick a unit from the dropdown. |
resistance_off | R_off | double | 1000000000 | Ohms (Ω, kΩ, MΩ) | Open-state resistance. Pick a unit from the dropdown. |
trigger_source | Trigger source | enum (Control input / Named signal / Time triggered) | 0 | — | Where the open/close command comes from. `Control input`: a wired `ctrl` port (hidden for the other sources). `Named signal`: a portless signal resolved by name (GoTo / labelled wire / another component's observable), read 1-step delayed. `Time triggered`: a built-in schedule toggles the breaker open↔closed at each time on the Trigger time(s) list, starting from the Initial state (no wiring needed). For Control input / Named signal, 0 = open, any value > 0 = close. |
trigger_signal_name | Trigger signal name | string | (empty) | — | Name of the published signal that commands the breaker when Trigger source is `Named signal` (0 = open, > 0 = close). Resolved through the shared name registry and read 1-step delayed. Blank reads 0 (breaker stays open). |
trigger_times | Trigger time(s) | string | (empty) | — | Comma-separated trigger times in seconds, e.g. `2` or `2,4,6`. The breaker toggles state (open↔closed) at each time, starting from the Initial state. Blank = never toggles (stays at the Initial state for the whole run). A time-triggered open still respects the Interrupt current threshold below (instant by default). |
initial_state | Initial state | enum (Open / Closed) | 1 | — | Breaker state at t = 0 (the state before the first trigger time), and the symbol drawn on the canvas (Closed = arm bridges the contacts; Open = arm lifted). Time-triggered mode only. |
interrupt_current | Interrupt current | double | 1000000000 | A (A, kA) | Largest through-current the breaker can interrupt the instant it is commanded open. While opening, the breaker stays closed until |I| falls to this value OR the current crosses zero, then opens. Default is very large, so it opens immediately under any load (an abrupt chop; the inductive L·di/dt shows up as a voltage spike). Set 0 to wait for a natural current zero (ideal AC interruption); a small value models a vacuum breaker's chopping current. Note: with 0 on a DC current (no zero crossing) the breaker stays closed. |
measure_current | Measure current | enum (Off / On) | 0 | — | Emit the branch current (A) flowing N1 → N2 as a simulator observable. |
measure_state | Measure state | enum (Off / On) | 0 | — | Emit the breaker's actual pole state as a simulator observable (1 = closed, 0 = open). Useful because the state lags the command while the breaker waits to interrupt. |
Signal Names
| Name | Label | Type | Default | Units | Description |
|---|---|---|---|---|---|
current_name | Current name | string | I | — | Signal name for the measured branch current. Change the default `I` when you have multiple measured components — duplicate ids collide. |
state_name | State name | string | BRK | — | Signal name for the breaker state (1 = closed, 0 = open). Change the default `BRK` when you have multiple measured breakers. |
Observables
| Signal | Type | Default name | Enable | Description |
|---|---|---|---|---|
branchCurrent | signal | from current_name | measure_current | Branch current through the breaker, N1 → N2 (A). |
breakerState | signal | from state_name | measure_state | Breaker pole state (1 = closed, 0 = open). |
