This paper presents a new AC optimal power flow (AC OPF) model for sub-transmission networks. This model, which consists of sub-transmission and distribution bus-bar switching actions, can avoid undesirable over-current (OC) status and subsequent actions of OC relays. The proposed AC OPF optimizes the bus-bar switching actions along with optimizing sub-transmission control actions. Also, to consider the impact of OC relays’ actions in the proposed AC OPF, the cost of load shedding caused by these relay actions is included in the objective function and is minimized along with the sub-transmission operation cost. The bus-bar switching actions are modeled using binary decision variables. Therefore, the proposed AC OPF model is formulated as a Mixed Integer Non-linear Programming (MINLP) optimization problem. The effectiveness of the proposed model is illustrated on a real-world sub-transmission network of Iran’s power system.