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/pressure_changers/sample_compressor.mso

    r210 r213  
    3636       
    3737        PARAMETERS
    38         PP              as Plugin       (Brief="External Physical Properties", File="vrpp");
     38        PP              as Plugin       (Brief="External Physical Properties",
     39                Type="PP",
     40                Components = ["nitrogen", "oxygen"],
     41                LiquidModel = "IdealLiquid",
     42                VapourModel = "Ideal"
     43        );
    3944        NComp   as Integer              (Default= 1);
    4045       
    4146        SET
    42         PP.Components = ["nitrogen", "oxygen"];
    43         PP.LiquidModel = "IdealLiquid";
    44         PP.VapourModel = "Ideal";
    4547        NComp = PP.NumberOfComponents;
    46         PP.Derivatives = 0;
    4748
    4849        SPECIFY
     
    5455       
    5556        C1.Outlet.P = 3 * 'atm';
    56 end             
     57end
Note: See TracChangeset for help on using the changeset viewer.