Ignore:
Timestamp:
Mar 2, 2007, 1:57:58 PM (16 years ago)
Author:
gerson bicca
Message:

updated sepComp model and samples of mixers/splitter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/mixers_splitters/sample_splitter.mso

    r80 r175  
    2828FlowSheet TestSplitter
    2929        PARAMETERS
    30         PP      as CalcObject(Brief="Physical Properties",File="vrpp");
     30        PP      as Plugin (Brief="Physical Properties",File="vrpp");
    3131        NComp   as Integer;
    3232        NOutlet as Integer;
    3333       
    3434        DEVICES
    35         stream as stream_therm;
    36         splitter as splitter_n;
     35        Stream as source;
     36        Splitter as splitter_n;
    3737       
    3838        CONNECTIONS
    39         stream to splitter.Inlet;
     39        Stream.Outlet to Splitter.Inlet;
    4040       
    4141        SET
     
    4444        PP.VapourModel = "PR";
    4545        NComp = PP.NumberOfComponents;
    46         splitter.NOutlet = 3;
     46        Splitter.NOutlet = 3;
    4747
    4848        SPECIFY
    49         stream.F = 153 * "kmol/h";
    50         stream.P = 150 * "kPa";
    51         stream.T = 298.6 * "K";
    52         stream.z = [0.6, 0.4];
    53         stream.v = 0;
    54         splitter.frac(1) = 0.4;
    55         splitter.frac(2) = 0.1;
     49        Stream.Outlet.F = 153 * 'kmol/h';
     50        Stream.Outlet.P = 150 * 'kPa';
     51        Stream.Outlet.T = 298.6 * 'K';
     52        Stream.Outlet.z = [0.6, 0.4];
     53       
     54        Splitter.frac(1) = 0.4;
     55        Splitter.frac(2) = 0.1;
    5656
    5757        OPTIONS
    58         relativeAccuracy = 1e-7;
     58        RelativeAccuracy = 1e-7;
    5959       
    6060end
Note: See TracChangeset for help on using the changeset viewer.