Changeset 398 for trunk/eml/stage_separators/tray.mso
- Timestamp:
- Oct 26, 2007, 12:44:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eml/stage_separators/tray.mso
r353 r398 131 131 alfa as fraction (Brief="Dry pressure drop coefficient"); 132 132 133 VapourFlow as Switcher(Valid = ["on", "off"], Default = "on"); 134 LiquidFlow as Switcher(Valid = ["on", "off"], Default = "on"); 135 133 136 VARIABLES 134 137 rhoL as dens_mass; … … 141 144 rhoV = PP.VapourDensity(InletV.T, InletV.P, InletV.z); 142 145 143 if Level > (beta * hw) then 146 switch LiquidFlow 147 case "on": 144 148 "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": 147 154 "Low level" 148 155 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"; 149 167 end 150 168
Note: See TracChangeset
for help on using the changeset viewer.