Equilibrium and control in complex interconnected systems