Changeset 831 for branches/gui/eml/stage_separators/condenser.mso
- Timestamp:
- Aug 14, 2009, 5:20:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/stage_separators/condenser.mso
r830 r831 49 49 50 50 Mw(NComp) as molweight (Brief = "Component Mol Weight",Hidden=true); 51 low_flow as flow_mol (Brief = "Low Flow",Default = 1E-6, Hidden=true);52 zero_flow as flow_mol (Brief = "No Flow",Default = 0, Hidden=true);53 KfConst as area (Brief="Constant for K factor pressure drop", Default = 1, Hidden=true);54 55 VapourFlow as Switcher (Brief="Vapour Flow", Valid = ["on", "off"], Default = "on",Hidden=true);56 57 Kfactor as positive (Brief="K factor for pressure drop", Lower = 1E-8, Default = 1E-3);58 51 Pdrop as press_delta (Brief="Pressure Drop in the condenser",Default=0, Symbol="\Delta _P"); 59 52 … … 61 54 62 55 Mw = PP.MolecularWeight(); 63 low_flow = 1E-6 * 'kmol/h';64 zero_flow = 0 * 'kmol/h';65 KfConst = 1*'m^2';66 56 67 57 VARIABLES … … 78 68 79 69 EQUATIONS 80 81 switch VapourFlow82 83 case "on":84 InletVapour.F*sum(Mw*InletVapour.z) = Kfactor *sqrt(Pdrop*rho)*KfConst;85 86 when InletVapour.F < low_flow switchto "off";87 88 case "off":89 InletVapour.F = zero_flow;90 91 when InletVapour.P > OutletLiquid.P switchto "on";92 93 end94 70 95 71 "Molar Flow Balance"
Note: See TracChangeset
for help on using the changeset viewer.