-
-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 573 implement LGM50 #854
Changes from 75 commits
26621ab
1311b65
63006d5
8594e56
451e973
9e8309f
b0f0fec
8c623d7
73e2c8e
de69496
16ccdb9
1383600
78c4717
7887ea9
8cacf9f
d2dc2b0
b0ba975
063e1b9
d0825be
1b9ee46
84fd3ca
bcf4f36
cd293a9
9e454c9
98ae683
580d979
dd6c5ed
567095e
fdc33e0
135543f
0a7e22e
6e9f8ae
c9f5088
e8ad36f
34a5835
4d18eb8
c654a38
4c1a3d5
d96a1e9
86f9a04
83fa38a
367327b
9f82ccd
2428681
b977426
d254ff8
cc1dbc1
b1e9247
d34816f
466e04a
9b62545
30ccad1
a95e41e
c793dbd
2f0d05d
75ba757
d9910ad
d30a2cc
691ebd5
94dbdff
555b6eb
2127dd7
4a5a17e
1d0b9d5
c75b6fb
f092242
c9d871c
b43c721
c317a43
c99d487
f17ffb9
4e1bc74
f6dd257
249f46d
f62efc8
6bc0eef
06fced3
29d3491
92cff6c
bed5fb2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# LG M50 Graphite anode parameters | ||
|
||
Parameters for a LG M50 graphite anode, from the paper | ||
|
||
> Chang-Hui Chen, Ferran Brosa Planella, Kieran O’Regan, Dominika Gastol, W. Dhammika Widanage, and Emma Kendrick. "Development of Experimental Techniques for Parameterization of Multi-scale Lithium-ion Battery Models." Submitted for publication (2020). | ||
|
||
and references therein. For more information or how to cite please contact Ferran.Brosa-Planella (at) warwick.ac.uk. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
from pybamm import exp | ||
|
||
|
||
def graphite_LGM50_diffusivity_Chen2020(sto, T, T_inf, E_D_s, R_g): | ||
""" | ||
LG M50 Graphite diffusivity as a function of stochiometry, in this case the | ||
diffusivity is taken to be a constant. The value is taken from [1]. | ||
References | ||
---------- | ||
.. [1] Work in progress | ||
Parameters | ||
---------- | ||
sto: :class: `numpy.Array` | ||
Electrode stochiometry | ||
T: :class: `numpy.Array` | ||
Dimensional temperature | ||
T_inf: double | ||
Reference temperature | ||
E_D_s: double | ||
Solid diffusion activation energy | ||
R_g: double | ||
The ideal gas constant | ||
Returns | ||
------- | ||
: double | ||
Solid diffusivity | ||
""" | ||
|
||
D_ref = 3.3e-14 | ||
arrhenius = exp(E_D_s / R_g * (1 / T_inf - 1 / T)) | ||
|
||
return D_ref * arrhenius |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from pybamm import exp | ||
|
||
|
||
def graphite_LGM50_electrolyte_reaction_rate_Chen2020(T, T_inf, E_r, R_g): | ||
""" | ||
Reaction rate for Butler-Volmer reactions between graphite and LiPF6 in EC:DMC. | ||
References | ||
---------- | ||
.. [1] Work in progress | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as above |
||
Parameters | ||
---------- | ||
T: :class: `numpy.Array` | ||
Dimensional temperature | ||
T_inf: double | ||
Reference temperature | ||
E_r: double | ||
Reaction activation energy | ||
R_g: double | ||
The ideal gas constant | ||
Returns | ||
------- | ||
:`numpy.Array` | ||
Reaction rate | ||
""" | ||
|
||
m_ref = 6.48E-7 | ||
arrhenius = exp(E_r / R_g * (1 / T_inf - 1 / T)) | ||
|
||
return m_ref * arrhenius |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
from pybamm import exp, cosh | ||
|
||
|
||
def graphite_LGM50_entropic_change_Chen2020(sto, c_n_max): | ||
""" | ||
Graphite entropic change in open circuit potential (OCP) at a temperature of | ||
298.15K as a function of the stochiometry. Data is not yet available so it is | ||
set to zero. | ||
References | ||
---------- | ||
.. [1] | ||
Parameters | ||
---------- | ||
sto: double | ||
Stochiometry of material (li-fraction) | ||
""" | ||
|
||
du_dT = ( | ||
-1.5 * (120.0 / c_n_max) * exp(-120 * sto) | ||
+ (0.0351 / (0.083 * c_n_max)) * ((cosh((sto - 0.286) / 0.083)) ** (-2)) | ||
- (0.0045 / (0.119 * c_n_max)) * ((cosh((sto - 0.849) / 0.119)) ** (-2)) | ||
- (0.035 / (0.05 * c_n_max)) * ((cosh((sto - 0.9233) / 0.05)) ** (-2)) | ||
- (0.0147 / (0.034 * c_n_max)) * ((cosh((sto - 0.5) / 0.034)) ** (-2)) | ||
- (0.102 / (0.142 * c_n_max)) * ((cosh((sto - 0.194) / 0.142)) ** (-2)) | ||
- (0.022 / (0.0164 * c_n_max)) * ((cosh((sto - 0.9) / 0.0164)) ** (-2)) | ||
- (0.011 / (0.0226 * c_n_max)) * ((cosh((sto - 0.124) / 0.0226)) ** (-2)) | ||
+ (0.0155 / (0.029 * c_n_max)) * ((cosh((sto - 0.105) / 0.029)) ** (-2)) | ||
) | ||
|
||
return du_dT * 0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you should just be able to return 0*sto (and remove the unnecessary function for du_dT), or alternatively just set this to be zero in the .csv instead of a [function] and it should work too. the latter is probably cleaner |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# NMC 811 cathode parameters | ||
|
||
Parameters for an LG M50 NMC cathode, from the paper | ||
|
||
> Chang-Hui Chen, Ferran Brosa Planella, Kieran O’Regan, Dominika Gastol, W. Dhammika Widanage, and Emma Kendrick. "Development of Experimental Techniques for Parameterization of Multi-scale Lithium-ion Battery Models." Submitted for publication (2020). | ||
|
||
and references therein. For more information or how to cite please contact Ferran.Brosa-Planella (at) warwick.ac.uk. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
from pybamm import exp | ||
|
||
|
||
def nmc_LGM50_diffusivity_Chen2020(sto, T, T_inf, E_D_s, R_g): | ||
""" | ||
NMC diffusivity as a function of stoichiometry, in this case the | ||
diffusivity is taken to be a constant. The value is taken from [1]. | ||
References | ||
---------- | ||
.. [1] Work in progress | ||
Parameters | ||
---------- | ||
sto: :class: `numpy.Array` | ||
Electrode stochiometry | ||
T: :class: `numpy.Array` | ||
Dimensional temperature | ||
T_inf: double | ||
Reference temperature | ||
E_D_s: double | ||
Solid diffusion activation energy | ||
R_g: double | ||
The ideal gas constant | ||
Returns | ||
------- | ||
: double | ||
Solid diffusivity | ||
""" | ||
|
||
D_ref = 4e-15 | ||
arrhenius = exp(E_D_s / R_g * (1 / T_inf - 1 / T)) | ||
|
||
return D_ref * arrhenius |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from pybamm import exp | ||
|
||
|
||
def nmc_LGM50_electrolyte_reaction_rate_Chen2020(T, T_inf, E_r, R_g): | ||
""" | ||
Reaction rate for Butler-Volmer reactions between NMC and LiPF6 in EC:DMC. | ||
References | ||
---------- | ||
.. [1] | ||
Parameters | ||
---------- | ||
T: :class: `numpy.Array` | ||
Dimensional temperature | ||
T_inf: double | ||
Reference temperature | ||
E_r: double | ||
Reaction activation energy | ||
R_g: double | ||
The ideal gas constant | ||
Returns | ||
------- | ||
: double | ||
Reaction rate | ||
""" | ||
m_ref = 3.59E-6 | ||
arrhenius = exp(E_r / R_g * (1 / T_inf - 1 / T)) | ||
|
||
return m_ref * arrhenius |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from pybamm import cosh | ||
|
||
|
||
def nmc_LGM50_entropic_change_Chen2020(sto, c_p_max): | ||
""" | ||
NMC entropic change in open circuit potential (OCP) at a temperature of 298.15K | ||
as a function of the stochiometry. The fit is taken from [1]. | ||
References | ||
---------- | ||
.. [1] Work in progress | ||
Parameters | ||
---------- | ||
sto: double | ||
Stochiometry of material (li-fraction) | ||
""" | ||
|
||
du_dT = ( | ||
0.07645 * (-54.4806 / c_p_max) * ((1.0 / cosh(30.834 - 54.4806 * sto)) ** 2) | ||
+ 2.1581 * (-50.294 / c_p_max) * ((cosh(52.294 - 50.294 * sto)) ** (-2)) | ||
+ 0.14169 * (19.854 / c_p_max) * ((cosh(11.0923 - 19.8543 * sto)) ** (-2)) | ||
- 0.2051 * (5.4888 / c_p_max) * ((cosh(1.4684 - 5.4888 * sto)) ** (-2)) | ||
- (0.2531 / 0.1316 / c_p_max) * ((cosh((-sto + 0.56478) / 0.1316)) ** (-2)) | ||
- (0.02167 / 0.006 / c_p_max) * ((cosh((sto - 0.525) / 0.006)) ** (-2)) | ||
) | ||
|
||
return du_dT * 0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# LG M50 cell parameters | ||
|
||
Parameters for an LG M50 cell, from the paper | ||
|
||
> Chang-Hui Chen, Ferran Brosa Planella, Kieran O’Regan, Dominika Gastol, W. Dhammika Widanage, and Emma Kendrick. "Development of Experimental Techniques for Parameterization of Multi-scale Lithium-ion Battery Models." Submitted for publication (2020). | ||
|
||
and references therein. For more information or how to cite please contact Ferran.Brosa-Planella (at) warwick.ac.uk. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# LiPF6 electrolyte parameters | ||
|
||
Parameters for a LiPF6 electrolyte, from the paper | ||
|
||
> A. Nyman, M. Behm, and G. Lindbergh, ["Electrochemical characterisation and modelling of the mass transport phenomena in LiPF6-EC-EMC electrolyte,"](https://www.sciencedirect.com/science/article/pii/S0013468608005045) Electrochim. Acta, vol. 53, no. 22, pp. 6356–6365, 2008. | ||
|
||
and references therein. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
from pybamm import exp | ||
|
||
|
||
def electrolyte_conductivity_Nyman2008(c_e, T, T_inf, E_k_e, R_g): | ||
""" | ||
Conductivity of LiPF6 in EC:EMC (3:7) as a function of ion concentration. The data | ||
comes from [1]. | ||
References | ||
---------- | ||
.. [1] A. Nyman, M. Behm, and G. Lindbergh, "Electrochemical characterisation and | ||
modelling of the mass transport phenomena in LiPF6-EC-EMC electrolyte," | ||
Electrochim. Acta, vol. 53, no. 22, pp. 6356–6365, 2008. | ||
Parameters | ||
---------- | ||
c_e: :class: `numpy.Array` | ||
Dimensional electrolyte concentration | ||
T: :class: `numpy.Array` | ||
Dimensional temperature | ||
T_inf: double | ||
Reference temperature | ||
E_k_e: double | ||
Electrolyte conductivity activation energy | ||
R_g: double | ||
The ideal gas constant | ||
Returns | ||
------- | ||
:`numpy.Array` | ||
Solid diffusivity | ||
""" | ||
|
||
sigma_e = ( | ||
0.1297 * (c_e / 1000) ** 3 | ||
- 2.51 * (c_e / 1000) ** 1.5 | ||
+ 3.329 * (c_e / 1000) | ||
) | ||
|
||
arrhenius = exp(E_k_e / R_g * (1 / T_inf - 1 / T)) | ||
|
||
return sigma_e * arrhenius |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
from pybamm import exp | ||
|
||
|
||
def electrolyte_diffusivity_Nyman2008(c_e, T, T_inf, E_D_e, R_g): | ||
""" | ||
Diffusivity of LiPF6 in EC:EMC (3:7) as a function of ion concentration. The data | ||
comes from [1] | ||
References | ||
---------- | ||
.. [1] A. Nyman, M. Behm, and G. Lindbergh, "Electrochemical characterisation and | ||
modelling of the mass transport phenomena in LiPF6-EC-EMC electrolyte," | ||
Electrochim. Acta, vol. 53, no. 22, pp. 6356–6365, 2008. | ||
Parameters | ||
---------- | ||
c_e: :class: `numpy.Array` | ||
Dimensional electrolyte concentration | ||
T: :class: `numpy.Array` | ||
Dimensional temperature | ||
T_inf: double | ||
Reference temperature | ||
E_D_e: double | ||
Electrolyte diffusion activation energy | ||
R_g: double | ||
The ideal gas constant | ||
Returns | ||
------- | ||
:`numpy.Array` | ||
Solid diffusivity | ||
""" | ||
|
||
D_c_e = ( | ||
8.794E-11 * (c_e / 1000) ** 2 | ||
- 3.972E-10 * (c_e / 1000) | ||
+ 4.862E-10 | ||
) | ||
arrhenius = exp(E_D_e / R_g * (1 / T_inf - 1 / T)) | ||
|
||
return D_c_e * arrhenius |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# 1C discharge from full | ||
|
||
Discharge lithium-ion battery from full charge at 1C, using the initial conditions from the paper | ||
|
||
> Chang-Hui Chen, Ferran Brosa Planella, Kieran O’Regan, Dominika Gastol, W. Dhammika Widanage, and Emma Kendrick. "Development of Experimental Techniques for Parameterization of Multi-scale Lithium-ion Battery Models." Submitted for publication (2020). | ||
|
||
and references therein. For more information or how to cite please contact Ferran.Brosa-Planella (at) warwick.ac.uk. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Separator parameters | ||
|
||
Parameters for an LG M50 separator, from the paper | ||
|
||
> Chang-Hui Chen, Ferran Brosa Planella, Kieran O’Regan, Dominika Gastol, W. Dhammika Widanage, and Emma Kendrick. "Development of Experimental Techniques for Parameterization of Multi-scale Lithium-ion Battery Models." Submitted for publication (2020). | ||
|
||
and references therein. For more information or how to cite please contact Ferran.Brosa-Planella (at) warwick.ac.uk. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,13 @@ | |
multi-physics in varied length scales. Journal of The Electrochemical | ||
Society, 158(8), A955-A969. | ||
|
||
Chen2020 | ||
Chang-Hui Chen, Ferran Brosa Planella, Kieran O’Regan, Dominika Gastol, W. Dhammika | ||
Widanage, and Emma Kendrick. "Development of Experimental Techniques for | ||
Parameterization of Multi-scale Lithium-ion Battery Models." Submitted for | ||
publication (2020). | ||
|
||
|
||
Lead-acid | ||
--------- | ||
Sulzer2019 | ||
|
@@ -49,6 +56,15 @@ | |
"experiment": "1C_discharge_from_full_Kim2011", | ||
} | ||
|
||
Chen2020 = { | ||
"chemistry": "lithium-ion", | ||
"cell": "LGM50_Chen2020", | ||
"anode": "graphite_Chen2020", | ||
"separator": "separator_Chen2020", | ||
"cathode": "nmc_Chen2020", | ||
"electrolyte": "lipf6_Nyman2008", | ||
"experiment": "1C_discharge_from_full_Chen2020", | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. take a look at the latest master (see PR #818)-- you can add a reference here so people know to cite your paper if they use your parameter set There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I talked to @tinosulzer and he said he would do so after the PR is merged. |
||
# | ||
# Lead-acid | ||
# | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this the paper in the readme? info could be added here if so
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!