- Timestamp:
- Jan 30, 2007, 4:01:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/sample/heat_exchangers/Sample_Simplified.mso
r100 r144 82 82 83 83 exchanger as HeatExchanger_NTU; 84 streamhot as s tream_therm;85 streamcold as s tream_therm;84 streamhot as source; 85 streamcold as source; 86 86 87 87 CONNECTIONS 88 88 89 streamhot to exchanger.Inlet.Hot;90 streamcold to exchanger.Inlet.Cold;89 streamhot.Outlet to exchanger.Inlet.Hot; 90 streamcold.Outlet to exchanger.Inlet.Cold; 91 91 92 92 PARAMETERS 93 PP as CalcObject(File="vrpp");93 PP as Plugin (File="vrpp"); 94 94 NComp as Integer; 95 95 SET … … 100 100 NComp = PP.NumberOfComponents; 101 101 102 exchanger. HE.FlowDirection = "Cocurrent";102 exchanger.FlowDirection = "cocurrent"; 103 103 # exchanger.HE.FlowDirection = "Counter"; 104 104 … … 111 111 exchanger.PressureDrop.Cold.Pdrop = 0*"atm"; 112 112 113 streamhot. F = 1000 * "kmol/h";114 streamhot. T = 450 * "K";115 116 streamhot. P = 1.5 * "atm";117 streamhot. z = [1];113 streamhot.Outlet .F = 1000 * "kmol/h"; 114 streamhot.Outlet .T = 450 * "K"; 115 #streamhot.v = 1; 116 streamhot.Outlet .P = 1.5 * "atm"; 117 streamhot.Outlet .z = [1]; 118 118 119 streamcold. F = 500 * "kmol/h";120 streamcold. P = 1 * "atm";121 streamcold. T = 350 * "K";122 123 streamcold. z = [1];119 streamcold.Outlet .F = 500 * "kmol/h"; 120 streamcold.Outlet .P = 1 * "atm"; 121 streamcold.Outlet .T = 350 * "K"; 122 #streamcold.v = 0; 123 streamcold.Outlet .z = [1]; 124 124 125 125 OPTIONS 126 mode = "steady";126 Dynamic= false; 127 127 end 128 128
Note: See TracChangeset
for help on using the changeset viewer.