Experiment and theory for switching in Al/V2O5/Al devices