IMPLEMENTATION OF A BATTERY STORAGE SYSTEM