Giter Club home page Giter Club logo

battery_state_prediction's Introduction

noteId tags
a7b22930795a11ea88acd9ef9a4d234b

Battery state of charge prediction based on machine learning algorithm

Version 1.0 : Re-write the Electric vehicles and batteries simulation model, build a CNN-LSTM model for SOC prediction, the SOH is also considered.

Cooperator

  • Xin Chen: Supervisor
  • Yuchen Zhang: SOC Prediction Model
  • Siyuan Liang, Peiyuan Sun: Electric Vehicles Model
  • Jiali Lu: Investigation

Platform

  • Python: 3.x
  • Pytorch: 0.4+
  • Matlab: R2019a
  • Simulink: 10.0

SOC Prediction Model

Improve prediction accuracy and avoid the high errors near zero point by cutting off the parameter transfers between different batches of data

Howto

  1. Download smallNewModelData dataset from here
  2. Sturcture:
Prediction_Model_v1/
├── smallNewModelData
	├── soc01.csv  
	├── soc01.csv 
	...
├── main.py
    ├── SOC_v1.py
    ├── SOC_test_v1.py
    ├── Data.py
└── net_params.pkl
  1. Modify the path to your actual data path
  2. Run main.py

Hyperparameters

EPOCHES     = 1500
RATE        = 8e-3
HIDDEN_SIZE = 48
Optimizer   = Adam

The pretiction result

  • SOC=83% RMSE=1.76% 83
  • SOC=90% RMSE=1.88% 83

Sturcture

  1. Run main.py to train the model
  2. CNN-LSTM model is defined in Soc_v1.py
  3. Soc_test_v1.py is for testing
  4. Data.py is for data processing, but you don't need to run it
  5. Parameter is in net_params.pkl

Electric Vehicles Model

Howto

  1. Determine the weight, windward area, internal drive efficiency and the numbers of batteries of the simulation objects
  2. Fill them into the corresponding position of the model
  3. The speed and slope is also needed

Vehicles Hardware Module

Structure

vehicles_hardware_module

  1. Operating input module
  2. Automotive speed control module
  3. Torque conversion module
  4. Vehicle kinect module
  5. Power conversion module
  6. Thermodynamics module

Function

  • Get access to the simulation of the vehicle's inner situation under different working states which involve the variation of slope and velocity

  • Figure out the specific power needed from the battery to support the vehicle's work and the

  • State of Charge soc

  • Velocity v

  • Current I

  • Terminal voltage Voltage

Battery Module

Use the PNGV model to descibe the port of the battery

Parameter Identification

  • Lithium battery SOC calculation block diagram based on PNGV model battery_module
  • PNGV equivalent model pngv_e
  • OCV-SOC ocv-soc

Simulation (Initial SOC = 90%)

  • State of Charge soc
  • Temperature t
  • Terminal Voltage v

battery_state_prediction's People

Contributors

eurekwah 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.