Description

A power switch is a very simple Power Component that can be added to the power network. It can control the power that comes through a circuit by opening or closing a series line. The switch is manually controlled and does not have any simulation logic for toggling the switch.


Example Use Cases

  • Managing Circuits: Manually closing specific circuitry power lines when specific events occur
  • Disabling Power: Disabling power network logic with a user event on the Power Bus.

Module Implementation

The switch is a subclass of the Power Component, which manages a component in the network with the simple power properties. The switch manipulates the Is Open Circuit value on the power model, based on its state. It can be toggled, configured and reset based on user input or events.

Internal Components

Similar to the power component, internally the power switch has a resistor. The resistor is set to the resistance of the switch, typically 1Ω, but will be adjusted based on whether the network is open. If the switch is open, the resistance becomes 1TΩ, preventing the current from flowing through the component.


Assumptions/Limitations

  • Due to the limitations of the power component, if the switch is open, the resistance will be a large, but non-infinite, value, causing a tiny, non-zero, current to still trickle through the network.