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/reactors/sample_cstr.mso

    r208 r213  
    2929
    3030PARAMETERS
    31         PP              as Plugin       (Brief="Physical Properties",File="vrpp");
     31        PP              as Plugin(Brief="Physical Properties",
     32                Type = "PP",
     33                Components  = ["1,2-propylene oxide", "methanol","water","1,2-propylene glycol" ],
     34                LiquidModel = "PR",
     35                VapourModel = "PR"
     36        );
    3237        NComp   as Integer;
    3338        R                       as Real         (Default=8.3145, Unit='J/mol/K');
     
    3843
    3944SET
    40 
    41         PP.Components   = ["1,2-propylene oxide", "methanol","water","1,2-propylene glycol" ];
    42         PP.LiquidModel  = "PR";
    43         PP.VapourModel  = "PR";
    44 
    4545        NComp                   = PP.NumberOfComponents;
    4646        Reac.NReac      = 1;
Note: See TracChangeset for help on using the changeset viewer.