Changeset 901 for branches


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

added composition indicator on the PackedColumn? model

Location:
branches/gui/eml/stage_separators
Files:
2 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;
  • branches/gui/eml/stage_separators/tray.mso

    r878 r901  
    459459out     OutletVapour    as vapour_stream        (Brief="Outlet vapour stream", Symbol="_{outV}",Protected=true);
    460460
    461         M(NComp)        as mol                  (Brief="Molar Holdup in the tray", Default=0.01, Lower=0, Upper=100,Protected=true);
     461        M(NComp)        as mol                  (Brief="Molar Holdup in the tray", Default=0.01, Lower=-0.000001, Upper=100,Protected=true);
    462462        ML                      as mol                  (Brief="Molar liquid holdup", Default=0.01, Lower=0, Upper=100,Protected=true);
    463463        MV                      as mol                  (Brief="Molar vapour holdup", Default=0.01, Lower=0, Upper=100,Protected=true);
Note: See TracChangeset for help on using the changeset viewer.