Changeset 840 for branches/gui/eml/pressure_changers/pump.mso
- Timestamp:
- Aug 28, 2009, 5:20:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/pressure_changers/pump.mso
r839 r840 175 175 Brief = "Model of a simplified pump, used in distillation column model."; 176 176 Info = 177 "Specify: 178 * the inlet stream; 179 * the pump Pressure Drop. 180 "; 177 "== ASSUMPTIONS == 178 * Steady State; 179 * Only Liquid; 180 * Adiabatic; 181 * Isentropic. 182 183 == SPECIFY == 184 * the inlet stream; 185 * the pump Pincrease. 186 "; 181 187 182 188 PARAMETERS 183 outer PP as Plugin (Brief = "External Physical Properties", Type="PP");184 outer NComp as Integer ;189 outer PP as Plugin (Brief = "External Physical Properties", Type="PP"); 190 outer NComp as Integer (Brief = "Number of chemical components"); 185 191 186 192 VARIABLES 187 in Inlet as stream (Brief = "Inlet stream", PosX=0, PosY=0.4727, Symbol="_{in}"); 188 out Outlet as liquid_stream (Brief = "Outlet stream", PosX=1, PosY=0.1859, Symbol="_{out}"); 189 190 Pdrop as press_delta (Brief="Pump head"); 191 192 EQUATIONS 193 "Molar Balance" 193 in Inlet as stream (Brief = "Inlet stream", PosX=0, PosY=0.4727, Protected=true,Symbol="_{in}"); 194 out Outlet as liquid_stream (Brief = "Outlet stream", PosX=1, PosY=0.1859, Protected=true,Symbol="_{out}"); 195 196 Pincrease as press_delta (Brief = "Pressure Increase",Lower = 0, DisplayUnit = 'kPa', Symbol ="P_{incr}"); 197 198 EQUATIONS 199 200 "Molar Balance" 194 201 Inlet.F = Outlet.F; 202 203 "Composittion" 195 204 Inlet.z = Outlet.z; 196 205 197 198 Outlet.P = Inlet.P + P drop;199 200 #"FIXME: pump potency"206 "Pump head" 207 Outlet.P = Inlet.P + Pincrease; 208 209 "Pump potency" 201 210 Outlet.h = Inlet.h; 211 202 212 end 203 213 204 214 Model pump2 205 ATTRIBUTES 215 216 ATTRIBUTES 206 217 Pallete = true; 207 218 Icon = "icon/Pump2"; 208 219 Brief = "Model of a simplified pump, used in distillation column model."; 209 220 Info = 210 "Specify: 211 * the inlet stream; 212 * the pump Pressure Drop. 213 "; 214 215 PARAMETERS 216 outer PP as Plugin (Brief = "External Physical Properties", Type="PP"); 217 outer NComp as Integer; 218 219 VARIABLES 220 in Inlet as stream (Brief = "Inlet stream", PosX=1, PosY=0.4727, Symbol="_{in}"); 221 out Outlet as liquid_stream (Brief = "Outlet stream", PosX=0, PosY=0.1859, Symbol="_{out}"); 222 223 Pdrop as press_delta (Brief="Pump head"); 224 225 EQUATIONS 226 "Molar Balance" 221 "== ASSUMPTIONS == 222 * Steady State; 223 * Only Liquid; 224 * Adiabatic; 225 * Isentropic. 226 227 == SPECIFY == 228 * the inlet stream; 229 * the pump Pincrease. 230 "; 231 232 PARAMETERS 233 outer PP as Plugin (Brief = "External Physical Properties", Type="PP"); 234 outer NComp as Integer (Brief = "Number of chemical components"); 235 236 VARIABLES 237 in Inlet as stream (Brief = "Inlet stream", PosX=1, PosY=0.4727, Protected=true,Symbol="_{in}"); 238 out Outlet as liquid_stream (Brief = "Outlet stream", PosX=0, PosY=0.1859, Protected=true,Symbol="_{out}"); 239 240 Pincrease as press_delta (Brief = "Pressure Increase",Lower = 0, DisplayUnit = 'kPa', Symbol ="P_{incr}"); 241 242 EQUATIONS 243 244 "Molar Balance" 227 245 Inlet.F = Outlet.F; 246 247 "Composittion" 228 248 Inlet.z = Outlet.z; 229 249 230 231 Outlet.P = Inlet.P + Pdrop;232 233 "FIXME: pump potency"250 "Pump head" 251 Outlet.P = Inlet.P + Pincrease; 252 253 "Pump potency" 234 254 Outlet.h = Inlet.h; 235 end 236 255 256 end 257
Note: See TracChangeset
for help on using the changeset viewer.