You are on page 1of 4

Department of Electrical, Electronic & Communication Engineering

Course Code: EECE 3242


Course Title: Sessional Based on Power System I

Experiment Number : 00
Name of the Experiment : Familiarization with Matlab Simulink.

Submitted by: Submitted to:


Name: Md. Raton Ali Md. Fatin Ishraque
Roll No:170510 Reg. No:1054240 Lecturer
Year: 3rd Semester: 2nd Dept. of EECE, PUST.
Session: 2016-17
Dept. of EECE, PUST.

Date of Experiment: 28-02-2022 Date of Submission: 09-04-2022

Signature:
1

Date: 28-02-2022
Experiment Number: 00

Experiment Name:
Familiarization with Matlab Simulink.
Objective:
The objective of this Experiment is to familiarize with simulation of power system circuits in
Matlab/Simulink environment.

Theory:
The name MATLAB stands for matrix laboratory. MATLAB was originally written to
provide easy access to matrix. MATLAB is a high-performance language for technical
computing. It integrates computation, visualization, and programming in an easy-to-use
environment where problems and solutions are expressed in familiar mathematical notation.
Simulink is a graphical extension to MATLAB for the modeling and simulation of systems. In
Simulink, systems are drawn on screen as block diagrams.

Required Apparatus:
The only software required for this Experiment is Matlab Simulink.

Result of this Experiment:


From the experiment, we came to know that how to use Matlab Simulink for computation,
visualization, programming and simulating in an easy to use environment where problems and
solutions are expressed in familiar mathematical notation. Some of the commands and codes that
were performed were pretty straightforward and the ones that is slightly more difficult can be
easily found in the documentation of the Help page of MATLAB. Matlab calls the display
function to show information about an intermediate result, such as the values, size, type, and
variable name. To show the value of a variable or to show program output in the command
window, use the disp function. We mainly use Matlab/Simulink for doing many Experiment of
power system . The basic main element of Matlab are:
1- Command Window: We use the Command Window to enter variables and run functions and
M-files.
2- Command History: Statements We enter in the Command Window are logged in the
Command History. In the Command History, We can view previously run statements, and copy
and execute selected statements.
3- Current Directory Browser: MATLAB file operations use the current directory reference
point. Any file we want to run must be in the current directory or on the search path.
4-Workspace: The MATLAB workspace consists of the set of variables (named arrays) built up
during a MATLAB session and stored in memory.
5- Code Editor: We can edit code easily in code editor.
All the segments which is shown in fig: 01.

Now we want to see the simulink output in Matlab.We have to start Simulink by clicking on the
Simulink Library. A Simulink window will open as shown in Fig: 2. This window shows the
libraries of Simulink Blocks that are available for us to use in constructing Simulink models.

We have to open an existing model or create a new one. To create a new model, select File
>NewModel.Creating a sine wave will look like Figure 02.
2

Fig.01:Opening Window of Matlab including Command window, Workspace and Editor.

Fig.02: Implementing a sine wave using simulink library browser window and displaying
in Scope.
3

Conclusion:
The experiment aimed to acquaint us with the functionalities and capabilities of MATLAB as a
software aided in doing mathematics and complex simulations. With its pre-built functions, we
could perform common operations as well as highly complex ones with just a line of code.
MATLAB was designed with scientist, mathematicians, and engineers in mind, therefore its
Simulations, visualizations, and mathematical values needs to be correct in very precise degrees.
MATLAB is a highly customizable Simulation tool that we will be using for the rest of the
term,therefore familiarizing ourselves with it will benefit us in the future.With functions ranging
from simple Arithmetic and Logic operations, to complex ones involving Matrices with numerous
elements, MATLAB has proved to be an indispensable tool for programmers, mathematicians,
and engineers.

Discussion:
In this experiment, we familiarize ourselves with MATLAB and its capabilities in helping us
solve problems relating to power system I. MATLAB is short for Matrix Laboratory which refers
to the way it handles operations. MATLAB was designed to solve matrices in mind. MATLAB
was designed to be used in a widearray of application, but its main focus is in the Engineering
and Sciences where it stand out as a highly customizable Simulation Software because of its
incredibly detailed computation, visualization and complexity of available programming in an
easy to use interface. We have learned the basic Arithmetic operations, as well as the
fundamentals of assigning Algebraic functions and variables. We have learned how to use the
Command Window, where we type expressions to perform live, as well as the Script Editor,
where we program commands to be executed sequentially and logically. We learnt from Matlab
simulink how to design a system graphically and how to implement a power system problem
using code.

Precautions:
i) Matlab Simulink software studied properly.
ii) Matlab Simulink is used carefully during coding and designing a simulation.

You might also like