Ignore:
Timestamp:
Mar 4, 2007, 1:56:54 AM (15 years ago)
Author:
Argimiro Resende Secchi
Message:

Fix some new language syntax.

File:
1 edited

Legend:

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

    r124 r176  
    4949       
    5050        EQUATIONS
    51         fl.OutletL.F = 400*sqrt(fl.Level/"m") * "kmol/h";
     51        fl.OutletL.F = 400*sqrt(fl.Level/'m') * 'kmol/h';
    5252       
    5353        SPECIFY
    54         s1.Outlet.F = 496.3 * "kmol/h";
    55         s1.Outlet.T = 338 * "K";
    56         s1.Outlet.P = 507.1 * "kPa";
     54        s1.Outlet.F = 496.3 * 'kmol/h';
     55        s1.Outlet.T = 338 * 'K';
     56        s1.Outlet.P = 507.1 * 'kPa';
    5757        #s1.Outlet.v = 0.1380;
    5858        s1.Outlet.z = [0.2379,0.3082,0.09958,0.1373,0.08872,0.1283];
    5959
    60         fl.OutletV.F = 68.5 * "kmol/h";
    61         Q = 0 * "kJ/h";
     60        fl.OutletV.F = 68.5 * 'kmol/h';
     61        Q = 0 * 'kJ/h';
    6262       
    6363        SET
    64         fl.V = 2000 * "m^3";
    65         fl.Across = 1 * "m^2";
     64        fl.V = 2000 * 'm^3';
     65        fl.Across = 1 * 'm^2';
    6666       
    6767        INITIAL
    68         fl.OutletL.T = 338 *"K";
    69         fl.Level = 1 * "m";
     68        fl.OutletL.T = 338 * 'K';
     69        fl.Level = 1 * 'm';
    7070
    7171        fl.OutletL.z(1) = 0.1;
     
    8181        TimeStep = 0.1;
    8282        TimeEnd = 20;
    83         TimeUnit = "h";
     83        TimeUnit = 'h';
    8484end
    8585
     
    108108       
    109109        SPECIFY
    110         s1.Outlet.F = 496.3 * "kmol/h";
    111         s1.Outlet.T = 338 * "K";
    112         s1.Outlet.P = 507.1 * "kPa";
     110        s1.Outlet.F = 496.3 * 'kmol/h';
     111        s1.Outlet.T = 338 * 'K';
     112        s1.Outlet.P = 507.1 * 'kPa';
    113113        #s1.Outlet.v = 0.1380;
    114114        s1.Outlet.z = [0.2379,0.3082,0.09959,0.1373,0.08872,0.1283];
    115115       
    116         fl.OutletL.P = 2.5 * "atm";
     116        fl.OutletL.P = 2.5 * 'atm';
    117117
    118         #Q = 0 * "kJ/h";
    119         fl.OutletL.T = 315.06 * "K";
     118        #Q = 0 * 'kJ/h';
     119        fl.OutletL.T = 315.06 * 'K';
    120120       
    121121        OPTIONS
Note: See TracChangeset for help on using the changeset viewer.