An incentive-based settlement mechanism for participation of flexible demands in day-ahead markets