Changeset 839 for branches/gui/eml
- Timestamp:
- Aug 26, 2009, 4:43:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/pressure_changers/pump.mso
r757 r839 169 169 170 170 Model pump 171 ATTRIBUTES 171 172 ATTRIBUTES 172 173 Pallete = true; 173 174 Icon = "icon/Pump"; … … 176 177 "Specify: 177 178 * the inlet stream; 178 * the pump press delta dP.179 * the pump Pressure Drop. 179 180 "; 180 181 181 182 outer PP as Plugin (Brief = "External Physical Properties", Type="PP");183 outer NComp as Integer;184 185 186 in Inlet as stream (Brief = "Inlet stream", PosX=0, PosY=0.4727, Symbol="_{in}");187 out Outlet as streamPH(Brief = "Outlet stream", PosX=1, PosY=0.1859, Symbol="_{out}");188 189 dPas press_delta (Brief="Pump head");182 PARAMETERS 183 outer PP as Plugin (Brief = "External Physical Properties", Type="PP"); 184 outer NComp as Integer; 185 186 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"); 190 191 191 192 EQUATIONS … … 195 196 196 197 "Pump head" 197 Outlet.P = Inlet.P + dP;198 199 "FIXME: pump potency"198 Outlet.P = Inlet.P + Pdrop; 199 200 #"FIXME: pump potency" 200 201 Outlet.h = Inlet.h; 201 202 end … … 209 210 "Specify: 210 211 * the inlet stream; 211 * the pump press delta dP.212 * the pump Pressure Drop. 212 213 "; 213 214 … … 218 219 VARIABLES 219 220 in Inlet as stream (Brief = "Inlet stream", PosX=1, PosY=0.4727, Symbol="_{in}"); 220 out Outlet as streamPH(Brief = "Outlet stream", PosX=0, PosY=0.1859, Symbol="_{out}");221 222 dPas press_delta (Brief="Pump head");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"); 223 224 224 225 EQUATIONS … … 228 229 229 230 "Pump head" 230 Outlet.P = Inlet.P + dP;231 Outlet.P = Inlet.P +Pdrop; 231 232 232 233 "FIXME: pump potency"
Note: See TracChangeset
for help on using the changeset viewer.