Design of a subnetwork controller based on MFD's and perimeter flows.