Topology Design And Delay Control For Communication Networks In Smart Grid