The modern power system is evolving into a cyber-physical system with integration of information and communication technologies. Implementation of faster control and protection systems is now possible with the bi-direction fast flow of information in our power grids. In this paper, an optimal position of a centralized controller is found, for a Cyber-Physical System enabled smart grid to realize centralized control application. The model takes into consideration the delay associated with each communication line along with data congestion and node degree. This model is tested with IEEE 24 bus system, and a comparison is made based on different locations of the controllers. We identified node availability, and their respective power flows during communication line contingencies. © 2020 IEEE