Skip to content

Commit 5d001bd

Browse files
committed
#729 update electrolyte params
1 parent 33cf784 commit 5d001bd

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Ecker2015/electrolyte_diffusivity_Ecker2015.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,14 @@ def electrolyte_diffusivity_Ecker2015(c_e, T, T_inf, E_D_e, R_g):
3939

4040
# The diffusivity epends on the electrolyte conductivity
4141
E_k_e = pybamm.Parameter("Electrolyte conductivity activation energy [J.mol-1]")
42-
sigma_e = pybamm.FunctionParameter(
43-
"Electrolyte conductivity [S.m-1]", c_e, T, T_inf, E_k_e, R_g
44-
)
42+
inputs = {
43+
"Electrolyte concentration [mol.m-3]": c_e,
44+
"Temperature [K]": T,
45+
"Reference temperature [K]": T_inf,
46+
"Activation energy [J.mol-1]": E_k_e,
47+
"Ideal gas constant [J.mol-1.K-1]": R_g,
48+
}
49+
sigma_e = pybamm.FunctionParameter("Electrolyte conductivity [S.m-1]", inputs)
4550

4651
# constants
4752
k_b = constants.physical_constants["Boltzmann constant"][0]

0 commit comments

Comments
 (0)