-
-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04da9c7
commit b1eb67b
Showing
12 changed files
with
115 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
input/parameters/lithium-ion/anodes/graphite_Ecker2015/graphite_ocp_Ecker2015_function.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
from pybamm import exp, tanh | ||
|
||
|
||
def graphite_ocp_Ecker2015_function(sto): | ||
""" | ||
Graphite OCP as a function of stochiometry [1, 2]. | ||
References | ||
---------- | ||
.. [1] Ecker, Madeleine, et al. "Parameterization of a physico-chemical model of | ||
a lithium-ion battery i. determination of parameters." Journal of the | ||
Electrochemical Society 162.9 (2015): A1836-A1848. | ||
.. [2] Ecker, Madeleine, et al. "Parameterization of a physico-chemical model of | ||
a lithium-ion battery ii. model validation." Journal of The Electrochemical | ||
Society 162.9 (2015): A1849-A1857. | ||
---------- | ||
.. [1] http://www.cchem.berkeley.edu/jsngrp/fortran.html | ||
""" | ||
a = 0.716502 | ||
b = 369.028 | ||
c = 0.12193 | ||
d = 35.6478 | ||
e = 0.0530947 | ||
g = 0.0169644 | ||
h = 27.1365 | ||
i = 0.312832 | ||
j = 0.0199313 | ||
k = 28.5697 | ||
m = 0.614221 | ||
n = 0.931153 | ||
o = 36.328 | ||
p = 1.10743 | ||
q = 0.140031 | ||
r = 0.0189193 | ||
s = 21.1967 | ||
t = 0.196176 | ||
|
||
u_eq = ( | ||
a * exp(-b * sto) | ||
+ c * exp(-d * (sto - e)) | ||
- r * tanh(s * (sto - t)) | ||
- g * tanh(h * (sto - i)) | ||
- j * tanh(k * (sto - m)) | ||
- n * exp(o * (sto - p)) | ||
+ q | ||
) | ||
|
||
return u_eq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
input/parameters/lithium-ion/cathodes/LiNiCoO2_Ecker2015/nco_ocp_Ecker2015_function.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
from pybamm import tanh | ||
|
||
|
||
def nco_ocp_Ecker2015_function(sto): | ||
""" | ||
NCO OCP as a function of stochiometry [1, 2]. | ||
References | ||
---------- | ||
.. [1] Ecker, Madeleine, et al. "Parameterization of a physico-chemical model of | ||
a lithium-ion battery i. determination of parameters." Journal of the | ||
Electrochemical Society 162.9 (2015): A1836-A1848. | ||
.. [2] Ecker, Madeleine, et al. "Parameterization of a physico-chemical model of | ||
a lithium-ion battery ii. model validation." Journal of The Electrochemical | ||
Society 162.9 (2015): A1849-A1857. | ||
Parameters | ||
---------- | ||
sto: double | ||
Stochiometry of material (li-fraction) | ||
""" | ||
a = -2.35211 | ||
c = 0.0747061 | ||
d = 31.886 | ||
e = 0.0219921 | ||
g = 0.640243 | ||
h = 5.48623 | ||
i = 0.439245 | ||
j = 3.82383 | ||
k = 4.12167 | ||
m = 0.176187 | ||
n = 0.0542123 | ||
o = 18.2919 | ||
p = 0.762272 | ||
q = 4.23285 | ||
r = -6.34984 | ||
s = 2.66395 | ||
t = 0.174352 | ||
|
||
u_eq = ( | ||
a * sto | ||
- c * tanh(d * (sto - e)) | ||
- r * tanh(s * (sto - t)) | ||
- g * tanh(h * (sto - i)) | ||
- j * tanh(k * (sto - m)) | ||
- n * tanh(o * (sto - p)) | ||
+ q | ||
) | ||
return u_eq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
input/parameters/lithium-ion/separators/separator_Ecker2015/parameters.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Name [units],Value,Reference,Notes | ||
# Empty rows and rows starting with ‘#’ will be ignored,,, | ||
,,, | ||
Separator porosity,50.8,, | ||
Separator porosity,0.508,, | ||
Separator Bruggeman coefficient (electrolyte),1.5,Ecker set uses measured tortuosity, | ||
Separator Bruggeman coefficient (electrode),1.5,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters