Analyzing Demand Response Using Linear Function Bidding