Ignore:
Timestamp:
Jun 18, 2009, 4:28:00 PM (13 years ago)
Author:
gerson bicca
Message:

added control ports in column model

File:
1 edited

Legend:

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

    r739 r771  
    3838using "pressure_changers/pump";
    3939
     40Model ControlSection
     41
     42ATTRIBUTES
     43        Pallete = false;
     44        Brief = "Control variables for column section.";
     45
     46PARAMETERS
     47        outer NComp             as Integer      (Brief="Number of components");
     48
     49        Tindicator_TrayNumber   as Integer      (Brief="Temperature Indicator in the tray");
     50        Pindicator_TrayNumber   as Integer      (Brief="Pressure Indicator in the tray");
     51
     52end
     53
    4054Model InitializeSection
    4155
     
    156170        INITIALIZATION as InitializeSection (Brief = "Column Model Initialization");
    157171#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     172# Control Ports
     173#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     174        CONTROL as ControlSection (Brief = "Control");
     175        out     TCI as control_signal   (Brief="Temperature  Indicator", Protected = true, PosX=1, PosY=0.90);
     176        out     PCI as control_signal   (Brief="Pressure Indicator", Protected = true, PosX=1, PosY=0.80);
     177#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    158178# Column Feed - Side Stream Flow and Murphree Efficiency
    159179#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++             
     
    195215
    196216EQUATIONS
     217#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     218# Control Ports
     219#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     220
     221"Tray Temperature Indicator"   
     222        TCI*'K' = TRAYS(max([NumberOfTrays, CONTROL.Tindicator_TrayNumber])).OutletVapour.T;
     223
     224"Tray Pressure Indicator"       
     225        PCI*'atm' = TRAYS(max([NumberOfTrays, CONTROL.Pindicator_TrayNumber])).OutletVapour.P;
     226
    197227#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    198228# Equating Feed Tray Variables to Trays Variables
Note: See TracChangeset for help on using the changeset viewer.