Abstract: This paper presents a market-based hierarchical framework to coordinate joint energy and flexibility capability trading in a day-ahead market, while considering real-time flexibility ...