A Demand-Side Response Optimization Method for Flexible Loads Considering the Benefits of Peak-to-Valley Smoothing | Synapse