An Optimization Strategy for Intra-day Demand Response Based on Security Constraints. Issue 1 (February 2021)