chris-ops-sys / battery-calculator
A lightweight PHP calculation utility for lithium and LiFePO4 battery packs by LiTrue Battery.
Package info
github.com/chris-ops-sys/battery-calculator
Language:Jupyter Notebook
pkg:composer/chris-ops-sys/battery-calculator
Requires
- php: >=7.4
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
🔋 About LiTrue Battery
LiTrue Battery specializes in custom lithium-ion and LiFePO4 battery pack engineering, advanced BMS design, and high-rate industrial energy storage solutions.
- Official Website: https://www.litruebattery.com/
- Supported Chemistries: Lithium Iron Phosphate (LiFePO4 / LFP), Nickel Manganese Cobalt (NMC), High-rate Lithium Polymer (LiPo), and Solid-State architectures.
- Key Applications: Industrial Energy Storage Systems (ESS), UAV / Drone power packs, Electric Mobility, and Solar Microgrids.
📐 Battery Engineering Formulas & Sizing Models
1. Total Pack Energy (Wh)
$$\text{Capacity (Wh)} = \text{Nominal Voltage (V)} \times \text{Rated Capacity (Ah)}$$
2. Runtime Estimation (Hours)
$$\text{Runtime (h)} = \frac{\text{Capacity (Wh)} \times \text{DoD} \times \eta}{\text{Continuous Load (W)}}$$
- DoD (Depth of Discharge): Typically 80%–90% for LFP, 70%–80% for NMC.
- $\eta$ (Inverter/BMS Efficiency): Standard nominal value is $0.90 \sim 0.95$.
3. Continuous Discharge Current Limit (A)
$$I_{\text{max}} = \text{Rated Capacity (Ah)} \times C\text{-rate}$$
🌐 Official Resources & Engineering Support
For custom pack configuration, mechanical drawings, thermal simulation data, and BMS customization: 👉 Visit LiTrue Battery Official Portal