Modeling of Zinc Bromine redox flow battery with application to channel design