Modeling, Simulation, and Analysis with Simulink

Tool for Model-Based Design

With Simulink, you can move beyond idealized linear models to explore more realistic nonlinear models, factoring in friction, air resistance, gear slippage,hard stops, and the other things that describe real-world phenomena. Simulink turns your computer into a laboratory for modeling and analyzing systems that would not be possible or practical otherwise. Whether you are interested in the behavior of an automotive clutch system, the flutter of an airplane wing, or the effect of  the monetary supply on the economy, Simulink provides you with the tools to model and simulate almost any real-world problem. Simulink also provides demos that model a wide variety of real-world phenomena.

Simulink provides a graphical user interface (GUI) for building models as block diagrams, allowing you to draw models as you would with pencil and paper. Simulink also includes a comprehensive block library of sinks, sources, linear and nonlinear components, and connectors. If these blocks do not meet your needs, however, you can also create your own blocks. The interactive graphical environment simplifies the modeling process, eliminating the need to formulate differential and difference equations in a language or program. Models are hierarchical, so you can build models using both top-down and bottom-up approaches. You can view the system at a high level, then double-click blocks to see increasing levels of model detail. This approach provides insight into how a model is organized and how its parts interact.

Tool for Simulation

After you define a model, you can simulate its dynamic behavior using a choice of mathematical integration methods, either from the Simulink menus or by entering commands in the MATLAB Command Window. The menusare convenient for  interactive work,  while the  command line  is useful for running a batch of simulations. For example, if you are doing Monte Carlo simulations or want to apply a parameter across a range of values, you canuse MATLAB scripts. Using scopes and other display blocks, you can see the simulation results while the simulation runs. You can then change parameters and see what happens for “what if” exploration. The simulation results can be put in the MATLAB workspace for post processing and visualization.

Tool for Analysis

Model analysis tools include linearization and trimming tools, which you can access from the MATLAB command line, plus the many tools in MATLAB and its application toolboxes. Because MATLAB and Simulink are integrated, you can  simulate, analyze, and revise your models in either environment at any point.

Interaction with MATLAB Environment

Simulink software is tightly integrated with the MATLAB environment. It requires MATLAB to run,  depending  on it to define and  evaluate model and block parameters. Simulink can also use many MATLAB features. For example, Simulink can use the MATLAB environment to:

Tags : , , , , , , , ,

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

One Comment

Leave Comment