Battery Cycle-Life Analyzer

Transparent empirical battery capacity-fade fitting and bounded EOL projection

View the Project on GitHub mohammadrezwankhan/battery-cycle-life-analyzer

Battery Cycle-Life Analyzer

Fit transparent empirical capacity-fade models, compare diagnostics, and project battery end of life inside an explicit extrapolation limit.

View the source and documentation | Open the Colab notebook

Linear, power-law, and logarithmic model comparison

What it provides

Quick start

git clone https://github.com/mohammadrezwankhan/battery-cycle-life-analyzer.git
cd battery-cycle-life-analyzer
python -m pip install .
python -m bcla --model all

Model families

For normalized capacity Q(n) at cycle n:

The package reports fit diagnostics before selecting the lowest-RMSE model. An in-window fit is not treated as proof of a trustworthy long-range forecast, so unsupported threshold crossings return no estimate.

Scope and limitations

This is an empirical research and educational baseline, not an electrochemical, pack-safety, or production BMS model. The bundled data are synthetic. Engineering conclusions require representative laboratory data and explicit consideration of chemistry, temperature, protocol, and uncertainty.