Dualfoil.py: Porous Electrochemistry for Rechargeable Batteries

By Lucas Darby Robinson1, R. Edwin García1

1. Purdue University

Open Source Friendly Graphical User Interface for the classic dualfoil (Newman) model

Launch Tool

You must login before you can run this tool.

Version 0.4 - published on 15 Aug 2016

doi:10.4231/D3KP7TS5M cite this

Open source: license | download

View All Supporting Documents



Published on


Dualfoil.py is a flexible application programming interface that allows for hierarchical control over the dualfoil legacy code (Newman model) and visualization modules. It provides the user with the ability to rapidly set up complex, multiscale simulations. By making use of the object oriented nature of Python, dualfoil.py allows the user to generate, organize, and visualize the electrochemical responses from various rechargeable battery systems. This versatile program allows for users of any skill level to achieve robust results in a control oriented and easily deployable manner.

Powered by






Lucas D. Robinson, Contact: R. Edwin García Associate Professor of Materials Engineering School of Materials Engineering Purdue University Neil Armstrong Hall of Engineering 701 West Stadium Avenue West Lafayette, IN 47907-2045 phone: (765) 494-0148 email: redwing@purdue.edu

Special thanks to Prof. John Newman for providing access to his Fortran software.


  1. Doyle, M., Fuller, T., and Newman, J. Modeling of Galvanostatic Charge and Discharge of the Lithium/Polymer/Insertion Cell. J. Electrochem. Soc. 1993, 140, 1526-1533.

  2. Doyle, M., Newman, J., Gozdz, A., Shmutz, C., and Tarascon J.-M. Comparison of Modeling Predictions with Experimental Data from Plastic Lithium Ion Cells. J. Electrochem. Soc. 1996, 143, 1890-1903.

  3. Fuller, T., Doyle, M., Newman, J. Simulation and Optimization of the Dual Lithium Ion Insertion Cell. J. Electrochem. Soc. 1994, 141, 1-10.

  4. Bartol, A., Ely, D. R., Guyer, J., García, R. E. The Virtual Kinetics of Materials Laboratory. 2015.

Cite this work

Researchers should cite this work as follows:

  • Lucas Darby Robinson, R. Edwin García (2016), "Dualfoil.py: Porous Electrochemistry for Rechargeable Batteries," https://nanohub.org/resources/dualfoil. (DOI: 10.4231/D3KP7TS5M).

    BibTex | EndNote