Modeling of a Vanadium Redox Flow Battery for Energy Storage