Ignore:
Timestamp:
Nov 9, 2007, 7:41:38 PM (15 years ago)
Author:
gerson bicca
Message:

updated mixer model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eml/mixers_splitters/mixer.mso

    r370 r400  
    1818*--------------------------------------------------------------------*#
    1919
    20 using "stage_separators/flash";
     20using "streams";
    2121
    2222Model mixer
     
    3838       
    3939        VARIABLES
    40 in  Inlet_mixer(Ninlet) as stream (Brief = "Inlet streams", PosX=0, PosY=0.5, Symbol="_{inMix}");
     40in  Inlet(Ninlet) as stream (Brief = "Inlet streams", PosX=0, PosY=0.5, Symbol="_{inMix}");
    4141out Outlet                      as streamPH (Brief = "Outlet stream", PosX=1, PosY=0.5059, Symbol="_{out}");
    4242       
     
    4444       
    4545        "Flow"
    46         Outlet.F = sum(Inlet_mixer.F);
     46        Outlet.F = sum(Inlet.F);
    4747
    4848         for i in [1:NComp]
    4949       
    5050                "Composition"
    51         Outlet.F*Outlet.z(i) = sum(Inlet_mixer.F*Inlet_mixer.z(i));
     51        Outlet.F*Outlet.z(i) = sum(Inlet.F*Inlet.z(i));
    5252    end
    5353
    5454        "Energy Balance"
    55         Outlet.F*Outlet.h = sum(Inlet_mixer.F*Inlet_mixer.h);
     55        Outlet.F*Outlet.h = sum(Inlet.F*Inlet.h);
    5656
    5757        "Pressure"
    58         Outlet.P = min(Inlet_mixer.P);
     58        Outlet.P = min(Inlet.P);
    5959end
Note: See TracChangeset for help on using the changeset viewer.