GithubHelp home page GithubHelp logo

hnei-battery-rul's Introduction

Battery RUL prediction using PyTorch

Objectve:

The objective is twofold:

  1. Extract and create new features from the source datasets based on voltage, current, and time.
  2. Predict a battery's remaining useful life (RUL) by developing a feedforward and a Long-Short-Time-Memory (LSTM) neural network using PyTorch.

Motivation: The RUL of a battery can be usually estimated by its capacity (mAH). However, what if the capacity cannot be measured? The idea behind the project is to predict the RUL measuring only voltage (V) and current (A).

Source datasets:

The public datasets can be found here: https://www.batteryarchive.org/list.html 14 databases are selected from the HNEI source. The .csv files are the time series named 'HNEI_18650_NMC_LCO_25C_0-100_0.5/1.5C_'.

Data preprocessing

The publicly available databases for battery life cycles do not provide ready-to-use data for this project. Although they contain different variables such as voltage (V), current (A), time (S), discharge and charge capacity (Ah), and charge and discharge energy (Wh), not all of them can be used for this project. The objective is to use only voltage, current, and time as inputs. Nonetheless, employing these variables directly as inputs is not feasible since they provide meaningless information and are not sufficient to create a model. Therefore, they need to be treated and manipulated as a base to develop new features which the neural network will train with.

In summary, seven features are created from the source datasets using voltage, current, and time. The idea is to use those features to predict the RUL of the battery. The features are summarized in the figures below:

Modules

preprocess_data.py: preprocesses data, creates the features and appends them to a new dataset. This code needs to be run for each and one of the 14 source databases.
join_dataframes.py: it concatenates the 14 dataframes (one for each of the 14 source dataframes) createed by preprocess_data.py.
FeedForward_NN.py: Feedforward neural network.\

Datasets in the repo

The datasets created by preprocess_data.py and the joined dataset can be accessed. However, due to the size of the HNEI source datasets, these are not available in the repository.

hnei-battery-rul's People

Contributors

ignavinuales avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.