DiffCapAnalyzer-0.1.1


توضیحات

A package for the quantitative analysis of differential capacity data!
ویژگی مقدار
سیستم عامل OS Independent
نام فایل DiffCapAnalyzer-0.1.1
نام DiffCapAnalyzer
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Nicole Thompson
ایمیل نویسنده nicole.thompson140@gmail.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/DiffCapAnalyzer/
مجوز -
# DiffCapAnalyzer [![Build Status](https://travis-ci.com/nicolet5/DiffCapAnalyzer.svg?branch=master)](https://travis-ci.com/nicolet5/DiffCapAnalyzer) ![Python status](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8-blue) ## Package for Battery Cycling Data Visualization and Analysis This package is intended to quantitatively analyze raw cycling data by identifying and parameterizing peaks found in the differential capacity plots. Differential capacity plots (dQ/dV) can be very powerful for uncovering battery performance characteristics, as the peaks that appear in these plots correspond to the various electrochemical events. However, because of the large amount of data gathered during cycing experiments, many researchers report subsets of cycles and purely qualitative conclusions. This package adds the ability to quantify this type of analysis by cleaning battery cycling datasets and obtaining peak locations, widths, amplitudes, and other descriptors for every charge/discharge cycle in the data. To this end, this tool develops individualized fitted models for each charge and discharge cycle in the data set, comprised of a gaussian baseline and pseudo-voigt distributions at each peak location. Additionally, there is a DASH based visualization app that can be used as the user interface. Users can upload raw cycling data, either collected via a MACCOR or an Arbin cycler. The app will then process the data and add a few files to the database: the raw data, the cleaned data, and the peak descriptors for every cycle. The app also allows users to scroll through cycles and better understand the differential capacity curves. Additionally, there is a section to evaluate the fit of the gaussian baseline, and tailor the peak finding process. The user can also download the peak descriptors using the "Download CSV" file button in the app. Additionally, some machine learning was done to classify between two different cathode chemistries, LiCoO2 and LiFePO4. Data sets for these chemistries were obtained from the CALCE website(https://web.calce.umd.edu/batteries/data.htm). Once this data was cleaned and labelled, a 20-80 test-train split was done and a support vector classifier was utilized, with a final test set accuracy of 77%. ### Software Dependencies - Python3 - For python packages see requirements.txt ### How to Install To run the app and fully utilize DiffCapAnalyzer and the corresponding examples, simply clone this repo an from the top directory run: ``` pip install -Ur requirements.txt ``` This will install all packages necessary for DiffCapAnalyzer. To use DiffCapAnalyzer outside of the app, you can also pip install: ``` pip install diffcapanalyzer ``` This will install the DiffCapAnalyzer modules for use in the example notebooks, or for using the core modules outside of the Dash app. ## Dash App 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 or copy that URL in browser to launch the app locally. ## Organization of the project ``` | app.py | LICENSE | README.md | requirements.txt | runTests | setup.py | __init__.py | +---data | +---ARBIN | | | README.md | | | | | +---CS2_33 | | | | | \---K2_016 | | | +---databases | | dQdV.db | | init_database.db | | | +---MACCOR | | example_data.csv | | | \---ML_data | c_descriptors.xlsx | descriptors_without_heights.xlsx | final_descriptors.xlsx | k_descriptors.xlsx | svc_model.sav | svc_results.png | +---diffcapanalyzer | app_helper_functions.py | chachifuncs.py | databasefuncs.py | databasewrappers.py | descriptors.py | __init__.py | +---docs | | Poster.pdf | | | +---images | | diagram.png | | | \---paper | | paper.md | | | \---images | cleaning_dqdv.png | fitting_dqdv.png | +---examples | | ProcessData_PlotDescriptors_Examples.ipynb | | | \---ML | SVC_Model.ipynb | \---tests | test_app_helper_functions.py | test_chachifuncs.py | test_databasefuncs.py | test_databasewrappers.py | test_descriptors.py | __init__.py | \---test_data test_data.csv test_data_mac.csv ``` ## Data Requirements At the moment, the package can only process CSV files and relies on specific column headers for each type of file (Arbin vs. Maccor). Please reference the `data` directory for example files. The column headers for each data type must include and appear exactly as the following: * Arbin: * Cycle_Index * Data_Point * Voltage(V) * Current(A) * Discharge_Capacity(Ah) * Charge_Capacity(Ah) * Step_Index * MACCOR: * Rec * Cycle C Step * TestTime * StepTime * Cap. [Ah] * Voltage [V] * Md * Current [A]


نیازمندی

مقدار نام
>=0.9.18 asteval
>=1.3.0 atomicwrites
>=19.3.0 attrs
>=2019.11.28 certifi
>=3.0.4 chardet
>=7.0 Click
>=0.4.3 colorama
>=5.0.3 coverage
>=0.10.0 cycler
>=1.8.0 dash
>=1.7.0 dash-core-components
>=1.0.2 dash-html-components
>=1.2.3 dash-renderer
>=4.6.0 dash-table
>=0.6.0 dash-table-experiments
>=1.1.1 Flask
>=1.4.0 Flask-Compress
>=0.18.2 future
>=2.8 idna
>=1.1.0 itsdangerous
>=2.10.3 Jinja2
>=1.1.0 kiwisolver
>=1.0.0 lmfit
>=1.1.1 MarkupSafe
>=3.1.2 matplotlib
>=8.1.0 more-itertools
>=1.18.1 numpy
>=20.1 packaging
>=0.25.3 pandas
>=1.3.3 PeakUtils
>=4.5.0 plotly
>=0.13.1 pluggy
>=1.8.1 py
>=2.4.6 pyparsing
>=5.3.4 pytest
>=2.8.1 pytest-cov
>=2.8.1 python-dateutil
>=2019.3 pytz
>=2.22.0 requests
>=1.3.3 retrying
>=1.4.1 scipy
>=1.14.0 six
>=0.8.0 ua-parser
>=3.1.2 uncertainties
>=1.25.8 urllib3
>=0.1.8 wcwidth
>=0.16.0 Werkzeug
>=0.2 wincertstore


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl DiffCapAnalyzer-0.1.1:

    pip install DiffCapAnalyzer-0.1.1.whl


نصب پکیج tar.gz DiffCapAnalyzer-0.1.1:

    pip install DiffCapAnalyzer-0.1.1.tar.gz