Matlab Simulink Blocks
Matlab Simulink Blocks
For modeling, Simulink provides a graphical user interface (GUI) for building
models as block diagrams, using click-and-drag mouse operations. With this interface,
you can draw the models just as you would with pencil and paper (or as most textbooks
depict them). This is a far cry from previous simulation packages that require you to
formulate differential equations and difference equations in a language or program.
Simulink includes a comprehensive block library of sinks, sources, linear and nonlinear
components, and connectors. You can also customize and create your own blocks [2].
Models are hierarchical, the models are built using both top-down and bottomup approaches the system can viewed at a high level, then double-click on blocks to go
5
down through the levels to see increasing levels of model detail. This approach provides
insight into how a model is organized and how its parts interact [2].
Model analysis tools include linearization and trimming tools, which can be
accessed from the MATLAB command line, plus the many tools in MATLAB and its
application toolboxes. And because MATLAB and Simulink are integrated, you can
simulate, analyze, and revise your models in either environment at any point [2].
2.2
The Power System Block Set or SimPower System (after renamed) had just
introduced
System Block Set provides tools for modeling and simulating electrical power systems
within Simulink using the standard notations for electrical circuits. Its block library
contains blocks that represent standard components found in electrical power networks.
It is easily to incorporate electrical systems and controllers into complex system models
[3].
The blocks in the Power System Block Set provide methods that interpret
diagram connectivity in a topological manner. This capability allows us to model
electrical systems without worrying about the directionality of signals and currents. You
can create electrical Simulink diagrams on the computer just as you would on paper [3].
The Power System Block Set allows scientists and engineers to build models
that simulate power systems. The blockset uses the Simulink environment, allowing a
model to be built using click and drag procedures. Not only can the circuit topology be
drawn rapidly, but the analysis of the circuit can include its interactions with
mechanical, thermal, control, and other disciplines. This is possible because all the
electrical parts of the simulation interact with Simulinks extensive modeling library.
Because Simulink uses MATLAB as the computational engine, MATLABs toolboxes
can also be used by the designer [4].
2.2.2 SIMULATE IT
The Power System Blockset is completely integrated with Simulink at the block
level. Combining Power System and other Simulink blocks creates a unique
environment for multi-domain modeling and controller design. This environment allows
the combination of electrical, power-electronic, mechanical, hydraulic, and other
systems models [3].
The new blockset contains features that allow you to specifically analyze the
electrical portions of your Simulink model. You can extract the linear portions of the
electrical model into the MATLAB workspace as a state-space system for further
analysis. This capability is useful if, for example, you want to examine the impedance
frequency characteristics of your system [3].
You can work with the electrical state-space system using any of the tools from
The MathWorks. In developing a control system for an electrical subsystem, for
example, you can use one of the Control System Toolboxes to design controllers around
the plant model you have extracted from the Simulink diagram [3].
9
The blockset also provides a GUI that allows you to interact directly with the
blocks and states of the electrical system. You can set the state variables of the electrical
system through the GUI. For example, you may want to set the states of the system
(voltages or currents) to simulate some transients. The GUI also provides the steadystate values of voltage and current so that you can return to a steady-state simulation
easily for other types of analysis [3].
Finally, to aid in working with the blockset library of machines and drives, the
Power System Block Set provides a function that performs load flow analysis. Load
flow analysis is done to balance the electrical and mechanical loads between machines
in your model [3].
Pi section lines
Surge arresters
Breakers
Mutual inductances
DC voltage sources
10
Electric machinery
Asynchronous machines
Excitation systems
Hydraulic turbines
Governors
Power electronics
Diodes
GTOs
Switches
MOSFETs
IGBT
RMS measurements
Timers
Triphase library
Pi section lines
AC voltage sources
Diode rectifiers
11