From 83239a3d48b9ad5ce1564f16f299d73f590389e2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 20:43:34 +0000 Subject: [PATCH] style: pre-commit fixes --- .../full_battery_models/lithium_ion/basic_ecm_split_OCV.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pybamm/models/full_battery_models/lithium_ion/basic_ecm_split_OCV.py b/src/pybamm/models/full_battery_models/lithium_ion/basic_ecm_split_OCV.py index 5ad9574ab2..7d8d933a20 100644 --- a/src/pybamm/models/full_battery_models/lithium_ion/basic_ecm_split_OCV.py +++ b/src/pybamm/models/full_battery_models/lithium_ion/basic_ecm_split_OCV.py @@ -44,13 +44,13 @@ def __init__(self, name="ECM with split OCV"): # Capacity in each electrode # TODO specify capcity for negative and positive electrodes # may be user-defined - q_n = 1 # Ah - q_p = 1 # Ah + q_n = 1 # Ah + q_p = 1 # Ah Qn = q_n Qp = q_p # State of charge electrode equations - self.rhs[c_n] = - I / Qn / 3600 + self.rhs[c_n] = -I / Qn / 3600 self.rhs[c_p] = I / Qp / 3600 self.initial_conditions[c_n] = param.n.prim.c_init_av / param.n.prim.c_max self.initial_conditions[c_p] = param.p.prim.c_init_av / param.p.prim.c_max