Computing the value of Discharge Capacity [Ah]? #1306
Answered
by
brosaplanella
optibikash
asked this question in
Q&A
-
The output of the cyclic aging of the battery done using cycling_ageing_yang.py plots Discharge Capacity [Ah]. How is the value computed in the package? Can I be directed to the file which computes the value of Discharge Capacity [Ah]? |
Beta Was this translation helpful? Give feedback.
Answered by
brosaplanella
Dec 24, 2020
Replies: 1 comment 1 reply
-
It is calculated in def set_rhs(self, variables):
# ODE for discharge capacity
Q = variables["Discharge capacity [A.h]"]
I = variables["Current [A]"]
self.rhs[Q] = I * self.param.timescale / 3600 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
brosaplanella
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is calculated in
pybamm/models/submodels/external_circuit/base_external_circuit.py
where the variable"Discharge capacity [A.h]"
is defined. The computation is done via Coulomb counting defined in