Transport efficiency and the models for tortuosity factor — PyBaMM v24.1 Manual

Tip

An interactive online version of this notebook is available, which can be accessed via Open this notebook in Google Colab


Alternatively, you may download this notebook and run it offline.

Attention

You are viewing this notebook on the latest version of the documentation, where these notebooks may not be compatible with the stable release of PyBaMM since they can contain features that are not yet released. We recommend viewing these notebooks from the stable version of the documentation. To install the latest version of PyBaMM that is compatible with the latest notebooks, build PyBaMM from source.

Transport efficiency and the models for tortuosity factor#

PyBaMM models utilize a ratio that we refer to as “transport efficiency” \(\mathcal{B}\) which can be applied to transport co-efficients such as the diffusivity in the electrolyte that relates the effective transport property through a porous media comprised of a conducting and non-conducting phase to that of the transport through the bulk of the conducting phase:

\[\mathcal{B} = \frac{X_{eff}}{X_0} = \frac{\epsilon}{\tau},\]

Where \(\epsilon\) is the volume fraction of the conducting phase, the porosity of the electrode for diffusion within the electrolyte, and \(\tau\) is the tortuosity factor. A measure of the effect of the increased pathlength that transported species traverse due to the presence of obstacles.

The tortuosity and tortuosity factor are often used interchangably but this can lead to confusion. Tortusosity is a purely geometric concept relating the length of a winding capillary pathway through a medium with the length of that medium, whereas tortuosity factor relates the the ratio of the transport property which may also depend on other factors such as anisotropic obstacles, boundary conditions of flow and also other physical phenomena such as the average pore size which could induce Knudsen effects.

Many studies have been devoted to understanding relations between \(\tau\) and \(\epsilon\) including those summarized by Shen & Chen. By far the most common is the Bruggeman relation which is explored more recently by Tjaden et al. in the context of materials commonly found in batteries and fuel cells.

A recent study by Usseglio-Viretta et al. found that Bruggeman and similar relations can significantly underpredict the tortuosity factors. If used at all these relations are often more suitable for the cathode where particles are more spherical but should be used with caution for the anode. A more recent trend is to use numerical methods to calculate tortuosity factors directly from image data gathered for electrodes in which case a straight-forward relation with porosity may not exist and is not necessary if factors can be directly supplied.

The remainder of the notebook demonstrates how to use the different options for transport efficiency and supply your own tortuosity factor

[2]:
import pybamm
import numpy as np
[3]:
sols = []
te_opts = pybamm.BatteryModelOptions({}).possible_options["transport efficiency"]
parameter_values = pybamm.ParameterValues("Marquis2019")
print(te_opts)
['Bruggeman', 'ordered packing', 'hyperbola of revolution', 'overlapping spheres', 'tortuosity factor', 'random overlapping cylinders', 'heterogeneous catalyst', 'cation-exchange membrane']
[4]:
parameter_values.search("porosity")
Negative electrode porosity     0.3
Positive electrode porosity     0.3
Separator porosity      1.0
[5]:
parameter_values.search("Bruggeman")
Negative electrode Bruggeman coefficient (electrode)    1.5
Negative electrode Bruggeman coefficient (electrolyte)  1.5
Positive electrode Bruggeman coefficient (electrode)    1.5
Positive electrode Bruggeman coefficient (electrolyte)  1.5
Separator Bruggeman coefficient (electrolyte)   1.5

Add tortuosity factors that replicate the Bruggeman values

[6]:
parameter_values.update(
    {
        "Negative electrode tortuosity factor (electrolyte)": 0.3 ** (-0.5),
        "Positive electrode tortuosity factor (electrolyte)": 0.3 ** (-0.5),
        "Negative electrode tortuosity factor (electrode)": 0.7 ** (-0.5),
        "Positive electrode tortuosity factor (electrode)": 0.7 ** (-0.5),
        "Separator tortuosity factor (electrolyte)": 1.0,
    },
    check_already_exists=False,
)

N.B the differences in the exponent constants used to modify the porosity and solid volume fraction. The existing Bruggeman model applies the exponent directly to the porosity \(\mathcal{B}=\epsilon^{b}=\epsilon^{3/2}\), the tortuosity factor model applies the tortuosity factor with includes the relation on porosity in this case \(\mathcal{B}=\epsilon / \tau = \epsilon / \epsilon^{-1/2} = \epsilon^{3/2}\).

[7]:
for t_label in te_opts:
    model = pybamm.lithium_ion.DFN(
        options={"transport efficiency": t_label}
    )  # Doyle-Fuller-Newman model
    sim = pybamm.Simulation(model, parameter_values=parameter_values)
    sols.append(sim.solve([0, 3600]))  # solve for 1 hour
