A Switched Electrical Model with Thermal Effects for Li-ion Batteries | IEEE Conference Publication | IEEE Xplore