Battery pack state estimation algorithms – Model based development and estimation