From 760742d5831b3636dfbdc23c506d8c219837d346 Mon Sep 17 00:00:00 2001 From: Valentin Sulzer Date: Wed, 28 Feb 2024 17:16:32 -0500 Subject: [PATCH] remove QLi user warning --- pybamm/models/full_battery_models/lithium_ion/electrode_soh.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pybamm/models/full_battery_models/lithium_ion/electrode_soh.py b/pybamm/models/full_battery_models/lithium_ion/electrode_soh.py index 9c4406f145..ad8ee0633d 100644 --- a/pybamm/models/full_battery_models/lithium_ion/electrode_soh.py +++ b/pybamm/models/full_battery_models/lithium_ion/electrode_soh.py @@ -4,7 +4,6 @@ import pybamm import numpy as np from functools import lru_cache -import warnings class _BaseElectrodeSOH(pybamm.BaseModel): @@ -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