Changeset 124 for branches/newlanguage/eml
- Timestamp:
- Jan 19, 2007, 3:54:55 PM (17 years ago)
- Location:
- branches/newlanguage/eml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/eml/stage_separators/tray.mso
r103 r124 56 56 57 57 PARAMETERS 58 ext PP as CalcObject;59 extNComp as Integer;58 outer PP as Plugin; 59 outer NComp as Integer; 60 60 V as volume(Brief="Total Volume of the tray"); 61 61 Q as heat_rate (Brief="Rate of heat supply"); … … 66 66 in InletL as stream; 67 67 in InletV as stream; 68 out OutletL as stream_therm;69 out OutletV as stream_therm;68 out OutletL as liquid_stream; 69 out OutletV as vapour_stream; 70 70 71 71 M(NComp) as mol (Brief="Molar Holdup in the tray"); … … 119 119 V = ML* vL + MV*vV; 120 120 121 "vaporization fraction "122 OutletV.v = 1.0;123 OutletL.v = 0.0;124 125 121 "Level of clear liquid over the weir" 126 122 Level = ML*vL/Ap; … … 147 143 rhoV = PP.VapourDensity(InletV.T, InletV.P, InletV.z); 148 144 149 if (Level > (beta * hw)) then145 if Level > (beta * hw) then 150 146 "Francis Equation" 151 147 OutletL.F = 1.84*"m^0.5/s"*lw*((Level-(beta*hw))/(beta))^2/vL; … … 163 159 164 160 PARAMETERS 165 ext PP as CalcObject;166 extNComp as Integer;161 outer PP as Plugin; 162 outer NComp as Integer; 167 163 V as volume(Brief="Total Volume of the tray"); 168 164 Q as power (Brief="Rate of heat supply"); … … 184 180 in InletL as stream; 185 181 in InletV as stream; 186 out OutletL as stream_therm;187 out OutletV as stream_therm;182 out OutletL as liquid_stream; 183 out OutletV as vapour_stream; 188 184 189 185 yideal(NComp) as fraction; … … 250 246 rhoV = PP.VapourDensity(InletV.T, InletV.P, InletV.z); 251 247 252 if (Level > (beta * hw)) then248 if Level > (beta * hw) then 253 249 "Francis Equation" 254 250 OutletL.F = (1.84*"1/s"*lw*((Level-(beta*hw))/(beta))^2/vL); -
branches/newlanguage/eml/streams.mso
r123 r124 111 111 end 112 112 113 Model sink2114 VARIABLES115 in Inlet as stream;116 end117 118 113 Model sink 119 114 ATTRIBUTES
Note: See TracChangeset
for help on using the changeset viewer.