Ignore:
Timestamp:
Jul 13, 2007, 6:28:33 PM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

Creating energy_stream and set its use.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eml/stage_separators/tank.mso

    r300 r310  
    6262out     Outlet as liquid_stream;
    6363
    64 in      Q as heat_rate (Brief="Rate of heat supply");
     64in      InletQ as energy_stream (Brief="Rate of heat supply");
    6565        Level    as length(Brief="Tank level");
    6666        M(NComp) as mol (Brief="Molar Holdup in the tank");
     
    7373       
    7474        "Energy balance"
    75         diff(E) = Inlet.F*Inlet.h - Outlet.F*Outlet.h + Q;
     75        diff(E) = Inlet.F*Inlet.h - Outlet.F*Outlet.h + InletQ.Q;
    7676
    7777        "Energy Holdup"
     
    123123out     Outlet as liquid_stream;
    124124
    125 in      Q as heat_rate (Brief="Rate of heat supply");
     125in      InletQ as energy_stream (Brief="Rate of heat supply");
    126126        Level    as length(Brief="Tank level");
    127127        Across as area (Brief="Tank cross section area", Default=2);
     
    135135       
    136136        "Energy balance"
    137         diff(E) = Inlet.F*Inlet.h - Outlet.F*Outlet.h + Q;
     137        diff(E) = Inlet.F*Inlet.h - Outlet.F*Outlet.h + InletQ.Q;
    138138
    139139        "Energy Holdup"
     
    187187out     Outlet as liquid_stream;
    188188
    189 in      Q as heat_rate (Brief="Rate of heat supply");
     189in      InletQ as energy_stream (Brief="Rate of heat supply");
    190190        Level    as length(Brief="Tank level");
    191191        M(NComp) as mol (Brief="Molar Holdup in the tank");
     
    198198       
    199199        "Energy balance"
    200         diff(E) = Feed.F*Feed.h + Inlet.F*Inlet.h - Outlet.F*Outlet.h + Q;
     200        diff(E) = Feed.F*Feed.h + Inlet.F*Inlet.h - Outlet.F*Outlet.h + InletQ.Q;
    201201
    202202        "Energy Holdup"
Note: See TracChangeset for help on using the changeset viewer.