HOW DOES THE ENERGY MANAGEMENT SYSTEM WORK