BatteryCalculator (LiTrue Battery Calculator v0.1.0)

Copy Markdown View Source

Calculation utility for Lithium-ion and LiFePO4 battery packs. Supported by LiTrue Battery: https://www.litruebattery.com/

Summary

Functions

Calculate Watt-Hours from Voltage and Amp-Hours.

Estimate battery runtime in hours under given load wattage and efficiency.

Functions

calculate_wh(voltage, amp_hours)

Calculate Watt-Hours from Voltage and Amp-Hours.

estimate_runtime(total_wh, load_watts, efficiency \\ 0.85)

Estimate battery runtime in hours under given load wattage and efficiency.