- Timestamp:
- Apr 3, 2008, 9:22:56 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/eml/costs/HeatExchangerSimplified_cost.mso
r331 r491 18 18 *------------------------------------------------------------------*# 19 19 20 using "heat_exchangers/Heat ExchangerSimplified";20 using "heat_exchangers/Heatex"; 21 21 22 22 # This model is valid if 14m^2 < A < 1100 m^2 23 23 24 Model HeatExchanger_LMTD_cost as Heat Exchanger_LMTD24 Model HeatExchanger_LMTD_cost as Heatex_LMTD 25 25 ATTRIBUTES 26 26 Pallete = true; … … 77 77 end 78 78 79 Model Shell_and_tubes_LMTD_cost as Shell_and_Tubes_LMTD79 Model Shell_and_tubes_LMTD_cost as Heatex_LMTD 80 80 ATTRIBUTES 81 81 Pallete = true; … … 98 98 Pmax as pressure (Brief="Average Pressure"); 99 99 100 EQUATIONS 101 "Average pressure" 102 Pmax = max( [HotSide.Properties.Average.P , ColdSide.Properties.Average.P] ); 103 104 "Capital Cost" 105 Ce = Cb*Fd*Fp*Fm; 106 107 "Basic Cost" 108 Cb = 'US$'*exp(Cost(1,1) + Cost(1,2)*ln(Details.A/'m^2') + Cost(1,3)*(ln(Details.A/'m^2'))^2); 109 110 "Cost Factor based on the type of the heat exchanger" 111 Fd = exp(Cost(2,1) + Cost(2,2)*ln(Details.A/'m^2') + Cost(2,3)*ln(Details.A/'m^2')); 112 113 if Pmax <= 700 * 'kPa' then 114 "Cost Factor based on the project pressure" # verificar 115 Fp = Cost(5,1) + Cost(5,2)*ln(Details.A/'m^2'); 116 else if 700 * 'kPa' < Pmax and Pmax < 2100 * 'kPa' then 117 Fp = Cost(5,1) + Cost(5,2)*ln(Details.A/'m^2'); 118 else if 2100 * 'kPa' < Pmax and Pmax < 4200 * 'kPa' then 119 Fp = Cost(6,1) + Cost(6,2)*ln(Details.A/'m^2'); 120 else if 4200 * 'kPa' < Pmax and Pmax < 6200 * 'kPa' then 121 Fp = Cost(7,1) + Cost(7,2)*ln(Details.A/'m^2'); 122 else 123 Fp = Cost(7,1) + Cost(7,2)*ln(Details.A/'m^2'); # verificar 124 end 125 end 126 end 127 end 128 129 "Cost Factor based on the construction material" 130 Fm = Cost(8,1) + Cost(8,2)*ln(Details.A/'m^2'); 131 132 end 133 134 Model HeatExchanger_NTU_cost as HeatExchanger_NTU 100 SET 101 102 ExchangerType = "Shell and Tube"; 103 104 EQUATIONS 105 "Average pressure" 106 Pmax = max( [HotSide.Properties.Average.P , ColdSide.Properties.Average.P] ); 107 108 "Capital Cost" 109 Ce = Cb*Fd*Fp*Fm; 110 111 "Basic Cost" 112 Cb = 'US$'*exp(Cost(1,1) + Cost(1,2)*ln(Details.A/'m^2') + Cost(1,3)*(ln(Details.A/'m^2'))^2); 113 114 "Cost Factor based on the type of the heat exchanger" 115 Fd = exp(Cost(2,1) + Cost(2,2)*ln(Details.A/'m^2') + Cost(2,3)*ln(Details.A/'m^2')); 116 117 if Pmax <= 700 * 'kPa' then 118 "Cost Factor based on the project pressure" # verificar 119 Fp = Cost(5,1) + Cost(5,2)*ln(Details.A/'m^2'); 120 else if 700 * 'kPa' < Pmax and Pmax < 2100 * 'kPa' then 121 Fp = Cost(5,1) + Cost(5,2)*ln(Details.A/'m^2'); 122 else if 2100 * 'kPa' < Pmax and Pmax < 4200 * 'kPa' then 123 Fp = Cost(6,1) + Cost(6,2)*ln(Details.A/'m^2'); 124 else if 4200 * 'kPa' < Pmax and Pmax < 6200 * 'kPa' then 125 Fp = Cost(7,1) + Cost(7,2)*ln(Details.A/'m^2'); 126 else 127 Fp = Cost(7,1) + Cost(7,2)*ln(Details.A/'m^2'); # verificar 128 end 129 end 130 end 131 end 132 133 "Cost Factor based on the construction material" 134 Fm = Cost(8,1) + Cost(8,2)*ln(Details.A/'m^2'); 135 136 end 137 138 Model HeatExchanger_NTU_cost as Heatex_NTU 135 139 ATTRIBUTES 136 140 Pallete = true; … … 187 191 end 188 192 189 Model Shell_and_tubes_NTU_cost as Shell_and_Tubes_NTU193 Model Shell_and_tubes_NTU_cost as Heatex_NTU 190 194 ATTRIBUTES 191 195 Pallete = true; … … 208 212 Pmax as pressure (Brief="Average Pressure"); 209 213 210 EQUATIONS 211 "Average pressure" 212 Pmax = max( [HotSide.Properties.Average.P , ColdSide.Properties.Average.P] ); 213 214 "Capital Cost" 215 Ce = Cb*Fd*Fp*Fm; 216 217 "Basic Cost" 218 Cb = 'US$'*exp(Cost(1,1) + Cost(1,2)*ln(Details.A/'m^2') + Cost(1,3)*(ln(Details.A/'m^2'))^2); 219 220 "Cost Factor based on the type of the heat exchanger" 221 Fd = exp(Cost(2,1) + Cost(2,2)*ln(Details.A/'m^2') + Cost(2,3)*ln(Details.A/'m^2')); 222 223 if Pmax <= 700 * 'kPa' then 224 "Cost Factor based on the project pressure" # verificar 225 Fp = Cost(5,1) + Cost(5,2)*ln(Details.A/'m^2'); 226 else if 700 * 'kPa' < Pmax and Pmax < 2100 * 'kPa' then 227 Fp = Cost(5,1) + Cost(5,2)*ln(Details.A/'m^2'); 228 else if 2100 * 'kPa' < Pmax and Pmax < 4200 * 'kPa' then 229 Fp = Cost(6,1) + Cost(6,2)*ln(Details.A/'m^2'); 230 else if 4200 * 'kPa' < Pmax and Pmax < 6200 * 'kPa' then 231 Fp = Cost(7,1) + Cost(7,2)*ln(Details.A/'m^2'); 232 else 233 Fp = Cost(7,1) + Cost(7,2)*ln(Details.A/'m^2'); # verificar 234 end 235 end 236 end 237 end 238 239 "Cost Factor based on the construction material" 240 Fm = Cost(8,1) + Cost(8,2)*ln(Details.A/'m^2'); 241 242 end 243 214 SET 215 216 ExchangerType = "Shell and Tube"; 217 218 EQUATIONS 219 "Average pressure" 220 Pmax = max( [HotSide.Properties.Average.P , ColdSide.Properties.Average.P] ); 221 222 "Capital Cost" 223 Ce = Cb*Fd*Fp*Fm; 224 225 "Basic Cost" 226 Cb = 'US$'*exp(Cost(1,1) + Cost(1,2)*ln(Details.A/'m^2') + Cost(1,3)*(ln(Details.A/'m^2'))^2); 227 228 "Cost Factor based on the type of the heat exchanger" 229 Fd = exp(Cost(2,1) + Cost(2,2)*ln(Details.A/'m^2') + Cost(2,3)*ln(Details.A/'m^2')); 230 231 if Pmax <= 700 * 'kPa' then 232 "Cost Factor based on the project pressure" # verificar 233 Fp = Cost(5,1) + Cost(5,2)*ln(Details.A/'m^2'); 234 else if 700 * 'kPa' < Pmax and Pmax < 2100 * 'kPa' then 235 Fp = Cost(5,1) + Cost(5,2)*ln(Details.A/'m^2'); 236 else if 2100 * 'kPa' < Pmax and Pmax < 4200 * 'kPa' then 237 Fp = Cost(6,1) + Cost(6,2)*ln(Details.A/'m^2'); 238 else if 4200 * 'kPa' < Pmax and Pmax < 6200 * 'kPa' then 239 Fp = Cost(7,1) + Cost(7,2)*ln(Details.A/'m^2'); 240 else 241 Fp = Cost(7,1) + Cost(7,2)*ln(Details.A/'m^2'); # verificar 242 end 243 end 244 end 245 end 246 247 "Cost Factor based on the construction material" 248 Fm = Cost(8,1) + Cost(8,2)*ln(Details.A/'m^2'); 249 250 end 251 -
trunk/sample/costs/sample_HeatExchangerDetailed_cost.mso
r383 r491 60 60 # Shell Geometrical Parameters 61 61 #===================================================================== 62 exchanger.T pass = 2;63 exchanger. Dishell= 0.75 *'m';64 exchanger. Lcf= 0.043 *'m';65 exchanger. Nss= 2;66 exchanger. Donozzle_Shell= 0.1937 *'m';67 exchanger. Dinozzle_Shell= 0.1937 *'m';68 exchanger. Honozzle_Shell = 0.0225 *'m';69 exchanger. Hinozzle_Shell = 0.02155 *'m';62 exchanger.Tubes.Tubepasses = 2; 63 exchanger.Shell.ShellID = 0.75 *'m'; 64 exchanger.Clearances.BundleToShell = 0.043 *'m'; 65 exchanger.Clearances.SealStrip = 2; 66 exchanger.Shell.InletNozzleID = 0.1937 *'m'; 67 exchanger.Shell.OutletNozzleID = 0.1937 *'m'; 68 exchanger.Clearances.Honozzle_Shell = 0.0225 *'m'; 69 exchanger.Clearances.Hinozzle_Shell = 0.02155 *'m'; 70 70 #===================================================================== 71 71 # Tubes Geometrical Parameters 72 72 #===================================================================== 73 exchanger. Ntt= 500;73 exchanger.Tubes.NumberOfTubes = 500; 74 74 exchanger.Pattern = "Triangle"; 75 exchanger. pitch= 0.0254 *'m';76 exchanger. Ltube= 5.5 *'m';77 exchanger. Ditube= 0.013395 *'m';78 exchanger. Dotube= 0.015875 *'m';79 exchanger. Kwall = 0.057 *'kW/m/K';80 exchanger. Donozzle_Tube= 0.203 *'m';81 exchanger. Dinozzle_Tube= 0.203 *'m';75 exchanger.Tubes.TubePitch = 0.0254 *'m'; 76 exchanger.Tubes.TubeLength = 5.5 *'m'; 77 exchanger.Tubes.TubeID = 0.013395 *'m'; 78 exchanger.Tubes.TubeOD = 0.015875 *'m'; 79 exchanger.Tubes.Kwall = 0.057 *'kW/m/K'; 80 exchanger.Tubes.InletNozzleID = 0.203 *'m'; 81 exchanger.Tubes.OutletNozzleID = 0.203 *'m'; 82 82 #===================================================================== 83 83 # Baffles Geometrical Parameters 84 84 #===================================================================== 85 exchanger. Lcd= 0.0047 *'m';86 exchanger.B c= 30;87 exchanger. Ltd= 0.00039 *'m';88 exchanger. Nb= 6;85 exchanger.Clearances.BaffleToShell = 0.0047 *'m'; 86 exchanger.Baffles.BaffleCut = 30; 87 exchanger.Clearances.TubeToBaffle = 0.00039 *'m'; 88 exchanger.Baffles.NumberOfBaffles = 6; 89 89 90 90 #===================================================================== 91 91 # Fouling 92 92 #===================================================================== 93 exchanger. Rfi= 0.001*'m^2*K/kW';94 exchanger. Rfo= 0.001*'m^2*K/kW';93 exchanger.Tubes.Fouling = 0.001*'m^2*K/kW'; 94 exchanger.Shell.Fouling = 0.001*'m^2*K/kW'; 95 95 96 96 # costs … … 107 107 108 108 SPECIFY 109 SPECIFY 109 110 #============================================ 110 111 # Hot Stream … … 121 122 streamcold_in.Outlet.z = [1]; 122 123 streamcold_in.Outlet.P = 2210*'kPa'; 123 124 124 #===================================================================== 125 125 # Baffle Spacing 126 126 #===================================================================== 127 exchanger.Baffles. Ls= 0.622 *'m';128 exchanger.Baffles. Lsi= 0.807 *'m';127 exchanger.Baffles.Central_Spacing = 0.622 *'m'; 128 exchanger.Baffles.Inlet_Spacing= 0.807 *'m'; 129 129 130 130 OPTIONS … … 162 162 exchanger.ShellType = "Eshell"; 163 163 164 exchanger.LMTDcorrection = " Fakeri";164 exchanger.LMTDcorrection = "Bowmann"; 165 165 166 166 # Heat Transfer Correlation … … 172 172 # Shell Geometrical Parameters 173 173 #===================================================================== 174 exchanger.T pass = 2;175 exchanger. Dishell= 0.75 *'m';176 exchanger. Lcf= 0.043 *'m';177 exchanger. Nss= 2;178 exchanger. Donozzle_Shell= 0.1937 *'m';179 exchanger. Dinozzle_Shell= 0.1937 *'m';180 exchanger. Honozzle_Shell = 0.0225 *'m';181 exchanger. Hinozzle_Shell = 0.02155 *'m';174 exchanger.Tubes.Tubepasses = 2; 175 exchanger.Shell.ShellID = 0.75 *'m'; 176 exchanger.Clearances.BundleToShell = 0.043 *'m'; 177 exchanger.Clearances.SealStrip = 2; 178 exchanger.Shell.InletNozzleID = 0.1937 *'m'; 179 exchanger.Shell.OutletNozzleID = 0.1937 *'m'; 180 exchanger.Clearances.Honozzle_Shell = 0.0225 *'m'; 181 exchanger.Clearances.Hinozzle_Shell = 0.02155 *'m'; 182 182 #===================================================================== 183 183 # Tubes Geometrical Parameters 184 184 #===================================================================== 185 exchanger. Ntt= 500;185 exchanger.Tubes.NumberOfTubes = 500; 186 186 exchanger.Pattern = "Triangle"; 187 exchanger. pitch= 0.0254 *'m';188 exchanger. Ltube= 5.5 *'m';189 exchanger. Ditube= 0.013395 *'m';190 exchanger. Dotube = 0.015875*'m';191 exchanger. Kwall = 0.057 *'kW/m/K';192 exchanger. Donozzle_Tube= 0.203 *'m';193 exchanger. Dinozzle_Tube= 0.203 *'m';187 exchanger.Tubes.TubePitch = 0.0254 *'m'; 188 exchanger.Tubes.TubeLength = 5.5 *'m'; 189 exchanger.Tubes.TubeID = 0.013395 *'m'; 190 exchanger.Tubes.TubeOD = 0.015875 *'m'; 191 exchanger.Tubes.Kwall = 0.057 *'kW/m/K'; 192 exchanger.Tubes.InletNozzleID = 0.203 *'m'; 193 exchanger.Tubes.OutletNozzleID = 0.203 *'m'; 194 194 #===================================================================== 195 195 # Baffles Geometrical Parameters 196 196 #===================================================================== 197 exchanger. Lcd= 0.0047 *'m';198 exchanger.B c= 30;199 exchanger. Ltd= 0.00039 *'m';200 exchanger. Nb= 6;197 exchanger.Clearances.BaffleToShell = 0.0047 *'m'; 198 exchanger.Baffles.BaffleCut = 30; 199 exchanger.Clearances.TubeToBaffle = 0.00039 *'m'; 200 exchanger.Baffles.NumberOfBaffles = 6; 201 201 202 202 #===================================================================== 203 203 # Fouling 204 204 #===================================================================== 205 exchanger. Rfi= 0.001*'m^2*K/kW';206 exchanger. Rfo= 0.001*'m^2*K/kW';205 exchanger.Tubes.Fouling = 0.001*'m^2*K/kW'; 206 exchanger.Shell.Fouling = 0.001*'m^2*K/kW'; 207 207 208 208 # costs … … 236 236 # Baffle Spacing 237 237 #===================================================================== 238 exchanger.Baffles. Ls= 0.622 *'m';239 exchanger.Baffles. Lsi= 0.807 *'m';240 238 exchanger.Baffles.Central_Spacing = 0.622 *'m'; 239 exchanger.Baffles.Inlet_Spacing= 0.807 *'m'; 240 241 241 OPTIONS 242 242 -
trunk/sample/costs/sample_HeatExchangerSimplified_cost.mso
r331 r491 50 50 NComp = PP.NumberOfComponents; 51 51 52 exchanger.FlowDirection = "counter"; 53 54 # costs 55 exchanger.Material = "Stainless steel 316"; 56 57 exchanger.Cost(1,:) = [8.202,0.01506,0.06811]; 58 exchanger.Cost(2,:) = [-0.9003,0.0906,0]; 59 exchanger.Cost(3,:) = [1.35,0,0]; 60 exchanger.Cost(4,:) = [-0.7844,0.0830,0]; 61 exchanger.Cost(5,:) = [0.8955,0.04981,0]; 62 exchanger.Cost(6,:) = [1.2002,0.07140,0]; 63 exchanger.Cost(7,:) = [1.4272,0.12088,0]; 64 exchanger.Cost(8,:) = [0.8608,0.23296,0]; 65 66 67 SPECIFY 68 69 exchanger.Method.Fc = 1; 70 52 exchanger.ExchangerType = "Counter Flow"; 53 54 # costs 55 exchanger.Material = "Stainless steel 316"; 56 57 exchanger.Cost(1,:) = [8.202,0.01506,0.06811]; 58 exchanger.Cost(2,:) = [-0.9003,0.0906,0]; 59 exchanger.Cost(3,:) = [1.35,0,0]; 60 exchanger.Cost(4,:) = [-0.7844,0.0830,0]; 61 exchanger.Cost(5,:) = [0.8955,0.04981,0]; 62 exchanger.Cost(6,:) = [1.2002,0.07140,0]; 63 exchanger.Cost(7,:) = [1.4272,0.12088,0]; 64 exchanger.Cost(8,:) = [0.8608,0.23296,0]; 65 66 67 SPECIFY 68 71 69 exchanger.Details.A = 139.35*'m^2'; 72 70 exchanger.Details.Ud = 0.75*'W/(m^2*K)'; … … 117 115 NComp = PP.NumberOfComponents; 118 116 119 exchanger. FlowDirection = "counter";117 exchanger.ExchangerType = "Counter Flow"; 120 118 121 119 # costs … … 156 154 157 155 end 156 158 157 159 158 FlowSheet sample_Shell_and_tubes_LMTD_cost … … 178 177 179 178 exchanger.LMTDcorrection = "Bowmann"; 180 exchanger.ShellType = "Eshell";181 179 182 180 # costs … … 249 247 NComp = PP.NumberOfComponents; 250 248 251 exchanger.ShellType = "Eshell";252 253 249 # costs 254 250 exchanger.Material = "Stainless steel 316";
Note: See TracChangeset
for help on using the changeset viewer.