Class ParallelCircuit

java.lang.Object
org.episteme.natural.physics.classical.waves.electromagnetism.components.ParallelCircuit
All Implemented Interfaces:
CircuitComponent

public class ParallelCircuit extends Object implements CircuitComponent
Represents a parallel connection of circuit components. The total voltage across each component is the same, and the total current is
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • ParallelCircuit

      public ParallelCircuit()
  • Method Details

    • addComponent

      public void addComponent(CircuitComponent component)
    • getComponents

      public List<CircuitComponent> getComponents()
    • getCurrent

      public Real getCurrent(Real voltage, Real dt)
      Description copied from interface: CircuitComponent
      Calculates the current flowing through the component given the voltage across it.
      Specified by:
      getCurrent in interface CircuitComponent
      Parameters:
      voltage - Voltage across the component (Volts)
      dt - Time step (Seconds) - used for dynamic components
      Returns:
      Current (Amperes)