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.
1 parent 2e147ae commit 43802afCopy full SHA for 43802af
src/pybamm/simulation.py
@@ -1022,8 +1022,7 @@ 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)
1027
or self._model.options["working electrode"] != "both"
1028
):
1029
return None
0 commit comments