Changeset 363
- Timestamp:
- Sep 8, 2007, 4:23:17 PM (16 years ago)
- Location:
- trunk/eml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eml/mixers_splitters/mixer.mso
r354 r363 20 20 using "stage_separators/flash"; 21 21 22 Model mixer as flash_steady22 Model mixer 23 23 ATTRIBUTES 24 24 Pallete = true; … … 27 27 Info = 28 28 "== Assumptions == 29 * thermodynamics equilibrium29 * static 30 30 * adiabatic 31 31 32 32 == Specify == 33 33 * the inlet streams"; … … 39 39 VARIABLES 40 40 in Inlet_mixer(Ninlet) as stream (Brief = "Inlet streams", PosX=0.5, PosY=0, Symbol="_{inMix}"); 41 out Outlet as stream (Brief = "Outlet stream", PosX=1, PosY=0.5059, Symbol="_{out}"); 42 out Out_int as stream (Brief = "Intermediate Outlet stream", Symbol="_{outint}"); 43 zeroQ as energy_source (Brief="No Heat rate supplied"); 41 out Outlet as streamPH (Brief = "Outlet stream", PosX=1, PosY=0.5059, Symbol="_{out}"); 44 42 45 CONNECTIONS46 47 Out_int to Inlet;48 zeroQ.OutletQ to InletQ;49 50 43 EQUATIONS 51 44 52 45 "Flow" 53 Out _int.F = sum(Inlet_mixer.F);54 46 Outlet.F = sum(Inlet_mixer.F); 47 55 48 for i in [1:NComp] 56 49 57 50 "Composition" 58 Out _int.F*Out_int.z(i) = sum(Inlet_mixer.F*Inlet_mixer.z(i));51 Outlet.F*Outlet.z(i) = sum(Inlet_mixer.F*Inlet_mixer.z(i)); 59 52 end 60 53 61 54 "Energy Balance" 62 Out _int.F*Out_int.h = sum(Inlet_mixer.F*Inlet_mixer.h);63 55 Outlet.F*Outlet.h = sum(Inlet_mixer.F*Inlet_mixer.h); 56 64 57 "Pressure" 65 Out_int.P = min(Inlet_mixer.P); 66 Out_int.P = OutletV.P; 67 68 "Temperature" 69 Out_int.T = OutletV.T; 70 71 "Vapourisation Fraction" 72 Out_int.v = vfrac; 73 74 Outlet.F = Inlet.F; 75 Outlet.z = Inlet.z; 76 Outlet.v = Inlet.v; 77 Outlet.T = Inlet.T; 78 Outlet.h = Inlet.h; 79 Outlet.P = Inlet.P; 80 81 zeroQ.OutletQ.Q = 0*'kW'; 82 58 Outlet.P = min(Inlet_mixer.P); 83 59 end 84 -
trunk/eml/stage_separators/column.mso
r353 r363 35 35 using "condenser"; 36 36 using "mixers_splitters/splitter"; 37 using "mixers_splitters/mixer";38 37 using "tank"; 39 38 using "pressure_changers/pump";
Note: See TracChangeset
for help on using the changeset viewer.