Ignore:
Timestamp:
Mar 15, 2007, 4:40:55 PM (16 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Adapted some samples to the new Plugin mechanism

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/stage_separators/sample_flash.mso

    r176 r213  
    2828FlowSheet flash_Test
    2929        PARAMETERS
    30         PP as Plugin(Brief="Physical Properties", File="vrpp");
     30        PP as Plugin(Brief="Physical Properties",
     31                Type="PP",
     32                Components = ["1,3-butadiene", "isobutene", "n-pentane",
     33                        "1-pentene", "1-hexene", "benzene"],
     34                LiquidModel = "PR",
     35                VapourModel = "PR"
     36        );
    3137        NComp as Integer;
    3238
     
    3541       
    3642        SET
    37         PP.Components = ["1,3-butadiene", "isobutene", "n-pentane", "1-pentene", "1-hexene", "benzene"];
    38         PP.LiquidModel = "PR";
    39         PP.VapourModel = "PR";
    4043        NComp = PP.NumberOfComponents;
    4144       
     
    8790FlowSheet flashSteady_Test
    8891        PARAMETERS
    89         PP as Plugin(Brief="Physical Properties", File="vrpp");
     92        PP as Plugin(Brief="Physical Properties",
     93                Type="PP",
     94                Components = ["1,3-butadiene", "isobutene", "n-pentane",
     95                        "1-pentene", "1-hexene", "benzene"],
     96                LiquidModel = "PR",
     97                VapourModel = "PR"
     98        );
    9099        NComp as Integer;
    91100
     
    94103       
    95104        SET
    96         PP.Components = ["1,3-butadiene", "isobutene", "n-pentane", "1-pentene", "1-hexene", "benzene"];
    97         PP.LiquidModel = "PR";
    98         PP.VapourModel = "PR";
    99105        NComp = PP.NumberOfComponents;
    100106       
Note: See TracChangeset for help on using the changeset viewer.