Skip to content

Commit

Permalink
Grouped SPMe edit (#577)
Browse files Browse the repository at this point in the history
* Add Battery voltage to the variables list
  • Loading branch information
noelhallemans authored Dec 4, 2024
1 parent 2e46801 commit ff0422c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pybop/models/lithium_ion/basic_SPMe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
}

Expand Down

0 comments on commit ff0422c

Please sign in to comment.