Code Monkey home page Code Monkey 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

elasticsearch_dashbard icon elasticsearch_dashbard

plotly dash dashboard for google like document querying of files uploaded from local file system

em icon em

Electromagnetic methods in geophysics - open educational resources.

empymod icon empymod

Full 3D electromagnetic modeller for 1D VTI media

gempy icon gempy

GemPy is an open-source, Python-based 3-D structural geological modeling software, which allows the implicit (i.e. automatic) creation of complex geological models from interface and orientation data. It also offers support for stochastic modeling to adress parameter and model uncertainties.

geostatspy icon geostatspy

Reimplementation of GSLIB, Spatial Data Analytics and Geostatistics in a Python package.

gstools icon gstools

GSTools - A geostatistical toolbox: random fields, variogram estimation, covariance models, kriging and much more

landbosse icon landbosse

New LandBOSSE Model (Developed in 2018-2019)

localgpt icon localgpt

Chat with your documents on your local device using GPT models. No data leaves your device and 100% private.

optimbatterycurrent icon optimbatterycurrent

Battery Current flow optimization in MATAB based on https://ieeexplore.ieee.org/document/6046111/

scratchpad icon scratchpad

A scratchpad for using SimPEG and empymod for simulating and inverting 1D electromagnetic data

simpeg icon simpeg

Simulation and Parameter Estimation in Geophysics - A python package for simulation and gradient based parameter estimation in the context of geophysical applications.

tedsds icon tedsds

Apache Spark - Turbofan Engine Degradation Simulation Data Set example in Apache Spark

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.