The Unified Power Flow Controller (UPFC) is one of the most promising Flexible AC Transmission Systems (FACTS) devices for the load flow control. Optimizing the size and allocation for UPFCs is of noteworthy concern for increasing the loading capability of the system. So far, numerous optimization models were developed for resolving the issues in UPFC. Thereby, this work uses the Chronological Sine Cosine Algorithm (SCA) model for optimal allocation of UPFC to attain Optimal Power Flow (OPF). The algorithm is the enhanced version of the conventional SCA algorithm. In addition, the overall cost function given for resolving the placement issue comprises the reduction of cost and power loss. Finally, the superiority of the adopted scheme is evaluated over traditional models in terms of varied measures.