Towards Real-Time Simulation of Flow Battery Models