Figure 2. Main window of the OPFGUI.
As can be seen from the figure, the opfgui is organized in folowing components:
  1. Panel TEST SYSTEM. It consists of one pop-up menu and two buttons. Pop-up menu enables to selection of a test sytem of seven available test systems. It is available 6-bus, 9-bus, 14-bus, 30-bus, 39-bus, 57-bus, and 118-bus standard IEEE test systems. When clicking on the button Single-Line Diagram, the selected test system will be displayed. The button System Data opens the input file of the selected test system. The input file contains branch data, bus data, generator data, transformer data, and VAR compensation data for the selected test system. The data are given in matrix form. The user can change the data and save those modifications.
  2. Panel OPTIONS. It consists of two pop-up menus. In the first pop-up menu the user perform selection of an objective function between six offered OPF objectives, such as: minimization of fuel cost, minimization of real power loss, voltage profile improvement, simultaneous minimization of fuel cost and real power loss, simultaneous minimization of fuel cost and voltage deviation, and simultaneous minimization of fuel cost, real power loss and voltage deviation. Popup-menu Method enables to choice of a metaheuristic optimization method to solution of the OPF problem. The user can select one of ten methods, such as: PSO, GSA, ABC, WDO, FFA, GWO, CS, MSA, BSA, and TLBO. When clicking on the optimization method, the panel to settings of the algorithm parameters will be opened. The user can used the default parameters by clicking on button Use default, or to enter the desired value for each of algorithm parameters.
  3. After selection of appropriate options on the panels TEST SYSTEM and OPTIONS, the user can start the program by clicking the button run OPF.
  4. Panel OPF RESULTS. It manages the access to the different segments of the OPF results obtained from the program. The best results, that is objective function values in the last iteration, and convergence profile of the optimization algorithm will be displayed immediately after execution of the program (Fig. 2). Besides, the program generates other important results, also. When clicking the button Optimum Control Variables the obtained optimal values of control variables such as generator active powers, generator voltages, transformer tap settings, and shunt VAR compensations will be displayed, as shown in Fig. 3.