**4.1 Structure of SimFACTS**

A working main screen appears as shown in Fig. 20, first the user asked to choose the working language: Arabic, English or French.

The functions of the menus are:


Fig. 20. The package for FACTS modelling and analysis (SimFACTS) with three languages:

In the literature many educational Graphical tools for power system study and analysis

This section reveals how the software package developed works by showing the effects of the introduction of different FACTS devices like the SVC, STATCOM, TCSC, SSSC and the UPFC Controllers. Fig. 20 shows the global functionality of the package graphical user interface based Matlab as a tool to demonstrate the impact of FACTS devices on power

A working main screen appears as shown in Fig. 20, first the user asked to choose the

• **Network Configuration**: To display data of the network test system, make changes,

• **Power Flow**: This is the standard application calculation part: the Newton Raphson algorithm included to calculate the power flow; user has to click to 'Power Flow' after

developed for the purpose of the power system education and training ().

• **File:** To do standard file storage or retrieve files for operations.

**Arabic**, **English** and **French**

system operation and control.

**4.1 Structure of SimFACTS** 

The functions of the menus are:

display the topology.

working language: Arabic, English or French.

data entry. The submenu 'FACTS Controller' designed to enter in details the data base of the different FACTS Controllers.

	- Basic economic dispatch based Lagrange method
	- Simple Genetic Algorithm (SGA)
	- Particle swarm Optimization (PSO)


Fig. 21. Structure of the developed simulator incorporating FACTS devices

The Newton-Raphson algorithm modified based on the FACTS models and used to calculate all the necessary electrical values involved on the power flow study. The simple software proposed is capable of doing simulations for several models of FACTS controllers at different power system situation.

Understanding Power Quality Based FACTS

are:

• The insertion point

• Active Power Control status • Reactive power control status

• Active power desired • Reactive power desired • Series voltage amplitude • Shunt voltage amplitude

**4.4 Power flow program based FACTS (SimFACTS)** 

• Inductive reactance of Series impedance • Inductive reactance of Shunt impedance

• Operational limits of the series and shunt voltage

Fig. 24. UPFC parameters input data window

• The power flow: determines the direction of the flowing power

Using Interactive Educational GUI Matlab Package 223

The interactive FACTS program proposed is implemented in a MATLAB environment, using the GUI tool; the Simulator is capable of doing simulations for several models of FACTS Controllers. First the program allows users to choose the working language (French, Arabic or English) Fig. 21 shows the global interface to simulate the integration of different FACTS Controllers in a practical network. The user may either retrieve an existing presaved system data or start a new system formulation; due to the limited pages we only present an example of UPFC interface description. Fig. 24 displaying the UPFC parameters to be entered and adjusted by user. For example The UPFC Controller data base parameters
