Ignore:
Timestamp:
Jul 18, 2008, 4:01:13 PM (15 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Updating the models to be usable by the gui

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/stage_separators/condenser.mso

    r353 r555  
    5151out     OutletL as liquid_stream(Brief="Liquid outlet stream", PosX=0.4513, PosY=1, Symbol="_{outL}");
    5252out     OutletV as vapour_stream(Brief="Vapour outlet stream", PosX=0.4723, PosY=0, Symbol="_{outV}");
    53 in      InletQ as energy_stream (Brief="Cold supplied", PosX=1, PosY=0.6311, Symbol="_{in}");
     53in      InletQ as power (Brief="Cold supplied", PosX=1, PosY=0.6311, Symbol="_{in}");
    5454
    5555        M(NComp) as mol (Brief="Molar Holdup in the tray");
     
    6868        "Energy Balance"
    6969        diff(E) = InletV.F*InletV.h - OutletL.F*OutletL.h
    70                                 - OutletV.F*OutletV.h + InletQ.Q;
     70                                - OutletV.F*OutletV.h + InletQ;
    7171
    7272        "Molar Holdup"
     
    129129in      InletV as stream(Brief="Vapour inlet stream", PosX=0.3431, PosY=0, Symbol="_{inV}");
    130130out     OutletL as liquid_stream(Brief="Liquid outlet stream", PosX=0.34375, PosY=1, Symbol="_{outL}");
    131 in      InletQ as energy_stream (Brief="Cold supplied", PosX=1, PosY=0.5974, Symbol="_{in}");
     131in      InletQ as power (Brief="Cold supplied", PosX=1, PosY=0.5974, Symbol="_{in}");
    132132        DP as press_delta (Brief="Pressure Drop in the condenser");
    133133
     
    138138               
    139139        "Energy Balance"
    140         InletV.F*InletV.h = OutletL.F*OutletL.h + InletQ.Q;
     140        InletV.F*InletV.h = OutletL.F*OutletL.h + InletQ;
    141141       
    142142        "Pressure"
     
    184184out     OutletL as liquid_stream(Brief="Liquid outlet stream", PosX=0.4513, PosY=1, Symbol="_{outL}");
    185185out     OutletV as vapour_stream(Brief="Vapour outlet stream", PosX=0.4723, PosY=0, Symbol="_{outV}");
    186 in      InletQ as energy_stream (Brief="Cold supplied", PosX=1, PosY=0.6311, Symbol="_{in}");
     186in      InletQ as power (Brief="Cold supplied", PosX=1, PosY=0.6311, Symbol="_{in}");
    187187
    188188        M(NComp) as mol (Brief="Molar Holdup in the tray");
     
    210210        "Energy Balance"
    211211        diff(E) = InletV.F*InletV.h - OutletL.F*OutletL.h
    212                                 - OutletV.F*OutletV.h + InletQ.Q + Hr * r3 * ML*vL;
     212                                - OutletV.F*OutletV.h + InletQ + Hr * r3 * ML*vL;
    213213
    214214        "Molar Holdup"
Note: See TracChangeset for help on using the changeset viewer.