Changeset 139 for branches/newlanguage/sample/heat_exchangers
- Timestamp:
- Jan 29, 2007, 1:50:41 PM (17 years ago)
- Location:
- branches/newlanguage/sample/heat_exchangers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/sample/heat_exchangers/Sample_DoublePipe.mso
r110 r139 27 27 28 28 FlowSheet Double_Pipe 29 30 PARAMETERS 31 32 PP as Plugin (File="vrpp"); 33 NComp as Integer; 29 34 30 35 DEVICES 31 36 32 37 exchanger as DoublePipe_LMTD; 33 streamhot as s treamTP;34 streamcold as s treamTP;38 streamhot as source; 39 streamcold as source; 35 40 36 41 CONNECTIONS 37 42 38 streamhot to exchanger.Inlet.Hot;39 streamcold to exchanger.Inlet.Cold;43 streamhot.Outlet to exchanger.Inlet.Hot; 44 streamcold.Outlet to exchanger.Inlet.Cold; 40 45 41 PARAMETERS42 43 PP as CalcObject (File="vrpp");44 NComp as Integer;45 46 46 SET 47 47 … … 49 49 PP.VapourModel = "PR"; 50 50 PP.Components = ["n-hexane","water"]; 51 NComp = PP.NumberOfComponents;51 NComp = PP.NumberOfComponents; 52 52 53 53 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ … … 73 73 # Hot Stream 74 74 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 75 streamhot. F = 10 * "kmol/h";76 streamhot. T = (68+273.15) * "K";77 streamhot. P = 5.4 * "bar";78 streamhot. z = [1,0];75 streamhot.Outlet.F = 10 * "kmol/h"; 76 streamhot.Outlet.T = (68+273.15) * "K"; 77 streamhot.Outlet.P = 5.4 * "bar"; 78 streamhot.Outlet.z = [1,0]; 79 79 80 80 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 81 81 # Cold Stream 82 82 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 83 streamcold. F = 5 * "kmol/h";84 streamcold. P = 5.1 * "bar";85 streamcold. T = (23+273.15) * "K";86 streamcold. z = [0,1];83 streamcold.Outlet.F = 5 * "kmol/h"; 84 streamcold.Outlet.P = 5.1 * "bar"; 85 streamcold.Outlet.T = (23+273.15) * "K"; 86 streamcold.Outlet.z = [0,1]; 87 87 #===================================================================== 88 88 # Fouling … … 93 93 OPTIONS 94 94 95 mode = "steady";95 Dynamic = false; 96 96 97 97 end -
branches/newlanguage/sample/heat_exchangers/Sample_DoublePipe_Series.mso
r100 r139 8 8 DEVICES 9 9 10 Pipe(2) as DoublePipe_LMTD;11 streamhot as s treamTP;12 streamcold as s treamTP;10 Pipe(2) as DoublePipe_LMTD; 11 streamhot as source; 12 streamcold as source; 13 13 14 14 CONNECTIONS 15 15 16 streamhot 16 streamhotOutlet. to Pipe(1).Inlet.Hot; 17 17 Pipe(1).Outlet.Hot to Pipe(2).Inlet.Hot; 18 18 19 streamcold 20 Pipe(1).Outlet.Cold to Pipe(2).Inlet.Cold;19 streamcoldOutlet. to Pipe(1).Inlet.Cold; 20 Pipe(1).Outlet.Cold to Pipe(2).Inlet.Cold; 21 21 22 22 PARAMETERS … … 55 55 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 56 56 57 streamhot. F = 100 * "kmol/h";58 streamhot. T = (70+273.15) * "K";59 streamhot. P = 5 * "bar";60 streamhot. z = [1,0];57 streamhot.Outlet.F = 100 * "kmol/h"; 58 streamhot.Outlet.T = (70+273.15) * "K"; 59 streamhot.Outlet.P = 5 * "bar"; 60 streamhot.Outlet.z = [1,0]; 61 61 62 62 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ … … 64 64 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 65 65 66 streamcold. F = 5 * "kmol/h";67 streamcold. P = 5 * "bar";68 streamcold. T = (25+273.15) * "K";69 streamcold. z = [0,1];66 streamcold.Outlet.F = 5 * "kmol/h"; 67 streamcold.Outlet.P = 5 * "bar"; 68 streamcold.Outlet.T = (25+273.15) * "K"; 69 streamcold.Outlet.z = [0,1]; 70 70 #===================================================================== 71 71 # Fouling … … 75 75 76 76 OPTIONS 77 mode = "steady"; 77 78 Dynamic = false; 78 79 79 80 end
Note: See TracChangeset
for help on using the changeset viewer.