跳到主要内容

Toggle Switch

A latching two-position switch. Clicking it during simulation flips between the open and closed states, where it stays until clicked again.

Properties

PropertyDescriptionDefault
LabelDisplay name shown on the canvasSW1
Initial stateState when simulation starts (On / Off)Off
Contact resistanceResistance when closed (Ω)0.05 Ω

Simulation behavior

Click the switch during simulation to toggle between open (off) and closed (on). The state is latching — it does not return to the previous position on release.

The visual indicator on the component body changes between the open and closed symbol so you can see the current state at a glance. Current-flow particles start or stop accordingly.

The initial state property determines what position the switch starts in each time a simulation is launched.

Tips

  • Set initial state to On for normally-closed behavior — the switch starts closed and opens when clicked.
  • Use toggle switches to simulate power-on / power-off events without having to stop and restart the entire simulation.
  • In a shared board, any collaborator can click switches during simulation — use labels to communicate the intended role of each switch.