Skip to content

Releases: pathsim/pathsim-batt

v0.2.0

15 May 07:45
0bd6114

Choose a tag to compare

This is the second public release of the PathSim battery toolbox and here's what changed since v0.1.0:

Implement cosimulation cells

The cell blocks implemented in the first release use the PathSim solver acting on the equations extracted from PyBaMM. This ensures maximum integration into PathSim, but also has drawbacks:

  • PathSim currently doesn't support differential algebraic equations yet, as required by the Doyle-Fuller-Newman model
  • For maximum flexiblity, it might be helpful to compare the simulation to one using PyBaMM's own solvers

To address this, the two CellCoSimElectrical and CellCoSimElectroThermal blocks have been added. They are identical in inputs/outputs to the original blocks, but use the PyBaMM solver under the hood.

Implemented by @DavidMStraub in #8

Enhancement: stop simulation on voltage cutoffs

Thanks to the new StopSimulation feature in PathSim v0.22, pathsim-batt now automatically stops a simulation when the lower or upper voltage cutoff is reached. Implemented by @DavidMStraub in #14

Consistency & bug fix: heat generation

The electrical cell model returned volumetric heat generation in W/m³, while the lumped thermal model expected Watts. Also the port names differed. Both name and units (W) have been unified now. Implemented by @DavidMStraub in #12.

Moreover, heat generation wasn't calculated at all in the electrical cell model. Fixed by @DavidMStraub in #9

Example notebooks

In the docs/source/examples directory, you can now find 3 pedagogical example notebooks. Implemented by @DavidMStraub in #10

Full Changelog: v0.1.0...v0.2.0

v0.1.0

04 May 13:58

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/pathsim/pathsim-batt/commits/v0.1.0