Changeset 400
- Timestamp:
- Nov 9, 2007, 7:41:38 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eml/mixers_splitters/mixer.mso
r370 r400 18 18 *--------------------------------------------------------------------*# 19 19 20 using "st age_separators/flash";20 using "streams"; 21 21 22 22 Model mixer … … 38 38 39 39 VARIABLES 40 in Inlet _mixer(Ninlet) as stream (Brief = "Inlet streams", PosX=0, PosY=0.5, Symbol="_{inMix}");40 in Inlet(Ninlet) as stream (Brief = "Inlet streams", PosX=0, PosY=0.5, Symbol="_{inMix}"); 41 41 out Outlet as streamPH (Brief = "Outlet stream", PosX=1, PosY=0.5059, Symbol="_{out}"); 42 42 … … 44 44 45 45 "Flow" 46 Outlet.F = sum(Inlet _mixer.F);46 Outlet.F = sum(Inlet.F); 47 47 48 48 for i in [1:NComp] 49 49 50 50 "Composition" 51 Outlet.F*Outlet.z(i) = sum(Inlet _mixer.F*Inlet_mixer.z(i));51 Outlet.F*Outlet.z(i) = sum(Inlet.F*Inlet.z(i)); 52 52 end 53 53 54 54 "Energy Balance" 55 Outlet.F*Outlet.h = sum(Inlet _mixer.F*Inlet_mixer.h);55 Outlet.F*Outlet.h = sum(Inlet.F*Inlet.h); 56 56 57 57 "Pressure" 58 Outlet.P = min(Inlet _mixer.P);58 Outlet.P = min(Inlet.P); 59 59 end -
trunk/sample/mixers_splitters/sample_mixer.mso
r366 r400 46 46 47 47 CONNECTIONS 48 stream1.Outlet to mixer1.Inlet _mixer(1);49 stream2.Outlet to mixer1.Inlet _mixer(2);48 stream1.Outlet to mixer1.Inlet(1); 49 stream2.Outlet to mixer1.Inlet(2); 50 50 51 51 SPECIFY
Note: See TracChangeset
for help on using the changeset viewer.