From 8ca2c67451346715b66b15dbe15b2a64999eefec Mon Sep 17 00:00:00 2001 From: Ferran Brosa Planella Date: Fri, 19 Jun 2020 20:27:37 +0200 Subject: [PATCH] #1048 remove old Landesfeind parameter set --- ...conductivity_Landesfeind2019_EC_DMC_1_1.py | 26 --------------- ...conductivity_Landesfeind2019_EC_EMC_3_7.py | 25 --------------- ...nductivity_Landesfeind2019_EMC_FEC_19_1.py | 25 --------------- ...olyte_conductivity_Landesfeind2019_base.py | 32 ------------------- ..._diffusivity_Landesfeind2019_EC_DMC_1_1.py | 26 --------------- ..._diffusivity_Landesfeind2019_EC_EMC_3_7.py | 25 --------------- ...iffusivity_Landesfeind2019_EMC_FEC_19_1.py | 25 --------------- ...rolyte_diffusivity_Landesfeind2019_base.py | 32 ------------------- 8 files changed, 216 deletions(-) delete mode 100644 pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EC_DMC_1_1.py delete mode 100644 pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EC_EMC_3_7.py delete mode 100644 pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EMC_FEC_19_1.py delete mode 100644 pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_base.py delete mode 100644 pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EC_DMC_1_1.py delete mode 100644 pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EC_EMC_3_7.py delete mode 100644 pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EMC_FEC_19_1.py delete mode 100644 pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_base.py diff --git a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EC_DMC_1_1.py b/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EC_DMC_1_1.py deleted file mode 100644 index 73100031b8..0000000000 --- a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EC_DMC_1_1.py +++ /dev/null @@ -1,26 +0,0 @@ -import electrolyte_conductivity_Landesfeind2019_base as base -import numpy as np - - -def electrolyte_conductivity_Landesfeind2019_EC_DMC_1_1(c_e, T): - """ - Conductivity of LiPF6 in EC:DMC (1:1) as a function of ion concentration and - Temperature. The data comes from [1]. - References - ---------- - .. [1] Landesfeind, J. and Gasteiger, H.A., 2019. Temperature and Concentration - Dependence of the Ionic Transport Properties of Lithium-Ion Battery Electrolytes. - Journal of The Electrochemical Society, 166(14), pp.A3079-A3097. - ---------- - c_e: :class:`pybamm.Symbol` - Dimensional electrolyte concentration - T: :class:`pybamm.Symbol` - Dimensional temperature - Returns - ------- - :class:`pybamm.Symbol` - Electrolyte diffusivity - """ - coeffs = np.array([7.98e-1, 2.28e2, -1.22, 5.09e-1, -4e-3, 3.79e-3]) - - return base.electrolyte_conductivity_Landesfeind2019_base(c_e, T, coeffs) diff --git a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EC_EMC_3_7.py b/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EC_EMC_3_7.py deleted file mode 100644 index 0fb646a11c..0000000000 --- a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EC_EMC_3_7.py +++ /dev/null @@ -1,25 +0,0 @@ -import electrolyte_conductivity_Landesfeind2019_base as base -import numpy as np - - -def electrolyte_conductivity_Landesfeind2019_EC_EMC_3_7(c_e, T): - """ - Conductivity of LiPF6 in EC:EMC (3:7) as a function of ion concentration and - Temperature. The data comes from [1]. - References - ---------- - .. [1] Landesfeind, J. and Gasteiger, H.A., 2019. Temperature and Concentration - Dependence of the Ionic Transport Properties of Lithium-Ion Battery Electrolytes. - Journal of The Electrochemical Society, 166(14), pp.A3079-A3097. - ---------- - c_e: :class:`pybamm.Symbol` - Dimensional electrolyte concentration - T: :class:`pybamm.Symbol` - Dimensional temperature - Returns - ------- - :class:`pybamm.Symbol` - Electrolyte diffusivity - """ - coeffs = np.array([5.21e-1, 2.28e2, -1.06, 3.53e-1, -3.59e-3, 1.48e-3]) - return base.electrolyte_conductivity_Landesfeind2019_base(c_e, T, coeffs) diff --git a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EMC_FEC_19_1.py b/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EMC_FEC_19_1.py deleted file mode 100644 index b6b0acb7cf..0000000000 --- a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_EMC_FEC_19_1.py +++ /dev/null @@ -1,25 +0,0 @@ -import electrolyte_conductivity_Landesfeind2019_base as base -import numpy as np - - -def electrolyte_conductivity_Landesfeind2019_EMC_FEC_19_1(c_e, T): - """ - Conductivity of LiPF6 in EMC:FEC (19:1) as a function of ion concentration and - Temperature. The data comes from [1]. - References - ---------- - .. [1] Landesfeind, J. and Gasteiger, H.A., 2019. Temperature and Concentration - Dependence of the Ionic Transport Properties of Lithium-Ion Battery Electrolytes. - Journal of The Electrochemical Society, 166(14), pp.A3079-A3097. - ---------- - c_e: :class:`pybamm.Symbol` - Dimensional electrolyte concentration - T: :class:`pybamm.Symbol` - Dimensional temperature - Returns - ------- - :class:`pybamm.Symbol` - Electrolyte diffusivity - """ - coeffs = np.array([2.51e-2, 1.75e2, 1.23, 2.05e-1, -8.81e-2, 2.83e-3]) - return base.electrolyte_conductivity_Landesfeind2019_base(c_e, T, coeffs) diff --git a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_base.py b/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_base.py deleted file mode 100644 index 50b907ba08..0000000000 --- a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_conductivity_Landesfeind2019_base.py +++ /dev/null @@ -1,32 +0,0 @@ -from pybamm import exp, sqrt - - -def electrolyte_conductivity_Landesfeind2019_base(c_e, T, coeffs): - """ - Conductivity of LiPF6 in solvent_X as a function of ion concentration and - Temperature. The data comes from [1]. - References - ---------- - .. [1] Landesfeind, J. and Gasteiger, H.A., 2019. Temperature and Concentration - Dependence of the Ionic Transport Properties of Lithium-Ion Battery Electrolytes. - Journal of The Electrochemical Society, 166(14), pp.A3079-A3097. - ---------- - c_e: :class:`pybamm.Symbol` - Dimensional electrolyte concentration - T: :class:`pybamm.Symbol` - Dimensional temperature - coeffs: :class:`pybamm.Symbol` - Fitting parameter coefficients - Returns - ------- - :class:`pybamm.Symbol` - Electrolyte diffusivity - """ - c = c_e / 1000 # mol.m-3 -> mol.l - p1, p2, p3, p4, p5, p6 = coeffs - A = p1 * (1 + (T - p2)) - B = 1 + p3 * sqrt(c) + p4 * (1 + p5 * exp(1000 / T)) * c - C = 1 + c ** 4 * (p6 * exp(1000 / T)) - sigma_e = A * c * B / C # mS.cm-1 - - return sigma_e / 10 diff --git a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EC_DMC_1_1.py b/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EC_DMC_1_1.py deleted file mode 100644 index 3d229c9609..0000000000 --- a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EC_DMC_1_1.py +++ /dev/null @@ -1,26 +0,0 @@ -import electrolyte_diffusivity_Landesfeind2019_base as base -import numpy as np - - -def electrolyte_diffusivity_Landesfeind2019_EC_DMC_1_1(c_e, T): - """ - Diffusivity of LiPF6 in EC:DMC (1:1) as a function of ion concentration and - Temperature. The data comes from [1]. - References - ---------- - .. [1] Landesfeind, J. and Gasteiger, H.A., 2019. Temperature and Concentration - Dependence of the Ionic Transport Properties of Lithium-Ion Battery Electrolytes. - Journal of The Electrochemical Society, 166(14), pp.A3079-A3097. - ---------- - c_e: :class:`pybamm.Symbol` - Dimensional electrolyte concentration - T: :class:`pybamm.Symbol` - Dimensional temperature - Returns - ------- - :class:`pybamm.Symbol` - Electrolyte diffusivity - """ - coeffs = np.array([1.47e3, 1.33, -1.69e3, -5.63e2]) - - return base.electrolyte_diffusivity_Landesfeind2019_base(c_e, T, coeffs) diff --git a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EC_EMC_3_7.py b/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EC_EMC_3_7.py deleted file mode 100644 index a3e2b9c17b..0000000000 --- a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EC_EMC_3_7.py +++ /dev/null @@ -1,25 +0,0 @@ -import electrolyte_diffusivity_Landesfeind2019_base as base -import numpy as np - - -def electrolyte_diffusivity_Landesfeind2019_EC_EMC_3_7(c_e, T): - """ - Diffusivity of LiPF6 in EC:EMC (3:7) as a function of ion concentration and - Temperature. The data comes from [1]. - References - ---------- - .. [1] Landesfeind, J. and Gasteiger, H.A., 2019. Temperature and Concentration - Dependence of the Ionic Transport Properties of Lithium-Ion Battery Electrolytes. - Journal of The Electrochemical Society, 166(14), pp.A3079-A3097. - ---------- - c_e: :class:`pybamm.Symbol` - Dimensional electrolyte concentration - T: :class:`pybamm.Symbol` - Dimensional temperature - Returns - ------- - :class:`pybamm.Symbol` - Electrolyte diffusivity - """ - coeffs = np.array([1.01e3, 1.01, -1.56e3, -4.87e2]) - return base.electrolyte_diffusivity_Landesfeind2019_base(c_e, T, coeffs) diff --git a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EMC_FEC_19_1.py b/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EMC_FEC_19_1.py deleted file mode 100644 index 874c3c89f1..0000000000 --- a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_EMC_FEC_19_1.py +++ /dev/null @@ -1,25 +0,0 @@ -import electrolyte_diffusivity_Landesfeind2019_base as base -import numpy as np - - -def electrolyte_diffusivity_Landesfeind2019_EMC_FEC_19_1(c_e, T): - """ - Diffusivity of LiPF6 in EMC:FEC (19:1) as a function of ion concentration and - Temperature. The data comes from [1]. - References - ---------- - .. [1] Landesfeind, J. and Gasteiger, H.A., 2019. Temperature and Concentration - Dependence of the Ionic Transport Properties of Lithium-Ion Battery Electrolytes. - Journal of The Electrochemical Society, 166(14), pp.A3079-A3097. - ---------- - c_e: :class:`pybamm.Symbol` - Dimensional electrolyte concentration - T: :class:`pybamm.Symbol` - Dimensional temperature - Returns - ------- - :class:`pybamm.Symbol` - Electrolyte diffusivity - """ - coeffs = np.array([5.86e2, 1.33, -1.38e3, -5.82e2]) - return base.electrolyte_diffusivity_Landesfeind2019_base(c_e, T, coeffs) diff --git a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_base.py b/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_base.py deleted file mode 100644 index 8491a20f15..0000000000 --- a/pybamm/input/parameters/lithium-ion/electrolytes/lipf6_Landesfeind2019/electrolyte_diffusivity_Landesfeind2019_base.py +++ /dev/null @@ -1,32 +0,0 @@ -from pybamm import exp - - -def electrolyte_diffusivity_Landesfeind2019_base(c_e, T, coeffs): - """ - Conductivity of LiPF6 in solvent_X as a function of ion concentration and - Temperature. The data comes from [1]. - References - ---------- - .. [1] Landesfeind, J. and Gasteiger, H.A., 2019. Temperature and Concentration - Dependence of the Ionic Transport Properties of Lithium-Ion Battery Electrolytes. - Journal of The Electrochemical Society, 166(14), pp.A3079-A3097. - ---------- - c_e: :class:`pybamm.Symbol` - Dimensional electrolyte concentration - T: :class:`pybamm.Symbol` - Dimensional temperature - coeffs: :class:`pybamm.Symbol` - Fitting parameter coefficients - Returns - ------- - :class:`pybamm.Symbol` - Electrolyte diffusivity - """ - c = c_e / 1000 # mol.m-3 -> mol.l - p1, p2, p3, p4 = coeffs - A = p1 * exp(p2 * c) - B = exp(p3 / T) - C = exp(p4 * c / T) - D_e = A * B * C * 1e-10 # m2/s - - return D_e