ENSURING SAFETY IN BATTERY ENERGY STORAGE