From ff0422ce224b470023a1b7f63088466905aa300c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=ABl=20Hallemans?= <90609505+noelhallemans@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:00:26 +0000 Subject: [PATCH] Grouped SPMe edit (#577) * Add Battery voltage to the variables list --- pybop/models/lithium_ion/basic_SPMe.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pybop/models/lithium_ion/basic_SPMe.py b/pybop/models/lithium_ion/basic_SPMe.py index 6b7821bb3..8ea8544fa 100644 --- a/pybop/models/lithium_ion/basic_SPMe.py +++ b/pybop/models/lithium_ion/basic_SPMe.py @@ -54,11 +54,13 @@ def __init__(self, name="Single particle model with electrolyte", **model_kwargs include_double_layer = self.options["surface form"] == "differential" pybamm.citations.register("Chen2020") # for the OCPs - pybamm.citations.register(""" + pybamm.citations.register( + """ @article{HallemansPreprint, title={{Hallemans Preprint}}, } - """) + """ + ) ###################### # Variables @@ -373,6 +375,7 @@ def __init__(self, name="Single particle model with electrolyte", **model_kwargs "Discharge capacity [A.h]": Q, "Throughput capacity [A.h]": Qt, "Voltage [V]": V, + "Battery voltage [V]": V, "Open-circuit voltage [V]": U_p - U_n, }