FUNDAMENTALS OF BATTERY ENERGY STORAGE