Skip to content

Commit

Permalink
#678 fix dimension typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rtimms committed Oct 25, 2019
1 parent 46b47a1 commit 5143e07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _get_domain_current_variables(self, i_e, domain=None):

variables = {
domain + " electrolyte current density": i_e,
domain + " electrolyte current density [V]": i_e * i_typ,
domain + " electrolyte current density [A.m-2]": i_e * i_typ,
}

return variables
Expand Down
3 changes: 3 additions & 0 deletions pybamm/parameters/standard_parameters_lead_acid.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,9 @@ def U_p_dimensional(c_e, T):
c_n_init = c_e_init
c_p_init = c_e_init

# Thermal effects not implemented for lead-acid, but parameter needed for consistency
Theta = pybamm.Scalar(0) # ratio of typical temperature change to ambient temperature


# --------------------------------------------------------------------------------------
"5. Dimensionless Functions"
Expand Down

0 comments on commit 5143e07

Please sign in to comment.