Changeset 835 for branches


Ignore:
Timestamp:
Aug 20, 2009, 12:44:39 PM (13 years ago)
Author:
gerson bicca
Message:

updated splitter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/mixers_splitters/splitter.mso

    r757 r835  
    7878        ATTRIBUTES
    7979        Pallete         = true;
    80         Icon            = "icon/splitter";
     80        Icon            = "icon/splitter_column";
    8181        Brief           = "Splitter with 2 outlet streams";
    8282        Info            =
     
    9595
    9696VARIABLES
    97 in  Inlet   as stream (Brief = "Inlet stream", PosX=0, PosY=0.5069, Symbol="_{in}");
    98 out Outlet1 as stream (Brief = "Outlet stream 1", PosX=1, PosY=0.3027, Symbol="_{out1}");
    99 out Outlet2 as stream (Brief = "Outlet stream 2", PosX=1, PosY=0.7141, Symbol="_{out2}");
     97in  Inlet   as stream (Brief = "Inlet stream", PosX=0.5, PosY=0, Symbol="_{in}");
     98out Outlet1 as stream (Brief = "Outlet stream 1", PosX=0.25, PosY=1, Symbol="_{out1}");
     99out Outlet2 as stream (Brief = "Outlet stream 2", PosX=0.75, PosY=1, Symbol="_{out2}");
    100100        FlowRatios(2)   as fraction     (Brief = "Distribution of Outlets", Default=0.33, Symbol="\phi");
    101101
     
    221221
    222222Model splitter_column
    223         ATTRIBUTES
     223
     224ATTRIBUTES
    224225        Pallete         = true;
    225226        Icon            = "icon/splitter_column";
     
    229230*Thermodynamics equilibrium
    230231*Adiabatic
    231                        
     232
    232233== Specify ==
    233234* The inlet stream
    234 * One FlowRatios of split of the outlet streams:
    235 
    236         FlowRatios(i) = (Mole Flow of the outlet stream i /
    237                                 Mole Flow of the inlet stream)
    238                                 where i = 1, 2
     235* One Split Flow of the outlet stream:
     236**SplitFlow_RefluxStream: split of the outlet Reflux stream
     237**SplitFlow_DistillateStream: split of the outlet Distillate stream
     238
     239OR
     240
     241* The inlet stream and the RefluxRatio
    239242";
    240243
    241244VARIABLES
    242 in  Inlet   as stream (Brief = "Inlet stream", PosX=0.5, PosY=0, Symbol="_{in}");
    243 out Reflux as stream (Brief = "Reflux stream", PosX=0.25, PosY=1, Symbol="_{reflux}");
    244 out Distillate as stream (Brief = "Distillate stream", PosX=0.75, PosY=1, Symbol="_{distillate}");
    245         FlowRatios(2)   as fraction     (Brief = "Distribution of Outlets", Default=0.33, Symbol="\phi");
     245        in  Inlet       as stream (Brief = "Inlet stream", PosX=0.5, PosY=0, Symbol="_{in}");
     246        out Reflux              as stream (Brief = "Reflux stream", PosX=0.25, PosY=1, Symbol="_{reflux}");
     247        out Distillate  as stream (Brief = "Distillate stream", PosX=0.75, PosY=1, Symbol="_{distillate}");
     248
     249        SplitFlow_RefluxStream  as fraction     (Brief = "split of the outlet Reflux stream", Default=0.33);
     250        SplitFlow_DistillateStream      as fraction     (Brief = "split of the outlet Distillate stream", Default=0.33);
     251        RefluxRatio             as positive     (Brief = "Reflux Ratio", Default=10, Lower = 0.5);
    246252
    247253EQUATIONS
    248254
     255"Reflux Ratio" 
     256        Reflux.F*RefluxRatio = SplitFlow_RefluxStream*(Reflux.F*RefluxRatio + Reflux.F);
     257       
    249258"Normalize Flow Ratios"
    250         sum(FlowRatios) = 1;
     259        SplitFlow_RefluxStream + SplitFlow_DistillateStream = 1;
    251260       
    252261"Flow"
    253         Reflux.F = Inlet.F * FlowRatios(1);
     262        Reflux.F = Inlet.F * SplitFlow_RefluxStream;
    254263        Inlet.F = Reflux.F + Distillate.F;
    255264
Note: See TracChangeset for help on using the changeset viewer.