- Timestamp:
- Jan 30, 2007, 4:01:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/sample/heat_exchangers/sampleLMTD.mso
r100 r144 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 34 DEVICES 34 35 35 36 DEVICES37 36 exchanger as HeatExchanger_LMTD; 38 streamhot as streamTP; 39 streamcold as streamTP; 37 streamhot as source; 38 streamcold as source; 39 40 40 SET 41 41 … … 43 43 PP.VapourModel = "PR"; 44 44 PP.Components = ["water","n-butane", "benzene", "n-octane" ]; 45 NComp = PP.NumberOfComponents; 46 exchanger.HE.FlowDirection = "Cocurrent"; 45 NComp = PP.NumberOfComponents; 46 47 exchanger.FlowDirection = "cocurrent"; 48 47 49 CONNECTIONS 48 50 49 streamhot to exchanger.Inlet.Hot;50 streamcold 51 51 streamhot.Outlet to exchanger.Inlet.Hot; 52 streamcold.Outlet to exchanger.Inlet.Cold; 53 52 54 SPECIFY 53 55 54 56 "LMTD Correction Factor" 55 exchanger.Fc = 1;57 exchanger.Fc = 0.8; 56 58 57 59 "Overall Heat Transfer Coefficient" … … 62 64 exchanger.PressureDrop.Cold.Pdrop = 0.2*"kPa"; 63 65 64 streamhot. F = 20 * "kmol/h";65 streamhot. T = 450 * "K";66 streamhot. P = 120 * "kPa";67 streamhot. z = [1,0,0,0];66 streamhot.Outlet.F = 20 * "kmol/h"; 67 streamhot.Outlet.T = 400 * "K"; 68 streamhot.Outlet.P = 120 * "kPa"; 69 streamhot.Outlet.z = [1,0,0,0]; 68 70 69 streamcold. F = 10* "kmol/h";70 streamcold. P = 120 * "kPa";71 streamcold. T = 300 * "K";72 streamcold. z = [0,0.5, 0.1, 0.4];71 streamcold.Outlet.F = 5 * "kmol/h"; 72 streamcold.Outlet.P = 120 * "kPa"; 73 streamcold.Outlet.T = 300 * "K"; 74 streamcold.Outlet.z = [0,0.5, 0.1, 0.4]; 73 75 74 exchanger.Outlet.Cold.T = 3 40*"K";76 exchanger.Outlet.Cold.T = 305*"K"; 75 77 76 78 OPTIONS 77 mode = "steady"; 79 80 Dynamic = false; 81 78 82 end
Note: See TracChangeset
for help on using the changeset viewer.