Interactions between automated energy systems and Flexibilities brought by energy market players