Coder Social home page Coder Social logo

chens08 / formation-modeling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wengandrew/formation-modeling

0.0 0.0 0.0 76.57 MB

Half-cell OCV-R modeling for battery formation dynamics

License: MIT License

Python 0.54% Jupyter Notebook 99.46%

formation-modeling's Introduction

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

formation-modeling's People

Contributors

wengandrew avatar ikovalch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.