Accurate electrical battery model capable of predicting runtime and I-V performance | Synapse