Changeset 122 for trunk/eml/heat_exchangers/Mheatex.mso
- Timestamp:
- Jan 18, 2007, 2:06:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eml/heat_exchangers/Mheatex.mso
r120 r122 18 18 * 19 19 * Streams: 20 * * Inlet(Ninlet) streams .... at least one material stream 21 * * Outlet stream .... one material stream 20 * * Hot Inlet streams .... at least one Hot material stream 21 * * Cold Inlet streams .... at least one Cold material stream 22 * * Hot Outlet streams .... one material stream for each Hot Inlet 23 * * Cold Outlet streams .... one material stream for each Cold Inlet 22 24 * 23 25 * Purpose: 24 * * Determines thermal and phase conditions of outlet stream26 * * Heat Transfer between multiple hot and cold streams. 25 27 * 26 28 *---------------------------------------------------------------------- … … 118 120 Outlet.Cold.z = Inlet.Cold.z; 119 121 122 123 124 for i in [1:Nhot] 125 120 126 "Vapourisation Fraction Hot Stream" 121 Outlet.Hot.v = Inlet.Hot.v; 127 Outlet.Hot(i).v = PP.VapourFraction(Outlet.Hot(i).T,Outlet.Hot(i).P,Outlet.Hot(i).z); 128 129 end 130 131 132 for j in [1:Ncold] 122 133 123 134 "Vapourisation Fraction Cold Stream" 124 Outlet.Cold .v = Inlet.Cold.v;135 Outlet.Cold(j).v = PP.VapourFraction(Outlet.Cold(j).T,Outlet.Cold(j).P,Outlet.Cold(j).z); 125 136 137 end 138 139 126 140 "Heat Duty Hot Stream" 127 141 Q = sum(Inlet.Hot.F*(Inlet.Hot.h- Outlet.Hot.h));
Note: See TracChangeset
for help on using the changeset viewer.