Add PyBaMM 26.8 compatibility (#20) · pathsim/pathsim-batt@496d446 · GitHub
Skip to content

Commit 496d446

Browse files
authored
Add PyBaMM 26.8 compatibility (#20)
1 parent 3efd2ac commit 496d446

4 files changed

Lines changed: 28 additions & 26 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 6 additions & 5 deletions

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Thermal sub-model and heat-source options are injected automatically — pass th
7777
| `lead_acid.Full` | `Sulzer2019` | ❌ DAE | ❌ DAE | ✅ | ✅ |
7878
| `equivalent_circuit.Thevenin` | `ECM_Example` | ✅ | ✅ | ✅ ³ | ✅ ³ |
7979

80-
¹ PyBaMM < 26.7 only — from 26.7 on `LOQS` is a DAE, use a `CellCoSim*` block instead.
80+
¹ Not on PyBaMM 26.7 — there `LOQS` is a DAE, use a `CellCoSim*` block instead. It is an ODE again from 26.8 on.
8181

8282
² PyBaMM < 26.7 only — pass `pybamm_solver=pybamm.CasadiSolver(mode="safe")`; the default `IDAKLUSolver` errors on `LOQS`. Fixed in 26.7.
8383

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies = [
3232
# is skipped on Emscripten so the pure-Python parts of the toolbox
3333
# (`pathsim_batt.thermal`) still install in the browser.
3434
# Upper-bounded: each new minor release is vetted before being allowed.
35-
"pybamm>=25.12,<26.8; sys_platform != 'emscripten'",
35+
"pybamm>=25.12,<26.9;sys_platform != 'emscripten'",
3636
]
3737

3838
[project.optional-dependencies]

‎tests/cells/test_lead_acid.py‎

Lines changed: 20 additions & 19 deletions

0 commit comments

Comments
 (0)