Changeset 215 for branches


Ignore:
Timestamp:
Mar 15, 2007, 5:46:35 PM (16 years ago)
Author:
gerson bicca
Message:

updated more samples to include Type plugin declaration

Location:
branches/newlanguage/sample
Files:
5 edited

Legend:

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

    r208 r215  
    2828       
    2929        PARAMETERS
    30         PP      as Plugin(Brief="Physical Properties",File="vrpp");
     30        PP              as Plugin(Brief="Physical Properties",Type="PP",Components = [ "isobutane", "benzene", "methane" ],
     31                                                        LiquidModel = "PR",
     32                                                        VapourModel = "PR");
     33       
    3134        NComp   as Integer;
    3235        Ninlet as Integer;
     
    3942       
    4043        SET
    41         PP.Components = [ "isobutane", "benzene", "methane" ];
    42         PP.LiquidModel = "PR";
    43         PP.VapourModel = "PR";
     44       
    4445        NComp = PP.NumberOfComponents;
    4546        mixer1.Ninlet = 2;
  • branches/newlanguage/sample/mixers_splitters/sample_sepComp.mso

    r175 r215  
    3030PARAMETERS
    3131       
    32         PP                      as Plugin       (Brief="Physical Properties",File="vrpp");
     32        PP                      as Plugin       (Brief="Physical Properties",Type="PP",Components = [ "isobutane", "benzene"],
     33                                                                LiquidModel = "PR",
     34                                                                VapourModel = "PR");
    3335        NComp   as Integer;
    3436       
     
    4143       
    4244SET
    43         PP.Components = [ "isobutane", "benzene"];
    44         PP.LiquidModel = "PR";
    45         PP.VapourModel = "PR";
     45       
    4646        NComp = PP.NumberOfComponents;
    4747       
     
    7070FlowSheet Sample_sepComp
    7171        PARAMETERS
    72         PP      as Plugin(Brief="Physical Properties",File="vrpp");
     72        PP      as Plugin(Brief="Physical Properties",Type="PP",Components = [ "isobutane", "benzene"],
     73                                                        LiquidModel = "PR",
     74                                                        VapourModel = "PR");
    7375        NComp as Integer;
    7476       
     
    8183       
    8284        SET
    83         PP.Components = [ "isobutane", "benzene"];
    84         PP.LiquidModel = "PR";
    85         PP.VapourModel = "PR";
     85       
    8686        NComp = PP.NumberOfComponents;
    8787        sep.mainComp = 1;
  • branches/newlanguage/sample/mixers_splitters/sample_splitter.mso

    r175 r215  
    2828FlowSheet TestSplitter
    2929        PARAMETERS
    30         PP      as Plugin (Brief="Physical Properties",File="vrpp");
     30        PP      as Plugin (Brief="Physical Properties",Type="PP",Components = [ "isobutane", "benzene"],
     31                                        LiquidModel = "PR",
     32                                        VapourModel = "PR");
    3133        NComp   as Integer;
    3234        NOutlet as Integer;
     
    4042       
    4143        SET
    42         PP.Components = [ "isobutane", "benzene"];
    43         PP.LiquidModel = "PR";
    44         PP.VapourModel = "PR";
     44       
    4545        NComp = PP.NumberOfComponents;
    4646        Splitter.NOutlet = 3;
  • branches/newlanguage/sample/optimization/ammonia.mso

    r185 r215  
    108108FlowSheet Ammonia
    109109        PARAMETERS
    110         PP      as Plugin(Brief="Physical Properties", File="vrpp");
     110        PP      as Plugin(Brief="Physical Properties", Type="PP",Components = ["hydrogen", "nitrogen", "argon", "methane", "ammonia"],
     111        LiquidModel = "APR",    VapourModel = "APR");
    111112        NComp   as Integer;
    112113        SET
    113         PP.Components = ["hydrogen", "nitrogen", "argon", "methane", "ammonia"];
    114         PP.LiquidModel = "APR";
    115         PP.VapourModel = "APR";
     114       
    116115        NComp = PP.NumberOfComponents;
    117116       
  • branches/newlanguage/sample/optimization/flash_opt.mso

    r184 r215  
    2929FlowSheet FlashSteadyTest
    3030        PARAMETERS
    31         PP      as Plugin(Brief="Physical Properties",File="vrpp");
     31        PP      as Plugin(Brief="Physical Properties",Type="PP",Components = ["1,3-butadiene", "isobutene", "n-pentane", "1-pentene", "1-hexene", "benzene"],
     32                                                        LiquidModel = "PR",
     33                                                        VapourModel = "PR");
    3234        NComp   as Integer;
    3335
     
    3739       
    3840        SET
    39         PP.Components = ["1,3-butadiene", "isobutene", "n-pentane", "1-pentene", "1-hexene", "benzene"];
    40         PP.LiquidModel = "PR";
    41         PP.VapourModel = "PR";
     41       
    4242        NComp = PP.NumberOfComponents;
    4343       
Note: See TracChangeset for help on using the changeset viewer.