Skip to content

Commit

Permalink
Merge branch 'develop' into pybamm-team#3836-broken-import
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Mar 2, 2024
2 parents eaa99f4 + 2f9f1e2 commit 400b437
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import pybamm
import numpy as np
from functools import lru_cache
import warnings


class _BaseElectrodeSOH(pybamm.BaseModel):
Expand Down Expand Up @@ -527,8 +526,6 @@ def _get_lims(self, inputs):
f"Q_Li={Q_Li:.4f} Ah is outside the range of possible values "
f"[{Q_Li_min:.4f}, {Q_Li_max:.4f}]."
)
if Q_Li > Q_p:
warnings.warn(f"Q_Li={Q_Li:.4f} Ah is greater than Q_p={Q_p:.4f} Ah.")

# Update (tighten) stoich limits based on total lithium content and
# electrode capacities
Expand Down

0 comments on commit 400b437

Please sign in to comment.