4. MATLAB implementation

#### 4.1. Main display page

Figure 8. Flow chart for the economic dispatch.

110 Science Education - Research and New Technologies

The main display page of the MATLAB tool gives the choice for the user to choose between one of the three methods as shown in Figure 9 [13].

#### 4.2. Unsymmetrical fault analysis implementation

As the user chooses the first method, which is the "Fault Calculation," the interface shown in Figure 10 appears [13].

The principle of unsymmetrical faults method throughout the "Power System Simulator" software can be made through two modes:

Figure 9. Main display page of the electric power simulator tool.


Figure 10. Unsymmetrical faults interface.


Results will show the following: The Ybus and Zbus, the figure of the faults, and the output data (current and voltage) in sequence and phase domain as shown in Figure 11.

Figure 11. Unsymmetrical faults output interface.

Finally, each result (Ybus, Zbus, Vbus, and Ibus) for both sequence and phase configuration is saved in a separated text file.

#### 4.3. Power flow implementation

As the user chooses the first method, which is the "Power Flow Calculation," Figure 12 appears [13].

The principle of the Newton-Raphson method throughout the "Power System Simulator" software can be made through two modes:


Two table results are now filled, the first one is the load flow analysis, and the second is the line flow and losses as shown in Figure 13.

#### 4.4. Economic dispatch implementation

• Mode 1: The user enters all the data manually.

Figure 9. Main display page of the electric power simulator tool.

112 Science Education - Research and New Technologies

Figure 10. Unsymmetrical faults interface.

• Mode 2: The user loads the data from a specified file.

Results will show the following: The Ybus and Zbus, the figure of the faults, and the output

data (current and voltage) in sequence and phase domain as shown in Figure 11.

As the user chooses the first method, which is the "Power Flow Calculation," Figure 14 will appear [13].


Figure 12. Power flow solution interface.


Figure 13. Power flow solution output interface.

The principle of the economic and optimal dispatch method throughout the "Power System Simulator" software can be made through two modes:


In case of over or under limit estimation, the tool will provide a notification and the number or this unit to the user as shown in Figure 15.


Figure 14. Economic dispatch interface.


Figure 15. Economic dispatch output interface.

The principle of the economic and optimal dispatch method throughout the "Power System

Simulator" software can be made through two modes:

• Mode 2: The user loads the data from a specified data.

• Mode 1: The user enters all the data manually.

Figure 13. Power flow solution output interface.

Figure 12. Power flow solution interface.

114 Science Education - Research and New Technologies
