From 5143e07f9c82e9e40fb680bd1e6b807327c5a5e2 Mon Sep 17 00:00:00 2001 From: Robert Timms Date: Fri, 25 Oct 2019 09:04:16 +0100 Subject: [PATCH] #678 fix dimension typo --- .../submodels/electrolyte/base_electrolyte_conductivity.py | 2 +- pybamm/parameters/standard_parameters_lead_acid.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pybamm/models/submodels/electrolyte/base_electrolyte_conductivity.py b/pybamm/models/submodels/electrolyte/base_electrolyte_conductivity.py index 7d685dc7fe..cb3c49e64f 100644 --- a/pybamm/models/submodels/electrolyte/base_electrolyte_conductivity.py +++ b/pybamm/models/submodels/electrolyte/base_electrolyte_conductivity.py @@ -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 diff --git a/pybamm/parameters/standard_parameters_lead_acid.py b/pybamm/parameters/standard_parameters_lead_acid.py index 90840bd316..496d5fb85e 100644 --- a/pybamm/parameters/standard_parameters_lead_acid.py +++ b/pybamm/parameters/standard_parameters_lead_acid.py @@ -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"