Giter Club home page Giter Club logo

Battery Current Flow Optimization using MATLAB

This software tries to implement the battery current flow optimization scheme shown in https://ieeexplore.ieee.org/document/6046111/. However the results obtained did not match the results shown in the paper.

The main scripts are:

  • optim_P3.m: for optimizing the problem P3 as given in the paper.
  • optim_P3_small.m: small version of aforementioned script where all functions are packed in one file.
  • optim_P3_adj.m: an alternative math implementation for solving the problem by me loosly based on the paper.

The math was checked 2 times with symbolic math toolboxes in python (file: math_check_paper_2.ipnb) and MATLAB (files: SymCheck.m and the outputs symbolic_math_check_output.txt as well as html/SymCheck.html) and it was found that the math implemented in this software matches the equations given in the paper.

Whether the problem lies within a misinterpretation of the informaton given in the paper by me, or due to different initial conditions and parameters can not be said at this point. I am making this repository open source in the hope, that it will help people in future.

A report of my findings when analyzing the paper is given in paper_report.md I do not guarantee for correctness though.

When checking the math in the paper before I got a suspicion about a slight error in the math. It is regarding the Appendix where they generate the constraint equation. There they replaced the abs( I_out - I_in ) function with ( I_out + I_in ). At this point they already limited I_out >= 0 and I_in >= 0. However I have the suspicion that this step is not valid. But I doubt that this is the reason for the discrepancy in the results given.

Another thing I noticed is: vk0 (voltage now) is set as a free variable for the optimization to make the math work. This however is not possible since one can not influence the voltage now anymore.

Tobias Glaubach's Projects

Tobias Glaubach doesnโ€™t have any public repositories yet.

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.