Ignore:
Timestamp:
Feb 20, 2010, 4:16:49 AM (13 years ago)
Author:
Argimiro Resende Secchi
Message:

Checking new EML.

Location:
branches/gui/sample/miscellaneous/tenprobs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/sample/miscellaneous/tenprobs/prob03.mso

    r530 r913  
    168168        OPTIONS
    169169        NLPSolver(
    170 #               File = "ipopt_emso",
    171                 File = "complex",
     170                #File = "ipopt_emso",
     171                File = "complex", MaxIterations = 500,
    172172                ObjTol = 1e-6);
    173173        Dynamic = false;
  • branches/gui/sample/miscellaneous/tenprobs/prob06.pfd

    r443 r913  
    1 <?xml version='1.0' encoding='ascii'?>
    2 <Diagram>
    3         <Options>
    4                 <Dynamic>1</Dynamic>
    5                 <Time_Step>1</Time_Step>
    6                 <Time_End>90</Time_End>
    7                 <Time_Unit_Index>1</Time_Unit_Index>
    8                 <Time_Unit_Text>min</Time_Unit_Text>
    9                 <Sparse_Algebra>1</Sparse_Algebra>
    10                 <Integration_Index>0</Integration_Index>
    11                 <Integration_Text>original</Integration_Text>
    12                 <NLASolver_File_Index>0</NLASolver_File_Index>
    13                 <NLASolver_File_Text>sundials</NLASolver_File_Text>
    14                 <DAESolver_File_Index>0</DAESolver_File_Index>
    15                 <DAESolver_File_Text>sundials</DAESolver_File_Text>
    16         </Options>
    17         <Width>2000</Width>
    18         <Height>1000</Height>
    19         <Grid_Spacing>20</Grid_Spacing>
    20         <View>
    21                 <Zoom_Level>1</Zoom_Level>
    22                 <Show_Grid>1</Show_Grid>
    23                 <Snap_to_Grid>1</Snap_to_Grid>
    24                 <Width>827</Width>
    25                 <Height>424</Height>
    26                 <X>0</X>
    27                 <Y>0</Y>
    28         </View>
    29         <View>
    30                 <Zoom_Level>1</Zoom_Level>
    31                 <Show_Grid>1</Show_Grid>
    32                 <Snap_to_Grid>1</Snap_to_Grid>
    33                 <Width>827</Width>
    34                 <Height>0</Height>
    35                 <X>0</X>
    36                 <Y>0</Y>
    37         </View>
    38         <Block>
    39                 <Type>steam</Type>
    40                 <Id_String>steam_1</Id_String>
    41                 <Block_Name>steam_1</Block_Name>
    42                 <Image_File_Name>icon/tank_source.png</Image_File_Name>
    43                 <X>30</X>
    44                 <Y>254</Y>
    45                 <Z>0</Z>
    46                 <Width>40</Width>
    47                 <Height>21</Height>
    48                 <Block_Properties>
    49                         <Sub_Models>
    50                         <Block_Properties>
    51                         <Base_Models>
    52                         <Block_Properties>
    53                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    54                         <Instance_Id>Outlet.</Instance_Id>
    55                         <Model_Name>energy_oil_stream</Model_Name>
    56                         <T_Connection>2</T_Connection>
    57                         <Variables>
    58                                 <Desc>Outlet.T</Desc>
    59                                 <Index>0</Index>
    60                                 <Values>523.15</Values>
    61                                 <Status>1</Status>
    62                                 <Unit>K</Unit>
    63                         </Variables>
    64                         </Block_Properties>
    65                         </Base_Models>
    66                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    67                         <Instance_Id>Outlet.</Instance_Id>
    68                         <Model_Name>Outlet</Model_Name>
    69                         <T_Connection>2</T_Connection>
    70                         </Block_Properties>
    71                         </Sub_Models>
    72                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    73                         <Instance_Id></Instance_Id>
    74                         <Model_Name>steam</Model_Name>
    75                         <T_Connection>0</T_Connection>
    76                 </Block_Properties>
    77         </Block>
    78         <Block>
    79                 <Type>heated_tank</Type>
    80                 <Id_String>heated_tank_1</Id_String>
    81                 <Block_Name>heated_tank_1</Block_Name>
    82                 <Image_File_Name>icon/heated_tank.png</Image_File_Name>
    83                 <X>91</X>
    84                 <Y>65</Y>
    85                 <Z>0</Z>
    86                 <Width>146</Width>
    87                 <Height>281</Height>
    88                 <Block_Properties>
    89                         <Sub_Models>
    90                         <Block_Properties>
    91                         <Base_Models>
    92                         <Block_Properties>
    93                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    94                         <Instance_Id>Inlet.</Instance_Id>
    95                         <Model_Name>oil_stream</Model_Name>
    96                         <T_Connection>1</T_Connection>
    97                         </Block_Properties>
    98                         </Base_Models>
    99                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    100                         <Instance_Id>Inlet.</Instance_Id>
    101                         <Model_Name>Inlet</Model_Name>
    102                         <T_Connection>1</T_Connection>
    103                         </Block_Properties>
    104                         </Sub_Models>
    105                         <Sub_Models>
    106                         <Block_Properties>
    107                         <Base_Models>
    108                         <Block_Properties>
    109                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    110                         <Instance_Id>Outlet.</Instance_Id>
    111                         <Model_Name>oil_stream</Model_Name>
    112                         <T_Connection>2</T_Connection>
    113                         <Variables>
    114                                 <Desc>Outlet.T</Desc>
    115                                 <Index>0</Index>
    116                                 <Values>293.15</Values>
    117                                 <Status>2</Status>
    118                                 <Unit>K</Unit>
    119                         </Variables>
    120                         </Block_Properties>
    121                         </Base_Models>
    122                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    123                         <Instance_Id>Outlet.</Instance_Id>
    124                         <Model_Name>Outlet</Model_Name>
    125                         <T_Connection>2</T_Connection>
    126                         </Block_Properties>
    127                         </Sub_Models>
    128                         <Sub_Models>
    129                         <Block_Properties>
    130                         <Base_Models>
    131                         <Block_Properties>
    132                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    133                         <Instance_Id>InletQ.</Instance_Id>
    134                         <Model_Name>energy_oil_stream</Model_Name>
    135                         <T_Connection>1</T_Connection>
    136                         </Block_Properties>
    137                         </Base_Models>
    138                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    139                         <Instance_Id>InletQ.</Instance_Id>
    140                         <Model_Name>InletQ</Model_Name>
    141                         <T_Connection>1</T_Connection>
    142                         </Block_Properties>
    143                         </Sub_Models>
    144                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    145                         <Instance_Id></Instance_Id>
    146                         <Model_Name>heated_tank</Model_Name>
    147                         <T_Connection>0</T_Connection>
    148                         <Parameters>
    149                                 <Desc>UA</Desc>
    150                                 <Index>0</Index>
    151                                 <Values>10</Values>
    152                                 <Status>4</Status>
    153                                 <Unit>kJ/min/K</Unit>
    154                         </Parameters>
    155                         <Variables>
    156                                 <Desc>M</Desc>
    157                                 <Index>0</Index>
    158                                 <Values>1000</Values>
    159                                 <Status>1</Status>
    160                                 <Unit>kg</Unit>
    161                         </Variables>
    162                 </Block_Properties>
    163         </Block>
    164         <Block>
    165                 <Type>tank_source</Type>
    166                 <Id_String>tank_source_1</Id_String>
    167                 <Block_Name>tank_source_1</Block_Name>
    168                 <Image_File_Name>icon/tank_source.png</Image_File_Name>
    169                 <X>24</X>
    170                 <Y>28</Y>
    171                 <Z>0</Z>
    172                 <Width>72.5</Width>
    173                 <Height>37</Height>
    174                 <Block_Properties>
    175                         <Sub_Models>
    176                         <Block_Properties>
    177                         <Base_Models>
    178                         <Block_Properties>
    179                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    180                         <Instance_Id>Outlet.</Instance_Id>
    181                         <Model_Name>oil_stream</Model_Name>
    182                         <T_Connection>2</T_Connection>
    183                         <Parameters>
    184                                 <Desc>Outlet.W</Desc>
    185                                 <Index>0</Index>
    186                                 <Values>100</Values>
    187                                 <Status>4</Status>
    188                                 <Unit>kg/min</Unit>
    189                         </Parameters>
    190                         <Parameters>
    191                                 <Desc>Outlet.cp</Desc>
    192                                 <Index>0</Index>
    193                                 <Values>2</Values>
    194                                 <Status>4</Status>
    195                                 <Unit>kJ/kg/K</Unit>
    196                         </Parameters>
    197                         <Variables>
    198                                 <Desc>Outlet.T</Desc>
    199                                 <Index>0</Index>
    200                                 <Values>293.15</Values>
    201                                 <Status>1</Status>
    202                                 <Unit>K</Unit>
    203                         </Variables>
    204                         </Block_Properties>
    205                         </Base_Models>
    206                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    207                         <Instance_Id>Outlet.</Instance_Id>
    208                         <Model_Name>Outlet</Model_Name>
    209                         <T_Connection>2</T_Connection>
    210                         </Block_Properties>
    211                         </Sub_Models>
    212                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    213                         <Instance_Id></Instance_Id>
    214                         <Model_Name>tank_source</Model_Name>
    215                         <T_Connection>0</T_Connection>
    216                 </Block_Properties>
    217         </Block>
    218         <Block>
    219                 <Type>heated_tank</Type>
    220                 <Id_String>heated_tank_2</Id_String>
    221                 <Block_Name>heated_tank_2</Block_Name>
    222                 <Image_File_Name>icon/heated_tank.png</Image_File_Name>
    223                 <X>328</X>
    224                 <Y>66</Y>
    225                 <Z>0</Z>
    226                 <Width>146</Width>
    227                 <Height>281</Height>
    228                 <Block_Properties>
    229                         <Sub_Models>
    230                         <Block_Properties>
    231                         <Base_Models>
    232                         <Block_Properties>
    233                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    234                         <Instance_Id>Inlet.</Instance_Id>
    235                         <Model_Name>oil_stream</Model_Name>
    236                         <T_Connection>1</T_Connection>
    237                         </Block_Properties>
    238                         </Base_Models>
    239                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    240                         <Instance_Id>Inlet.</Instance_Id>
    241                         <Model_Name>Inlet</Model_Name>
    242                         <T_Connection>1</T_Connection>
    243                         </Block_Properties>
    244                         </Sub_Models>
    245                         <Sub_Models>
    246                         <Block_Properties>
    247                         <Base_Models>
    248                         <Block_Properties>
    249                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    250                         <Instance_Id>Outlet.</Instance_Id>
    251                         <Model_Name>oil_stream</Model_Name>
    252                         <T_Connection>2</T_Connection>
    253                         <Variables>
    254                                 <Desc>Outlet.T</Desc>
    255                                 <Index>0</Index>
    256                                 <Values>293.15</Values>
    257                                 <Status>2</Status>
    258                                 <Unit>K</Unit>
    259                         </Variables>
    260                         </Block_Properties>
    261                         </Base_Models>
    262                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    263                         <Instance_Id>Outlet.</Instance_Id>
    264                         <Model_Name>Outlet</Model_Name>
    265                         <T_Connection>2</T_Connection>
    266                         </Block_Properties>
    267                         </Sub_Models>
    268                         <Sub_Models>
    269                         <Block_Properties>
    270                         <Base_Models>
    271                         <Block_Properties>
    272                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    273                         <Instance_Id>InletQ.</Instance_Id>
    274                         <Model_Name>energy_oil_stream</Model_Name>
    275                         <T_Connection>1</T_Connection>
    276                         </Block_Properties>
    277                         </Base_Models>
    278                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    279                         <Instance_Id>InletQ.</Instance_Id>
    280                         <Model_Name>InletQ</Model_Name>
    281                         <T_Connection>1</T_Connection>
    282                         </Block_Properties>
    283                         </Sub_Models>
    284                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    285                         <Instance_Id></Instance_Id>
    286                         <Model_Name>heated_tank</Model_Name>
    287                         <T_Connection>0</T_Connection>
    288                         <Parameters>
    289                                 <Desc>UA</Desc>
    290                                 <Index>0</Index>
    291                                 <Values>10</Values>
    292                                 <Status>4</Status>
    293                                 <Unit>kJ/min/K</Unit>
    294                         </Parameters>
    295                         <Variables>
    296                                 <Desc>M</Desc>
    297                                 <Index>0</Index>
    298                                 <Values>1000</Values>
    299                                 <Status>1</Status>
    300                                 <Unit>kg</Unit>
    301                         </Variables>
    302                 </Block_Properties>
    303         </Block>
    304         <Block>
    305                 <Type>heated_tank</Type>
    306                 <Id_String>heated_tank_3</Id_String>
    307                 <Block_Name>heated_tank_3</Block_Name>
    308                 <Image_File_Name>icon/heated_tank.png</Image_File_Name>
    309                 <X>559</X>
    310                 <Y>71</Y>
    311                 <Z>0</Z>
    312                 <Width>146</Width>
    313                 <Height>281</Height>
    314                 <Block_Properties>
    315                         <Sub_Models>
    316                         <Block_Properties>
    317                         <Base_Models>
    318                         <Block_Properties>
    319                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    320                         <Instance_Id>Inlet.</Instance_Id>
    321                         <Model_Name>oil_stream</Model_Name>
    322                         <T_Connection>1</T_Connection>
    323                         </Block_Properties>
    324                         </Base_Models>
    325                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    326                         <Instance_Id>Inlet.</Instance_Id>
    327                         <Model_Name>Inlet</Model_Name>
    328                         <T_Connection>1</T_Connection>
    329                         </Block_Properties>
    330                         </Sub_Models>
    331                         <Sub_Models>
    332                         <Block_Properties>
    333                         <Base_Models>
    334                         <Block_Properties>
    335                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    336                         <Instance_Id>Outlet.</Instance_Id>
    337                         <Model_Name>oil_stream</Model_Name>
    338                         <T_Connection>2</T_Connection>
    339                         <Variables>
    340                                 <Desc>Outlet.T</Desc>
    341                                 <Index>0</Index>
    342                                 <Values>293.15</Values>
    343                                 <Status>2</Status>
    344                                 <Unit>K</Unit>
    345                         </Variables>
    346                         </Block_Properties>
    347                         </Base_Models>
    348                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    349                         <Instance_Id>Outlet.</Instance_Id>
    350                         <Model_Name>Outlet</Model_Name>
    351                         <T_Connection>2</T_Connection>
    352                         </Block_Properties>
    353                         </Sub_Models>
    354                         <Sub_Models>
    355                         <Block_Properties>
    356                         <Base_Models>
    357                         <Block_Properties>
    358                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    359                         <Instance_Id>InletQ.</Instance_Id>
    360                         <Model_Name>energy_oil_stream</Model_Name>
    361                         <T_Connection>1</T_Connection>
    362                         </Block_Properties>
    363                         </Base_Models>
    364                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    365                         <Instance_Id>InletQ.</Instance_Id>
    366                         <Model_Name>InletQ</Model_Name>
    367                         <T_Connection>1</T_Connection>
    368                         </Block_Properties>
    369                         </Sub_Models>
    370                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    371                         <Instance_Id></Instance_Id>
    372                         <Model_Name>heated_tank</Model_Name>
    373                         <T_Connection>0</T_Connection>
    374                         <Parameters>
    375                                 <Desc>UA</Desc>
    376                                 <Index>0</Index>
    377                                 <Values>10</Values>
    378                                 <Status>4</Status>
    379                                 <Unit>kJ/min/K</Unit>
    380                         </Parameters>
    381                         <Variables>
    382                                 <Desc>M</Desc>
    383                                 <Index>0</Index>
    384                                 <Values>1000</Values>
    385                                 <Status>1</Status>
    386                                 <Unit>kg</Unit>
    387                         </Variables>
    388                 </Block_Properties>
    389         </Block>
    390         <Block>
    391                 <Type>tank_sink</Type>
    392                 <Id_String>tank_sink_1</Id_String>
    393                 <Block_Name>tank_sink_1</Block_Name>
    394                 <Image_File_Name>icon/tank_sink.png</Image_File_Name>
    395                 <X>717</X>
    396                 <Y>327</Y>
    397                 <Z>0</Z>
    398                 <Width>72.5</Width>
    399                 <Height>37</Height>
    400                 <Block_Properties>
    401                         <Sub_Models>
    402                         <Block_Properties>
    403                         <Base_Models>
    404                         <Block_Properties>
    405                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    406                         <Instance_Id>Inlet.</Instance_Id>
    407                         <Model_Name>oil_stream</Model_Name>
    408                         <T_Connection>1</T_Connection>
    409                         </Block_Properties>
    410                         </Base_Models>
    411                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    412                         <Instance_Id>Inlet.</Instance_Id>
    413                         <Model_Name>Inlet</Model_Name>
    414                         <T_Connection>1</T_Connection>
    415                         </Block_Properties>
    416                         </Sub_Models>
    417                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    418                         <Instance_Id></Instance_Id>
    419                         <Model_Name>tank_sink</Model_Name>
    420                         <T_Connection>0</T_Connection>
    421                 </Block_Properties>
    422         </Block>
    423         <Block>
    424                 <Type>steam</Type>
    425                 <Id_String>steam_2</Id_String>
    426                 <Block_Name>steam_2</Block_Name>
    427                 <Image_File_Name>icon/tank_source.png</Image_File_Name>
    428                 <X>278</X>
    429                 <Y>258</Y>
    430                 <Z>0</Z>
    431                 <Width>41</Width>
    432                 <Height>20</Height>
    433                 <Block_Properties>
    434                         <Sub_Models>
    435                         <Block_Properties>
    436                         <Base_Models>
    437                         <Block_Properties>
    438                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    439                         <Instance_Id>Outlet.</Instance_Id>
    440                         <Model_Name>energy_oil_stream</Model_Name>
    441                         <T_Connection>2</T_Connection>
    442                         <Variables>
    443                                 <Desc>Outlet.T</Desc>
    444                                 <Index>0</Index>
    445                                 <Values>523.15</Values>
    446                                 <Status>1</Status>
    447                                 <Unit>K</Unit>
    448                         </Variables>
    449                         </Block_Properties>
    450                         </Base_Models>
    451                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    452                         <Instance_Id>Outlet.</Instance_Id>
    453                         <Model_Name>Outlet</Model_Name>
    454                         <T_Connection>2</T_Connection>
    455                         </Block_Properties>
    456                         </Sub_Models>
    457                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    458                         <Instance_Id></Instance_Id>
    459                         <Model_Name>steam</Model_Name>
    460                         <T_Connection>0</T_Connection>
    461                 </Block_Properties>
    462         </Block>
    463         <Block>
    464                 <Type>steam</Type>
    465                 <Id_String>steam_3</Id_String>
    466                 <Block_Name>steam_3</Block_Name>
    467                 <Image_File_Name>icon/tank_source.png</Image_File_Name>
    468                 <X>506</X>
    469                 <Y>263</Y>
    470                 <Z>0</Z>
    471                 <Width>39</Width>
    472                 <Height>19</Height>
    473                 <Block_Properties>
    474                         <Sub_Models>
    475                         <Block_Properties>
    476                         <Base_Models>
    477                         <Block_Properties>
    478                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    479                         <Instance_Id>Outlet.</Instance_Id>
    480                         <Model_Name>energy_oil_stream</Model_Name>
    481                         <T_Connection>2</T_Connection>
    482                         <Variables>
    483                                 <Desc>Outlet.T</Desc>
    484                                 <Index>0</Index>
    485                                 <Values>523.15</Values>
    486                                 <Status>1</Status>
    487                                 <Unit>K</Unit>
    488                         </Variables>
    489                         </Block_Properties>
    490                         </Base_Models>
    491                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    492                         <Instance_Id>Outlet.</Instance_Id>
    493                         <Model_Name>Outlet</Model_Name>
    494                         <T_Connection>2</T_Connection>
    495                         </Block_Properties>
    496                         </Sub_Models>
    497                         <Model_File_Path>miscellaneous\tenprobs\prob06</Model_File_Path>
    498                         <Instance_Id></Instance_Id>
    499                         <Model_Name>steam</Model_Name>
    500                         <T_Connection>0</T_Connection>
    501                 </Block_Properties>
    502         </Block>
    503         <Line>
    504                 <Line_Name>line_1</Line_Name>
    505                 <X1>70</X1>
    506                 <Y1>264.5</Y1>
    507                 <X2>91</X2>
    508                 <Y2>265.915</Y2>
    509                 <Block_Source>steam_1</Block_Source>
    510                 <Port_Source>steam_1.Outlet</Port_Source>
    511                 <Block_Target>heated_tank_1</Block_Target>
    512                 <Port_Target>heated_tank_1.InletQ</Port_Target>
    513         </Line>
    514         <Line>
    515                 <Line_Name>line_2</Line_Name>
    516                 <X1>237</X1>
    517                 <Y1>338.975</Y1>
    518                 <X2>402.46</X2>
    519                 <Y2>66</Y2>
    520                 <Block_Source>heated_tank_1</Block_Source>
    521                 <Port_Source>heated_tank_1.Outlet</Port_Source>
    522                 <Block_Target>heated_tank_2</Block_Target>
    523                 <Port_Target>heated_tank_2.Inlet</Port_Target>
    524         </Line>
    525         <Line>
    526                 <Line_Name>line_3</Line_Name>
    527                 <X1>474</X1>
    528                 <Y1>339.975</Y1>
    529                 <X2>633.46</X2>
    530                 <Y2>71</Y2>
    531                 <Block_Source>heated_tank_2</Block_Source>
    532                 <Port_Source>heated_tank_2.Outlet</Port_Source>
    533                 <Block_Target>heated_tank_3</Block_Target>
    534                 <Port_Target>heated_tank_3.Inlet</Port_Target>
    535         </Line>
    536         <Line>
    537                 <Line_Name>line_4</Line_Name>
    538                 <X1>96.5</X1>
    539                 <Y1>46.5</Y1>
    540                 <X2>165.46</X2>
    541                 <Y2>65</Y2>
    542                 <Block_Source>tank_source_1</Block_Source>
    543                 <Port_Source>tank_source_1.Outlet</Port_Source>
    544                 <Block_Target>heated_tank_1</Block_Target>
    545                 <Port_Target>heated_tank_1.Inlet</Port_Target>
    546         </Line>
    547         <Line>
    548                 <Line_Name>line_5</Line_Name>
    549                 <X1>705</X1>
    550                 <Y1>344.975</Y1>
    551                 <X2>717</X2>
    552                 <Y2>345.5</Y2>
    553                 <Block_Source>heated_tank_3</Block_Source>
    554                 <Port_Source>heated_tank_3.Outlet</Port_Source>
    555                 <Block_Target>tank_sink_1</Block_Target>
    556                 <Port_Target>tank_sink_1.Inlet</Port_Target>
    557         </Line>
    558         <Line>
    559                 <Line_Name>line_6</Line_Name>
    560                 <X1>319</X1>
    561                 <Y1>268</Y1>
    562                 <X2>328</X2>
    563                 <Y2>266.915</Y2>
    564                 <Block_Source>steam_2</Block_Source>
    565                 <Port_Source>steam_2.Outlet</Port_Source>
    566                 <Block_Target>heated_tank_2</Block_Target>
    567                 <Port_Target>heated_tank_2.InletQ</Port_Target>
    568         </Line>
    569         <Line>
    570                 <Line_Name>line_7</Line_Name>
    571                 <X1>545</X1>
    572                 <Y1>272.5</Y1>
    573                 <X2>559</X2>
    574                 <Y2>271.915</Y2>
    575                 <Block_Source>steam_3</Block_Source>
    576                 <Port_Source>steam_3.Outlet</Port_Source>
    577                 <Block_Target>heated_tank_3</Block_Target>
    578                 <Port_Target>heated_tank_3.InletQ</Port_Target>
    579         </Line>
     1<?xml version="1.0"?>
     2<!-- VRTech xml file - http://www.vrtech.com.br  -->
     3<Diagram version="1" revision="1">
     4<Options>
     5        <Dynamic>1</Dynamic>
     6        <Time_Start></Time_Start>
     7        <Time_Step>1</Time_Step>
     8        <Time_End>90</Time_End>
     9        <Time_Unit></Time_Unit>
     10        <Sparse_Algebra>1</Sparse_Algebra>
     11        <Integration_Index>0</Integration_Index>
     12        <Integration_Text>original</Integration_Text>
     13        <NLASolver_File_Index>0</NLASolver_File_Index>
     14        <NLASolver_File_Text>sundials</NLASolver_File_Text>
     15        <DAESolver_File_Index>0</DAESolver_File_Index>
     16        <DAESolver_File_Text>sundials</DAESolver_File_Text>
     17        <DAESolver_Relative_Accuracy>1e-3</DAESolver_Relative_Accuracy>
     18        <DAESolver_Absolute_Accuracy>1e-6</DAESolver_Absolute_Accuracy>
     19        <DAESolver_Evt_Accuracy>1e-2</DAESolver_Evt_Accuracy>
     20</Options>
     21<Width>2000</Width>
     22<Height>1000</Height>
     23<View>
     24        <Zoom_Level>1</Zoom_Level>
     25        <Width>936</Width>
     26        <Height>498</Height>
     27        <X>0</X>
     28        <Y>-24</Y>
     29</View>
     30<View>
     31        <Zoom_Level>1</Zoom_Level>
     32        <Width>936</Width>
     33        <Height>0</Height>
     34        <X>0</X>
     35        <Y>0</Y>
     36</View>
     37<Block>
     38        <Type>steam</Type>
     39        <Id_String>steam_1</Id_String>
     40        <X>30</X>
     41        <Y>254</Y>
     42        <Z>0</Z>
     43        <Width>40</Width>
     44        <Height>28</Height>
     45        <Label_Position>
     46                <X>46.5625</X>
     47                <Y>321.054</Y>
     48        </Label_Position>
     49        <Settings>
     50                <Value>
     51                        <Path>
     52                                <Value>Outlet</Value>
     53                                <Value>T</Value>
     54                        </Path>
     55                        <Unit>'K'</Unit>
     56                        <Indices>
     57                                <Value>1</Value>
     58                        </Indices>
     59                        <Value>523.15</Value>
     60                        <Status>1</Status>
     61                </Value>
     62        </Settings>
     63</Block>
     64<Block>
     65        <Type>heated_tank</Type>
     66        <Id_String>heated_tank_1</Id_String>
     67        <X>91</X>
     68        <Y>65</Y>
     69        <Z>0</Z>
     70        <Width>146</Width>
     71        <Height>281</Height>
     72        <Label_Position>
     73                <X>110.7</X>
     74                <Y>375.654</Y>
     75        </Label_Position>
     76        <Settings>
     77                <Value>
     78                        <Path>
     79                                <Value>UA</Value>
     80                        </Path>
     81                        <Unit>'kJ/min/K'</Unit>
     82                        <Indices>
     83                                <Value>1</Value>
     84                        </Indices>
     85                        <Value>10</Value>
     86                        <Status>4</Status>
     87                </Value>
     88                <Value>
     89                        <Path>
     90                                <Value>M</Value>
     91                        </Path>
     92                        <Unit>'kg'</Unit>
     93                        <Indices>
     94                                <Value>1</Value>
     95                        </Indices>
     96                        <Value>1000</Value>
     97                        <Status>1</Status>
     98                </Value>
     99        </Settings>
     100</Block>
     101<Block>
     102        <Type>tank_source</Type>
     103        <Id_String>tank_source_1</Id_String>
     104        <X>24</X>
     105        <Y>28</Y>
     106        <Z>0</Z>
     107        <Width>72.5</Width>
     108        <Height>37</Height>
     109        <Label_Position>
     110                <X>2.25</X>
     111                <Y>77.0539</Y>
     112        </Label_Position>
     113        <Settings>
     114                <Value>
     115                        <Path>
     116                                <Value>Outlet</Value>
     117                                <Value>T</Value>
     118                        </Path>
     119                        <Unit>'K'</Unit>
     120                        <Indices>
     121                                <Value>1</Value>
     122                        </Indices>
     123                        <Value>293.15</Value>
     124                        <Status>1</Status>
     125                </Value>
     126        </Settings>
     127</Block>
     128<Block>
     129        <Type>heated_tank</Type>
     130        <Id_String>heated_tank_2</Id_String>
     131        <X>328</X>
     132        <Y>66</Y>
     133        <Z>0</Z>
     134        <Width>146</Width>
     135        <Height>281</Height>
     136        <Label_Position>
     137                <X>353.7</X>
     138                <Y>380.654</Y>
     139        </Label_Position>
     140        <Settings>
     141                <Value>
     142                        <Path>
     143                                <Value>UA</Value>
     144                        </Path>
     145                        <Unit>'kJ/min/K'</Unit>
     146                        <Indices>
     147                                <Value>1</Value>
     148                        </Indices>
     149                        <Value>10</Value>
     150                        <Status>4</Status>
     151                </Value>
     152                <Value>
     153                        <Path>
     154                                <Value>M</Value>
     155                        </Path>
     156                        <Unit>'kg'</Unit>
     157                        <Indices>
     158                                <Value>1</Value>
     159                        </Indices>
     160                        <Value>1000</Value>
     161                        <Status>1</Status>
     162                </Value>
     163        </Settings>
     164</Block>
     165<Block>
     166        <Type>heated_tank</Type>
     167        <Id_String>heated_tank_3</Id_String>
     168        <X>559</X>
     169        <Y>71</Y>
     170        <Z>0</Z>
     171        <Width>146</Width>
     172        <Height>281</Height>
     173        <Label_Position>
     174                <X>581.7</X>
     175                <Y>390.654</Y>
     176        </Label_Position>
     177        <Settings>
     178                <Value>
     179                        <Path>
     180                                <Value>UA</Value>
     181                        </Path>
     182                        <Unit>'kJ/min/K'</Unit>
     183                        <Indices>
     184                                <Value>1</Value>
     185                        </Indices>
     186                        <Value>10</Value>
     187                        <Status>4</Status>
     188                </Value>
     189                <Value>
     190                        <Path>
     191                                <Value>M</Value>
     192                        </Path>
     193                        <Unit>'kg'</Unit>
     194                        <Indices>
     195                                <Value>1</Value>
     196                        </Indices>
     197                        <Value>1000</Value>
     198                        <Status>1</Status>
     199                </Value>
     200        </Settings>
     201</Block>
     202<Block>
     203        <Type>tank_sink</Type>
     204        <Id_String>tank_sink_1</Id_String>
     205        <X>770</X>
     206        <Y>325</Y>
     207        <Z>0</Z>
     208        <Width>72.5</Width>
     209        <Height>37</Height>
     210        <Label_Position>
     211                <X>776.25</X>
     212                <Y>392.054</Y>
     213        </Label_Position>
     214        <Settings>
     215        </Settings>
     216</Block>
     217<Block>
     218        <Type>steam</Type>
     219        <Id_String>steam_2</Id_String>
     220        <X>265</X>
     221        <Y>253</Y>
     222        <Z>0</Z>
     223        <Width>41</Width>
     224        <Height>28</Height>
     225        <Label_Position>
     226                <X>280.563</X>
     227                <Y>320.054</Y>
     228        </Label_Position>
     229        <Settings>
     230                <Value>
     231                        <Path>
     232                                <Value>Outlet</Value>
     233                                <Value>T</Value>
     234                        </Path>
     235                        <Unit>'K'</Unit>
     236                        <Indices>
     237                                <Value>1</Value>
     238                        </Indices>
     239                        <Value>523.15</Value>
     240                        <Status>1</Status>
     241                </Value>
     242        </Settings>
     243</Block>
     244<Block>
     245        <Type>steam</Type>
     246        <Id_String>steam_3</Id_String>
     247        <X>506</X>
     248        <Y>263</Y>
     249        <Z>0</Z>
     250        <Width>39</Width>
     251        <Height>28</Height>
     252        <Label_Position>
     253                <X>521.563</X>
     254                <Y>330.054</Y>
     255        </Label_Position>
     256        <Settings>
     257                <Value>
     258                        <Path>
     259                                <Value>Outlet</Value>
     260                                <Value>T</Value>
     261                        </Path>
     262                        <Unit>'K'</Unit>
     263                        <Indices>
     264                                <Value>1</Value>
     265                        </Indices>
     266                        <Value>523.15</Value>
     267                        <Status>1</Status>
     268                </Value>
     269        </Settings>
     270</Block>
     271<Line>
     272        <Line_Name>S001</Line_Name>
     273        <X1>90.5</X1>
     274        <Y1>40.5</Y1>
     275        <X2>159.46</X2>
     276        <Y2>59</Y2>
     277        <Block_Source>tank_source_1</Block_Source>
     278        <Port_Source>Outlet</Port_Source>
     279        <Block_Target>heated_tank_1</Block_Target>
     280        <Port_Target>Inlet</Port_Target>
     281</Line>
     282<Line>
     283        <Line_Name>S002</Line_Name>
     284        <X1>64</X1>
     285        <Y1>262</Y1>
     286        <X2>85</X2>
     287        <Y2>259.915</Y2>
     288        <Block_Source>steam_1</Block_Source>
     289        <Port_Source>Outlet</Port_Source>
     290        <Block_Target>heated_tank_1</Block_Target>
     291        <Port_Target>InletQ</Port_Target>
     292</Line>
     293<Line>
     294        <Line_Name>S003</Line_Name>
     295        <X1>300</X1>
     296        <Y1>261</Y1>
     297        <X2>322</X2>
     298        <Y2>260.915</Y2>
     299        <Block_Source>steam_2</Block_Source>
     300        <Port_Source>Outlet</Port_Source>
     301        <Block_Target>heated_tank_2</Block_Target>
     302        <Port_Target>InletQ</Port_Target>
     303</Line>
     304<Line>
     305        <Line_Name>S004</Line_Name>
     306        <X1>231</X1>
     307        <Y1>332.975</Y1>
     308        <X2>396.46</X2>
     309        <Y2>60</Y2>
     310        <Block_Source>heated_tank_1</Block_Source>
     311        <Port_Source>Outlet</Port_Source>
     312        <Block_Target>heated_tank_2</Block_Target>
     313        <Port_Target>Inlet</Port_Target>
     314</Line>
     315<Line>
     316        <Line_Name>S005</Line_Name>
     317        <X1>539</X1>
     318        <Y1>271</Y1>
     319        <X2>553</X2>
     320        <Y2>265.915</Y2>
     321        <Block_Source>steam_3</Block_Source>
     322        <Port_Source>Outlet</Port_Source>
     323        <Block_Target>heated_tank_3</Block_Target>
     324        <Port_Target>InletQ</Port_Target>
     325</Line>
     326<Line>
     327        <Line_Name>S006</Line_Name>
     328        <X1>468</X1>
     329        <Y1>333.975</Y1>
     330        <X2>627.46</X2>
     331        <Y2>65</Y2>
     332        <Block_Source>heated_tank_2</Block_Source>
     333        <Port_Source>Outlet</Port_Source>
     334        <Block_Target>heated_tank_3</Block_Target>
     335        <Port_Target>Inlet</Port_Target>
     336</Line>
     337<Line>
     338        <Line_Name>S007</Line_Name>
     339        <X1>699</X1>
     340        <Y1>338.975</Y1>
     341        <X2>764</X2>
     342        <Y2>337.5</Y2>
     343        <Block_Source>heated_tank_3</Block_Source>
     344        <Port_Source>Outlet</Port_Source>
     345        <Block_Target>tank_sink_1</Block_Target>
     346        <Port_Target>Inlet</Port_Target>
     347</Line>
    580348</Diagram>
  • branches/gui/sample/miscellaneous/tenprobs/prob10.mso

    r332 r913  
    202202        SET
    203203        Kc = 500*'kJ/min/K';
    204         Integrator = ["off"];
     204        Integrator = "off";
    205205       
    206206        EQUATIONS
     
    283283        end
    284284       
    285         if q<0 then
     285        if q < 0*'kW' then
    286286                qlim=0*'kW';
    287287        else
Note: See TracChangeset for help on using the changeset viewer.