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_turbine.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 = ["water", "benzene"],
     41                LiquidModel = "PR",
     42                VapourModel = "PR"
     43        );
    3944        Mw              as positive     (Brief = "Molar Mass", Unit = 'kg/kmol');
    4045        NComp   as Integer              (Default= 1);
    4146       
    4247        SET
    43         PP.Components = ["water", "benzene"];   
    44         PP.LiquidModel = "PR";
    45         PP.VapourModel = "PR";
    46         PP.Derivatives = 0;
    47         NComp = PP.NumberOfComponents;
     48        NComp = PP.NumberOfComponents();
    4849       
    4950        SPECIFY
Note: See TracChangeset for help on using the changeset viewer.