Algorithms for Simulation of Shunt Currents in a Vanadium Redox Flow Battery

This paper presents an algorithm for the implementation of a model that calculates shunt currents in redox flow batteries. The formation patterns of the equivalent electrical circuit that models shunt currents in redox flow batteries are analyzed in such a way that the proposed algorithm is applicab...

Full description

Saved in:
Bibliographic Details
Main Authors: Decebal Aitor Ispas-Gil, Ekaitz Zulueta, Javier Olarte, Jose Manuel Lopez-Guede
Format: Article
Language:English
Published: MDPI AG 2025-06-01
Series:Algorithms
Subjects:
Online Access:https://www.mdpi.com/1999-4893/18/7/397
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849304308952072192
author Decebal Aitor Ispas-Gil
Ekaitz Zulueta
Javier Olarte
Jose Manuel Lopez-Guede
author_facet Decebal Aitor Ispas-Gil
Ekaitz Zulueta
Javier Olarte
Jose Manuel Lopez-Guede
author_sort Decebal Aitor Ispas-Gil
collection DOAJ
description This paper presents an algorithm for the implementation of a model that calculates shunt currents in redox flow batteries. The formation patterns of the equivalent electrical circuit that models shunt currents in redox flow batteries are analyzed in such a way that the proposed algorithm is applicable for batteries with any number of cell stacks and any number of cells per stack. Linear algebra is applied to solve the equation system related to the equivalent electric circuit. The solution of such a system of equations is obtained by performing the inverse of a matrix and premultiplying that matrix on both sides of the equation system. This being rather trivial, the real problem lies in automating the generation of the matrices relative to the system of equations. For this reason, it is analyzed how to generate the matrixes in order to facilitate the implementation of their generation. Finally, the most important parts of the implementation of the resolution algorithm are shown.
format Article
id doaj-art-271f1ce4e9714b27bd6b835795f53f7e
institution Kabale University
issn 1999-4893
language English
publishDate 2025-06-01
publisher MDPI AG
record_format Article
series Algorithms
spelling doaj-art-271f1ce4e9714b27bd6b835795f53f7e2025-08-20T03:55:48ZengMDPI AGAlgorithms1999-48932025-06-0118739710.3390/a18070397Algorithms for Simulation of Shunt Currents in a Vanadium Redox Flow BatteryDecebal Aitor Ispas-Gil0Ekaitz Zulueta1Javier Olarte2Jose Manuel Lopez-Guede3System Engineering and Automation Control Department, University of the Basque Country UPV/EHU, Nieves Cano, 12, 01006 Vitoria-Gasteiz, SpainSystem Engineering and Automation Control Department, University of the Basque Country UPV/EHU, Nieves Cano, 12, 01006 Vitoria-Gasteiz, SpainCentre for Cooperative Research on Alternative Energies (CIC EnergiGUNE), Basque Research and Technology Alliance (BRTA), Alava Technology Park, Albert Einstein 48, 01510 Vitoria-Gasteiz, SpainSystem Engineering and Automation Control Department, University of the Basque Country UPV/EHU, Nieves Cano, 12, 01006 Vitoria-Gasteiz, SpainThis paper presents an algorithm for the implementation of a model that calculates shunt currents in redox flow batteries. The formation patterns of the equivalent electrical circuit that models shunt currents in redox flow batteries are analyzed in such a way that the proposed algorithm is applicable for batteries with any number of cell stacks and any number of cells per stack. Linear algebra is applied to solve the equation system related to the equivalent electric circuit. The solution of such a system of equations is obtained by performing the inverse of a matrix and premultiplying that matrix on both sides of the equation system. This being rather trivial, the real problem lies in automating the generation of the matrices relative to the system of equations. For this reason, it is analyzed how to generate the matrixes in order to facilitate the implementation of their generation. Finally, the most important parts of the implementation of the resolution algorithm are shown.https://www.mdpi.com/1999-4893/18/7/397vanadium redox flow batteryshunt currentssimulationobject-oriented programming
spellingShingle Decebal Aitor Ispas-Gil
Ekaitz Zulueta
Javier Olarte
Jose Manuel Lopez-Guede
Algorithms for Simulation of Shunt Currents in a Vanadium Redox Flow Battery
Algorithms
vanadium redox flow battery
shunt currents
simulation
object-oriented programming
title Algorithms for Simulation of Shunt Currents in a Vanadium Redox Flow Battery
title_full Algorithms for Simulation of Shunt Currents in a Vanadium Redox Flow Battery
title_fullStr Algorithms for Simulation of Shunt Currents in a Vanadium Redox Flow Battery
title_full_unstemmed Algorithms for Simulation of Shunt Currents in a Vanadium Redox Flow Battery
title_short Algorithms for Simulation of Shunt Currents in a Vanadium Redox Flow Battery
title_sort algorithms for simulation of shunt currents in a vanadium redox flow battery
topic vanadium redox flow battery
shunt currents
simulation
object-oriented programming
url https://www.mdpi.com/1999-4893/18/7/397
work_keys_str_mv AT decebalaitorispasgil algorithmsforsimulationofshuntcurrentsinavanadiumredoxflowbattery
AT ekaitzzulueta algorithmsforsimulationofshuntcurrentsinavanadiumredoxflowbattery
AT javierolarte algorithmsforsimulationofshuntcurrentsinavanadiumredoxflowbattery
AT josemanuellopezguede algorithmsforsimulationofshuntcurrentsinavanadiumredoxflowbattery