Ignore:
Timestamp:
Feb 12, 2008, 4:55:35 PM (15 years ago)
Author:
Paula Bettio Staudt
Message:

More flowsheet tests

File:
1 edited

Legend:

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

    r453 r455  
    12641264
    12651265Model Section_Column_Packed
    1266         ATTRIBUTES
    1267         Pallete         = true;
    1268         Icon            = "icon/SectionColumn";
    1269         Brief           = "Model of a column section.";
    1270         Info            =
    1271 "== Model of a column section containing ==
    1272 * NTrays trays.
    1273        
    1274 == Specify ==
    1275 * the feed stream of each tray (Inlet);
    1276 * the Murphree eficiency for each tray Emv;
    1277 * the InletL stream of the top tray;
    1278 * the InletV stream of the bottom tray.
    1279        
    1280 == Initial Conditions ==
    1281 * the trays temperature (OutletL.T);
    1282 * the trays liquid level (Level) OR the trays liquid flow (OutletL.F);
    1283 * (NoComps - 1) OutletL (OR OutletV) compositions for each tray.
    1284 ";
    1285        
    1286         PARAMETERS
    1287         outer PP as Plugin(Brief = "External Physical Properties", Type="PP");
    1288         outer NComp as Integer;
    1289         NTrays as Integer(Brief="Number of trays", Default=2);
     1266       
     1267        PARAMETERS
     1268        outer PP as Plugin(Brief = "External Physical Properties", Type="PP");
     1269        outer NComp as Integer;
     1270        NStages as Integer(Brief="Number of trays", Default=2);
    12901271        topdown as Integer(Brief="Trays counting (1=top-down, -1=bottom-up)", Default=1);
    12911272        top as Integer(Brief="Number of top tray");
     
    12931274        H as length (Brief="Height of packing");
    12941275
    1295         SET
    1296         top = (NTrays-1)*(1-topdown)/2+1;
    1297         bot = NTrays/top;
    1298        
    1299         VARIABLES
    1300         stage(NTrays) as packedStage;
    1301        
    1302         EQUATIONS
    1303         stage.hs = H/NTrays;
    1304 
     1276        VARIABLES
     1277        stage(NStages) as packedStage_BilletSchultes;
     1278       
     1279        SET
     1280        top = (NStages-1)*(1-topdown)/2+1;
     1281        bot = NStages/top;
     1282        stage.hs = H/NStages;   
     1283        stage.V = stage.hs * stage.Ap;
     1284       
    13051285        CONNECTIONS
    13061286        stage([top+topdown:topdown:bot]).OutletV to stage([top:topdown:bot-topdown]).InletV;
     
    13161296        top as Integer(Brief="Number of top tray");
    13171297        bot as Integer(Brief="Number of bottom tray");
    1318        
    1319         SET
    1320         top = (NStages-1)*(1-topdown)/2+1;
    1321         bot = NStages/top;
    1322        
    1323         VARIABLES
    1324         stage(NStages) as packedStage;
     1298        H as length (Brief="Height of packing");
     1299        K as Real (Brief="Reboiler flow constant", Unit='mol*s^0.5/kg^0.5/m');
     1300       
     1301        VARIABLES
     1302        stage(NStages) as packedStage_BilletSchultes;
    13251303        cond as condenser;
    13261304        reb as reboiler;
    13271305        sptop as splitter;
    13281306        pump1 as pump;
     1307       
     1308        SET
     1309        top = (NStages-1)*(1-topdown)/2+1;
     1310        bot = NStages/top;
     1311        stage.hs = H/NStages;   
     1312        stage.V = stage.hs * stage.Ap;
    13291313       
    13301314        CONNECTIONS
     
    13401324        stage([top:topdown:bot-topdown]).OutletL to stage([top+topdown:topdown:bot]).InletL;
    13411325        stage(bot).OutletL to reb.InletL;
    1342        
    1343         EQUATIONS
    1344         reb.OutletV.F = stage(bot).OutletV.F;
    1345 end
     1326end
Note: See TracChangeset for help on using the changeset viewer.