RHSCSTRStartup:

Path: Dynamics/Process

% Model the startup of a CSTR.
--------------------------------------------------------------------------
   Form:
   xDot = RHSCSTRStartup( x, t, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x           (5,1) State [composition;temperature]
   t           (1,1) Time
   d           (1,1) data structure
                     .v0      (1,1) Flow rate   (ft^3/h)
                     .hR      (1,1) Heat of reaction (Btu/lb-mol-A)
                     .v       (1,1) Tank volume (ft^3)
                     .cA0     (1,1) Conc. propylene oxide (A) lb-mol/ft^3
                     .cB0     (1,1) Conc of water (B)  lb-mol/ft^3
                     .cM0     (1,1) Conc. of methanol (M) lb-mol/ft^3
                     .cPA     (1,1) Specific heat of propylene oxide at 
                                    constant pressure Btu/(lb-mol-deg F)
                     .cPB     (1,1) Specific heat of water at constant 
                                    pressure Btu/(lb-mol-deg F)
                     .cPC     (1,1) Specific heat of propylene glycol at 
                                    constant pressure Btu/(lb-mol-deg F)
                     .cPM     (1,1) Specific heat at methanol constant
                                    pressure Btu/(lb-mol-deg F)
                     .tA1     (1,1) Temperature at water inlet (deg-F)
                     .fA0     (1,1) Flow of A (lb-mol/h)
                     .T0      (1,1) Initial temperature (deg-F)
                     .uA      (1,1) Heat exchanger coef (Btu/h deg-F)
                     .u       (1,1) Control water flow rate (lb mol/h)
                     .thetaCP (1,1) (Btu/(lb-mol-deg F))
   -------
   Outputs
   -------
   xDot        (5,1) State derivative

--------------------------------------------------------------------------
   Reference: Fogler, H. S. (1999.) Elements of Chemical Reaction 
              Engineering. pp. 554-557;
--------------------------------------------------------------------------

Back to the Dynamics Module page