Skip to content

Postprocess modiffications#145

Merged
victorventuri merged 10 commits intomainfrom
postprocess_mods
Aug 13, 2025
Merged

Postprocess modiffications#145
victorventuri merged 10 commits intomainfrom
postprocess_mods

Conversation

@victorventuri
Copy link
Contributor

Small changes to post-processing capabilities. Primarily, allows user to specify Coulombic Efficiency to be used for integration.

Changing the ChargingState schema from 'hold' to 'rest' caused a number of
issues, which should now have been fixed.
The way to assign the simpler control methods is more streamlined. Short rests
are tied only to their duration, independently of how many data points are
present. Other short steps are classified as either pulses if they have >=5 data
points, or short non-rests, in case there are <5 data points. Non-rest steps
that last longer than 30 seconds but have fewer than 5 datapoints are considered
unknown control method.
When computing the control method, we now allow the user to specify what they
wish to consider is a short enough period to be classified as short rest, pulse,
or short non-rest. That value defaults to 30 seconds, as originally intended.
Included additional explanation for some of the pre-specified control methods.
Now, the StateOfCharge RawDataEnhancer takes into account Coulombic Efficiency,
and outputs a third column to the raw dataframe, that of the CE adjusted charge,
meaning, the actual charge in the battery, rather than the one observed by the
cycler. It defaults to 1.0 (100% efficiency), so, by default, this new column
is equivalent to the `'cycled_charge'` column.
@coveralls
Copy link

coveralls commented Aug 13, 2025

Pull Request Test Coverage Report for Build 16947064754

Details

  • 45 of 48 (93.75%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 95.962%

Changes Missing Coverage Covered Lines Changed/Added Lines %
battdat/postprocess/integral.py 24 25 96.0%
battdat/postprocess/tagging.py 12 14 85.71%
Totals Coverage Status
Change from base Build 15493891555: -0.1%
Covered Lines: 1307
Relevant Lines: 1362

💛 - Coveralls

@victorventuri victorventuri merged commit 310a7bd into main Aug 13, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants