Model-Based Control of Networked Systems