ROVI-org / battery-data-toolkit

Utilities for reading and manipulating battery testing data
https://rovi-org.github.io/battery-data-toolkit/
Apache License 2.0
39 stars 8 forks source link

Change how we compute cell capacity and energy #50

Closed WardLT closed 7 months ago

WardLT commented 8 months ago

Overhauls how we compute integral quantities, such as how we compute the capacity and energy change during a cycle.

Our previous implementation relied on integrals split over steps, which relied on correct determination of when a battery is being charged/held/etc and introduced opportunities for numerical issues.

This new version has a simpler implementation (just integrate over the entire cycle) and introduces simple test cases to ensure the batteries are correct.

Fixes #56

coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 8738801161

Details


Totals Coverage Status
Change from base Build 8622550679: 0.4%
Covered Lines: 649
Relevant Lines: 799

💛 - Coveralls