Changeset 68 for mso/eml/heat_exchangers/HeatExchangerDetailed.mso
- Timestamp:
- Nov 27, 2006, 6:37:59 PM (16 years ago)
- Location:
- mso/eml/heat_exchangers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mso/eml/heat_exchangers
-
Property
svn:ignore
set to
*.dll
-
Property
svn:ignore
set to
-
mso/eml/heat_exchangers/HeatExchangerDetailed.mso
r45 r68 165 165 then 166 166 167 "H eat Capacity Hot Stream"167 "Hot Stream Average Heat Capacity" 168 168 Properties.Hot.Average.Cp = PP.LiquidCp(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 169 170 "Hot Stream Inlet Heat Capacity" 169 171 Properties.Hot.Inlet.Cp = PP.LiquidCp(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 172 173 "Hot Stream Outlet Heat Capacity" 170 174 Properties.Hot.Outlet.Cp = PP.LiquidCp(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 171 175 172 " Mass Density Hot Stream"176 "Hot Stream Average Mass Density" 173 177 Properties.Hot.Average.rho = PP.LiquidDensity(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 178 179 "Hot Stream Inlet Mass Density" 174 180 Properties.Hot.Inlet.rho = PP.LiquidDensity(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 181 182 "Hot Stream Outlet Mass Density" 175 183 Properties.Hot.Outlet.rho = PP.LiquidDensity(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 176 184 177 " Viscosity Hot Stream"185 "Hot Stream Average Viscosity" 178 186 Properties.Hot.Average.Mu = PP.LiquidViscosity(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 187 188 "Hot Stream Inlet Viscosity" 179 189 Properties.Hot.Inlet.Mu = PP.LiquidViscosity(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 190 191 "Hot Stream Outlet Viscosity" 180 192 Properties.Hot.Outlet.Mu = PP.LiquidViscosity(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 181 193 182 "Conductivity Hot Stream" 183 Properties.Hot.Average.K = PP.LiquidThermalConductivity(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 184 Properties.Hot.Inlet.K = PP.LiquidThermalConductivity(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 185 Properties.Hot.Outlet.K = PP.LiquidThermalConductivity(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 186 187 "Heat Capacity Hot Stream" 188 Properties.Hot.Wall.Cp = PP.LiquidCp(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 189 190 "Viscosity Hot Stream" 191 Properties.Hot.Wall.Mu = PP.LiquidViscosity(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 192 193 "Conductivity Hot Stream" 194 Properties.Hot.Wall.K = PP.LiquidThermalConductivity(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 195 196 197 else 198 199 "Heat Capacity Hot Stream" 194 "Hot Stream Average Conductivity" 195 Properties.Hot.Average.K = PP.LiquidThermalConductivity(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 196 197 "Hot Stream Inlet Conductivity" 198 Properties.Hot.Inlet.K = PP.LiquidThermalConductivity(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 199 200 "Hot Stream Outlet Conductivity" 201 Properties.Hot.Outlet.K = PP.LiquidThermalConductivity(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 202 203 "Hot Stream Heat Capacity at Wall Temperature" 204 Properties.Hot.Wall.Cp = PP.LiquidCp(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 205 206 "Hot Stream Viscosity at Wall Temperature" 207 Properties.Hot.Wall.Mu = PP.LiquidViscosity(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 208 209 "Hot Stream Conductivity at Wall Temperature" 210 Properties.Hot.Wall.K = PP.LiquidThermalConductivity(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 211 212 213 else 214 215 "Hot Stream Average Heat Capacity" 200 216 Properties.Hot.Average.Cp = PP.VapourCp(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 217 218 "Hot Stream Inlet Heat Capacity" 201 219 Properties.Hot.Inlet.Cp = PP.VapourCp(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 220 221 "Hot Stream Outlet Heat Capacity" 202 222 Properties.Hot.Outlet.Cp = PP.VapourCp(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 203 223 204 " Mass Density Hot Stream"224 "Hot Stream Average Mass Density" 205 225 Properties.Hot.Average.rho = PP.VapourDensity(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 226 227 "Hot Stream Inlet Mass Density" 206 228 Properties.Hot.Inlet.rho = PP.VapourDensity(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 229 230 "Hot Stream Outlet Mass Density" 207 231 Properties.Hot.Outlet.rho = PP.VapourDensity(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 208 232 209 " Viscosity Hot Stream"233 "Hot Stream Average Viscosity" 210 234 Properties.Hot.Average.Mu = PP.VapourViscosity(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 235 236 "Hot Stream Inlet Viscosity" 211 237 Properties.Hot.Inlet.Mu = PP.VapourViscosity(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 238 239 "Hot Stream Outlet Viscosity" 212 240 Properties.Hot.Outlet.Mu = PP.VapourViscosity(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 213 241 214 "Conductivity Hot Stream" 215 Properties.Hot.Average.K = PP.VapourThermalConductivity(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 216 Properties.Hot.Inlet.K = PP.VapourThermalConductivity(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 217 Properties.Hot.Outlet.K = PP.VapourThermalConductivity(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 218 219 "Heat Capacity Hot Stream" 220 Properties.Hot.Wall.Cp = PP.VapourCp(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 221 222 "Viscosity Hot Stream" 223 Properties.Hot.Wall.Mu = PP.VapourViscosity(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 224 225 "Conductivity Hot Stream" 226 Properties.Hot.Wall.K = PP.VapourThermalConductivity(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 242 "Hot Stream Average Conductivity" 243 Properties.Hot.Average.K = PP.VapourThermalConductivity(Properties.Hot.Average.T,Properties.Hot.Average.P,Inlet.Hot.z); 244 245 "Hot Stream Inlet Conductivity" 246 Properties.Hot.Inlet.K = PP.VapourThermalConductivity(Inlet.Hot.T,Inlet.Hot.P,Inlet.Hot.z); 247 248 "Hot Stream Outlet Conductivity" 249 Properties.Hot.Outlet.K = PP.VapourThermalConductivity(Outlet.Hot.T,Outlet.Hot.P,Outlet.Hot.z); 250 251 "Hot Stream Heat Capacity at Wall Temperature" 252 Properties.Hot.Wall.Cp = PP.VapourCp(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 253 254 "Hot Stream Viscosity at Wall Temperature" 255 Properties.Hot.Wall.Mu = PP.VapourViscosity(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 256 257 "Hot Stream Conductivity at Wall Temperature" 258 Properties.Hot.Wall.K = PP.VapourThermalConductivity(Properties.Hot.Wall.Twall,Properties.Hot.Average.P,Inlet.Hot.z); 227 259 228 260 … … 423 455 424 456 "Shell Side Phi correction" 425 Shell.HeatTransfer.Phi = HE.PhiCorrection(Properties.Hot.Average.Mu,Properties.Hot.Wall.Mu);457 Shell.HeatTransfer.Phi = HE.PhiCorrection(Properties.Hot.Average.Mu,Properties.Hot.Wall.Mu); 426 458 427 459 "Tube Side Phi correction" … … 431 463 432 464 "Shell Side Phi correction" 433 Shell.HeatTransfer.Phi = HE.PhiCorrection(Properties.Cold.Average.Mu,Properties.Cold.Wall.Mu);465 Shell.HeatTransfer.Phi = HE.PhiCorrection(Properties.Cold.Average.Mu,Properties.Cold.Wall.Mu); 434 466 435 467 "Tube Side Phi correction" … … 449 481 450 482 "Hot Wall Temperature" 451 Properties.Hot.Wall.Twall = (Properties.Hot.Average.T+Properties.Cold.Average.T)/2;483 Properties.Hot.Wall.Twall = (Properties.Hot.Average.T+Properties.Cold.Average.T)/2; 452 484 453 485 "ColdWall Temperature" … … 455 487 456 488 "Tube Side Velocity" 457 Tubes.HeatTransfer.Vtube = Properties.Cold.Inlet.Fw*Tpass/((Pi*Ditube*Ditube/4)*Properties.Cold.Average.rho*Ntt);489 Tubes.HeatTransfer.Vtube = Properties.Cold.Inlet.Fw*Tpass/((Pi*Ditube*Ditube/4)*Properties.Cold.Average.rho*Ntt); 458 490 459 491 "Tube Side Reynolds Number" 460 Tubes.HeatTransfer.Re =(Properties.Cold.Average.rho*Tubes.HeatTransfer.Vtube*Ditube)/Properties.Cold.Average.Mu;492 Tubes.HeatTransfer.Re = (Properties.Cold.Average.rho*Tubes.HeatTransfer.Vtube*Ditube)/Properties.Cold.Average.Mu; 461 493 462 494 "Tube Side Prandtl Number" 463 Tubes.HeatTransfer.PR = ((Properties.Cold.Average.Cp/Properties.Cold.Average.Mw)*Properties.Cold.Average.Mu)/Properties.Cold.Average.K;495 Tubes.HeatTransfer.PR = ((Properties.Cold.Average.Cp/Properties.Cold.Average.Mw)*Properties.Cold.Average.Mu)/Properties.Cold.Average.K; 464 496 465 497 "Tube Side Prandtl Number at Wall Temperature" 466 Tubes.HeatTransfer.PRw = ((Properties.Cold.Wall.Cp/Properties.Cold.Average.Mw)*Properties.Cold.Wall.Mu)/Properties.Cold.Wall.K;498 Tubes.HeatTransfer.PRw = ((Properties.Cold.Wall.Cp/Properties.Cold.Average.Mw)*Properties.Cold.Wall.Mu)/Properties.Cold.Wall.K; 467 499 468 500 "Tube Side Film Coefficient" 469 Tubes.HeatTransfer.htube = HE.TubeFilmCoeff(Tubes.HeatTransfer.Re,Tubes.HeatTransfer.PR,Properties.Cold.Average.K)*Tubes.HeatTransfer.Phi;501 Tubes.HeatTransfer.htube = HE.TubeFilmCoeff(Tubes.HeatTransfer.Re,Tubes.HeatTransfer.PR,Properties.Cold.Average.K)*Tubes.HeatTransfer.Phi; 470 502 471 503 "Shell Side Prandtl Number" 472 Shell.HeatTransfer.PR = ((Properties.Hot.Average.Cp/Properties.Hot.Average.Mw)*Properties.Hot.Average.Mu)/Properties.Hot.Average.K;504 Shell.HeatTransfer.PR = ((Properties.Hot.Average.Cp/Properties.Hot.Average.Mw)*Properties.Hot.Average.Mu)/Properties.Hot.Average.K; 473 505 474 506 "Shell Side Prandtl Number at Wall Temperature" 475 Shell.HeatTransfer.PRw = ((Properties.Hot.Wall.Cp/Properties.Hot.Average.Mw)*Properties.Hot.Wall.Mu)/Properties.Hot.Wall.K;507 Shell.HeatTransfer.PRw = ((Properties.Hot.Wall.Cp/Properties.Hot.Average.Mw)*Properties.Hot.Wall.Mu)/Properties.Hot.Wall.K; 476 508 477 509 "Tube Side Pressure Drop" … … 497 529 498 530 "Shell Pressure Drop Outlet Nozzle" 499 Shell.PressureDrop.Pdnozzle_out = HE.DeltaPshellNozzleOut(Properties.Hot.Outlet.rho,Properties.Hot.Inlet.Fw);531 Shell.PressureDrop.Pdnozzle_out = HE.DeltaPshellNozzleOut(Properties.Hot.Outlet.rho,Properties.Hot.Inlet.Fw); 500 532 501 533 "Velocity Shell Side Outlet Nozzle" … … 621 653 622 654 VARIABLES 655 623 656 DT0 as temp_delta (Brief="Temperature Difference at Inlet",Lower=1); 624 657 DTL as temp_delta (Brief="Temperature Difference at Outlet",Lower=1); … … 1295 1328 VARIABLES 1296 1329 1297 LMTD(Nshell) as temp_delta (Brief="Logarithmic Mean Temperature Difference",Lower= 10);1298 Fc(Nshell) as positive (Brief="LMTD Correction Factor",Lower=0. 75);1299 MTD(Nshell) as temp_delta (Brief="Mean Temperature Difference" );1330 LMTD(Nshell) as temp_delta (Brief="Logarithmic Mean Temperature Difference",Lower=5); 1331 Fc(Nshell) as positive (Brief="LMTD Correction Factor",Lower=0.5); 1332 MTD(Nshell) as temp_delta (Brief="Mean Temperature Difference",Lower=5); 1300 1333 Unity(Nshell) as HeatExchangerDetailed_Basic; 1301 1334 … … 1515 1548 1516 1549 "Overall Heat Transfer Coefficient" 1517 Unity(i).Details.U =1/(Dotube/(Unity(i).Tubes.HeatTransfer.htube*Ditube)+(Dotube*ln(Dotube/Ditube)/(2*Kwall))+(1/(Unity(i).Shell.HeatTransfer.hshell)));1550 Unity(i).Details.U*(Dotube/(Unity(i).Tubes.HeatTransfer.htube*Ditube)+(Dotube*ln(Dotube/Ditube)/(2*Kwall))+(1/(Unity(i).Shell.HeatTransfer.hshell)))=1; 1518 1551 1519 1552 "Exchange Surface Area" … … 1573 1606 1574 1607 "Exchange Surface Area" 1575 Unity(i).Details.Q = Unity(i).Details.U*Unity(i).Details.A*Fc(i)*LMTD(i); 1608 # Unity(i).Details.Q = Unity(i).Details.U*Unity(i).Details.A*Fc(i)*LMTD(i); 1609 Unity(i).Details.Q = Unity(i).Details.U*Pi*Dotube*Ntt*Ltube*Fc(i)*LMTD(i); 1576 1610 1577 1611 "Mean Temperature Difference"
Note: See TracChangeset
for help on using the changeset viewer.