Skip to content

Computing the value of Discharge Capacity [Ah]? #1306

Answered by brosaplanella
optibikash asked this question in Q&A
Discussion options

You must be logged in to vote

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

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@optibikash
Comment options

Answer selected by brosaplanella
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants