Skip to content

Commit 435b9e9

Browse files
exclude composite simulations from esoh calcs
1 parent b268689 commit 435b9e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pybamm/simulation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,7 @@ def _get_esoh_solver(self, calc_esoh):
10231023
if (
10241024
calc_esoh is False
10251025
or not isinstance(self._model, pybamm.lithium_ion.BaseModel)
1026+
or self._model.options["particle phases"] not in ["1", ("1", "1")]
10261027
or self._model.options["working electrode"] != "both"
10271028
):
10281029
return None

0 commit comments

Comments
 (0)