Przejdź do głównej zawartości

Battery

A DC voltage source with finite energy capacity. Models real-world battery behavior including internal resistance and voltage sag under load. Use it as the primary power supply for most circuits.

Properties

PropertyDescriptionDefaultRange
VoltageNominal open-circuit voltage (V)9 V1.2 V – 48 V
CapacityTotal stored charge (Ah)2 Ah0.1 Ah – 1 000 Ah
Internal resistanceSeries resistance inside the battery (Ω)0.5 Ω0.01 Ω – 10 Ω
Chemistry typeCell chemistry label (affects display only)AlkalineAlkaline / Li-Ion / NiMH / Lead-Acid

Simulation behavior

The terminal voltage is V_terminal = V_nominal – (I × R_internal). Under heavy load the terminal voltage sags proportionally to internal resistance and current.

Battery capacity depletes over simulation time. When the simulated charge reaches zero, the terminal voltage collapses to 0 V and the circuit stops receiving power. The simulation log records the discharge event.

Simulation time is scaled by the simulation speed setting — a high speed multiplier makes the battery deplete faster on the wall clock.

Tips

  • Increase internal resistance to observe voltage sag and test how your circuit behaves on a weak or aged battery.
  • Set chemistry type to Li-Ion and voltage to 3.7 V or 4.2 V for a single lithium cell — standard in portable electronics.
  • For infinite supply (testing without depletion), set capacity to a very large value like 10 000 Ah.