O'Reilly logo

Process Control: Modeling, Design, and Simulation by B. Wayne Bequette

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

M3.3. SIMULINK sfun (.mdl Files)

One of the powers of SIMULINK is the ability to construct block diagrams that provide an intuitive approach to simulating feedback-control systems. Often we use linear transfer functions to simulate the behavior of linear systems. A block titled “sfun” can obtained from the “nonlinear” library in SIMULINK and placed in a SIMULINK diagram. When simulations are performed, the equations in the sfun m-file are solved simultaneously with other blocks in the block diagram. The sfun file must be given a name with a '.m' extension, while the block diagram is given a '.mdl' extension.

Example M3.2: Van de Vusse Reaction

The van de Vusse reactor from Example M3.1 is studied here. The block diagram shown in Figure M3-2

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required