Skip to content

Commit

Permalink
Merge pull request #3849 from pybamm-team/remove-QLi-warning
Browse files Browse the repository at this point in the history
remove QLi user warning
  • Loading branch information
valentinsulzer authored Feb 29, 2024
2 parents 94aa498 + 845c9c7 commit 2f9f1e2
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 2f9f1e2

Please sign in to comment.