Changeset 144 for branches/newlanguage/sample/heat_exchangers/sampleNTU.mso
- Timestamp:
- Jan 30, 2007, 4:01:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/sample/heat_exchangers/sampleNTU.mso
r100 r144 29 29 PARAMETERS 30 30 31 PP as CalcObject(Brief="Physical Properties",File="vrpp");32 NComp as Integer;31 PP as Plugin (Brief="Physical Properties",File="vrpp"); 32 NComp as Integer; 33 33 34 34 DEVICES 35 35 36 36 exchanger as HeatExchanger_NTU; 37 streamhot as streamTP; 38 streamcold as streamTP; 37 streamhot as source; 38 streamcold as source; 39 39 40 40 41 SET … … 45 46 NComp = PP.NumberOfComponents; 46 47 47 exchanger. HE.FlowDirection = "Cocurrent";48 exchanger.FlowDirection = "cocurrent"; 48 49 49 50 CONNECTIONS 50 51 51 streamhot to exchanger.Inlet.Hot; 52 streamcold to exchanger.Inlet.Cold; 52 streamhot.Outlet to exchanger.Inlet.Hot; 53 streamcold.Outlet to exchanger.Inlet.Cold; 54 53 55 54 56 SPECIFY … … 59 61 exchanger.PressureDrop.Cold.Pdrop = 0.2*"kPa"; 60 62 61 streamhot. F = 20 * "kmol/h";62 streamhot. T = 450 * "K";63 streamhot. P = 120 * "kPa";64 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]; 65 67 66 streamcold. F = 10 * "kmol/h";67 streamcold. P = 120 * "kPa";68 streamcold. T = 300 * "K";69 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]; 70 72 71 73 exchanger.Details.A = 20*"m^2"; … … 73 75 OPTIONS 74 76 75 mode = "steady";77 Dynamic = false; 76 78 77 79 end
Note: See TracChangeset
for help on using the changeset viewer.