Description

The Power Component is a passive resistive element that can be connected to a Power Bus network. It provides a configurable resistance and exposes the voltage, current, and power values computed by the circuit simulation. This class serves as a base for custom power network components and can be used directly for simple resistive loads or pass-through elements.


Example Use Cases

  • Custom Resistive Loads: Model resistive heating elements or simple loads with known resistance values.
  • Pass-Through Elements: Create connection points in a power network with minimal voltage drop.
  • Base for Custom Components: Extend this class to implement specialized power behavior.

Module Implementation

Electrical Properties

The component exposes voltage, current, and power values computed by the Power Bus circuit simulation:

where is the power dissipated (non-positive for passive components), is the voltage drop across the component, and is the current through it.

The resistance can be configured and has a minimum value of to maintain numerical stability. The default resistance is 10 mΩ, suitable for pass-through connections with minimal voltage drop.

Open Circuit State

The component tracks an open circuit state that can be set by the power bus when connected in series with an open switch or blown fuse. When open, the internal resistance is set to to effectively block current flow.

Internal Components

The power component is represented in the SPICE circuit as a single resistor. The resistance value is updated each simulation tick to match the configured value or reflect the open circuit state.


Assumptions/Limitations

  • Voltage and current values are computed by the circuit simulation and cannot be set directly.
  • The component behaves as a purely resistive element; reactive components are not modeled.
  • The minimum resistance clamp prevents division by zero but may introduce small numerical artifacts in extreme cases.