Skip to main content

A python module to analyze fast impedance tortuosity measurements.

Project description

FIPT: Fast impedance tortuosity

FIPT is a measurement technique that allows a fast determination of the ionic resistance for battery electrodes. The technique is based on the work by J. Landesfeind (DOI: 10.1149/issn.1945-7111) and then optimized for execution speed and reliability at Battrion.

The measurement setup can be built based on https://github.com/deniz195/fipt

The data aquired in an FIPT measurement can be analyzed by the code in this repository. The code fits an analytical model to the data to determine the relevant parameters of the measurement:

r_ion - Ionic resistance
r_sep - Seperator resistance
chisqr - χ2 as quality of fit
gamma - Phase exponent
q_s   - Capacitance factor

The ionic resistance can be used to calculate the MacMullin number (and the tortuosity), which are important performance parameters of battery electrodes.

Quick analysis

If you want to quickly analyze your impedance data:

Install fipt-analysis:

pip install fipt

Put the test data test_data_001.csv from the examples folder in your current folder. Analyze the data:

python -m fipt ./test_data_001.csv

To analyze your own data, put it in a file with the same format as test_data_001.csv, which is:

Format: CSV
1st column, Frequency in [Hz]
2nd column, Z' in [Ohm] 
3rd column, Z'' in [Ohm]
(Name of columns is not important)

Examples

To see how to analyze fipt data in your own python code, refer to the jupyter notebook demo_fipt.ipynb in the examples folder.

Features and known issues

The code was optimized to allow the fitting and analysis of large numbers of data files, with minimum user intervention. The key features of the code are:

  • Robust estimation of starting parameters from raw data
  • Resistance to outlier data points through use of Student-T likelihood function
  • Ability to verify each fit, through automatic generation of result files (plots, statistics, etc.)

Known issues:

  • The code is currently provided with a minimum of documentation.
  • Calculation of MacMullin number and tortuosity not yet included

Requirements

Required packages are numpy, scipy for data and statistical models and lmfit to perform the model fitting.

It is recommended (but not necessary) to install matplotlib installed, so that fipt-analysis will be able to create plots of the fitting.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

For questions please feel free to reach out to Deniz Bozyigit (dbozyigit@battrion.com)

License

MIT

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

fipt-0.2.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

fipt-0.2.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file fipt-0.2.0.tar.gz.

File metadata

  • Download URL: fipt-0.2.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.2

File hashes

Hashes for fipt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 707903fe5d78b13cd32588a2f8381048402031fe4c8885b07b4959a3a0cd947b
MD5 62b8e1c6b6e9e65e888bd947aeee51ce
BLAKE2b-256 74a7ec3b97ebaab56a75d26d02ca254efee501b196a7050f8fc313c8c08638ab

See more details on using hashes here.

File details

Details for the file fipt-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fipt-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.2

File hashes

Hashes for fipt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52ff0a419704ca07400fde2fd2f23305be491e1cb97920f2b330a12fa00237f5
MD5 29bb702fde0fb5570a67890b1e6612d0
BLAKE2b-256 8d6923cd7cee0953e145867e1c6646bccca8b8d457be28d21981d6fbfab4cfbb

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