Orbit-level energy balance
The fundamental EPS equation: over one orbit, energy into the battery must at least equal energy out:
(P_array − P_sun) · T_sun · η_chg ≥ P_ecl · T_ecl / η_dis
The simulation integrates SoC minute by minute, clamping at 100% (shunted/regulated) and reporting the minimum. Max DoD = 100% − min SoC; it must respect the cycle-life-derived limit, and the end-of-orbit SoC must recover to its starting value or the battery ratchets down orbit after orbit — the classic death spiral.
All computation runs locally in your browser.