Changeset 146 for branches/newlanguage/sample/heat_exchangers
- Timestamp:
- Jan 30, 2007, 7:42:28 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/sample/heat_exchangers/sampleEshell_LMTD.mso
r100 r146 29 29 PARAMETERS 30 30 31 PP as CalcObject(Brief="Physical Properties",File="vrpp");31 PP as Plugin (Brief="Physical Properties",File="vrpp"); 32 32 NComp as Integer; 33 33 … … 35 35 DEVICES 36 36 exchanger as E_Shell_LMTD; 37 streamhot as s treamTP;38 streamcold as s treamTP;37 streamhot as source; 38 streamcold as source; 39 39 40 40 SET 41 41 42 PP.LiquidModel = "PR";43 PP.VapourModel = "PR";42 PP.LiquidModel = "PR"; 43 PP.VapourModel = "PR"; 44 44 PP.Components = ["water","n-butane", "benzene", "n-octane" ]; 45 NComp = PP.NumberOfComponents;45 NComp = PP.NumberOfComponents; 46 46 47 exchanger. HE.LMTDcorrection = "Bowmann";48 # exchanger. HE.LMTDcorrection = "Fakeri";47 exchanger.LMTDcorrection = "Bowmann"; 48 # exchanger.LMTDcorrection = "Fakeri"; 49 49 50 50 51 51 CONNECTIONS 52 52 53 streamhot to exchanger.Inlet.Hot;54 streamcold to exchanger.Inlet.Cold;53 streamhot.Outlet to exchanger.Inlet.Hot; 54 streamcold.Outlet to exchanger.Inlet.Cold; 55 55 56 56 SPECIFY … … 61 61 exchanger.PressureDrop.Cold.Pdrop = 0.2*"kPa"; 62 62 63 streamhot. F = 20 * "kmol/h";64 streamhot. T = 450 * "K";65 streamhot. P = 120 * "kPa";66 streamhot. z = [1,0,0,0];63 streamhot.Outlet.F = 20 * "kmol/h"; 64 streamhot.Outlet.T = 450 * "K"; 65 streamhot.Outlet.P = 120 * "kPa"; 66 streamhot.Outlet.z = [1,0,0,0]; 67 67 68 streamcold. F = 10 * "kmol/h";69 streamcold. P = 120 * "kPa";70 streamcold. T = 300 * "K";71 streamcold. z = [0,0.5, 0.1, 0.4];68 streamcold.Outlet.F = 10 * "kmol/h"; 69 streamcold.Outlet.P = 120 * "kPa"; 70 streamcold.Outlet.T = 300 * "K"; 71 streamcold.Outlet.z = [0,0.5, 0.1, 0.4]; 72 72 73 73 exchanger.Outlet.Cold.T = 330*"K"; 74 74 75 75 OPTIONS 76 mode = "steady"; 76 77 Dynamic = false; 78 77 79 end
Note: See TracChangeset
for help on using the changeset viewer.