A Two-Stage Planning Model to Optimize Flexible Resources from Demand Side | IEEE Conference Publication | IEEE Xplore