Modeling and Valuation of Residential Demand Flexibility for Renewable Energy Integration | Synapse