/chachies

Primary LanguagePythonMIT LicenseMIT

Charged Chinchillas (ChaChies) *

Package for Battery Cycling Data Visualization and Analysis

This package can be used to take battery cycling data, clean and smooth the data, find and fit peaks to obtain peak locations, widths, and amplitudes, and finally use those descriptors to classify a battery as either a LiCoO2 or a LiFePO4 chemistry. Additionally, there is a DASH based visualization app that can be used to scroll through cycles and better understand the inputted data. This package could be expanded upon to include other battery chemistries, and to be able to handle different formats of data. For a more specific overview of the project, please see the Chachies_FinalProject_Poster.pdf under docs.

How to Install

pip install chachies  

Software Dependencies

  • Python3
  • For python packages see requirements.txt

Organization of the project

app/
    data/
    README.md
    app.py 
chachies/ 
    data/
    tests/
        data/
        README.md
        __init___.py
        test_chachifuncs.py
        test_descriptors.py
    __init__.py
    chachies.py 
    chachifuncs.py
    descriptors.py 
    svc_model.sav
docs/ 
    design/
    ppt/
    README.md
examples/
    Images/ 
    README.md
LICENSE
README.md
requirements.txt
setup.py

Preview of app

Preview

For more see app/

Data Visualization

Make sure to install the following dash libraries

pip install dash==0.21.0  # The core dash backend
pip install dash-renderer==0.11.3  # The dash front-end
pip install dash-html-components==0.9.0  # HTML components
pip install dash-core-components==0.18.1  # Supercharged components
pip install plotly --upgrade  # Latest Plotly graphing library

To run the app run the following in terminal:

python app.py

Which should return

 * Running on http://someurl/ (Press CTRL+C to quit)

Type that URL in browser to launch

*Images taken from Google Images at https://www.redbubble.com/people/ilovepaws/works/28793999-funny-dabbing-chinchilla and http://weclipart.com/cartoon+battery+clipart/d/1708675

Graphical Overview