Ignore:
Timestamp:
Jul 18, 2009, 6:08:44 PM (13 years ago)
Author:
gerson bicca
Message:

updated flash model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/sample/stage_separators/Sample_flash_PID.mso

    r749 r796  
    2626
    2727        SPECIFY
    28         HeatToFlash.OutletQ = 1026.32 * 'kW';
     28        HeatToFlash.OutletQ = 1027 * 'kW';
    2929
    3030        INITIAL
     
    100100        PID_LC.tauSet = 1 * 's';
    101101        PID_LC.MinInput = 0;
    102         PID_LC.MaxInput = 2;
     102        PID_LC.MaxInput = 1;
    103103        PID_LC.MinOutput = 0;
    104104        PID_LC.MaxOutput = 1;
     
    141141
    142142        DEVICES
     143        LiquidProduct as simple_sink;
     144
     145        SET
     146
     147        SPECIFY
     148
     149        INITIAL
     150
     151        GUESS
     152
     153        DEVICES
    143154        F101_1 as flash;
    144155
    145156        SET
    146         F101_1.VesselVolume = 8 * 'm^3';
    147157        F101_1.Orientation = "vertical";
     158        F101_1.Heads = "flat";
    148159        F101_1.Diameter = 3.1 * 'm';
    149         F101_1.Levelpercent_Initial = 0.70;
    150         F101_1.Temperature_Initial = 383 * 'K';
    151         F101_1.Composition_Initial(1) = 0.3;
    152         F101_1.Composition_Initial(2) = 0.4;
    153         F101_1.Composition_Initial(3) = 0.3;
    154 
    155         SPECIFY
    156 
    157         INITIAL
    158 
    159         GUESS
    160 
    161         DEVICES
    162         LiquidProduct as simple_sink;
    163 
    164         SET
     160        F101_1.Lenght = 6 * 'm';
     161        F101_1.Levelpercent_Initial = 0.80;
     162        F101_1.Temperature_Initial = 373 * 'K';
     163        F101_1.Composition_Initial(1) = 0.30;
     164        F101_1.Composition_Initial(2) = 0.40;
     165        F101_1.Composition_Initial(3) = 0.30;
    165166
    166167        SPECIFY
     
    174175        PID_LC.Output to valve_liquid.FlowFraction;
    175176        PID_PC.Output to valve_Vapour.FlowFraction;
     177        valve_liquid.Outlet to LiquidProduct.Inlet;
     178        Feed.Outlet to F101_1.Inlet;
    176179        F101_1.OutletVapour to valve_Vapour.Inlet;
     180        HeatToFlash.OutletQ to F101_1.InletQ;
    177181        F101_1.OutletLiquid to valve_liquid.Inlet;
    178         Feed.Outlet to F101_1.Inlet;
    179         HeatToFlash.OutletQ to F101_1.InletQ;
    180182        F101_1.LI to PID_LC.Input;
    181183        F101_1.PI to PID_PC.Input;
    182         valve_liquid.Outlet to LiquidProduct.Inlet;
    183184
    184185        OPTIONS
    185186        Dynamic = true;
    186187        TimeStep = 0.2;
    187         TimeEnd = 1;
     188        TimeEnd = 12;
    188189        TimeUnit = 'h';
    189190        Integration = "original";
Note: See TracChangeset for help on using the changeset viewer.