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_column.mso

    r208 r213  
    3232FlowSheet SectionColumn_Test_with2tray
    3333        PARAMETERS
    34         PP      as Plugin(Brief="Physical Properties",File="vrpp");
     34        PP      as Plugin(Brief="Physical Properties",
     35                Type="PP",
     36                Components = [ "isobutane", "benzene"],
     37                LiquidModel = "PR",
     38                VapourModel = "PR"
     39        );
    3540        NComp   as Integer;
    3641
    3742        SET
    38         PP.Components = [ "isobutane", "benzene"];
    39         PP.LiquidModel = "PR";
    40         PP.VapourModel = "PR";
    4143        NComp = PP.NumberOfComponents;
    4244       
     
    112114FlowSheet SectionColumn_Test_with8tray
    113115        PARAMETERS
    114         PP      as Plugin(Brief="Physical Properties",File="vrpp");
     116        PP      as Plugin(Brief="Physical Properties",
     117                Type="PP",
     118                Components = [ "isobutane", "benzene"],
     119                LiquidModel = "PR",
     120                VapourModel = "PR"
     121        );
    115122        NComp   as Integer;
    116123
    117124        SET
    118         PP.Components = [ "isobutane", "benzene"];
    119         PP.LiquidModel = "PR";
    120         PP.VapourModel = "PR";
    121         PP.Derivatives = 0;
    122125        NComp = PP.NumberOfComponents;
    123126       
     
    191194FlowSheet Distillation_kettle_cond_Test
    192195        PARAMETERS
    193         PP      as Plugin(Brief="Physical Properties",File="vrpp");
     196        PP      as Plugin(Brief="Physical Properties",
     197                Type="PP",
     198                Components = [ "isobutane", "benzene"],
     199                LiquidModel = "PR",
     200                VapourModel = "PR"
     201        );
    194202        NComp   as Integer;
    195203       
     
    199207       
    200208        SET
    201         PP.Components = [ "isobutane", "n-pentane", "propylene",
    202                 "benzene", "isobutene" ];
    203         PP.LiquidModel = "PR";
    204         PP.VapourModel = "PR";
    205         PP.Derivatives = 1;
    206209        NComp = PP.NumberOfComponents;
    207210
     
    283286FlowSheet Column_ctrl
    284287        PARAMETERS
    285         PP      as Plugin(Brief="Physical Properties",File="vrpp");
     288        PP      as Plugin(Brief="Physical Properties",
     289                Type="PP",
     290                Components = [ "isobutane", "n-pentane", "propylene",
     291                        "benzene", "isobutene" ],
     292                LiquidModel = "PR",
     293                VapourModel = "PR"
     294        );
    286295        NComp   as Integer;
    287296       
     
    313322
    314323        SET
    315         PP.Components = [ "isobutane", "n-pentane", "propylene",
    316                 "benzene", "isobutene" ];
    317         PP.LiquidModel = "PR";
    318         PP.VapourModel = "PR";
    319         PP.Derivatives = 1;
    320324        NComp = PP.NumberOfComponents;
    321325
Note: See TracChangeset for help on using the changeset viewer.