Skip to content

bjyurkovich/battery_model_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battery Model

This repo contains a battery model of a 15Ah LG Chem Automotive Li-Ion (LMO) battery cell. The model is based on the model derivation from this work.

The model parameters were identified using a subspace technique found here. The parameters are simplified in the base model, but can be extended to include, as the paramters can be found in /data/battery_mappings.mat which are dependent on current direction and SOC.

Running the Model

To begin, start your virtual environment:

virtualenv venv
source venv/bin/activate 
pip install -r requirements.txt

If you don't have virtualenv, you may need to pip install virtualenv.

Then just run the model which runs a simple step profile generated in the file battery_model.py:

python battery_model.py

The output is saved in data/output.mat and can be imported into MATLAB for plotting and viewing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published