- Timestamp:
- Jan 29, 2007, 1:50:41 PM (15 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.