THE FUNDAMENTALS OF ENERGY STORAGE