Changeset 528 for trunk


Ignore:
Timestamp:
May 24, 2008, 7:11:07 PM (15 years ago)
Author:
gerson bicca
Message:

updated hairpin model

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eml/heat_exchangers/Hairpin.mso

    r484 r528  
    3232outer NComp     as Integer      (Brief="Number of Components");
    3333       
    34         M(NComp)        as molweight    (Brief="Component Mol Weight");
    35        
    36         HotSide                         as Switcher             (Brief="Flag for Fluid Alocation ",Valid=["outer","inner"],Default="outer");
    37         innerFlowRegime         as Switcher     (Brief="Inner Flow Regime ",Valid=["laminar","transition","turbulent"],Default="laminar");
    38         outerFlowRegime         as Switcher     (Brief="Outer Flow Regime ",Valid=["laminar","transition","turbulent"],Default="laminar");
     34        M(NComp)        as molweight    (Brief="Component Mol Weight",Hidden=true);
     35       
     36        HotSide                         as Switcher             (Brief="Flag for Fluid Alocation ",Valid=["outer","inner"],Default="outer",Hidden=true);
     37        innerFlowRegime         as Switcher     (Brief="Inner Flow Regime ",Valid=["laminar","transition","turbulent"],Default="laminar",Hidden=true);
     38        outerFlowRegime         as Switcher     (Brief="Outer Flow Regime ",Valid=["laminar","transition","turbulent"],Default="laminar",Hidden=true);
    3939
    4040        InnerLaminarCorrelation         as Switcher     (Brief="Heat Transfer Correlation in Laminar Flow for the Inner Side",Valid=["Hausen","Schlunder"],Default="Hausen");
     
    4949        Qestimated                                                              as power                                (Brief="Estimated Duty", Default=70, Lower=1e-6, Upper=1e10);
    5050       
    51         Pi                              as constant             (Brief="Pi Number",Default=3.14159265, Symbol = "\pi");
     51        Pi                              as constant             (Brief="Pi Number",Default=3.14159265, Symbol = "\pi",Hidden=true);
    5252        DoInner         as length                       (Brief="Outside Diameter of Inner Pipe",Lower=1e-6);
    5353        DiInner as length                       (Brief="Inside Diameter of Inner Pipe",Lower=1e-10);
  • trunk/sample/heat_exchangers/hairpin_diagram.pfd

    r439 r528  
    2727                <Show_Grid>1</Show_Grid>
    2828                <Snap_to_Grid>1</Snap_to_Grid>
    29                 <Width>936</Width>
    30                 <Height>426</Height>
     29                <Width>1260</Width>
     30                <Height>412</Height>
    3131                <X>0</X>
    3232                <Y>0</Y>
     
    3636                <Show_Grid>1</Show_Grid>
    3737                <Snap_to_Grid>1</Snap_to_Grid>
    38                 <Width>936</Width>
     38                <Width>1260</Width>
    3939                <Height>0</Height>
    4040                <X>0</X>
     
    4545                <Id_String>Hairpin_NTU_1</Id_String>
    4646                <Block_Name>hairpin</Block_Name>
    47                 <Image_File_Name>/home/bicca/Desktop/biblioteca/biblioteca/trunk/eml/heat_exchangers/icon/hairpin.png</Image_File_Name>
     47                <Image_File_Name>E:\Gerson\biblioteca\trunk\eml\heat_exchangers\icon/hairpin.png</Image_File_Name>
    4848                <X>215</X>
    4949                <Y>155</Y>
     
    6464                        </Block_Properties>
    6565                        </Base_Models>
    66                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     66                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    6767                        <Instance_Id>InletInner.</Instance_Id>
    6868                        <Model_Name>InletInner</Model_Name>
     
    8080                        </Block_Properties>
    8181                        </Base_Models>
    82                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     82                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    8383                        <Instance_Id>InletOuter.</Instance_Id>
    8484                        <Model_Name>InletOuter</Model_Name>
     
    104104                        </Block_Properties>
    105105                        </Base_Models>
    106                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     106                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    107107                        <Instance_Id>OutletInner.</Instance_Id>
    108108                        <Model_Name>OutletInner</Model_Name>
     
    128128                        </Block_Properties>
    129129                        </Base_Models>
    130                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     130                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    131131                        <Instance_Id>OutletOuter.</Instance_Id>
    132132                        <Model_Name>OutletOuter</Model_Name>
     
    138138                        <Base_Models>
    139139                        <Block_Properties>
    140                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     140                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    141141                        <Instance_Id>Details.</Instance_Id>
    142142                        <Model_Name>Details_Main</Model_Name>
     
    144144                        </Block_Properties>
    145145                        </Base_Models>
    146                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     146                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    147147                        <Instance_Id>Details.</Instance_Id>
    148148                        <Model_Name>Details</Model_Name>
     
    158158                        <Base_Models>
    159159                        <Block_Properties>
    160                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     160                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    161161                        <Instance_Id>Inner.HeatTransfer.</Instance_Id>
    162162                        <Model_Name>DoublePipe_HeatTransfer</Model_Name>
     
    164164                        </Block_Properties>
    165165                        </Base_Models>
    166                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     166                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    167167                        <Instance_Id>Inner.HeatTransfer.</Instance_Id>
    168168                        <Model_Name>HeatTransfer</Model_Name>
     
    174174                        <Base_Models>
    175175                        <Block_Properties>
    176                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     176                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    177177                        <Instance_Id>Inner.PressureDrop.</Instance_Id>
    178178                        <Model_Name>DoublePipe_PressureDrop</Model_Name>
     
    180180                        </Block_Properties>
    181181                        </Base_Models>
    182                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     182                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    183183                        <Instance_Id>Inner.PressureDrop.</Instance_Id>
    184184                        <Model_Name>PressureDrop</Model_Name>
     
    194194                        <Base_Models>
    195195                        <Block_Properties>
    196                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     196                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    197197                        <Instance_Id>Inner.Properties.Inlet.</Instance_Id>
    198198                        <Model_Name>Properties_In_Out</Model_Name>
     
    200200                        </Block_Properties>
    201201                        </Base_Models>
    202                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     202                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    203203                        <Instance_Id>Inner.Properties.Inlet.</Instance_Id>
    204204                        <Model_Name>Inlet</Model_Name>
     
    210210                        <Base_Models>
    211211                        <Block_Properties>
    212                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     212                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    213213                        <Instance_Id>Inner.Properties.Average.</Instance_Id>
    214214                        <Model_Name>Properties_Average</Model_Name>
     
    216216                        </Block_Properties>
    217217                        </Base_Models>
    218                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     218                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    219219                        <Instance_Id>Inner.Properties.Average.</Instance_Id>
    220220                        <Model_Name>Average</Model_Name>
     
    226226                        <Base_Models>
    227227                        <Block_Properties>
    228                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     228                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    229229                        <Instance_Id>Inner.Properties.Outlet.</Instance_Id>
    230230                        <Model_Name>Properties_In_Out</Model_Name>
     
    232232                        </Block_Properties>
    233233                        </Base_Models>
    234                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     234                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    235235                        <Instance_Id>Inner.Properties.Outlet.</Instance_Id>
    236236                        <Model_Name>Outlet</Model_Name>
     
    242242                        <Base_Models>
    243243                        <Block_Properties>
    244                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     244                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    245245                        <Instance_Id>Inner.Properties.Wall.</Instance_Id>
    246246                        <Model_Name>Properties_Wall</Model_Name>
     
    248248                        </Block_Properties>
    249249                        </Base_Models>
    250                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     250                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    251251                        <Instance_Id>Inner.Properties.Wall.</Instance_Id>
    252252                        <Model_Name>Wall</Model_Name>
     
    254254                        </Block_Properties>
    255255                        </Sub_Models>
    256                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     256                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    257257                        <Instance_Id>Inner.Properties.</Instance_Id>
    258258                        <Model_Name>Physical_Properties</Model_Name>
     
    260260                        </Block_Properties>
    261261                        </Base_Models>
    262                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     262                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    263263                        <Instance_Id>Inner.Properties.</Instance_Id>
    264264                        <Model_Name>Properties</Model_Name>
     
    266266                        </Block_Properties>
    267267                        </Sub_Models>
    268                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     268                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    269269                        <Instance_Id>Inner.</Instance_Id>
    270270                        <Model_Name>Main_DoublePipe</Model_Name>
     
    272272                        </Block_Properties>
    273273                        </Base_Models>
    274                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     274                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    275275                        <Instance_Id>Inner.</Instance_Id>
    276276                        <Model_Name>Inner</Model_Name>
     
    286286                        <Base_Models>
    287287                        <Block_Properties>
    288                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     288                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    289289                        <Instance_Id>Outer.HeatTransfer.</Instance_Id>
    290290                        <Model_Name>DoublePipe_HeatTransfer</Model_Name>
     
    292292                        </Block_Properties>
    293293                        </Base_Models>
    294                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     294                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    295295                        <Instance_Id>Outer.HeatTransfer.</Instance_Id>
    296296                        <Model_Name>HeatTransfer</Model_Name>
     
    302302                        <Base_Models>
    303303                        <Block_Properties>
    304                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     304                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    305305                        <Instance_Id>Outer.PressureDrop.</Instance_Id>
    306306                        <Model_Name>DoublePipe_PressureDrop</Model_Name>
     
    308308                        </Block_Properties>
    309309                        </Base_Models>
    310                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     310                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    311311                        <Instance_Id>Outer.PressureDrop.</Instance_Id>
    312312                        <Model_Name>PressureDrop</Model_Name>
     
    322322                        <Base_Models>
    323323                        <Block_Properties>
    324                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     324                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    325325                        <Instance_Id>Outer.Properties.Inlet.</Instance_Id>
    326326                        <Model_Name>Properties_In_Out</Model_Name>
     
    328328                        </Block_Properties>
    329329                        </Base_Models>
    330                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     330                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    331331                        <Instance_Id>Outer.Properties.Inlet.</Instance_Id>
    332332                        <Model_Name>Inlet</Model_Name>
     
    338338                        <Base_Models>
    339339                        <Block_Properties>
    340                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     340                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    341341                        <Instance_Id>Outer.Properties.Average.</Instance_Id>
    342342                        <Model_Name>Properties_Average</Model_Name>
     
    344344                        </Block_Properties>
    345345                        </Base_Models>
    346                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     346                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    347347                        <Instance_Id>Outer.Properties.Average.</Instance_Id>
    348348                        <Model_Name>Average</Model_Name>
     
    354354                        <Base_Models>
    355355                        <Block_Properties>
    356                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     356                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    357357                        <Instance_Id>Outer.Properties.Outlet.</Instance_Id>
    358358                        <Model_Name>Properties_In_Out</Model_Name>
     
    360360                        </Block_Properties>
    361361                        </Base_Models>
    362                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     362                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    363363                        <Instance_Id>Outer.Properties.Outlet.</Instance_Id>
    364364                        <Model_Name>Outlet</Model_Name>
     
    370370                        <Base_Models>
    371371                        <Block_Properties>
    372                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     372                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    373373                        <Instance_Id>Outer.Properties.Wall.</Instance_Id>
    374374                        <Model_Name>Properties_Wall</Model_Name>
     
    376376                        </Block_Properties>
    377377                        </Base_Models>
    378                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     378                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    379379                        <Instance_Id>Outer.Properties.Wall.</Instance_Id>
    380380                        <Model_Name>Wall</Model_Name>
     
    382382                        </Block_Properties>
    383383                        </Sub_Models>
    384                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     384                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    385385                        <Instance_Id>Outer.Properties.</Instance_Id>
    386386                        <Model_Name>Physical_Properties</Model_Name>
     
    388388                        </Block_Properties>
    389389                        </Base_Models>
    390                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     390                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    391391                        <Instance_Id>Outer.Properties.</Instance_Id>
    392392                        <Model_Name>Properties</Model_Name>
     
    394394                        </Block_Properties>
    395395                        </Sub_Models>
    396                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     396                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    397397                        <Instance_Id>Outer.</Instance_Id>
    398398                        <Model_Name>Main_DoublePipe</Model_Name>
     
    400400                        </Block_Properties>
    401401                        </Base_Models>
    402                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     402                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    403403                        <Instance_Id>Outer.</Instance_Id>
    404404                        <Model_Name>Outer</Model_Name>
     
    406406                        </Block_Properties>
    407407                        </Sub_Models>
    408                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     408                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    409409                        <Instance_Id></Instance_Id>
    410410                        <Model_Name>Hairpin_Basic</Model_Name>
     
    447447                        </Parameters>
    448448                        <Parameters>
     449                                <Desc>CalculationApproach</Desc>
     450                                <Index>0</Index>
     451                                <Values>Full</Values>
     452                                <Status>4</Status>
     453                        </Parameters>
     454                        <Parameters>
    449455                                <Desc>DoInner</Desc>
    450456                                <Index>0</Index>
     
    501507                        <Base_Models>
    502508                        <Block_Properties>
    503                         <Model_File_Path>heat_exchangers/HEX_Engine</Model_File_Path>
     509                        <Model_File_Path>heat_exchangers\HEX_Engine</Model_File_Path>
    504510                        <Instance_Id>Method.</Instance_Id>
    505511                        <Model_Name>NTU_Basic</Model_Name>
     
    507513                        </Block_Properties>
    508514                        </Base_Models>
    509                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     515                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    510516                        <Instance_Id>Method.</Instance_Id>
    511517                        <Model_Name>Method</Model_Name>
     
    513519                        </Block_Properties>
    514520                        </Sub_Models>
    515                         <Model_File_Path>heat_exchangers/DoublePipe</Model_File_Path>
     521                        <Model_File_Path>heat_exchangers\Hairpin</Model_File_Path>
    516522                        <Instance_Id></Instance_Id>
    517523                        <Model_Name>Hairpin_NTU</Model_Name>
     
    529535                <Id_String>simple_source_1</Id_String>
    530536                <Block_Name>cold_in</Block_Name>
    531                 <Image_File_Name>/home/bicca/Desktop/biblioteca/biblioteca/trunk/eml/icon/Source.png</Image_File_Name>
     537                <Image_File_Name>E:\Gerson\biblioteca\trunk\eml\icon/Source.png</Image_File_Name>
    532538                <X>39</X>
    533539                <Y>21</Y>
     
    592598                <Id_String>simple_source_2</Id_String>
    593599                <Block_Name>hot_in</Block_Name>
    594                 <Image_File_Name>/home/bicca/Desktop/biblioteca/biblioteca/trunk/eml/icon/Source.png</Image_File_Name>
     600                <Image_File_Name>E:\Gerson\biblioteca\trunk\eml\icon/Source.png</Image_File_Name>
    595601                <X>664</X>
    596602                <Y>313</Y>
     
    655661                <Id_String>simple_sink_1</Id_String>
    656662                <Block_Name>hot_out</Block_Name>
    657                 <Image_File_Name>/home/bicca/Desktop/biblioteca/biblioteca/trunk/eml/icon/Sink.png</Image_File_Name>
     663                <Image_File_Name>E:\Gerson\biblioteca\trunk\eml\icon/Sink.png</Image_File_Name>
    658664                <X>701</X>
    659665                <Y>50</Y>
     
    688694                <Id_String>simple_sink_2</Id_String>
    689695                <Block_Name>cold_out</Block_Name>
    690                 <Image_File_Name>/home/bicca/Desktop/biblioteca/biblioteca/trunk/eml/icon/Sink.png</Image_File_Name>
     696                <Image_File_Name>E:\Gerson\biblioteca\trunk\eml\icon/Sink.png</Image_File_Name>
    691697                <X>495</X>
    692698                <Y>373</Y>
Note: See TracChangeset for help on using the changeset viewer.