Demand Flexibility within a Performance-Based Regulatory Framework