Skip to content

Commit

Permalink
exclude composite simulations from esoh calcs
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Jan 16, 2025
1 parent b268689 commit 435b9e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pybamm/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,7 @@ def _get_esoh_solver(self, calc_esoh):
if (
calc_esoh is False
or not isinstance(self._model, pybamm.lithium_ion.BaseModel)
or self._model.options["particle phases"] not in ["1", ("1", "1")]
or self._model.options["working electrode"] != "both"
):
return None
Expand Down

0 comments on commit 435b9e9

Please sign in to comment.