Class SeriesCircuit
java.lang.Object
org.episteme.natural.physics.classical.waves.electromagnetism.components.SeriesCircuit
- All Implemented Interfaces:
CircuitComponent
Represents a series connection of circuit components.
The total voltage is the sum of component voltages, and the current is the
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(CircuitComponent component) getCurrent(Real voltage, Real dt) Calculates the current flowing through the component given the voltage across it.
-
Constructor Details
-
SeriesCircuit
public SeriesCircuit()
-
-
Method Details
-
addComponent
-
getComponents
-
getCurrent
Description copied from interface:CircuitComponentCalculates the current flowing through the component given the voltage across it.- Specified by:
getCurrentin interfaceCircuitComponent- Parameters:
voltage- Voltage across the component (Volts)dt- Time step (Seconds) - used for dynamic components- Returns:
- Current (Amperes)
-