Changeset 835 for branches/gui/eml/mixers_splitters/splitter.mso
- Timestamp:
- Aug 20, 2009, 12:44:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/eml/mixers_splitters/splitter.mso
r757 r835 78 78 ATTRIBUTES 79 79 Pallete = true; 80 Icon = "icon/splitter ";80 Icon = "icon/splitter_column"; 81 81 Brief = "Splitter with 2 outlet streams"; 82 82 Info = … … 95 95 96 96 VARIABLES 97 in Inlet as stream (Brief = "Inlet stream", PosX=0 , PosY=0.5069, Symbol="_{in}");98 out Outlet1 as stream (Brief = "Outlet stream 1", PosX= 1, PosY=0.3027, Symbol="_{out1}");99 out Outlet2 as stream (Brief = "Outlet stream 2", PosX= 1, PosY=0.7141, Symbol="_{out2}");97 in Inlet as stream (Brief = "Inlet stream", PosX=0.5, PosY=0, Symbol="_{in}"); 98 out Outlet1 as stream (Brief = "Outlet stream 1", PosX=0.25, PosY=1, Symbol="_{out1}"); 99 out Outlet2 as stream (Brief = "Outlet stream 2", PosX=0.75, PosY=1, Symbol="_{out2}"); 100 100 FlowRatios(2) as fraction (Brief = "Distribution of Outlets", Default=0.33, Symbol="\phi"); 101 101 … … 221 221 222 222 Model splitter_column 223 ATTRIBUTES 223 224 ATTRIBUTES 224 225 Pallete = true; 225 226 Icon = "icon/splitter_column"; … … 229 230 *Thermodynamics equilibrium 230 231 *Adiabatic 231 232 232 233 == Specify == 233 234 * The inlet stream 234 * One FlowRatios of split of the outlet streams: 235 236 FlowRatios(i) = (Mole Flow of the outlet stream i / 237 Mole Flow of the inlet stream) 238 where i = 1, 2 235 * One Split Flow of the outlet stream: 236 **SplitFlow_RefluxStream: split of the outlet Reflux stream 237 **SplitFlow_DistillateStream: split of the outlet Distillate stream 238 239 OR 240 241 * The inlet stream and the RefluxRatio 239 242 "; 240 243 241 244 VARIABLES 242 in Inlet as stream (Brief = "Inlet stream", PosX=0.5, PosY=0, Symbol="_{in}"); 243 out Reflux as stream (Brief = "Reflux stream", PosX=0.25, PosY=1, Symbol="_{reflux}"); 244 out Distillate as stream (Brief = "Distillate stream", PosX=0.75, PosY=1, Symbol="_{distillate}"); 245 FlowRatios(2) as fraction (Brief = "Distribution of Outlets", Default=0.33, Symbol="\phi"); 245 in Inlet as stream (Brief = "Inlet stream", PosX=0.5, PosY=0, Symbol="_{in}"); 246 out Reflux as stream (Brief = "Reflux stream", PosX=0.25, PosY=1, Symbol="_{reflux}"); 247 out Distillate as stream (Brief = "Distillate stream", PosX=0.75, PosY=1, Symbol="_{distillate}"); 248 249 SplitFlow_RefluxStream as fraction (Brief = "split of the outlet Reflux stream", Default=0.33); 250 SplitFlow_DistillateStream as fraction (Brief = "split of the outlet Distillate stream", Default=0.33); 251 RefluxRatio as positive (Brief = "Reflux Ratio", Default=10, Lower = 0.5); 246 252 247 253 EQUATIONS 248 254 255 "Reflux Ratio" 256 Reflux.F*RefluxRatio = SplitFlow_RefluxStream*(Reflux.F*RefluxRatio + Reflux.F); 257 249 258 "Normalize Flow Ratios" 250 sum(FlowRatios)= 1;259 SplitFlow_RefluxStream + SplitFlow_DistillateStream = 1; 251 260 252 261 "Flow" 253 Reflux.F = Inlet.F * FlowRatios(1);262 Reflux.F = Inlet.F * SplitFlow_RefluxStream; 254 263 Inlet.F = Reflux.F + Distillate.F; 255 264
Note: See TracChangeset
for help on using the changeset viewer.