Ignore:
Timestamp:
Aug 26, 2006, 3:23:02 PM (16 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Updated CSTR sample

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mso/sample/reactors/sample_cstr.mso

    r11 r12  
    99*--------------------------------------------------------------------*#
    1010
    11 using "cstr";
     11using "reactors/cstr";
    1212
    1313FlowSheet cstr_PropyleneGlycol
    1414        PARAMETERS
    15         PP   as CalcObject(Brief="Physical Properties",File="VMG");
    16         NoComps as Integer;
     15        PP   as CalcObject(Brief="Physical Properties",File="vrpp");
     16        NComp as Integer;
    1717        R as Real(Default=8.3145, Unit="J/mol/K");
    1818
     
    2222
    2323        SET
    24         PP.Models = "RK RK";
    2524        PP.Components = ["1,2-Propylene Oxide", "Methanol",
    2625                "Water", "Sulfuric Acid", "1,2-Propylene Glycol" ];
    27         NoComps = PP.NumberOfComponents;
    28         Reac.NoReacs = 1;
     26        PP.LiquidModel = "PR";
     27        PP.VapourModel = "PR";
     28
     29        NComp = PP.NumberOfComponents;
     30        Reac.NReac = 1;
    2931        Reac.stoic = [-1, 0, -1, 0, 1];
    3032       
     
    5759
    5860        OPTIONS
    59         differentiation = "numeric";
    6061        outputLevel = "all";
    6162end
Note: See TracChangeset for help on using the changeset viewer.