Appendix F. SIMULINK Tutorial

Objectives

  • Learn how to model nonlinear systems using SIMULINK.

  • Learn how to model discrete time systems.

  • Learn how to set up masks for systems.

Basics

Consider the process shown in Figure F.1. We want to study how tank level h(t) varies with inlet flow fin(t). A mass balance around the tank yields (assuming area of tank A = 1m2, and that the density ρ is constant)

Accumulation of fluid mass in tank = Input of fluid – Output of fluid:

Basics
Model of level variations in a tank.

Figure F.1. Model of level variations in a tank.

Let us assume that outlet flow is proportional ...

Get Techniques of Model-Based Control now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.