LECTURE 4 CONTROL OF ENERGY STORAGE DEVICES