The optimal power flow (OPF) problem remains a popular and challenging work in optimizing power systems. Although researchers have suggested many optimization algorithms to solve this problem in the literature, their comparison studies lack fairness and transparency. As these studies increase in number, they deviate from a standard test system, considering a common security and technical constraints., there is a growing trend away from a standard test system. Different studies used different search ranges for the same decision and constraint parameters, different than the standard ranges suggested by IEEE systems. This caused many unfair comparisons in literature. Furthermore, these studies are generally not transparent enough so that their results cannot be verified. This has resulted in numerous infeasible solutions in the literature, violating the limits of constraint parameters. The recent incorporating of renewable energy sources in OPF studies has made this situation more complicated. Sorting through the literature and identifying those OPF applications having exactly the same test conditions is a challenging process. The main contribution is this paper adapts the modified effective butterfly algorithm (MEBO) to solve OPF problem under the common parameter constraints and sufficient transparency. The focus is on a transparent comparison with works in the literature with the same constraint values. This paper compares the performance of the proposed algorithm with other state-of-the-art algorithms in the literature, focusing on the wind energy and without wind energy IEEE 30-bus and IEEE 57-bus systems and the most commonly used constraints. The results demonstrate the efficiency and superiority of the proposed algorithm. For instance, in the 30-bus test system, compared to the initial case, fuel cost has been reduced by 11.42 %, emission by 14.33 %, L-index by 45.10 %, active power losses by 51.60 %, and voltage deviation by 92.70 %.