ENERGY MANAGEMENT SYSTEM EMS ARCHITECTURES AND