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.mso

    r749 r796  
    33*----------------------------------------------*#
    44
     5using "pressure_changers/valve";
    56using "streams";
     7using "controllers/PIDs";
    68using "stage_separators/flash";
    7 using "pressure_changers/valve";
    8 using "controllers/PIDs";
    99
    1010FlowSheet sample_flash
     
    1919        SET
    2020        NComp = PP.NumberOfComponents;
    21 
    22         DEVICES
    23         Heat as energy_source;
    24 
    25         SET
    26 
    27         SPECIFY
    28         Heat.OutletQ = 1026.32 * 'kW';
    29 
    30         INITIAL
    31 
    32         GUESS
    33 
    34         DEVICES
    35         F101 as flash;
    36 
    37         SET
    38         F101.VesselVolume = 8 * 'm^3';
    39         F101.Orientation = "vertical";
    40         F101.Diameter = 2 * 'm';
    41         F101.Levelpercent_Initial = 0.80;
    42         F101.Temperature_Initial = 373 * 'K';
    43         F101.Composition_Initial(1) = 0.30;
    44         F101.Composition_Initial(2) = 0.40;
    45         F101.Composition_Initial(3) = 0.30;
    46 
    47         SPECIFY
    48 
    49         INITIAL
    50 
    51         GUESS
    5221
    5322        DEVICES
     
    200169        GUESS
    201170
     171        DEVICES
     172        F101 as flash;
     173
     174        SET
     175        F101.Orientation = "vertical";
     176        F101.Heads = "hemispherical";
     177        F101.Diameter = 2 * 'm';
     178        F101.Lenght = 5 * 'm';
     179        F101.Levelpercent_Initial = 0.80;
     180        F101.Temperature_Initial = 373 * 'K';
     181        F101.Composition_Initial(1) = 0.30;
     182        F101.Composition_Initial(2) = 0.40;
     183        F101.Composition_Initial(3) = 0.30;
     184
     185        SPECIFY
     186
     187        INITIAL
     188
     189        GUESS
     190
     191        DEVICES
     192        heat_duty as energy_source2;
     193
     194        SET
     195
     196        SPECIFY
     197        heat_duty.OutletQ = 1026.32 * 'kW';
     198
     199        INITIAL
     200
     201        GUESS
     202
    202203        CONNECTIONS
    203         Heat.OutletQ to F101.InletQ;
    204204        PCV.Outlet to VaporProduct.Inlet;
    205205        LCV.Outlet to LiquidProduct.Inlet;
    206206        Feed.Outlet to FeedValve.Inlet;
    207207        FeedStep.OutSignal to FeedValve.FlowFraction;
     208        PID_LC.Output to LCV.FlowFraction;
     209        PID_PC.Output to PCV.FlowFraction;
    208210        FeedValve.Outlet to F101.Inlet;
    209         F101.LI to PID_LC.Input;
    210         PID_LC.Output to LCV.FlowFraction;
    211         F101.PI to PID_PC.Input;
    212         PID_PC.Output to PCV.FlowFraction;
     211        heat_duty.OutletQ to F101.InletQ;
    213212        F101.OutletLiquid to LCV.Inlet;
    214213        F101.OutletVapour to PCV.Inlet;
     214        F101.LI to PID_LC.Input;
     215        F101.PI to PID_PC.Input;
    215216
    216217        OPTIONS
Note: See TracChangeset for help on using the changeset viewer.