Ignore:
Timestamp:
Jul 25, 2008, 7:24:26 PM (15 years ago)
Author:
gerson bicca
Message:

starting to update the EML (new gui)

Location:
branches/gui/sample/mixers_splitters
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/sample/mixers_splitters/sample_mixer.mso

    r400 r578  
    3737        stream1 as source;
    3838        stream2 as source;
    39         mixer1  as mixer;
     39        mixer1  as mixer_n;
    4040
    4141       
     
    4545        mixer1.Ninlet = 2;
    4646       
     47        stream1.ValidPhases = "Vapour-Liquid";
     48        stream1.CompostionBasis = "Molar";
     49       
     50        stream2.ValidPhases = "Vapour-Liquid";
     51        stream2.CompostionBasis = "Molar";
     52       
    4753        CONNECTIONS
    4854        stream1.Outlet to mixer1.Inlet(1);
     
    5157        SPECIFY
    5258       
    53         stream1.Outlet.F = 20 * 'kmol/h';
    54         stream1.Outlet.P = 120 * 'kPa';
    55         stream1.Outlet.T = 400  * 'K';
    56         stream1.Outlet.z = [0.5, 0.1, 0.4];
     59        stream1.F = 20 * 'kmol/h';
     60        stream1.P = 120 * 'kPa';
     61        stream1.T = 400  * 'K';
     62        stream1.Composition = [0.5, 0.1, 0.4];
    5763       
    5864       
    59         stream2.Outlet.F = 10 * 'kmol/h';
    60         stream2.Outlet.P = 120 * 'kPa';
    61         stream2.Outlet.T = 290 * 'K';   
    62         stream2.Outlet.z = [0.5, 0.1, 0.4];
     65        stream2.F = 10 * 'kmol/h';
     66        stream2.P = 120 * 'kPa';
     67        stream2.T = 290 * 'K'; 
     68        stream2.Composition = [0.5, 0.1, 0.4];
    6369       
    6470        OPTIONS
  • branches/gui/sample/mixers_splitters/sample_sepComp.mso

    r247 r578  
    4848        sep.mainComp = 1;
    4949        sep.NOutlet = 3;
     50       
     51        Stream.ValidPhases = "Vapour-Liquid";
     52        Stream.CompostionBasis = "Molar";
    5053
    5154SPECIFY
    52         Stream.Outlet.F = 30 * 'kmol/h';
    53         Stream.Outlet.P = 120 * 'kPa';
    54         Stream.Outlet.T = 290 * 'K';
    55         Stream.Outlet.z = [0.6, 0.4];
     55        Stream.F = 30 * 'kmol/h';
     56        Stream.P = 120 * 'kPa';
     57        Stream.T = 290 * 'K';
     58        Stream.Composition = [0.6, 0.4];
    5659       
    5760        sep.Outlet(1).z(1) = 0.7;
     
    8891        NComp = PP.NumberOfComponents;
    8992        sep.mainComp = 1;
     93       
     94        Stream.ValidPhases = "Vapour-Liquid";
     95        Stream.CompostionBasis = "Molar";
    9096
    9197        SPECIFY
    92         Stream.Outlet .F = 30 * 'kmol/h';
    93         Stream.Outlet .P = 120 * 'kPa';
    94         Stream.Outlet .T = 290 * 'K';
    95         Stream.Outlet .z = [0.6, 0.4];
     98        Stream.F = 30 * 'kmol/h';
     99        Stream.P = 120 * 'kPa';
     100        Stream.T = 290 * 'K';
     101        Stream.Composition = [0.6, 0.4];
    96102       
    97103        sep.Outlet1.z(1) = 0.7;
  • branches/gui/sample/mixers_splitters/sample_splitter.mso

    r366 r578  
    4444        NComp = PP.NumberOfComponents;
    4545        Splitter.NOutlet = 3;
     46       
     47        Stream.ValidPhases = "Vapour-Liquid";
     48        Stream.CompostionBasis = "Molar";
    4649
    4750        SPECIFY
    48         Stream.Outlet.F = 153 * 'kmol/h';
    49         Stream.Outlet.P = 150 * 'kPa';
    50         Stream.Outlet.T = 298.6 * 'K';
    51         Stream.Outlet.z = [0.6, 0.4];
     51        Stream.F = 153 * 'kmol/h';
     52        Stream.P = 150 * 'kPa';
     53        Stream.T = 298.6 * 'K';
     54        Stream.Composition = [0.6, 0.4];
    5255       
    5356        Splitter.frac(1) = 0.4;
Note: See TracChangeset for help on using the changeset viewer.