A real-time Energy Management System for the integration of economical aspects and system operator requirements: Definition and validation