UNDERSTANDING BATTERY STORAGE FOR RENEWABLE ENERGY SYSTEMS