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

updated samples to include Type plugin declaration

Location:
branches/newlanguage/sample/heat_exchangers
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/heat_exchangers/Sample_DoublePipe.mso

    r165 r214  
    2929
    3030PARAMETERS
    31         PP                      as Plugin (File="vrpp");
     31        PP                      as Plugin (Type ="PP", LiquidModel = "PR", VapourModel = "PR",
     32                                                                        Components = ["n-hexane","water"]);
    3233        NComp           as Integer;
    3334       
     
    5051SET
    5152
    52 PP.LiquidModel          = "PR";
    53 PP.VapourModel          = "PR";
    54 PP.Components           = ["n-hexane","water"];
    55 NComp                               = PP.NumberOfComponents;
     53NComp   = PP.NumberOfComponents;
    5654
    5755#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     
    109107PARAMETERS
    110108
    111         PP                      as Plugin (File="vrpp");
     109        PP                      as Plugin (Type ="PP", LiquidModel = "PR", VapourModel = "PR",
     110                                                                        Components = ["n-hexane","water"]);
    112111        NComp           as Integer;
    113112       
     
    130129SET
    131130
    132 PP.LiquidModel          = "PR";
    133 PP.VapourModel          = "PR";
    134 PP.Components           = ["n-hexane","water"];
    135 NComp                               = PP.NumberOfComponents;
     131NComp   = PP.NumberOfComponents;
    136132
    137133#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  • branches/newlanguage/sample/heat_exchangers/Sample_Heater.mso

    r208 r214  
    4141PARAMETERS
    4242
    43         PP                      as Plugin (File="vrpp");
     43        PP                      as Plugin (Type ="PP", LiquidModel = "PR",VapourModel  = "PR",
     44                                                                        Components      = ["water","ethanol"]);
    4445        NComp           as Integer;
    4546       
    4647SET
    4748
    48         PP.LiquidModel    = "PR";
    49         PP.VapourModel  = "PR";
    50        
    51         PP.Components   = ["water","ethanol"];
    52         NComp                   = PP.NumberOfComponents;
     49        NComp   = PP.NumberOfComponents;
    5350       
    5451        Heater.Ninlet   = 2;
  • branches/newlanguage/sample/heat_exchangers/Sample_Mheatex.mso

    r179 r214  
    3737PARAMETERS
    3838
    39         PP                      as Plugin       (File="vrpp");
     39        PP                      as Plugin       (Type="PP", LiquidModel= "PR", VapourModel      = "PR",
     40                                                                                Components = ["water","methanol","benzene","toluene"]);
    4041        NComp           as Integer      (Brief="Number Components");
    4142       
    4243SET
    4344
    44         PP.LiquidModel          = "PR";
    45         PP.VapourModel  = "PR";
    46         PP.Components   = ["water","methanol","benzene","toluene"];
    47         NComp                           = PP.NumberOfComponents;
     45        NComp   = PP.NumberOfComponents;
    4846       
    4947        Mheater.Nhot          = 1;
     
    116114PARAMETERS
    117115
    118         PP                      as Plugin       (File="vrpp");
     116        PP                      as Plugin       (Type="PP", LiquidModel= "PR", VapourModel      = "PR",
     117                                                                                Components = ["water","methanol","benzene","toluene"]);
    119118        NComp           as Integer      (Brief="Number Components");
    120119       
    121120SET
    122121
    123         PP.LiquidModel          = "PR";
    124         PP.VapourModel  = "PR";
    125         PP.Components   = ["water","methanol","benzene","toluene"];
    126122        NComp                           = PP.NumberOfComponents;
    127123       
  • branches/newlanguage/sample/heat_exchangers/Sample_Simplified.mso

    r179 r214  
    4040       
    4141PARAMETERS
    42         PP                      as Plugin       (File="vrpp");
     42        PP                      as Plugin       (Type="PP",LiquidModel    = "RK",VapourModel   = "RK",
     43                                                                                Components      = ["water"]);
    4344        NComp           as Integer;
     45       
    4446SET
    4547
    46         PP.LiquidModel     = "RK";
    47         PP.VapourModel   = "RK";
    48         PP.Components   = ["water"];
     48
    4949        NComp                           = PP.NumberOfComponents;
    5050       
     
    9191       
    9292PARAMETERS
    93         PP                      as Plugin       (File="vrpp");
     93        PP                      as Plugin       (Type="PP",LiquidModel    = "RK",VapourModel   = "RK",
     94                                                                                Components      = ["water"]);
    9495        NComp           as Integer;
    9596
    9697SET
    9798
    98         PP.LiquidModel     = "RK";
    99         PP.VapourModel   = "RK";
    100         PP.Components   = ["water"];
    10199        NComp                           = PP.NumberOfComponents;
    102100       
  • branches/newlanguage/sample/heat_exchangers/sample_ShellandTubes.mso

    r186 r214  
    2929PARAMETERS
    3030
    31         PP              as Plugin (Brief="Physical Properties",File="vrpp");
     31        PP              as Plugin (Brief="Physical Properties",Type="PP",LiquidModel = "PR",VapourModel = "PR",
     32                                                                Components      = ["water","n-butane", "benzene" ]);
    3233        NComp   as Integer;
    3334       
     
    4243SET
    4344
    44         PP.LiquidModel          = "PR";
    45         PP.VapourModel          = "PR";
    46         PP.Components   = ["water","n-butane", "benzene" ];
    4745        NComp                           = PP.NumberOfComponents;
    4846
     
    8785PARAMETERS
    8886
    89         PP              as Plugin (Brief="Physical Properties",File="vrpp");
     87                PP              as Plugin (Brief="Physical Properties",Type="PP",LiquidModel = "PR",VapourModel = "PR",
     88                                                                Components      = ["water","n-butane", "benzene" ]);
    9089        NComp   as Integer;
    9190       
     
    10099SET
    101100
    102         PP.LiquidModel          = "PR";
    103         PP.VapourModel          = "PR";
    104         PP.Components   = ["water","n-butane", "benzene" ];
    105101        NComp                           = PP.NumberOfComponents;
    106102
Note: See TracChangeset for help on using the changeset viewer.