- Timestamp:
- Jan 29, 2007, 1:50:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newlanguage/eml/heat_exchangers/HeatExchangerSimplified.mso
r100 r139 19 19 20 20 using "HEX_Engine"; 21 #===================================================================== 22 # Basic Models for Simplified Heat Exchangers 23 #===================================================================== 21 24 22 Model HeatExchangerSimplified_Basic 23 24 ATTRIBUTES 25 Pallete = false; 26 Brief = "Basic Models for Simplified Heat Exchangers"; 27 Info = 28 "write some information"; 29 25 30 PARAMETERS 26 ext PP as CalcObject(Brief="External Physical Properties");27 HE as CalcObject(Brief="STHE Calculations",File="heatex");28 ext NComp as Integer(Brief="Number of Components");29 M(NComp)as molweight (Brief="Component Mol Weight");31 outer PP as Plugin (Brief="External Physical Properties"); 32 HE as Plugin (Brief="STHE Calculations",File="heatex"); 33 outer NComp as Integer (Brief="Number of Components"); 34 M(NComp) as molweight (Brief="Component Mol Weight"); 30 35 31 36 VARIABLES 32 37 33 in Inlet as Inlet_Main_Stream; # Hot and Cold Inlets34 out Outlet as Outlet_Main_Stream; # Hot and Cold Outlets35 Properties as Main_Properties; # Hot and Cold Properties36 Details as Details_Main;37 PressureDrop as Main_Pdrop;38 in Inlet as Inlet_Main_Stream (Brief="Hot and Cold Inlets"); 39 out Outlet as Outlet_Main_Stream (Brief="Hot and Cold Outlets"); 40 Properties as Main_Properties (Brief="Hot and Cold Properties"); 41 Details as Details_Main (Brief="Heat Exchanger Details"); 42 PressureDrop as Main_Pdrop (Brief="Heat Exchanger Pressure Drop"); 38 43 39 44 SET … … 352 357 353 358 Model Heatex_Basic_NTU as HeatExchangerSimplified_Basic 354 #===================================================================== 355 # Basic Model for Heat Exchangers - NTU Method 356 #===================================================================== 359 360 ATTRIBUTES 361 Pallete = false; 362 Brief = "Basic Model for Heat Exchangers - NTU Method"; 363 Info = 364 "write some information"; 365 357 366 VARIABLES 358 367 … … 368 377 369 378 Model Heatex_Basic_LMTD as HeatExchangerSimplified_Basic 370 #===================================================================== 371 # Basic Model for Heat Exchangers - LMTD Method 372 #===================================================================== 379 380 ATTRIBUTES 381 Pallete = false; 382 Brief = "Basic Model for Heat Exchangers - LMTD Method"; 383 Info = 384 "write some information"; 385 373 386 VARIABLES 374 387 375 DT0 as temp_delta (Brief="Temperature Difference at Inlet",Lower=1);388 DT0 as temp_delta (Brief="Temperature Difference at Inlet",Lower=1); 376 389 DTL as temp_delta (Brief="Temperature Difference at Outlet",Lower=1); 377 LMTD as temp_delta (Brief="Logarithmic Mean Temperature Difference",Lower=1);378 Fc as positive (Brief="LMTD Correction Factor",Lower=0.5);390 LMTD as temp_delta (Brief="Logarithmic Mean Temperature Difference",Lower=1); 391 Fc as positive (Brief="LMTD Correction Factor",Lower=0.5); 379 392 MTD as temp_delta (Brief="Mean Temperature Difference",Lower=1); 380 393 … … 424 437 Model HeatExchanger_LMTD as Heatex_Basic_LMTD 425 438 439 ATTRIBUTES 440 Pallete = true; 441 Brief = "Heat Exchanger Block - LMTD Method"; 442 Info = 443 "write some information"; 444 426 445 PARAMETERS 427 446 … … 430 449 SET 431 450 432 Side = HE.FlowDir(); # Return Flow Direction 451 # Return Flow Direction 452 Side = HE.FlowDir(); 433 453 434 454 EQUATIONS … … 461 481 462 482 Model E_Shell_LMTD as Heatex_Basic_LMTD 463 #===================================================================== 464 # Shell and Tubes Heat Exchanger with 1 shell pass - LMTD Method 465 #===================================================================== 483 484 ATTRIBUTES 485 Pallete = true; 486 Brief = "Shell and Tubes Heat Exchanger with 1 shell pass - LMTD Method"; 487 Info = 488 "write some information"; 489 466 490 EQUATIONS 467 491 "Temperature Difference at Inlet" … … 477 501 478 502 Model F_Shell_LMTD as Heatex_Basic_LMTD 479 #===================================================================== 480 # Shell and Tubes Heat Exchanger with 2 shell passes - LMTD Method 481 #===================================================================== 503 504 ATTRIBUTES 505 Pallete = true; 506 Brief = "Shell and Tubes Heat Exchanger with 2 shell pass - LMTD Method"; 507 Info = 508 "write some information"; 509 482 510 EQUATIONS 483 511 "Temperature Difference at Inlet" … … 497 525 498 526 Model HeatExchanger_NTU as Heatex_Basic_NTU 527 528 ATTRIBUTES 529 Pallete = true; 530 Brief = "Heat Exchanger Block - NTU Method"; 531 Info = 532 "write some information"; 499 533 500 534 PARAMETERS … … 545 579 546 580 Model E_Shell_NTU as Heatex_Basic_NTU 547 #===================================================================== 548 # Shell and Tubes Heat Exchanger with 1 shell pass - NTU Method 549 #===================================================================== 581 582 ATTRIBUTES 583 Pallete = true; 584 Brief = "Shell and Tubes Heat Exchanger with 1 shell pass - NTU Method"; 585 Info = 586 "write some information"; 587 550 588 EQUATIONS 551 589 "TEMA E Shell Effectiveness" … … 554 592 end 555 593 556 Model F_Shell_NTU as Heatex_Basic_NTU 557 #===================================================================== 558 # Shell and Tubes Heat Exchanger with 2 shell passes - NTU Method 559 #===================================================================== 594 Model F_Shell_NTU as Heatex_Basic_NTU 595 596 ATTRIBUTES 597 Pallete = true; 598 Brief = "Shell and Tubes Heat Exchanger with 2 shell pass - NTU Method"; 599 Info = 600 "write some information"; 601 560 602 VARIABLES 561 603
Note: See TracChangeset
for help on using the changeset viewer.