Mesoscopic modeling and characterization of the porous electrodes for vanadium redox flow batteries