You are on page 1of 6

3-Phase Vector Plotter for

Simulink

Eng.Saqer A. Khalil
October 4 , 2007
al_saher84@yahoo.com
saqer@altoukhi.com
*Introduction :

For power engineers , Simulink is the most powerful tool for studying the performance ,
Transients & events of power networks , one of the helpful tools in power engineering is
the vector diagram , so I build this small project in order to increase the availability of
Simulink in power engineering .

*Installation :
After extracting the attached file , copy all the contents to the your matlab working
directory except this .pdf file because it is not needed for matlab , you can save it in any
place in your computer .

*Description :
The main file in this project is the vectorlib.lib , it is a Simulink library contains the main
blocks for this project as shown below :
The first block at the left hand side “Single System 3-Phase Vector Plotter” has three
inputs for three phase system quantities like voltage , current or impedance,

The second block at the right hand side “Double system 3-Phase Vector Plotter” has six
inputs for double system , in other words if you want to draw the vector diagram between
the voltage & current in 3-phase system , you can use this block.

*Block Parameters:
If you double click at any block in this library , the parameters window will appear as
shown below :

Nominal system frequency is used to filter the input voltage from disturbances or to draw
the required harmonic in a composite signal (for example: consider the output waveform
from a 3- phase inverter , this waveform contains the fundamental voltage & the unwanted
harmonics , so you enter the fundamental frequency or the harmonic you want to plot it).

Refreshing time is used configure the plotting rate during simulation , smaller time
values mean fast plotting rate ,so it is useful to show the dynamics of the input signal , also
large time values mean slow plotting rate , generally used to show the steady state of the
input waveform .
*Examples :

There are some general examples just to show the possible usage of this project.

Example1:
Simple 3-phase system with load , the figure below shows the used system :

After the system reaches the steady state , the output figure will be like the figure below :
The following demonstration shows the output figure & the properties of it.

Example2:

The same system is used again but the used block is the double system block , because the
voltage & current vectors will be plotted at the same graph as shown below :
Notes:
1-Each input (for the two blocks) is independent , so you can use each input alone , for
example if you have three systems and you want to compare the output voltage from each
system , you can use the single system block since all the inputs are independent on each
others .

2-if you do not want to use an input , connect it to the ground .

3-you can not use the two blocks at the same model .

4-this library needs MATLAB compiler in order to use it.

You might also like