ENERGY MANAGEMENT SYSTEMS EMS ARCHITECTURE CORE