- Timestamp:
- Jul 13, 2007, 6:28:33 PM (16 years ago)
- Location:
- trunk/eml
- Files:
-
- 7 added
- 4 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eml/stage_separators/condenser.mso
r300 r310 51 51 out OutletL as liquid_stream(Brief="Liquid outlet stream"); 52 52 out OutletV as vapour_stream(Brief="Vapour outlet stream"); 53 in Q as heat_rate(Brief="Heat supplied");53 in InletQ as energy_stream (Brief="Heat supplied"); 54 54 55 55 M(NComp) as mol (Brief="Molar Holdup in the tray"); … … 68 68 "Energy Balance" 69 69 diff(E) = InletV.F*InletV.h - OutletL.F*OutletL.h 70 - OutletV.F*OutletV.h + Q;70 - OutletV.F*OutletV.h + InletQ.Q; 71 71 72 72 "Molar Holdup" … … 129 129 in InletV as stream(Brief="Vapour inlet stream"); 130 130 out OutletL as liquid_stream(Brief="Liquid outlet stream"); 131 in Q as heat_rate(Brief="Heat supplied");131 in InletQ as energy_stream (Brief="Heat supplied"); 132 132 DP as press_delta (Brief="Pressure Drop in the condenser"); 133 133 … … 138 138 139 139 "Energy Balance" 140 InletV.F*InletV.h = OutletL.F*OutletL.h + Q;140 InletV.F*InletV.h = OutletL.F*OutletL.h + InletQ.Q; 141 141 142 142 "Pressure" … … 184 184 out OutletL as liquid_stream(Brief="Liquid outlet stream"); 185 185 out OutletV as vapour_stream(Brief="Vapour outlet stream"); 186 in InletQ as energy_stream (Brief="Heat supplied"); 186 187 187 188 M(NComp) as mol (Brief="Molar Holdup in the tray"); … … 192 193 vV as volume_mol (Brief="Vapour Molar volume"); 193 194 Level as length (Brief="Level of liquid phase"); 194 Q as heat_rate (Brief="Heat supplied");195 195 Vol as volume; 196 196 r3 as reaction_mol (Brief = "Reaction resulting ethyl acetate", DisplayUnit = 'mol/l/s'); … … 210 210 "Energy Balance" 211 211 diff(E) = InletV.F*InletV.h - OutletL.F*OutletL.h 212 - OutletV.F*OutletV.h + Q + Hr * r3 * ML*vL;212 - OutletV.F*OutletV.h + InletQ.Q + Hr * r3 * ML*vL; 213 213 214 214 "Molar Holdup" -
trunk/eml/stage_separators/flash.mso
r300 r310 53 53 out OutletL as liquid_stream(Brief="Liquid outlet stream"); 54 54 out OutletV as vapour_stream(Brief="Vapour outlet stream"); 55 in Q as heat_rate(Brief="Rate of heat supply");55 in InletQ as energy_stream (Brief="Rate of heat supply"); 56 56 57 57 M(NComp) as mol (Brief="Molar Holdup in the tray"); … … 69 69 70 70 "Energy Balance" 71 diff(E) = Inlet.F*Inlet.h - OutletL.F*OutletL.h - OutletV.F*OutletV.h + Q;71 diff(E) = Inlet.F*Inlet.h - OutletL.F*OutletL.h - OutletV.F*OutletV.h + InletQ.Q; 72 72 73 73 "Molar Holdup" … … 143 143 out OutletL as liquid_stream(Brief="Liquid outlet stream"); 144 144 out OutletV as vapour_stream(Brief="Vapour outlet stream"); 145 in Q as heat_rate(Brief="Rate of heat supply");145 in InletQ as energy_stream (Brief="Rate of heat supply"); 146 146 vfrac as fraction; 147 147 … … 156 156 157 157 "Energy Balance" 158 Inlet.F*Inlet.h + Q = OutletL.F*OutletL.h + OutletV.F*OutletV.h;158 Inlet.F*Inlet.h + InletQ.Q = OutletL.F*OutletL.h + OutletV.F*OutletV.h; 159 159 160 160 "Thermal Equilibrium" -
trunk/eml/stage_separators/reboiler.mso
r300 r310 60 60 out OutletL as liquid_stream(Brief="Liquid outlet stream"); 61 61 out OutletV as vapour_stream(Brief="Vapour outlet stream"); 62 in Q as heat_rate(Brief="Heat supplied");62 in InletQ as energy_stream (Brief="Heat supplied"); 63 63 64 64 M(NComp) as mol (Brief="Molar Holdup in the tray"); … … 78 78 "Energy Balance" 79 79 diff(E) = Inlet.F*Inlet.h + InletL.F*InletL.h 80 - OutletL.F*OutletL.h - OutletV.F*OutletV.h + Q;80 - OutletL.F*OutletL.h - OutletV.F*OutletV.h + InletQ.Q; 81 81 82 82 "Molar Holdup" … … 143 143 in InletL as stream(Brief="Liquid inlet stream"); 144 144 out OutletV as vapour_stream(Brief="Vapour outlet stream"); 145 in Q as heat_rate(Brief="Heat supplied");145 in InletQ as energy_stream (Brief="Heat supplied"); 146 146 vV as volume_mol (Brief="Vapour Molar volume"); 147 147 rhoV as dens_mass (Brief="Vapour Density"); … … 159 159 160 160 "Energy Balance" 161 InletL.F*InletL.h + Q = OutletV.F*OutletV.h;161 InletL.F*InletL.h + InletQ.Q = OutletV.F*OutletV.h; 162 162 163 163 "Pressure" … … 190 190 in InletL as stream(Brief="Liquid inlet stream"); 191 191 out OutletV as stream(Brief="Vapour outlet stream"); 192 in Q as heat_rate(Brief="Heat supplied");192 in InletQ as energy_stream (Brief="Heat supplied"); 193 193 194 194 EQUATIONS … … 198 198 199 199 "Energy Balance" 200 InletL.F*InletL.h + Q = OutletV.F*OutletV.h;200 InletL.F*InletL.h + InletQ.Q = OutletV.F*OutletV.h; 201 201 202 202 "Pressure" … … 210 210 211 211 "Pressure Drop through the reboiler" 212 OutletV.F = k* Q;212 OutletV.F = k*InletQ.Q; 213 213 end 214 214 … … 257 257 out OutletV as vapour_stream(Brief="Vapour outlet stream"); 258 258 259 Q as heat_rate(Brief="Heat supplied");259 in InletQ as energy_stream (Brief="Heat supplied"); 260 260 M(NComp) as mol (Brief="Molar Holdup in the tray"); 261 261 ML as mol (Brief="Molar liquid holdup"); … … 284 284 "Energy Balance" 285 285 diff(E) = Inlet.F*Inlet.h + InletL.F*InletL.h 286 - OutletL.F*OutletL.h - OutletV.F*OutletV.h + Q + Hr * r3 * vL*ML;286 - OutletL.F*OutletL.h - OutletV.F*OutletV.h + InletQ.Q + Hr * r3 * vL*ML; 287 287 288 288 "Molar Holdup" -
trunk/eml/stage_separators/tank.mso
r300 r310 62 62 out Outlet as liquid_stream; 63 63 64 in Q as heat_rate(Brief="Rate of heat supply");64 in InletQ as energy_stream (Brief="Rate of heat supply"); 65 65 Level as length(Brief="Tank level"); 66 66 M(NComp) as mol (Brief="Molar Holdup in the tank"); … … 73 73 74 74 "Energy balance" 75 diff(E) = Inlet.F*Inlet.h - Outlet.F*Outlet.h + Q;75 diff(E) = Inlet.F*Inlet.h - Outlet.F*Outlet.h + InletQ.Q; 76 76 77 77 "Energy Holdup" … … 123 123 out Outlet as liquid_stream; 124 124 125 in Q as heat_rate(Brief="Rate of heat supply");125 in InletQ as energy_stream (Brief="Rate of heat supply"); 126 126 Level as length(Brief="Tank level"); 127 127 Across as area (Brief="Tank cross section area", Default=2); … … 135 135 136 136 "Energy balance" 137 diff(E) = Inlet.F*Inlet.h - Outlet.F*Outlet.h + Q;137 diff(E) = Inlet.F*Inlet.h - Outlet.F*Outlet.h + InletQ.Q; 138 138 139 139 "Energy Holdup" … … 187 187 out Outlet as liquid_stream; 188 188 189 in Q as heat_rate(Brief="Rate of heat supply");189 in InletQ as energy_stream (Brief="Rate of heat supply"); 190 190 Level as length(Brief="Tank level"); 191 191 M(NComp) as mol (Brief="Molar Holdup in the tank"); … … 198 198 199 199 "Energy balance" 200 diff(E) = Feed.F*Feed.h + Inlet.F*Inlet.h - Outlet.F*Outlet.h + Q;200 diff(E) = Feed.F*Feed.h + Inlet.F*Inlet.h - Outlet.F*Outlet.h + InletQ.Q; 201 201 202 202 "Energy Holdup" -
trunk/eml/streams.mso
r299 r310 114 114 Model source 115 115 ATTRIBUTES 116 Icon = " Source";116 Icon = "icon/Source"; 117 117 Brief = "Material stream source"; 118 118 Info = " … … 205 205 Model sink 206 206 ATTRIBUTES 207 Icon = " Sink";207 Icon = "icon/Sink"; 208 208 Brief = "Material stream sink"; 209 209 Info = " … … 278 278 end 279 279 280 Model energy_stream 281 ATTRIBUTES 282 Pallete = false; 283 Brief = "General Energy Stream"; 284 Info = 285 "This is the basic building block for the EML models. 286 Every model should have input and output energy streams 287 derived from this model."; 288 289 VARIABLES 290 Q as heat_rate(Brief="Energy rate"); 291 end 280 292 281 293 Model energy_source 282 294 ATTRIBUTES 283 Icon = " Source";295 Icon = "icon/energy_source"; 284 296 Brief = "Enegry stream source"; 285 297 286 298 VARIABLES 287 out Outlet as heat_rate;288 end 299 out Outlet as energy_stream; 300 end
Note: See TracChangeset
for help on using the changeset viewer.