Releases: pathsim/pathsim-batt
v0.2.0
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
What's Changed
- Refactor to match PathSim org conventions by @milanofthe in #1
- Refactor to use PathSim solver by @DavidMStraub in #2
New Contributors
- @milanofthe made their first contribution in #1
- @DavidMStraub made their first contribution in #2
Full Changelog: https://github.com/pathsim/pathsim-batt/commits/v0.1.0