Changeset 657


Ignore:
Timestamp:
Oct 2, 2008, 10:20:25 PM (15 years ago)
Author:
gerson bicca
Message:

improved heater/cooler model

Location:
trunk
Files:
1 added
7 edited

Legend:

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

    r650 r657  
    132132 VARIABLES
    133133
    134 in  InletQ              as energy_stream        (Brief ="Inlet Heat Stream", PosX=0.5, PosY=1, Symbol="_{out}");
     134out  OutletQ                    as energy_stream        (Brief ="Inlet Heat Stream", PosX=0.5, PosY=0, Symbol="_{out}");
    135135
    136136 EQUATIONS
    137137
    138138 "Duty Specification"
    139         InletQ.Q = -Duty;
     139        OutletQ.Q = -Duty;
    140140
    141141end
  • trunk/eml/heat_exchangers/icon/cooler.svg

    r546 r657  
    1313   sodipodi:version="0.32"
    1414   inkscape:version="0.46"
    15    width="210mm"
    16    height="297mm"
     15   width="325.34012"
     16   height="250.71156"
    1717   sodipodi:docbase="D:\User\Arge\PROJETOS\Alsoc\EMSO\mso\eml\heat_exchangers\icon"
    1818   sodipodi:docname="cooler.svg"
    1919   inkscape:output_extension="org.inkscape.output.svg.inkscape"
    20    inkscape:export-filename="/home/bicca/apps/repositorio/biblioteca/trunk/eml/heat_exchangers/icon/cooler.png"
    21    inkscape:export-xdpi="83.206451"
    22    inkscape:export-ydpi="83.206451">
     20   inkscape:export-filename="D:\Apps\repositorio\branches\gui\eml\heat_exchangers\icon\cooler.png"
     21   inkscape:export-xdpi="52.401367"
     22   inkscape:export-ydpi="52.401367"
     23   version="1.0">
    2324  <metadata
    2425     id="metadata10177">
     
    3435  <defs
    3536     id="defs10175">
     37    <marker
     38       inkscape:stockid="EmptyTriangleOutL"
     39       orient="auto"
     40       refY="0"
     41       refX="0"
     42       id="EmptyTriangleOutL"
     43       style="overflow:visible">
     44      <path
     45         id="path3331"
     46         d="M 5.77,0 L -2.88,5 L -2.88,-5 L 5.77,0 z"
     47         style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
     48         transform="matrix(0.8,0,0,0.8,-4.8,0)" />
     49    </marker>
     50    <marker
     51       inkscape:stockid="EmptyTriangleInL"
     52       orient="auto"
     53       refY="0"
     54       refX="0"
     55       id="EmptyTriangleInL"
     56       style="overflow:visible">
     57      <path
     58         id="path3322"
     59         d="M 5.77,0 L -2.88,5 L -2.88,-5 L 5.77,0 z"
     60         style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
     61         transform="matrix(-0.8,0,0,-0.8,4.8,0)" />
     62    </marker>
    3663    <inkscape:perspective
    3764       sodipodi:type="inkscape:persp3d"
     
    76103  </defs>
    77104  <sodipodi:namedview
    78      inkscape:window-height="753"
    79      inkscape:window-width="1024"
     105     inkscape:window-height="975"
     106     inkscape:window-width="1280"
    80107     inkscape:pageshadow="2"
    81108     inkscape:pageopacity="0.0"
     
    90117     inkscape:zoom="1.4329667"
    91118     inkscape:cx="311.3198"
    92      inkscape:cy="609.68654"
    93      inkscape:window-x="1"
    94      inkscape:window-y="69"
     119     inkscape:cy="187.0072"
     120     inkscape:window-x="0"
     121     inkscape:window-y="22"
    95122     inkscape:current-layer="svg10172" />
    96123  <path
    97      style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
    98      d="M 490.77562,434.77475 C 540.77196,435.38039 540.77196,435.38039 540.77196,435.38039"
     124     style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.77660394;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#EmptyTriangleOutL);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
     125     d="M 264.65998,145.96838 C 323.45181,146.56803 323.45181,146.56803 323.45181,146.56803"
    99126     id="path13752" />
    100127  <path
     
    106133     sodipodi:rx="100.17168"
    107134     sodipodi:ry="100.17168"
    108      d="M 500.36491 352.14737 A 100.17168 100.17168 0 1 1  300.02156,352.14737 A 100.17168 100.17168 0 1 1  500.36491 352.14737 z"
    109      transform="matrix(-1.2112799e-2,0.9999266,0.9999266,1.2112799e-2,45.291601,29.348951)" />
     135     d="M 500.36491,352.14737 A 100.17168,100.17168 0 1 1 300.02156,352.14737 A 100.17168,100.17168 0 1 1 500.36491,352.14737 z"
     136     transform="matrix(-1.2112799e-2,0.9999266,0.9999266,1.2112799e-2,-184.4516,-259.46043)" />
    110137  <path
    111138     style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
    112      d="M 510.13094,323.001 L 359.05179,411.17748 L 428.68327,442.02317 L 277.60412,530.19965"
     139     d="M 280.38774,34.19162 L 129.30859,122.3681 L 198.94007,153.21379 L 47.860921,241.39027"
    113140     id="path11973" />
    114141  <path
    115142     style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.29729998px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    116      d="M 280.15389,522.87865 L 286.91144,533.89135 L 267.0447,538.8723 L 280.15389,522.87865 z "
     143     d="M 50.410691,234.06927 L 57.168241,245.08197 L 37.301501,250.06292 L 50.410691,234.06927 z"
    117144     id="path10086"
    118145     inkscape:transform-center-x="-7.806366"
    119146     inkscape:transform-center-y="50.694172" />
    120   <g
    121      id="g2394">
    122     <path
    123        id="path12861"
    124        d="M 232.76974,433.74641 C 282.76607,434.35205 282.76607,434.35205 282.76607,434.35205 L 282.76607,434.35205 L 282.76607,434.35205 L 232.76974,433.74641 z "
    125        style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
    126     <path
    127        inkscape:transform-center-y="-37.917701"
    128        inkscape:transform-center-x="-14.938788"
    129        id="path14641"
    130        d="M 274.50102,438.86116 L 274.56591,428.85153 L 289.57909,434.00644 L 274.50102,438.86116 z "
    131        style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00203896px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
    132   </g>
    133147  <path
    134      style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00203896px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    135      d="M 539.14075,439.87165 L 539.32198,429.86344 L 554.2742,435.19251 L 539.14075,439.87165 z "
    136      id="path14643"
    137      inkscape:transform-center-x="-15.639411"
    138      inkscape:transform-center-y="-38.515247" />
    139   <g
    140      id="g2406"
    141      transform="matrix(1.0851386,0,0,0.7636815,-40.316454,125.77848)">
    142     <g
    143        transform="matrix(0,-1,1,0,-36.778027,822.32146)"
    144        id="g2398">
    145       <path
    146          style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
    147          d="M 232.76974,433.74641 C 282.76607,434.35205 282.76607,434.35205 282.76607,434.35205 L 282.76607,434.35205 L 282.76607,434.35205 L 232.76974,433.74641 z"
    148          id="path2400" />
    149       <path
    150          style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00203896px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    151          d="M 274.50102,438.86116 L 274.56591,428.85153 L 289.57909,434.00644 L 274.50102,438.86116 z"
    152          id="path2402"
    153          inkscape:transform-center-x="-14.938788"
    154          inkscape:transform-center-y="-37.917701" />
    155     </g>
    156     <path
    157        id="path2404"
    158        d="M 397.20284,588.68502 C 447.19918,589.29066 447.19918,589.29066 447.19918,589.29066"
    159        style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
    160   </g>
     148     style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.77660394;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#EmptyTriangleOutL);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
     149     d="M 1.888302,144.70821 C 60.680132,145.30786 60.680132,145.30786 60.680132,145.30786"
     150     id="path4468" />
     151  <path
     152     style="fill:none;fill-rule:evenodd;stroke:#021b1b;stroke-width:3.16819501;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#EmptyTriangleOutL);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
     153     d="M 163.54367,43.538014 C 164.1554,2.9798033 164.1554,2.9798033 164.1554,2.9798033"
     154     id="path4470" />
    161155</svg>
  • trunk/eml/heat_exchangers/icon/heater.svg

    r546 r657  
    1313   sodipodi:version="0.32"
    1414   inkscape:version="0.46"
    15    width="210mm"
    16    height="297mm"
     15   width="325.34012"
     16   height="257.62686"
    1717   sodipodi:docbase="D:\User\Arge\PROJETOS\Alsoc\EMSO\mso\eml\heat_exchangers\icon"
    1818   sodipodi:docname="heater.svg"
    1919   inkscape:output_extension="org.inkscape.output.svg.inkscape"
    20    inkscape:export-filename="/home/bicca/apps/repositorio/biblioteca/trunk/eml/heat_exchangers/icon/heater.png"
    21    inkscape:export-xdpi="83.206451"
    22    inkscape:export-ydpi="83.206451">
     20   inkscape:export-filename="C:\Documents and Settings\Anyone\Desktop\cooler.png"
     21   inkscape:export-xdpi="52.401367"
     22   inkscape:export-ydpi="52.401367"
     23   version="1.0">
    2324  <metadata
    2425     id="metadata10177">
     
    3435  <defs
    3536     id="defs10175">
     37    <marker
     38       inkscape:stockid="EmptyTriangleOutL"
     39       orient="auto"
     40       refY="0"
     41       refX="0"
     42       id="EmptyTriangleOutL"
     43       style="overflow:visible">
     44      <path
     45         id="path3331"
     46         d="M 5.77,0 L -2.88,5 L -2.88,-5 L 5.77,0 z"
     47         style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
     48         transform="matrix(0.8,0,0,0.8,-4.8,0)" />
     49    </marker>
     50    <marker
     51       inkscape:stockid="EmptyTriangleInL"
     52       orient="auto"
     53       refY="0"
     54       refX="0"
     55       id="EmptyTriangleInL"
     56       style="overflow:visible">
     57      <path
     58         id="path3322"
     59         d="M 5.77,0 L -2.88,5 L -2.88,-5 L 5.77,0 z"
     60         style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
     61         transform="matrix(-0.8,0,0,-0.8,4.8,0)" />
     62    </marker>
    3663    <inkscape:perspective
    3764       sodipodi:type="inkscape:persp3d"
     
    76103  </defs>
    77104  <sodipodi:namedview
    78      inkscape:window-height="753"
    79      inkscape:window-width="1024"
     105     inkscape:window-height="975"
     106     inkscape:window-width="1280"
    80107     inkscape:pageshadow="2"
    81108     inkscape:pageopacity="0.0"
     
    90117     inkscape:zoom="1.4329667"
    91118     inkscape:cx="311.3198"
    92      inkscape:cy="609.68654"
    93      inkscape:window-x="1"
    94      inkscape:window-y="69"
     119     inkscape:cy="187.0072"
     120     inkscape:window-x="0"
     121     inkscape:window-y="22"
    95122     inkscape:current-layer="svg10172" />
    96123  <path
    97      style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
    98      d="M 490.77562,434.77475 C 540.77196,435.38039 540.77196,435.38039 540.77196,435.38039"
     124     style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.77660394;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#EmptyTriangleOutL);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
     125     d="M 264.65998,113.52676 C 323.45181,114.12641 323.45181,114.12641 323.45181,114.12641"
    99126     id="path13752" />
    100127  <path
     
    106133     sodipodi:rx="100.17168"
    107134     sodipodi:ry="100.17168"
    108      d="M 500.36491 352.14737 A 100.17168 100.17168 0 1 1  300.02156,352.14737 A 100.17168 100.17168 0 1 1  500.36491 352.14737 z"
    109      transform="matrix(-1.2112799e-2,0.9999266,0.9999266,1.2112799e-2,45.291601,29.348951)" />
     135     d="M 500.36491,352.14737 A 100.17168,100.17168 0 1 1 300.02156,352.14737 A 100.17168,100.17168 0 1 1 500.36491,352.14737 z"
     136     transform="matrix(-1.2112799e-2,0.9999266,0.9999266,1.2112799e-2,-184.4516,-291.90205)" />
    110137  <path
    111      style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
    112      d="M 510.13094,323.001 L 359.05179,411.17748 L 428.68327,442.02317 L 277.60412,530.19965"
     138     style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.34245038;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
     139     d="M 268.60302,10.04546 L 125.12955,94.725207 L 191.25561,124.34768 L 47.782146,209.02742"
    113140     id="path11973" />
    114   <g
    115      id="g2394">
    116     <path
    117        id="path12861"
    118        d="M 232.76974,433.74641 C 282.76607,434.35205 282.76607,434.35205 282.76607,434.35205 L 282.76607,434.35205 L 282.76607,434.35205 L 232.76974,433.74641 z "
    119        style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
    120     <path
    121        inkscape:transform-center-y="-37.917701"
    122        inkscape:transform-center-x="-14.938788"
    123        id="path14641"
    124        d="M 274.50102,438.86116 L 274.56591,428.85153 L 289.57909,434.00644 L 274.50102,438.86116 z "
    125        style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00203896px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
    126   </g>
    127141  <path
    128      style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00203896px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    129      d="M 539.14075,439.87165 L 539.32198,429.86344 L 554.2742,435.19251 L 539.14075,439.87165 z "
    130      id="path14643"
    131      inkscape:transform-center-x="-15.639411"
    132      inkscape:transform-center-y="-38.515247" />
    133   <g
    134      id="g2406"
    135      transform="matrix(1.0851386,0,0,0.7636815,-40.316454,125.77848)">
    136     <g
    137        transform="matrix(0,-1,1,0,-36.778027,822.32146)"
    138        id="g2398">
    139       <path
    140          style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
    141          d="M 232.76974,433.74641 C 282.76607,434.35205 282.76607,434.35205 282.76607,434.35205 L 282.76607,434.35205 L 282.76607,434.35205 L 232.76974,433.74641 z"
    142          id="path2400" />
    143       <path
    144          style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00203896px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    145          d="M 274.50102,438.86116 L 274.56591,428.85153 L 289.57909,434.00644 L 274.50102,438.86116 z"
    146          id="path2402"
    147          inkscape:transform-center-x="-14.938788"
    148          inkscape:transform-center-y="-37.917701" />
    149     </g>
    150     <path
    151        id="path2404"
    152        d="M 397.20284,588.68502 C 447.19918,589.29066 447.19918,589.29066 447.19918,589.29066"
    153        style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
    154   </g>
     142     style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.77660394;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#EmptyTriangleOutL);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
     143     d="M 1.888302,112.26659 C 60.680132,112.86624 60.680132,112.86624 60.680132,112.86624"
     144     id="path4468" />
     145  <path
     146     style="fill:none;fill-rule:evenodd;stroke:#021b1b;stroke-width:3.16819501;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#EmptyTriangleOutL);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
     147     d="M 164.24152,256.04277 C 164.85325,215.48456 164.85325,215.48456 164.85325,215.48456"
     148     id="path4470" />
    155149  <path
    156150     style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.29729998px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    157      d="M 512.97538,328.80948 L 506.21783,317.79678 L 526.08457,312.81583 L 512.97538,328.80948 z"
     151     d="M 266.63329,18.384084 L 259.87574,7.3713844 L 279.74248,2.3904344 L 266.63329,18.384084 z"
    158152     id="path10086"
    159153     inkscape:transform-center-x="7.806364"
    160      inkscape:transform-center-y="-50.694168" />
     154     inkscape:transform-center-y="-50.694169" />
    161155</svg>
  • trunk/sample/heat_exchangers/Cooler_Diagram.pfd

    r650 r657  
    2727                <Show_Grid>0</Show_Grid>
    2828                <Snap_to_Grid>0</Snap_to_Grid>
    29                 <Width>1248</Width>
    30                 <Height>444</Height>
     29                <Width>1244</Width>
     30                <Height>516</Height>
    3131                <X>0</X>
    3232                <Y>0</Y>
     
    3636                <Show_Grid>0</Show_Grid>
    3737                <Snap_to_Grid>0</Snap_to_Grid>
    38                 <Width>1248</Width>
     38                <Width>1244</Width>
    3939                <Height>0</Height>
    4040                <X>0</X>
     
    4646                <Block_Name>source_1</Block_Name>
    4747                <Image_File_Name>/media/sdb5/gerson/projetos/repositorio/biblioteca/trunk/eml/icon/Source.png</Image_File_Name>
    48                 <X>94</X>
    49                 <Y>25</Y>
     48                <X>62</X>
     49                <Y>123</Y>
    5050                <Z>0</Z>
    5151                <Width>72.5</Width>
     
    124124                <Block_Name>sink_1</Block_Name>
    125125                <Image_File_Name>/media/sdb5/gerson/projetos/repositorio/biblioteca/trunk/eml/icon/Sink.png</Image_File_Name>
    126                 <X>663</X>
    127                 <Y>269</Y>
     126                <X>658</X>
     127                <Y>336</Y>
    128128                <Z>0</Z>
    129129                <Width>72.5</Width>
     
    159159        </Block>
    160160        <Block>
    161                 <Type>energy_source</Type>
    162                 <Id_String>energy_source_1</Id_String>
    163                 <Block_Name>energy_source_1</Block_Name>
    164                 <Image_File_Name>/media/sdb5/gerson/projetos/repositorio/biblioteca/trunk/eml/icon/energy_source.png</Image_File_Name>
    165                 <X>147</X>
    166                 <Y>263</Y>
     161                <Type>cooler</Type>
     162                <Id_String>cooler_2</Id_String>
     163                <Block_Name>cooler_2</Block_Name>
     164                <Image_File_Name>/media/sdb5/gerson/projetos/repositorio/biblioteca/trunk/eml/heat_exchangers/icon/cooler.png</Image_File_Name>
     165                <X>352</X>
     166                <Y>244</Y>
    167167                <Z>0</Z>
    168                 <Width>72.5</Width>
    169                 <Height>38</Height>
     168                <Width>94</Width>
     169                <Height>72</Height>
    170170                <Block_Properties>
     171                        <Base_Models>
     172                        <Block_Properties>
     173                        <Sub_Models>
     174                        <Block_Properties>
     175                        <Base_Models>
     176                        <Block_Properties>
     177                        <Model_File_Path>streams</Model_File_Path>
     178                        <Instance_Id>Inlet.</Instance_Id>
     179                        <Model_Name>stream</Model_Name>
     180                        <T_Connection>1</T_Connection>
     181                        </Block_Properties>
     182                        </Base_Models>
     183                        <Model_File_Path>heat_exchangers/heater</Model_File_Path>
     184                        <Instance_Id>Inlet.</Instance_Id>
     185                        <Model_Name>Inlet</Model_Name>
     186                        <T_Connection>1</T_Connection>
     187                        </Block_Properties>
     188                        </Sub_Models>
     189                        <Sub_Models>
     190                        <Block_Properties>
     191                        <Base_Models>
     192                        <Block_Properties>
     193                        <Base_Models>
     194                        <Block_Properties>
     195                        <Model_File_Path>streams</Model_File_Path>
     196                        <Instance_Id>Outlet.</Instance_Id>
     197                        <Model_Name>stream</Model_Name>
     198                        <T_Connection>2</T_Connection>
     199                        <Variables>
     200                                <Desc>Outlet.T</Desc>
     201                                <Index>0</Index>
     202                                <Values>(25+273)</Values>
     203                                <Status>1</Status>
     204                                <Unit>K</Unit>
     205                        </Variables>
     206                        </Block_Properties>
     207                        </Base_Models>
     208                        <Model_File_Path>streams</Model_File_Path>
     209                        <Instance_Id>Outlet.</Instance_Id>
     210                        <Model_Name>streamPH</Model_Name>
     211                        <T_Connection>2</T_Connection>
     212                        <Parameters>
     213                                <Desc>Outlet.PP</Desc>
     214                                <Index>0</Index>
     215                                <Values>PP</Values>
     216                                <Status>0</Status>
     217                        </Parameters>
     218                        </Block_Properties>
     219                        </Base_Models>
     220                        <Model_File_Path>heat_exchangers/heater</Model_File_Path>
     221                        <Instance_Id>Outlet.</Instance_Id>
     222                        <Model_Name>Outlet</Model_Name>
     223                        <T_Connection>2</T_Connection>
     224                        </Block_Properties>
     225                        </Sub_Models>
     226                        <Model_File_Path>heat_exchangers/heater</Model_File_Path>
     227                        <Instance_Id></Instance_Id>
     228                        <Model_Name>heater_basic</Model_Name>
     229                        <T_Connection>0</T_Connection>
     230                        <Parameters>
     231                                <Desc>PP</Desc>
     232                                <Index>0</Index>
     233                                <Values>PP</Values>
     234                                <Status>0</Status>
     235                        </Parameters>
     236                        <Variables>
     237                                <Desc>Pdrop</Desc>
     238                                <Index>0</Index>
     239                                <Values>15</Values>
     240                                <Status>1</Status>
     241                                <Unit>kPa</Unit>
     242                        </Variables>
     243                        </Block_Properties>
     244                        </Base_Models>
    171245                        <Sub_Models>
    172246                        <Block_Properties>
     
    179253                        </Block_Properties>
    180254                        </Base_Models>
    181                         <Model_File_Path>streams</Model_File_Path>
     255                        <Model_File_Path>heat_exchangers/heater</Model_File_Path>
    182256                        <Instance_Id>OutletQ.</Instance_Id>
    183257                        <Model_Name>OutletQ</Model_Name>
    184258                        <T_Connection>2</T_Connection>
    185                         </Block_Properties>
    186                         </Sub_Models>
    187                         <Model_File_Path>streams</Model_File_Path>
    188                         <Instance_Id></Instance_Id>
    189                         <Model_Name>energy_source</Model_Name>
    190                         <T_Connection>0</T_Connection>
    191                 </Block_Properties>
    192         </Block>
    193         <Block>
    194                 <Type>cooler</Type>
    195                 <Id_String>cooler_1</Id_String>
    196                 <Block_Name>cooler_1</Block_Name>
    197                 <Image_File_Name>/media/sdb5/gerson/projetos/repositorio/biblioteca/trunk/eml/heat_exchangers/icon/cooler.png</Image_File_Name>
    198                 <X>342</X>
    199                 <Y>101</Y>
    200                 <Z>0</Z>
    201                 <Width>149.5</Width>
    202                 <Height>118.5</Height>
    203                 <Block_Properties>
    204                         <Base_Models>
    205                         <Block_Properties>
    206                         <Sub_Models>
    207                         <Block_Properties>
    208                         <Base_Models>
    209                         <Block_Properties>
    210                         <Model_File_Path>streams</Model_File_Path>
    211                         <Instance_Id>Inlet.</Instance_Id>
    212                         <Model_Name>stream</Model_Name>
    213                         <T_Connection>1</T_Connection>
    214                         </Block_Properties>
    215                         </Base_Models>
    216                         <Model_File_Path>heat_exchangers/heater</Model_File_Path>
    217                         <Instance_Id>Inlet.</Instance_Id>
    218                         <Model_Name>Inlet</Model_Name>
    219                         <T_Connection>1</T_Connection>
    220                         </Block_Properties>
    221                         </Sub_Models>
    222                         <Sub_Models>
    223                         <Block_Properties>
    224                         <Base_Models>
    225                         <Block_Properties>
    226                         <Base_Models>
    227                         <Block_Properties>
    228                         <Model_File_Path>streams</Model_File_Path>
    229                         <Instance_Id>Outlet.</Instance_Id>
    230                         <Model_Name>stream</Model_Name>
    231                         <T_Connection>2</T_Connection>
    232                         <Variables>
    233                                 <Desc>Outlet.T</Desc>
    234                                 <Index>0</Index>
    235                                 <Values>(25+273)</Values>
    236                                 <Status>1</Status>
    237                                 <Unit>K</Unit>
    238                         </Variables>
    239                         </Block_Properties>
    240                         </Base_Models>
    241                         <Model_File_Path>streams</Model_File_Path>
    242                         <Instance_Id>Outlet.</Instance_Id>
    243                         <Model_Name>streamPH</Model_Name>
    244                         <T_Connection>2</T_Connection>
    245                         <Parameters>
    246                                 <Desc>Outlet.PP</Desc>
    247                                 <Index>0</Index>
    248                                 <Values>PP</Values>
    249                                 <Status>0</Status>
    250                         </Parameters>
    251                         </Block_Properties>
    252                         </Base_Models>
    253                         <Model_File_Path>heat_exchangers/heater</Model_File_Path>
    254                         <Instance_Id>Outlet.</Instance_Id>
    255                         <Model_Name>Outlet</Model_Name>
    256                         <T_Connection>2</T_Connection>
    257                         </Block_Properties>
    258                         </Sub_Models>
    259                         <Model_File_Path>heat_exchangers/heater</Model_File_Path>
    260                         <Instance_Id></Instance_Id>
    261                         <Model_Name>heater_basic</Model_Name>
    262                         <T_Connection>0</T_Connection>
    263                         <Parameters>
    264                                 <Desc>PP</Desc>
    265                                 <Index>0</Index>
    266                                 <Values>PP</Values>
    267                                 <Status>0</Status>
    268                         </Parameters>
    269                         <Parameters>
    270                                 <Desc>Kvalues</Desc>
    271                                 <Index>0</Index>
    272                                 <Values>yes</Values>
    273                                 <Status>4</Status>
    274                         </Parameters>
    275                         <Variables>
    276                                 <Desc>Pdrop</Desc>
    277                                 <Index>0</Index>
    278                                 <Values>15</Values>
    279                                 <Status>1</Status>
    280                                 <Unit>kPa</Unit>
    281                         </Variables>
    282                         </Block_Properties>
    283                         </Base_Models>
    284                         <Sub_Models>
    285                         <Block_Properties>
    286                         <Base_Models>
    287                         <Block_Properties>
    288                         <Model_File_Path>streams</Model_File_Path>
    289                         <Instance_Id>InletQ.</Instance_Id>
    290                         <Model_Name>energy_stream</Model_Name>
    291                         <T_Connection>1</T_Connection>
    292                         </Block_Properties>
    293                         </Base_Models>
    294                         <Model_File_Path>heat_exchangers/heater</Model_File_Path>
    295                         <Instance_Id>InletQ.</Instance_Id>
    296                         <Model_Name>InletQ</Model_Name>
    297                         <T_Connection>1</T_Connection>
    298259                        </Block_Properties>
    299260                        </Sub_Models>
     
    305266        </Block>
    306267        <Line>
    307                 <Line_Name>line_7</Line_Name>
    308                 <X1>166.5</X1>
    309                 <Y1>44.4472</Y1>
    310                 <X2>347</X2>
    311                 <Y2>153</Y2>
     268                <Line_Name>line_13</Line_Name>
     269                <X1>134.5</X1>
     270                <Y1>142.447</Y1>
     271                <X2>352</X2>
     272                <Y2>276.4</Y2>
    312273                <Block_Source>source_1</Block_Source>
    313274                <Port_Source>source_1.Outlet</Port_Source>
    314                 <Block_Target>cooler_1</Block_Target>
    315                 <Port_Target>cooler_1.Inlet</Port_Target>
     275                <Block_Target>cooler_2</Block_Target>
     276                <Port_Target>cooler_2.Inlet</Port_Target>
    316277        </Line>
    317278        <Line>
    318                 <Line_Name>line_8</Line_Name>
    319                 <X1>491.5</X1>
    320                 <Y1>154.325</Y1>
    321                 <X2>666</X2>
    322                 <Y2>288</Y2>
    323                 <Block_Source>cooler_1</Block_Source>
    324                 <Port_Source>cooler_1.Outlet</Port_Source>
     279                <Line_Name>line_14</Line_Name>
     280                <X1>446</X1>
     281                <Y1>276.4</Y1>
     282                <X2>658</X2>
     283                <Y2>355.64</Y2>
     284                <Block_Source>cooler_2</Block_Source>
     285                <Port_Source>cooler_2.Outlet</Port_Source>
    325286                <Block_Target>sink_1</Block_Target>
    326287                <Port_Target>sink_1.Inlet</Port_Target>
    327288        </Line>
    328         <Line>
    329                 <Line_Name>line_9</Line_Name>
    330                 <X1>219.5</X1>
    331                 <Y1>280.48</Y1>
    332                 <X2>416</X2>
    333                 <Y2>218</Y2>
    334                 <Block_Source>energy_source_1</Block_Source>
    335                 <Port_Source>energy_source_1.OutletQ</Port_Source>
    336                 <Block_Target>cooler_1</Block_Target>
    337                 <Port_Target>cooler_1.InletQ</Port_Target>
    338         </Line>
    339289</Diagram>
  • trunk/sample/heat_exchangers/Sample_Heater.mso

    r650 r657  
    9595        IN_2                    as source;
    9696        IN_3                    as source;
    97         Heating                 as energy_source;
    9897        Sink_Stream     as sink;
    9998       
     
    105104        IN_3.Outlet                     to mixer1.Inlet(3);
    106105        mixer1.Outlet                   to Cooler.Inlet;
    107         Heating.OutletQ.Q               to Cooler.InletQ.Q;
    108106        Cooler.Outlet        to Sink_Stream.Inlet;
    109107       
Note: See TracChangeset for help on using the changeset viewer.