Flexible Transmission In The Smart Grid