Demand-response will continue to play an important role in modernizing the power system by allowing grid operators to control electricity demand. This paper describes two ways that demand-response can be used to optimize electricity flows, avoiding peak capacity issues and balancing unprecedented levels of variable generation.