Skip to content

Half-cell OCV-R modeling for battery formation dynamics

License

Notifications You must be signed in to change notification settings

chens08/formation-modeling

 
 

Repository files navigation

Formation Modeling

December 2023

Source code for modeling battery formation.

This work is published in the Journal of the Electrochemical Society here.

The code runs on Python 3.8.8.

Getting Started

  1. Clone this repository.

  2. Make sure you have Python 3.8.8 installed. Another version of Python will probably work, but no guarantees!

  3. Set up your Python virtual environment

  • Make sure you're in the root directory of the repo
  • Create the virtual environment: python -m venv venv
    • You should see a new folder called venv
  1. Install the relevant packages
  • Make sure your virtual environment is activated
    • Run source venv/bin/activate
      • You should see (venv) appear on the Terminal prompt
    • Also check that pip is pointing to the instance from the venv, not from system: which pip
  • Install the packages using pip install -r requirements.txt
  1. Download the data files
  • Follow the link in the data folder

To-Do

Numerical Improvements

  • Fix oscillations at higher C-rates and during the CV hold
  • Refactor the numerical integration scheme to be standard form (dxdt = f(x, t, ...)
  • Reparameterize Rn, Ln, Lp based on the full expansion model
  • Fix anode expansion function (there's a kink; the equation from Mohtat2020 may have some typos)
  • Fix $\delta_p + \delta_n \neq \delta_{tot}$ issue
  • Reparameterize $U_n$ and $U_p$ to align with the measured initial full cell voltage before formation

Experiments

  • Define simulation output metrics directly in the model itself for convenience and modularization
    • CE, Qd, and Qc for cycles 1, 2, 3
    • dQ/dV peak positions
  • Run the initial formation charge at different C-rates
  • Run the initial formation charge at different CV hold conditions
  • Run calendar aging experiments at different SOCs following formation

About

Half-cell OCV-R modeling for battery formation dynamics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.5%
  • Python 0.5%