[8]:
pybamm.dynamic_plot(sols, labels=te_opts)
[8]:
<pybamm.plotting.quick_plot.QuickPlot at 0x105f6705f90>

The Bruggeman and tortuosity factor results should be identical

[9]:
np.allclose(sols[0]["Terminal voltage [V]"].data, sols[4]["Terminal voltage [V]"].data)
[9]:
True

Now increase the tortuosity factors. N.B this will need to be calculated for specific electrodes with given porosity. Changing porosity in the model will not update the tortuosity factor unless a function is supplied for the parameter.

[10]:
parameter_values.update(
    {
        "Negative electrode tortuosity factor (electrolyte)": 4.0,
        "Positive electrode tortuosity factor (electrolyte)": 4.0,
        "Negative electrode tortuosity factor (electrode)": 3.0,
        "Positive electrode tortuosity factor (electrode)": 3.0,
        "Separator tortuosity factor (electrolyte)": 1.5,
    },
    check_already_exists=False,
)
[11]:
model = pybamm.lithium_ion.DFN(
    options={"transport efficiency": "tortuosity factor"}
)  # Doyle-Fuller-Newman model
sim = pybamm.Simulation(model, parameter_values=parameter_values)
sols.append(sim.solve([0, 3600]))
[12]:
pybamm.dynamic_plot(sols, labels=[*te_opts, "higher tortuosity factor"])
[12]:
<pybamm.plotting.quick_plot.QuickPlot at 0x105f8f85fd0>

The higher tortuosity leads to greater overpotential in the electrolyte and lower terminal voltage

[13]:
pybamm.print_citations()
[1] KA Akanni, JW Evans, and IS Abramson. Effective transport coefficients in heterogeneous media. Chemical Engineering Science, 42(8):1945–1954, 1987.
[2] Joel A. E. Andersson, Joris Gillis, Greg Horn, James B. Rawlings, and Moritz Diehl. CasADi – A software framework for nonlinear optimization and optimal control. Mathematical Programming Computation, 11(1):1–36, 2019. doi:10.1007/s12532-018-0139-4.
[3] JW Beeckman. Mathematical description of heterogeneous materials. Chemical engineering science, 45(8):2603–2610, 1990.
[4] Von DAG Bruggeman. Berechnung verschiedener physikalischer konstanten von heterogenen substanzen. i. dielektrizitätskonstanten und leitfähigkeiten der mischkörper aus isotropen substanzen. Annalen der physik, 416(7):636–664, 1935.
[5] Marc Doyle, Thomas F. Fuller, and John Newman. Modeling of galvanostatic charge and discharge of the lithium/polymer/insertion cell. Journal of the Electrochemical society, 140(6):1526–1533, 1993. doi:10.1149/1.2221597.
[6] Charles R. Harris, K. Jarrod Millman, Stéfan J. van der Walt, Ralf Gommers, Pauli Virtanen, David Cournapeau, Eric Wieser, Julian Taylor, Sebastian Berg, Nathaniel J. Smith, and others. Array programming with NumPy. Nature, 585(7825):357–362, 2020. doi:10.1038/s41586-020-2649-2.
[7] JS Mackie and P Meares. The diffusion of electrolytes in a cation-exchange resin membrane i. theoretical. Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences, 232(1191):498–509, 1955.
[8] Scott G. Marquis, Valentin Sulzer, Robert Timms, Colin P. Please, and S. Jon Chapman. An asymptotic derivation of a single particle model with electrolyte. Journal of The Electrochemical Society, 166(15):A3693–A3706, 2019. doi:10.1149/2.0341915jes.
[9] EE Petersen. Diffusion in a pore of varying cross section. AIChE Journal, 4(3):343–345, 1958.
[10] Lihua Shen and Zhangxin Chen. Critical review of the impact of tortuosity on diffusion. Chemical Engineering Science, 62(14):3748–3755, 2007.
[11] Valentin Sulzer, Scott G. Marquis, Robert Timms, Martin Robinson, and S. Jon Chapman. Python Battery Mathematical Modelling (PyBaMM). Journal of Open Research Software, 9(1):14, 2021. doi:10.5334/jors.309.
[12] Manolis M Tomadakis and Stratis V Sotirchos. Transport properties of random arrays of freely overlapping cylinders with various orientation distributions. The Journal of chemical physics, 98(1):616–626, 1993.
[13] Harold L Weissberg. Effective diffusion coefficient in porous media. Journal of Applied Physics, 34(9):2636–2639, 1963.