The paper discusses the implementation of a Unified Power Flow Controller (UPFC) in a 14-bus power system to enhance power flow control through a Newton-Raphson based load flow calculation. The method developed shows effectiveness in controlling voltage, line impedance, and phase angles, leading to increased power transfer capability and reduced generation costs. Case studies demonstrate the UPFC’s ability to maintain accuracy and fast computational speeds in power flow control, contributing to improved system stability and security.