Skip to content

Commit

Permalink
pre-commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
parkec3 committed Aug 9, 2024
1 parent 80428c9 commit f93e67b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f93e67b

Please sign in to comment.