Ignore:
Timestamp:
Mar 14, 2007, 1:17:25 AM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

More newlanguage conversions in sample files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/stage_separators/sample_flashPH.mso

    r97 r202  
    2727FlowSheet FlashPHTest
    2828        PARAMETERS
    29         PP      as CalcObject(Brief="Physical Properties",File="vrpp");
     29        PP      as Plugin(Brief="Physical Properties",File="vrpp");
    3030        NComp   as Integer;
    3131
     
    4141        DEVICES
    4242        fl as FlashPHSteady;
    43         s1 as stream_therm;
     43        s1 as source;
    4444       
    4545        CONNECTIONS
     
    4848       
    4949        SPECIFY
    50         s1.F = 496.3 * "kmol/h";
    51         s1.T = 338 * "K";
    52         s1.P = 507.1 * "kPa";
    53         s1.v = 0.1380;
    54         s1.z = [0.1, 0.7,0.2];
     50        s1.Outlet.F = 496.3 * 'kmol/h';
     51        s1.Outlet.T = 338 * 'K';
     52        s1.Outlet.P = 507.1 * 'kPa';
     53        s1.Outlet.z = [0.1, 0.7,0.2];
    5554       
    56         fl.OutletL.P = 2.5 * "atm";
     55        fl.OutletL.P = 2.5 * 'atm';
    5756
    58         Q = 0 * "kJ/h";
    59         #fl.OutletL.T = 315.06 * "K";
     57        Q = 0 * 'kJ/h';
     58        #fl.OutletL.T = 315.06 * 'K';
    6059       
    6160        OPTIONS
    62         mode = "steady";
     61        Dynamic = false;
    6362end
Note: See TracChangeset for help on using the changeset viewer.