O'Reilly logo

Dynamics and Nonlinear Control of Integrated Process Systems by Prodromos Daoutidis, Michael Baldea

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

Appendix C

Matlab code

Listing C.1. Symbolic derivation of reduced-order model of the slow dynamics, and of the input-output linearizing temperature controller for the reactor-feed effluent heat exchanger system in Section 6.6

% define symbolic variables
syms f
syms B B11 B12 B13 B21 B32 B43
syms Fins Tins
syms Fin Tin VH VC VF UA V DH QH alpha F
syms kr ki kc
syms kreac cA
syms rhocp
syms Tvec TC_ TH_ TR Ti
syms coordch delta eta1 eta2 eta3 
 
syms GammaTilde k1 k2 k3
syms z
syms dTdt_slow
syms LOG_FIXED_SS
syms a cAo k0 E Rconst
 
% vector field f corresponding to Equation (6.55); cA and V are not
% included in the derivation since they are slow variables   f = [Fin / VC * Tin      - F * (1 - alpha) / VH * TH_ - alpha * F * TR / VH      - ...

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