HOW TO DISCHARGE BATTERIES IN ENERGY STORAGE SYSTEMS SAFELY