Ignore:
Timestamp:
Dec 4, 2009, 3:33:02 PM (13 years ago)
Author:
mamuller
Message:

added composition indicator on the PackedColumn? model

File:
1 edited

Legend:

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

    r885 r901  
    4949        Tindicator_TrayNumber   as Integer      (Brief="Temperature Indicator in the tray");
    5050        Pindicator_TrayNumber   as Integer      (Brief="Pressure Indicator in the tray");
     51        zindicator_TrayNumber   as Integer      (Brief="Composition Indicator in the tray");
     52        zindicator_Component    as Integer      (Brief="Component to indicate");
    5153
    5254end
     
    694696        out     TCI as control_signal   (Brief="Temperature  Indicator", Protected = true, PosX=1, PosY=0.73);
    695697        out     PCI as control_signal   (Brief="Pressure Indicator", Protected = true, PosX=0, PosY=0.24);
     698        out zCI as control_signal       (Brief="Composition control", Protected = true, PosX=1, PosY=0.8);
    696699       
    697700        in      LiquidInlet             as      stream                          (Brief="Liquid Inlet in the section", PosX=0.70, PosY=0,Protected=true);
    698701        out     VapourOutlet            as vapour_stream        (Brief="Vapour Outlet in the section", PosX=0.30, PosY=0,Protected=true);
    699702       
    700         in              VapourInlet             as stream                               (Brief="Vapour Inlet in the section", PosX=0.30, PosY=1,Protected=true);
     703        in      VapourInlet             as stream                               (Brief="Vapour Inlet in the section", PosX=0.30, PosY=1,Protected=true);
    701704        out     LiquidOutlet            as liquid_stream                (Brief="Liquid Outlet in the section", PosX=0.70, PosY=1,Protected=true);
    702705       
     
    759762        #PCI*'atm' = TRAYS(min([NumberOfTrays, CONTROL.Pindicator_TrayNumber])).OutletVapour.P;
    760763        PCI*'atm' = STAGES(CONTROL.Pindicator_TrayNumber).OutletVapour.P;
    761 
     764       
     765"Tray Composition Indicator"   
     766        #zCI * .000001 = STAGES(CONTROL.zindicator_TrayNumber).OutletVapour.z(CONTROL.zindicator_Component) * STAGES(CONTROL.zindicator_TrayNumber).Mw(CONTROL.zindicator_Component) ; #/sum(STAGES(CONTROL.zindicator_TrayNumber).Mw*STAGES(CONTROL.zindicator_TrayNumber).OutletLiquid.z);   
     767        zCI * 1e-6 = STAGES(CONTROL.zindicator_TrayNumber).OutletLiquid.z(CONTROL.zindicator_Component) * STAGES(CONTROL.zindicator_TrayNumber).Mw(CONTROL.zindicator_Component) / sum(STAGES(CONTROL.zindicator_TrayNumber).Mw*STAGES(CONTROL.zindicator_TrayNumber).OutletLiquid.z);
     768       
    762769"PressureDrop"
    763770        PressureDrop = STAGES(NumberOfStages).OutletLiquid.P - STAGES(1).OutletLiquid.P;
Note: See TracChangeset for help on using the changeset viewer.