Ignore:
Timestamp:
Jan 25, 2007, 11:31:33 AM (16 years ago)
Author:
gerson bicca
Message:

some modifications for the new language

Location:
branches/newlanguage/eml/heat_exchangers
Files:
2 edited

Legend:

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

    r110 r132  
    7777#===================================================================== 
    7878VARIABLES
    79 Hot     as stream_therm;  # Outlet Hot Stream
    80 Cold    as stream_therm;  # Outlet Cold Stream
     79Hot     as liquid_stream;  # Outlet Hot Stream
     80Cold    as liquid_stream;  # Outlet Cold Stream
    8181
    8282end
  • branches/newlanguage/eml/heat_exchangers/HeatExchangerDetailed.mso

    r110 r132  
    2828PARAMETERS
    2929
    30 ext PP          as CalcObject   (Brief="External Physical Properties");
    31 ext NComp       as Integer      (Brief="Number of Components");
    32         HE              as CalcObject   (Brief="STHE Calculations",File="heatex");
     30outer PP                as Plugin       (Brief="External Physical Properties");
     31outer NComp     as Integer      (Brief="Number of Components");
     32        HE              as Plugin       (Brief="STHE Calculations",File="heatex");
    3333        M(NComp)        as molweight    (Brief="Component Mol Weight");
    3434       
     
    339339        Inlet.Hot.v=Outlet.Hot.v;
    340340       
    341 end
     341end
     342
    342343
    343344Model Heatex_Detailed           as HeatExchangerDetailed_Basic
     
    348349#                               Basic  Parameters                                                                       #
    349350#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
    350 ext PP          as CalcObject   (Brief="External Physical Properties");
     351outer PP                as Plugin       (Brief="External Physical Properties");
    351352side        as Integer          (Brief="Fluid Alocation Flag",Lower=0,Upper=1);
    352353Pi                      as constant     (Brief="Pi Number",Default=3.14159265);
     
    707708DT0     as temp_delta   (Brief="Temperature Difference at Inlet",Lower=1);
    708709DTL             as temp_delta   (Brief="Temperature Difference at Outlet",Lower=1);
    709 LMTD    as temp_delta   (Brief="Logarithmic Mean Temperature Difference",Lower=5);
     710LMTD    as temp_delta   (Brief="Logarithmic Mean Temperature Difference",Lower=1);
    710711Fc              as positive             (Brief="LMTD Correction Factor",Lower=0.4);
    711 MTD             as temp_delta   (Brief="Mean Temperature Difference",Lower=5);
     712MTD             as temp_delta   (Brief="Mean Temperature Difference",Lower=1);
    712713
    713714EQUATIONS
     
    869870
    870871        Nshell          as Integer              (Brief="N Shell in Series",Default=2);
    871 ext PP                  as CalcObject   (Brief="External Physical Properties");
    872         HE                      as CalcObject   (Brief="heatex Calculations", File="heatex");
     872outer PP                        as Plugin       (Brief="External Physical Properties");
     873        HE                      as Plugin       (Brief="heatex Calculations", File="heatex");
    873874        side        as Integer          (Brief="Fluid Alocation",Lower=0,Upper=1);
    874875        Pi                      as constant     (Brief="Pi Number",Default=3.14159265);
     
    13921393
    13931394Nshell          as Integer              (Brief="N Shell in Series",Default=2);
    1394         HE              as CalcObject   (Brief="STHE Calculations",File="heatex");
    1395 ext PP          as CalcObject   (Brief="External Physical Properties");
     1395        HE              as Plugin       (Brief="STHE Calculations",File="heatex");
     1396outer PP                as Plugin       (Brief="External Physical Properties");
    13961397side        as Integer          (Brief="Fluid Alocation",Lower=0,Upper=1);
    13971398Pi                      as constant     (Brief="Pi Number",Default=3.14159265);
Note: See TracChangeset for help on using the changeset viewer.