Skip to main content

Python Package for Publicationto perform basic functions on Maccor Battery Cycling Data

Project description

Documentation Status

Preparing MACCOR Data

The maccorcyclingdata package is to be used on the raw data output from the MACCOR battery cyclers and the schedule file input into the MACCOR battery cyclers. The package can also be used to validate the testdata by comparing it against the schedules.

Example

The example.ipynb provides examples where all the functions are used on the given example data. To run this example, simply open and run each cell in the example Jupyter Notebok provided. In the example_data directory, there is example testdata and an example schedule file to show how the data columns should be formatted.

Requirements and Installation

This code has been developed in Python 3.7.6. The code has been tested to run in Windows, Linux, and macOS.

This code uses numpy and pandas as specified in docs/requirements.txt.

The code can be run directly from a cloned GitHub repository or it can also be installed as a python package through pip:

pip install maccorcyclingdata

The functions in the package can be used after importing testdata, schedules, validate for example as follows:

import maccorcyclingdata.testdata as testdata
import maccorcyclingdata.schedules as schedules
import maccorcyclingdata.validate as validate

Compatibility

The raw testdata and schedule file that this package is used on must be csv files. Additionally, the first column of both files should be the header of the datatable. The example uses data exported from MACCOR battery cyclers. The raw testdata should be exported with columns in the following order and with the following units (the names can be anything since the import_maccor_data function will rename all columns):

  1. Cycle Number

  2. Step Number

  3. Total Test Time (seconds)

  4. Step Time (seconds)

  5. Capacity (mAh)

  6. Current (mA)

  7. Voltage (V)

  8. DPt Time (seconds)

  9. Temperature (Celsius)

  10. EV Temperature (Celsius)

The following columns may also exist, but must be named as the following: ACR, DCIR, Watt-hr, and nnnamed.

The schedule should have columns in the following order (the names can be anything since the import_schedules function will rename all columns):

  1. Step Number

  2. Step Type

  3. Step Mode Type

  4. Step Mode Value

  5. Step Limit Type

  6. Step Limit Value

  7. End Type

  8. Operator (=, <=, >=)

  9. End Type Value

  10. Goto Step Number

  11. Report Type

  12. Report Type Value

  13. Options

  14. Step Note

If you encounter any issues running the code for any MACCOR model report an issue. Note that an example file will be needed in order to improve the code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maccorcyclingdata-0.0.1.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maccorcyclingdata-0.0.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file maccorcyclingdata-0.0.1.tar.gz.

File metadata

  • Download URL: maccorcyclingdata-0.0.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for maccorcyclingdata-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fe525876474ae85f28401f7694ca2a12b5f5d609ed7163a9edd85a684b43f1dc
MD5 41510fde26fbe8f58746e23e0aac1257
BLAKE2b-256 5b04a0ad31fe2535b7ce871d8ad4329c4731479d1430ba4c6a07645f424fe31c

See more details on using hashes here.

File details

Details for the file maccorcyclingdata-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: maccorcyclingdata-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for maccorcyclingdata-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7bbfd4f869b101deb2eaa475cb83379265494008d9688e9d320f7e2755cc7406
MD5 fc2187bd9a6551d759659b00e7b96f3e
BLAKE2b-256 c56f78fa0c42382b276ff2c68fbf4438666e84183ddf3b55972d54dc8183b5f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page