We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ac422a + 7342d4e commit c9cb2bbCopy full SHA for c9cb2bb
src/pybamm/simulation.py
@@ -1022,8 +1022,8 @@ def step(
1022
def _get_esoh_solver(self, calc_esoh):
1023
if (
1024
calc_esoh is False
1025
- or isinstance(self._model, pybamm.lead_acid.BaseModel)
1026
- or isinstance(self._model, pybamm.equivalent_circuit.Thevenin)
+ or not isinstance(self._model, pybamm.lithium_ion.BaseModel)
+ or self._model.options["particle phases"] not in ["1", ("1", "1")]
1027
or self._model.options["working electrode"] != "both"
1028
):
1029
return None
0 commit comments