In electric power systems engineering, the set of optimization problems called cooperatively as OPF, which is the main sensibly significant as well as well-researched subfields of constrained nonlinear optimization. Moreover, OPF have the benefits of an affluent research history, novelty, and publication since its five decades ago. However, entry into OPF research is an intimidating job for the uninitiated-both because of the sheer volume of literature. In additionally, it is due to the OPF's ubiquity within the electric power systems community, which has led authors to presume an immense deal of prior knowledge that readers unknown with electric power systems may not possess. In this paper, a novel Sunflower Optimization Algorithm (SFOA) is proposed, which is enthused by the orientation of sunflower towards the sun to resolve constrained OPF problem. The proposed method is simulated to optimize the objective models namely fuel cost, voltage profile, emission, voltage stability, and active power loss. Moreover, the proposed method is compared with the conventional algorithms in the IEEE 30-bus, 57-bus, and 118-bus power systems. Finally, the simulation outcomes exhibit that the proposed method performs superior to other conventional approaches.