Ignore:
Timestamp:
Jan 29, 2007, 1:50:41 PM (15 years ago)
Author:
gerson bicca
Message:

updated models for the new language

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/eml/heat_exchangers/HeatExchangerSimplified.mso

    r100 r139  
    1919
    2020using "HEX_Engine";
    21 #=====================================================================
    22 #       Basic Models for Simplified Heat Exchangers
    23 #=====================================================================
     21
    2422Model HeatExchangerSimplified_Basic
     23       
     24ATTRIBUTES
     25        Pallete         = false;
     26        Brief           = "Basic Models for Simplified Heat Exchangers";
     27        Info            =
     28        "write some information";
     29       
    2530PARAMETERS
    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");
     31outer PP                as Plugin               (Brief="External Physical Properties");
     32                HE              as Plugin               (Brief="STHE Calculations",File="heatex");
     33outer NComp     as Integer      (Brief="Number of Components");
     34                M(NComp)  as molweight  (Brief="Component Mol Weight");
    3035       
    3136VARIABLES
    3237
    33 in  Inlet               as Inlet_Main_Stream;   # Hot and Cold Inlets
    34 out Outlet              as Outlet_Main_Stream;  # Hot and Cold Outlets
    35         Properties      as Main_Properties;             # Hot and Cold Properties
    36         Details         as Details_Main;
    37         PressureDrop    as Main_Pdrop;
     38in      Inlet                   as Inlet_Main_Stream    (Brief="Hot and Cold Inlets");
     39out     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");
    3843
    3944SET
     
    352357
    353358Model Heatex_Basic_NTU   as HeatExchangerSimplified_Basic
    354 #=====================================================================
    355 #       Basic Model for Heat Exchangers - NTU Method
    356 #=====================================================================
     359
     360ATTRIBUTES
     361        Pallete         = false;
     362        Brief           = "Basic Model for Heat Exchangers - NTU Method";
     363        Info            =
     364        "write some information";
     365
    357366VARIABLES
    358367
     
    368377
    369378Model Heatex_Basic_LMTD  as HeatExchangerSimplified_Basic
    370 #=====================================================================
    371 #       Basic Model for Heat Exchangers - LMTD Method
    372 #=====================================================================
     379
     380ATTRIBUTES
     381        Pallete         = false;
     382        Brief           = "Basic Model for Heat Exchangers - LMTD Method";
     383        Info            =
     384        "write some information";
     385
    373386VARIABLES
    374387
    375 DT0     as temp_delta   (Brief="Temperature Difference at Inlet",Lower=1);
     388DT0             as temp_delta   (Brief="Temperature Difference at Inlet",Lower=1);
    376389DTL             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);
     390LMTD            as temp_delta   (Brief="Logarithmic Mean Temperature Difference",Lower=1);
     391Fc                      as positive             (Brief="LMTD Correction Factor",Lower=0.5);
    379392MTD             as temp_delta   (Brief="Mean Temperature Difference",Lower=1);
    380393
     
    424437Model HeatExchanger_LMTD        as Heatex_Basic_LMTD
    425438
     439ATTRIBUTES
     440        Pallete         = true;
     441        Brief           = "Heat Exchanger Block - LMTD Method";
     442        Info            =
     443        "write some information";
     444       
    426445PARAMETERS
    427446
     
    430449SET
    431450
    432 Side = HE.FlowDir(); # Return Flow Direction
     451# Return Flow Direction
     452        Side = HE.FlowDir();
    433453
    434454EQUATIONS
     
    461481
    462482Model E_Shell_LMTD                      as Heatex_Basic_LMTD       
    463 #=====================================================================
    464 #       Shell and Tubes Heat Exchanger with 1 shell pass - LMTD Method
    465 #===================================================================== 
     483
     484ATTRIBUTES
     485        Pallete         = true;
     486        Brief           = "Shell and Tubes Heat Exchanger with 1 shell pass - LMTD Method";
     487        Info            =
     488        "write some information";
     489       
    466490EQUATIONS
    467491"Temperature Difference at Inlet"
     
    477501
    478502Model F_Shell_LMTD              as Heatex_Basic_LMTD
    479 #=====================================================================
    480 #       Shell and Tubes Heat Exchanger with 2 shell passes - LMTD Method
    481 #=====================================================================
     503       
     504ATTRIBUTES
     505        Pallete         = true;
     506        Brief           = "Shell and Tubes Heat Exchanger with 2 shell pass - LMTD Method";
     507        Info            =
     508        "write some information";
     509       
    482510EQUATIONS
    483511"Temperature Difference at Inlet"
     
    497525
    498526Model HeatExchanger_NTU         as Heatex_Basic_NTU
     527
     528ATTRIBUTES
     529        Pallete         = true;
     530        Brief           = "Heat Exchanger Block - NTU Method";
     531        Info            =
     532        "write some information";
    499533       
    500534PARAMETERS
     
    545579
    546580Model E_Shell_NTU                       as Heatex_Basic_NTU
    547 #=====================================================================
    548 #       Shell and Tubes Heat Exchanger with 1 shell pass - NTU Method
    549 #=====================================================================
     581       
     582ATTRIBUTES
     583        Pallete         = true;
     584        Brief           = "Shell and Tubes Heat Exchanger with 1 shell pass - NTU Method";
     585        Info            =
     586        "write some information";
     587
    550588EQUATIONS
    551589"TEMA E Shell Effectiveness"
     
    554592end
    555593
    556 Model F_Shell_NTU               as Heatex_Basic_NTU
    557 #=====================================================================
    558 #       Shell and Tubes Heat Exchanger with 2 shell passes - NTU Method
    559 #===================================================================== 
     594Model F_Shell_NTU               as Heatex_Basic_NTU
     595
     596ATTRIBUTES
     597        Pallete         = true;
     598        Brief           = "Shell and Tubes Heat Exchanger with 2 shell pass - NTU Method";
     599        Info            =
     600        "write some information";
     601       
    560602VARIABLES
    561603
Note: See TracChangeset for help on using the changeset viewer.