An algorithm for battery modeling and life time maximization of small size electric systems | IEEE Conference Publication | IEEE Xplore