FUNDAMENTALS OF ENERGY STORAGE