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

    r174 r213  
    2727FlowSheet tank_Test
    2828        PARAMETERS
    29         PP      as Plugin(Brief="Physical Properties",File="vrpp");
     29        PP      as Plugin(Brief="Physical Properties",
     30                Type="PP",
     31                Components = ["methane", "isobutane", "benzene"],
     32                LiquidModel = "PR",
     33                VapourModel = "PR"
     34        );
    3035        NComp   as Integer;
    3136        SET
    32         PP.Components = ["methane", "isobutane", "benzene"];
    33         PP.LiquidModel = "PR";
    34         PP.VapourModel = "PR";
    3537        NComp = PP.NumberOfComponents;
    3638       
     
    7274FlowSheet tank_cylindrical_Test
    7375        PARAMETERS
    74         PP      as Plugin(Brief="Physical Properties",File="vrpp");
     76        PP      as Plugin(Brief="Physical Properties",
     77                Type="PP",
     78                Components = ["methane", "isobutane", "benzene"],
     79                LiquidModel = "PR",
     80                VapourModel = "PR"
     81        );
    7582        NComp   as Integer;
    7683        SET
    77         PP.Components = ["methane", "isobutane", "benzene"];
    78         PP.LiquidModel = "PR";
    79         PP.VapourModel = "PR";
    8084        NComp = PP.NumberOfComponents;
    8185
Note: See TracChangeset for help on using the changeset viewer.