Ignore:
Timestamp:
Oct 26, 2007, 12:44:56 PM (15 years ago)
Author:
Paula Bettio Staudt
Message:

Updated tray and column models and samples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eml/stage_separators/tray.mso

    r353 r398  
    131131        alfa as fraction (Brief="Dry pressure drop coefficient");
    132132       
     133        VapourFlow as Switcher(Valid = ["on", "off"], Default = "on");
     134        LiquidFlow as Switcher(Valid = ["on", "off"], Default = "on");
     135       
    133136        VARIABLES
    134137        rhoL as dens_mass;
     
    141144        rhoV = PP.VapourDensity(InletV.T, InletV.P, InletV.z);
    142145
    143         if Level > (beta * hw) then
     146        switch LiquidFlow
     147                case "on":
    144148                "Francis Equation"
    145                 OutletL.F = 1.84*'1/s'*lw*((Level-(beta*hw))/(beta))^2/vL;
    146         else
     149#               OutletL.F*vL = 1.84*'m^0.5/s'*lw*((Level-(beta*hw))/(beta))^1.5;
     150                OutletL.F*vL = 1.84*'1/s'*lw*((Level-(beta*hw))/(beta))^2;
     151                when Level < (beta * hw) switchto "off";
     152               
     153                case "off":
    147154                "Low level"
    148155                OutletL.F = 0 * 'mol/h';
     156                when Level > (beta * hw) + 1e-6*'m' switchto "on";
     157        end
     158
     159        switch VapourFlow
     160                case "on":
     161                InletV.F*vV = sqrt((InletV.P - OutletV.P)/(rhoV*alfa))*Ah;
     162                when InletV.F < 1e-6 * 'kmol/h' switchto "off";
     163               
     164                case "off":
     165                InletV.F = 0 * 'mol/s';
     166                when InletV.P > OutletV.P + Level*g*rhoL + 1e-1 * 'atm' switchto "on";
    149167        end
    150168
Note: See TracChangeset for help on using the changeset viewer.