Changeset 828 for branches


Ignore:
Timestamp:
Aug 13, 2009, 4:03:22 PM (13 years ago)
Author:
mamuller
Message:

model TankL: Added the static head contribution to the OutletLiquid? pressure.

File:
1 edited

Legend:

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

    r826 r828  
    311311
    312312        pi                      as positive             (Brief="Pi value", Default=3.141593,Hidden=true, Symbol="\pi");
     313        g                               as acceleration         (Brief="Gravity Acceleration",Default=9.81,Hidden=true);
    313314       
    314315        Orientation     as Switcher     (Valid=["vertical","horizontal"],Default="vertical");
     
    349350        Across          as area                 (Brief="Vessel cylinder shell Cross section area", Hidden=true, Symbol="A_{cross}");
    350351
     352        Pstatic         as pressure             (Brief="Static head at the bottom of the tank", Protected = true, Symbol="P_{static}^{Liquid}");
     353
    351354out     TI as control_signal    (Brief="Temperature Indicator", PosX=0.525, PosY=0, Protected=true);
    352355out     PI as control_signal    (Brief="Pressure Indicator", PosX=0.368, PosY=0, Protected=true);
     
    463466        E = sum(TotalHoldup)*OutletLiquid.h;
    464467
     468"Static Head"   
     469        Pstatic = PP.LiquidDensity(OutletLiquid.T, Inlet.P, OutletLiquid.z) * g * Level;
     470
    465471"Mechanical Equilibrium"
    466         Inlet.P = OutletLiquid.P;
     472        Inlet.P + Pstatic = OutletLiquid.P;
    467473
    468474"Liquid Volume"
Note: See TracChangeset for help on using the changeset viewer.