Changeset 905 for branches


Ignore:
Timestamp:
Feb 16, 2010, 1:47:29 AM (14 years ago)
Author:
gerson bicca
Message:

fixed some samples

Location:
branches/gui/sample/stage_separators
Files:
1 added
12 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/sample/stage_separators/Sample_TankL_PID.mso

    r799 r905  
    33*----------------------------------------------*#
    44
    5 using "streams";
    6 using "pressure_changers/valve";
    7 using "controllers/PIDs";
    8 using "stage_separators/tank";
     5using "streams.mso";
     6using "pressure_changers/valve.mso";
     7using "controllers/PIDs.mso";
     8using "stage_separators/tank.mso";
    99
    1010FlowSheet Sample_TankL_PID
     
    2222        DEVICES
    2323        Feed as simple_source;
     24        valve_liquid as valve_flow;
     25        PID_LC as PID;
     26        LiquidProduct as simple_sink;
     27        Heat_Duty as energy_source2;
     28        TankL_1 as TankL;
     29
     30        CONNECTIONS
     31        PID_LC.Output to valve_liquid.FlowFraction;
     32        valve_liquid.Outlet to LiquidProduct.Inlet;
     33        Feed.Outlet to TankL_1.Inlet;
     34        Heat_Duty.OutletQ to TankL_1.InletQ;
     35        TankL_1.OutletLiquid to valve_liquid.Inlet;
     36        TankL_1.LI to PID_LC.Input;
    2437
    2538        SET
     39        PID_LC.PID_Select = "Parallel_AWBT" ;
     40        PID_LC.Action = "Direct" ;
     41        PID_LC.Mode = "Automatic" ;
     42        PID_LC.Clip = "Clipped" ;
     43        PID_LC.alpha = 1 ;
     44        PID_LC.beta = 1 ;
     45        PID_LC.bias = 0.5 ;
     46        PID_LC.derivTime = 19 * 's' ;
     47        PID_LC.intTime = 76 * 's' ;
     48        PID_LC.gain = 1.1776 ;
     49        PID_LC.gamma = 1 ;
     50        PID_LC.tau = 1 * 's' ;
     51        PID_LC.tauSet = 1 * 's' ;
     52        PID_LC.MinInput = 0 ;
     53        PID_LC.MaxInput = 2 ;
     54        PID_LC.MinOutput = 0 ;
     55        PID_LC.MaxOutput = 1 ;
     56        TankL_1.Levelpercent_Initial = 0.80 ;
    2657
    2758        SPECIFY
    28         Feed.MolarComposition(1) = 0.3;
    29         Feed.MolarComposition(2) = 0.3;
    30         Feed.MolarComposition(3) = 0.4;
    31         Feed.F = 500 * 'kmol/h';
    32         Feed.T = 338 * 'K';
    33         Feed.P = 5 * 'atm';
     59        Feed.MolarComposition(1) = 0.3 ;
     60        Feed.MolarComposition(2) = 0.3 ;
     61        Feed.MolarComposition(3) = 0.4 ;
     62        Feed.F = 500 * 'kmol/h' ;
     63        Feed.T = 338 * 'K' ;
     64        Feed.P = 5 * 'atm' ;
     65        PID_LC.SetPoint = 0.7 ;
     66        Heat_Duty.OutletQ = 0 * 'kW' ;
    3467
    3568        INITIAL
    3669
    3770        GUESS
    38 
    39         DEVICES
    40 
    41         SET
    42 
    43         SPECIFY
    44 
    45         INITIAL
    46 
    47         GUESS
    48 
    49         DEVICES
    50         valve_liquid as valve_flow;
    51 
    52         SET
    53 
    54         SPECIFY
    55 
    56         INITIAL
    57 
    58         GUESS
    59 
    60         DEVICES
    61 
    62 
    63         SET
    64 
    65         SPECIFY
    66 
    67         INITIAL
    68 
    69         GUESS
    70 
    71         DEVICES
    72         PID_LC as PID;
    73 
    74         SET
    75         PID_LC.PID_Select = "Parallel_AWBT";
    76         PID_LC.Action = "Direct";
    77         PID_LC.Mode = "Automatic";
    78         PID_LC.Clip = "Clipped";
    79         PID_LC.alpha = 1;
    80         PID_LC.beta = 1;
    81         PID_LC.bias = 0.5;
    82         PID_LC.derivTime = 19 * 's';
    83         PID_LC.intTime = 76 * 's';
    84         PID_LC.gain = 1.1776;
    85         PID_LC.gamma = 1;
    86         PID_LC.tau = 1 * 's';
    87         PID_LC.tauSet = 1 * 's';
    88         PID_LC.MinInput = 0;
    89         PID_LC.MaxInput = 2;
    90         PID_LC.MinOutput = 0;
    91         PID_LC.MaxOutput = 1;
    92 
    93         SPECIFY
    94         PID_LC.SetPoint = 0.7;
    95 
    96         INITIAL
    97 
    98         GUESS
    99 
    100         DEVICES
    101 
    102 
    103 
    104         SPECIFY
    105 
    106         INITIAL
    107 
    108         GUESS
    109 
    110         DEVICES
    111         LiquidProduct as simple_sink;
    112 
    113         SET
    114 
    115         SPECIFY
    116 
    117         INITIAL
    118 
    119         GUESS
    120 
    121         DEVICES
    122         Heat_Duty as energy_source2;
    123 
    124         SET
    125 
    126         SPECIFY
    127         Heat_Duty.OutletQ = 0 * 'kW';
    128 
    129         INITIAL
    130 
    131         GUESS
    132 
    133         DEVICES
    134         V001 as TankL;
    135 
    136         SET
    137         V001.Orientation = "horizontal";
    138         V001.Heads = "hemispherical";
    139         V001.Diameter = 3.1 * 'm';
    140         V001.Lenght = 6 * 'm';
    141         V001.Levelpercent_Initial = 0.7;
    142 
    143         SPECIFY
    144 
    145         INITIAL
    146 
    147         GUESS
    148 
    149         CONNECTIONS
    150         PID_LC.Output to valve_liquid.FlowFraction;
    151         valve_liquid.Outlet to LiquidProduct.Inlet;
    152         Feed.Outlet to V001.Inlet;
    153         V001.LI to PID_LC.Input;
    154         Heat_Duty.OutletQ to V001.InletQ;
    155         V001.OutletLiquid to valve_liquid.Inlet;
    15671
    15772        OPTIONS
  • branches/gui/sample/stage_separators/Sample_TankL_PID.pfd

    r799 r905  
    2929<Width>2000</Width>
    3030<Height>1000</Height>
    31 <Grid_Spacing>20</Grid_Spacing>
    3231<View>
    3332        <Zoom_Level>1</Zoom_Level>
    34         <Show_Grid>0</Show_Grid>
    35         <Snap_to_Grid>0</Snap_to_Grid>
    36         <Width>1248</Width>
    37         <Height>511</Height>
     33        <Width>1043</Width>
     34        <Height>498</Height>
    3835        <X>0</X>
    3936        <Y>0</Y>
     
    4138<View>
    4239        <Zoom_Level>1</Zoom_Level>
    43         <Show_Grid>0</Show_Grid>
    44         <Snap_to_Grid>0</Snap_to_Grid>
    45         <Width>1248</Width>
     40        <Width>1043</Width>
    4641        <Height>0</Height>
    4742        <X>0</X>
     
    5146        <Type>simple_source</Type>
    5247        <Id_String>Feed</Id_String>
    53         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/icon/Source.png</Image_File_Name>
    5448        <X>34</X>
    5549        <Y>59</Y>
     
    5751        <Width>68</Width>
    5852        <Height>30</Height>
    59         <Block_Properties>
    60                 <Model_File_Path>streams</Model_File_Path>
    61                 <Instance_Id>Feed</Instance_Id>
    62                 <Model_Name>simple_source</Model_Name>
    63                 <T_Connection>0</T_Connection>
    64                 <Sub_Models>
    65                         <Block_Properties>
    66                                 <Model_File_Path>streams</Model_File_Path>
    67                                 <Instance_Id>Outlet</Instance_Id>
    68                                 <Model_Name>Outlet</Model_Name>
    69                                 <T_Connection>2</T_Connection>
    70                                 <Base_Models>
    71                                         <Block_Properties>
    72                                                 <Model_File_Path>streams</Model_File_Path>
    73                                                 <Instance_Id>Outlet</Instance_Id>
    74                                                 <Model_Name>stream</Model_Name>
    75                                                 <T_Connection>2</T_Connection>
    76                                                 <Parameters>
    77                                                         <Desc>NComp</Desc>
    78                                                         <Index>0</Index>
    79                                                         <Values>3</Values>
    80                                                         <Status>0</Status>
    81                                                 </Parameters>
    82                                                 <Variables>
    83                                                         <Desc>F</Desc>
    84                                                         <Index>0</Index>
    85                                                         <Values>500</Values>
    86                                                         <Status>0</Status>
    87                                                         <Unit>kmol/h</Unit>
    88                                                 </Variables>
    89                                                 <Variables>
    90                                                         <Desc>T</Desc>
    91                                                         <Index>0</Index>
    92                                                         <Values>338</Values>
    93                                                         <Status>0</Status>
    94                                                         <Unit>K</Unit>
    95                                                 </Variables>
    96                                                 <Variables>
    97                                                         <Desc>P</Desc>
    98                                                         <Index>0</Index>
    99                                                         <Values>5</Values>
    100                                                         <Status>0</Status>
    101                                                         <Unit>atm</Unit>
    102                                                 </Variables>
    103                                                 <Variables>
    104                                                         <Desc>h</Desc>
    105                                                         <Index>0</Index>
    106                                                         <Values>-23082.6</Values>
    107                                                         <Status>0</Status>
    108                                                         <Unit>kJ/kmol</Unit>
    109                                                 </Variables>
    110                                                 <Variables>
    111                                                         <Desc>v</Desc>
    112                                                         <Index>0</Index>
    113                                                         <Values>0</Values>
    114                                                         <Status>0</Status>
    115                                                 </Variables>
    116                                                 <Variables>
    117                                                         <Desc>z</Desc>
    118                                                         <Index>0</Index>
    119                                                         <Values>0.3</Values>
    120                                                         <Status>0</Status>
    121                                                         <Index>1</Index>
    122                                                         <Values>0.3</Values>
    123                                                         <Status>0</Status>
    124                                                         <Index>2</Index>
    125                                                         <Values>0.4</Values>
    126                                                         <Status>0</Status>
    127                                                 </Variables>
    128                                         </Block_Properties>
    129                                 </Base_Models>
    130                         </Block_Properties>
    131                 </Sub_Models>
    132                 <Parameters>
    133                         <Desc>PP</Desc>
    134                         <Index>0</Index>
    135                         <Values>PP</Values>
    136                         <Status>0</Status>
    137                 </Parameters>
    138                 <Parameters>
    139                         <Desc>NComp</Desc>
    140                         <Index>0</Index>
    141                         <Values>3</Values>
    142                         <Status>0</Status>
    143                 </Parameters>
    144                 <Parameters>
    145                         <Desc>M</Desc>
    146                         <Index>0</Index>
    147                         <Values>58.123</Values>
    148                         <Status>0</Status>
    149                         <Unit>kg/kmol</Unit>
    150                         <Index>1</Index>
    151                         <Values>78.1134</Values>
    152                         <Status>0</Status>
    153                         <Unit>kg/kmol</Unit>
    154                         <Index>2</Index>
    155                         <Values>114.23</Values>
    156                         <Status>0</Status>
    157                         <Unit>kg/kmol</Unit>
    158                 </Parameters>
    159                 <Parameters>
    160                         <Desc>ValidPhases</Desc>
    161                         <Index>0</Index>
    162                         <Values>Vapour-Liquid</Values>
    163                         <Status>0</Status>
    164                 </Parameters>
    165                 <Variables>
    166                         <Desc>MolarComposition</Desc>
    167                         <Index>0</Index>
    168                         <Values>0.3</Values>
    169                         <Status>1</Status>
    170                         <Index>1</Index>
    171                         <Values>0.3</Values>
    172                         <Status>1</Status>
    173                         <Index>2</Index>
    174                         <Values>0.4</Values>
    175                         <Status>1</Status>
    176                 </Variables>
    177                 <Variables>
    178                         <Desc>SumOfComposition</Desc>
    179                         <Index>0</Index>
    180                         <Values>1</Values>
    181                         <Status>0</Status>
    182                 </Variables>
    183                 <Variables>
    184                         <Desc>F</Desc>
    185                         <Index>0</Index>
    186                         <Values>500</Values>
    187                         <Status>1</Status>
    188                         <Unit>kmol/h</Unit>
    189                 </Variables>
    190                 <Variables>
    191                         <Desc>T</Desc>
    192                         <Index>0</Index>
    193                         <Values>338</Values>
    194                         <Status>1</Status>
    195                         <Unit>K</Unit>
    196                 </Variables>
    197                 <Variables>
    198                         <Desc>T_Cdeg</Desc>
    199                         <Index>0</Index>
    200                         <Values>64.85</Values>
    201                         <Status>0</Status>
    202                         <Unit>K</Unit>
    203                 </Variables>
    204                 <Variables>
    205                         <Desc>P</Desc>
    206                         <Index>0</Index>
    207                         <Values>5</Values>
    208                         <Status>1</Status>
    209                         <Unit>atm</Unit>
    210                 </Variables>
    211         </Block_Properties>
     53        <Label_Position>
     54                <X>61.4375</X>
     55                <Y>117.3</Y>
     56        </Label_Position>
     57        <Settings>
     58                <Value>
     59                        <Path>
     60                                <Value>MolarComposition</Value>
     61                        </Path>
     62                        <Unit></Unit>
     63                        <Indices>
     64                                <Value>1</Value>
     65                        </Indices>
     66                        <Value>0.3</Value>
     67                        <Status>1</Status>
     68                </Value>
     69                <Value>
     70                        <Path>
     71                                <Value>MolarComposition</Value>
     72                        </Path>
     73                        <Unit></Unit>
     74                        <Indices>
     75                                <Value>2</Value>
     76                        </Indices>
     77                        <Value>0.3</Value>
     78                        <Status>1</Status>
     79                </Value>
     80                <Value>
     81                        <Path>
     82                                <Value>MolarComposition</Value>
     83                        </Path>
     84                        <Unit></Unit>
     85                        <Indices>
     86                                <Value>3</Value>
     87                        </Indices>
     88                        <Value>0.4</Value>
     89                        <Status>1</Status>
     90                </Value>
     91                <Value>
     92                        <Path>
     93                                <Value>F</Value>
     94                        </Path>
     95                        <Unit>'kmol/h'</Unit>
     96                        <Indices>
     97                                <Value>1</Value>
     98                        </Indices>
     99                        <Value>500</Value>
     100                        <Status>1</Status>
     101                </Value>
     102                <Value>
     103                        <Path>
     104                                <Value>T</Value>
     105                        </Path>
     106                        <Unit>'K'</Unit>
     107                        <Indices>
     108                                <Value>1</Value>
     109                        </Indices>
     110                        <Value>338</Value>
     111                        <Status>1</Status>
     112                </Value>
     113                <Value>
     114                        <Path>
     115                                <Value>P</Value>
     116                        </Path>
     117                        <Unit>'atm'</Unit>
     118                        <Indices>
     119                                <Value>1</Value>
     120                        </Indices>
     121                        <Value>5</Value>
     122                        <Status>1</Status>
     123                </Value>
     124        </Settings>
    212125</Block>
    213126<Block>
    214127        <Type>valve_flow</Type>
    215128        <Id_String>valve_liquid</Id_String>
    216         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/pressure_changers/icon/Valve.png</Image_File_Name>
    217129        <X>581</X>
    218130        <Y>507</Y>
     
    220132        <Width>91.5385</Width>
    221133        <Height>52.3077</Height>
    222         <Block_Properties>
    223                 <Model_File_Path>pressure_changers/valve</Model_File_Path>
    224                 <Instance_Id>valve_liquid</Instance_Id>
    225                 <Model_Name>valve_flow</Model_Name>
    226                 <T_Connection>0</T_Connection>
    227                 <Sub_Models>
    228                         <Block_Properties>
    229                                 <Model_File_Path>pressure_changers/valve</Model_File_Path>
    230                                 <Instance_Id>Inlet</Instance_Id>
    231                                 <Model_Name>Inlet</Model_Name>
    232                                 <T_Connection>1</T_Connection>
    233                                 <Base_Models>
    234                                         <Block_Properties>
    235                                                 <Model_File_Path>streams</Model_File_Path>
    236                                                 <Instance_Id>Inlet</Instance_Id>
    237                                                 <Model_Name>stream</Model_Name>
    238                                                 <T_Connection>1</T_Connection>
    239                                                 <Parameters>
    240                                                         <Desc>NComp</Desc>
    241                                                         <Index>0</Index>
    242                                                         <Values>3</Values>
    243                                                         <Status>0</Status>
    244                                                 </Parameters>
    245                                                 <Variables>
    246                                                         <Desc>F</Desc>
    247                                                         <Index>0</Index>
    248                                                         <Values>302.713</Values>
    249                                                         <Status>0</Status>
    250                                                         <Unit>kmol/h</Unit>
    251                                                 </Variables>
    252                                                 <Variables>
    253                                                         <Desc>T</Desc>
    254                                                         <Index>0</Index>
    255                                                         <Values>320.608</Values>
    256                                                         <Status>0</Status>
    257                                                         <Unit>K</Unit>
    258                                                 </Variables>
    259                                                 <Variables>
    260                                                         <Desc>P</Desc>
    261                                                         <Index>0</Index>
    262                                                         <Values>0.699309</Values>
    263                                                         <Status>0</Status>
    264                                                         <Unit>atm</Unit>
    265                                                 </Variables>
    266                                                 <Variables>
    267                                                         <Desc>h</Desc>
    268                                                         <Index>0</Index>
    269                                                         <Values>-27966.8</Values>
    270                                                         <Status>0</Status>
    271                                                         <Unit>kJ/kmol</Unit>
    272                                                 </Variables>
    273                                                 <Variables>
    274                                                         <Desc>v</Desc>
    275                                                         <Index>0</Index>
    276                                                         <Values>0</Values>
    277                                                         <Status>0</Status>
    278                                                 </Variables>
    279                                                 <Variables>
    280                                                         <Desc>z</Desc>
    281                                                         <Index>0</Index>
    282                                                         <Values>0.166765</Values>
    283                                                         <Status>0</Status>
    284                                                         <Index>1</Index>
    285                                                         <Values>0.370434</Values>
    286                                                         <Status>0</Status>
    287                                                         <Index>2</Index>
    288                                                         <Values>0.462801</Values>
    289                                                         <Status>0</Status>
    290                                                 </Variables>
    291                                         </Block_Properties>
    292                                 </Base_Models>
    293                         </Block_Properties>
    294                 </Sub_Models>
    295                 <Sub_Models>
    296                         <Block_Properties>
    297                                 <Model_File_Path>pressure_changers/valve</Model_File_Path>
    298                                 <Instance_Id>Outlet</Instance_Id>
    299                                 <Model_Name>Outlet</Model_Name>
    300                                 <T_Connection>2</T_Connection>
    301                                 <Base_Models>
    302                                         <Block_Properties>
    303                                                 <Model_File_Path>streams</Model_File_Path>
    304                                                 <Instance_Id>Outlet</Instance_Id>
    305                                                 <Model_Name>stream</Model_Name>
    306                                                 <T_Connection>2</T_Connection>
    307                                                 <Parameters>
    308                                                         <Desc>NComp</Desc>
    309                                                         <Index>0</Index>
    310                                                         <Values>3</Values>
    311                                                         <Status>0</Status>
    312                                                 </Parameters>
    313                                                 <Variables>
    314                                                         <Desc>F</Desc>
    315                                                         <Index>0</Index>
    316                                                         <Values>302.713</Values>
    317                                                         <Status>0</Status>
    318                                                         <Unit>kmol/h</Unit>
    319                                                 </Variables>
    320                                                 <Variables>
    321                                                         <Desc>T</Desc>
    322                                                         <Index>0</Index>
    323                                                         <Values>320.608</Values>
    324                                                         <Status>0</Status>
    325                                                         <Unit>K</Unit>
    326                                                 </Variables>
    327                                                 <Variables>
    328                                                         <Desc>P</Desc>
    329                                                         <Index>0</Index>
    330                                                         <Values>0.699309</Values>
    331                                                         <Status>0</Status>
    332                                                         <Unit>atm</Unit>
    333                                                 </Variables>
    334                                                 <Variables>
    335                                                         <Desc>h</Desc>
    336                                                         <Index>0</Index>
    337                                                         <Values>-27966.8</Values>
    338                                                         <Status>0</Status>
    339                                                         <Unit>kJ/kmol</Unit>
    340                                                 </Variables>
    341                                                 <Variables>
    342                                                         <Desc>v</Desc>
    343                                                         <Index>0</Index>
    344                                                         <Values>0</Values>
    345                                                         <Status>0</Status>
    346                                                 </Variables>
    347                                                 <Variables>
    348                                                         <Desc>z</Desc>
    349                                                         <Index>0</Index>
    350                                                         <Values>0.166765</Values>
    351                                                         <Status>0</Status>
    352                                                         <Index>1</Index>
    353                                                         <Values>0.370434</Values>
    354                                                         <Status>0</Status>
    355                                                         <Index>2</Index>
    356                                                         <Values>0.462801</Values>
    357                                                         <Status>0</Status>
    358                                                 </Variables>
    359                                         </Block_Properties>
    360                                 </Base_Models>
    361                         </Block_Properties>
    362                 </Sub_Models>
    363                 <Parameters>
    364                         <Desc>PP</Desc>
    365                         <Index>0</Index>
    366                         <Values>PP</Values>
    367                         <Status>0</Status>
    368                 </Parameters>
    369                 <Parameters>
    370                         <Desc>NComp</Desc>
    371                         <Index>0</Index>
    372                         <Values>3</Values>
    373                         <Status>0</Status>
    374                 </Parameters>
    375                 <Parameters>
    376                         <Desc>MinFlow</Desc>
    377                         <Index>0</Index>
    378                         <Values>0</Values>
    379                         <Status>0</Status>
    380                         <Unit>kmol/h</Unit>
    381                 </Parameters>
    382                 <Parameters>
    383                         <Desc>MaxFlow</Desc>
    384                         <Index>0</Index>
    385                         <Values>1000</Values>
    386                         <Status>0</Status>
    387                         <Unit>kmol/h</Unit>
    388                 </Parameters>
    389                 <Variables>
    390                         <Desc>FlowFraction</Desc>
    391                         <Index>0</Index>
    392                         <Values>0.302713</Values>
    393                         <Status>0</Status>
    394                 </Variables>
    395         </Block_Properties>
     134        <Label_Position>
     135                <X>591.792</X>
     136                <Y>593.4</Y>
     137        </Label_Position>
     138        <Settings>
     139        </Settings>
    396140</Block>
    397141<Block>
    398142        <Type>PID</Type>
    399143        <Id_String>PID_LC</Id_String>
    400         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/controllers/icon/PID.png</Image_File_Name>
    401144        <X>676</X>
    402145        <Y>283</Y>
     
    404147        <Width>55</Width>
    405148        <Height>54</Height>
    406         <Block_Properties>
    407                 <Model_File_Path>controllers/PIDs</Model_File_Path>
    408                 <Instance_Id>PID_LC</Instance_Id>
    409                 <Model_Name>PID</Model_Name>
    410                 <T_Connection>0</T_Connection>
    411                 <Parameters>
    412                         <Desc>PID_Select</Desc>
    413                         <Index>0</Index>
    414                         <Values>Parallel_AWBT</Values>
    415                         <Status>4</Status>
    416                 </Parameters>
    417                 <Parameters>
    418                         <Desc>Action</Desc>
    419                         <Index>0</Index>
    420                         <Values>Direct</Values>
    421                         <Status>4</Status>
    422                 </Parameters>
    423                 <Parameters>
    424                         <Desc>Mode</Desc>
    425                         <Index>0</Index>
    426                         <Values>Automatic</Values>
    427                         <Status>4</Status>
    428                 </Parameters>
    429                 <Parameters>
    430                         <Desc>Clip</Desc>
    431                         <Index>0</Index>
    432                         <Values>Clipped</Values>
    433                         <Status>4</Status>
    434                 </Parameters>
    435                 <Parameters>
    436                         <Desc>alpha</Desc>
    437                         <Index>0</Index>
    438                         <Values>1</Values>
    439                         <Status>4</Status>
    440                 </Parameters>
    441                 <Parameters>
    442                         <Desc>beta</Desc>
    443                         <Index>0</Index>
    444                         <Values>1</Values>
    445                         <Status>4</Status>
    446                 </Parameters>
    447                 <Parameters>
    448                         <Desc>bias</Desc>
    449                         <Index>0</Index>
    450                         <Values>0.5</Values>
    451                         <Status>4</Status>
    452                 </Parameters>
    453                 <Parameters>
    454                         <Desc>derivTime</Desc>
    455                         <Index>0</Index>
    456                         <Values>19</Values>
    457                         <Status>4</Status>
    458                         <Unit>s</Unit>
    459                 </Parameters>
    460                 <Parameters>
    461                         <Desc>intTime</Desc>
    462                         <Index>0</Index>
    463                         <Values>76</Values>
    464                         <Status>4</Status>
    465                         <Unit>s</Unit>
    466                 </Parameters>
    467                 <Parameters>
    468                         <Desc>gain</Desc>
    469                         <Index>0</Index>
    470                         <Values>1.1776</Values>
    471                         <Status>4</Status>
    472                 </Parameters>
    473                 <Parameters>
    474                         <Desc>gamma</Desc>
    475                         <Index>0</Index>
    476                         <Values>1</Values>
    477                         <Status>4</Status>
    478                 </Parameters>
    479                 <Parameters>
    480                         <Desc>tau</Desc>
    481                         <Index>0</Index>
    482                         <Values>1</Values>
    483                         <Status>4</Status>
    484                         <Unit>s</Unit>
    485                 </Parameters>
    486                 <Parameters>
    487                         <Desc>tauSet</Desc>
    488                         <Index>0</Index>
    489                         <Values>1</Values>
    490                         <Status>4</Status>
    491                         <Unit>s</Unit>
    492                 </Parameters>
    493                 <Parameters>
    494                         <Desc>MinInput</Desc>
    495                         <Index>0</Index>
    496                         <Values>0</Values>
    497                         <Status>4</Status>
    498                 </Parameters>
    499                 <Parameters>
    500                         <Desc>MaxInput</Desc>
    501                         <Index>0</Index>
    502                         <Values>2</Values>
    503                         <Status>4</Status>
    504                 </Parameters>
    505                 <Parameters>
    506                         <Desc>MinOutput</Desc>
    507                         <Index>0</Index>
    508                         <Values>0</Values>
    509                         <Status>4</Status>
    510                 </Parameters>
    511                 <Parameters>
    512                         <Desc>MaxOutput</Desc>
    513                         <Index>0</Index>
    514                         <Values>1</Values>
    515                         <Status>4</Status>
    516                 </Parameters>
    517                 <Variables>
    518                         <Desc>Input</Desc>
    519                         <Index>0</Index>
    520                         <Values>0.804786</Values>
    521                         <Status>0</Status>
    522                 </Variables>
    523                 <Variables>
    524                         <Desc>Output</Desc>
    525                         <Index>0</Index>
    526                         <Values>0.302713</Values>
    527                         <Status>0</Status>
    528                 </Variables>
    529                 <Variables>
    530                         <Desc>SetPoint</Desc>
    531                         <Index>0</Index>
    532                         <Values>0.7</Values>
    533                         <Status>1</Status>
    534                 </Variables>
    535         </Block_Properties>
     149        <Label_Position>
     150                <X>641.906</X>
     151                <Y>246.2</Y>
     152        </Label_Position>
     153        <Settings>
     154                <Value>
     155                        <Path>
     156                                <Value>PID_Select</Value>
     157                        </Path>
     158                        <Unit></Unit>
     159                        <Indices>
     160                                <Value>1</Value>
     161                        </Indices>
     162                        <Value>"Parallel_AWBT"</Value>
     163                        <Status>4</Status>
     164                </Value>
     165                <Value>
     166                        <Path>
     167                                <Value>Action</Value>
     168                        </Path>
     169                        <Unit></Unit>
     170                        <Indices>
     171                                <Value>1</Value>
     172                        </Indices>
     173                        <Value>"Direct"</Value>
     174                        <Status>4</Status>
     175                </Value>
     176                <Value>
     177                        <Path>
     178                                <Value>Mode</Value>
     179                        </Path>
     180                        <Unit></Unit>
     181                        <Indices>
     182                                <Value>1</Value>
     183                        </Indices>
     184                        <Value>"Automatic"</Value>
     185                        <Status>4</Status>
     186                </Value>
     187                <Value>
     188                        <Path>
     189                                <Value>Clip</Value>
     190                        </Path>
     191                        <Unit></Unit>
     192                        <Indices>
     193                                <Value>1</Value>
     194                        </Indices>
     195                        <Value>"Clipped"</Value>
     196                        <Status>4</Status>
     197                </Value>
     198                <Value>
     199                        <Path>
     200                                <Value>alpha</Value>
     201                        </Path>
     202                        <Unit></Unit>
     203                        <Indices>
     204                                <Value>1</Value>
     205                        </Indices>
     206                        <Value>1</Value>
     207                        <Status>4</Status>
     208                </Value>
     209                <Value>
     210                        <Path>
     211                                <Value>beta</Value>
     212                        </Path>
     213                        <Unit></Unit>
     214                        <Indices>
     215                                <Value>1</Value>
     216                        </Indices>
     217                        <Value>1</Value>
     218                        <Status>4</Status>
     219                </Value>
     220                <Value>
     221                        <Path>
     222                                <Value>bias</Value>
     223                        </Path>
     224                        <Unit></Unit>
     225                        <Indices>
     226                                <Value>1</Value>
     227                        </Indices>
     228                        <Value>0.5</Value>
     229                        <Status>4</Status>
     230                </Value>
     231                <Value>
     232                        <Path>
     233                                <Value>derivTime</Value>
     234                        </Path>
     235                        <Unit>'s'</Unit>
     236                        <Indices>
     237                                <Value>1</Value>
     238                        </Indices>
     239                        <Value>19</Value>
     240                        <Status>4</Status>
     241                </Value>
     242                <Value>
     243                        <Path>
     244                                <Value>intTime</Value>
     245                        </Path>
     246                        <Unit>'s'</Unit>
     247                        <Indices>
     248                                <Value>1</Value>
     249                        </Indices>
     250                        <Value>76</Value>
     251                        <Status>4</Status>
     252                </Value>
     253                <Value>
     254                        <Path>
     255                                <Value>gain</Value>
     256                        </Path>
     257                        <Unit></Unit>
     258                        <Indices>
     259                                <Value>1</Value>
     260                        </Indices>
     261                        <Value>1.1776</Value>
     262                        <Status>4</Status>
     263                </Value>
     264                <Value>
     265                        <Path>
     266                                <Value>gamma</Value>
     267                        </Path>
     268                        <Unit></Unit>
     269                        <Indices>
     270                                <Value>1</Value>
     271                        </Indices>
     272                        <Value>1</Value>
     273                        <Status>4</Status>
     274                </Value>
     275                <Value>
     276                        <Path>
     277                                <Value>tau</Value>
     278                        </Path>
     279                        <Unit>'s'</Unit>
     280                        <Indices>
     281                                <Value>1</Value>
     282                        </Indices>
     283                        <Value>1</Value>
     284                        <Status>4</Status>
     285                </Value>
     286                <Value>
     287                        <Path>
     288                                <Value>tauSet</Value>
     289                        </Path>
     290                        <Unit>'s'</Unit>
     291                        <Indices>
     292                                <Value>1</Value>
     293                        </Indices>
     294                        <Value>1</Value>
     295                        <Status>4</Status>
     296                </Value>
     297                <Value>
     298                        <Path>
     299                                <Value>MinInput</Value>
     300                        </Path>
     301                        <Unit></Unit>
     302                        <Indices>
     303                                <Value>1</Value>
     304                        </Indices>
     305                        <Value>0</Value>
     306                        <Status>4</Status>
     307                </Value>
     308                <Value>
     309                        <Path>
     310                                <Value>MaxInput</Value>
     311                        </Path>
     312                        <Unit></Unit>
     313                        <Indices>
     314                                <Value>1</Value>
     315                        </Indices>
     316                        <Value>2</Value>
     317                        <Status>4</Status>
     318                </Value>
     319                <Value>
     320                        <Path>
     321                                <Value>MinOutput</Value>
     322                        </Path>
     323                        <Unit></Unit>
     324                        <Indices>
     325                                <Value>1</Value>
     326                        </Indices>
     327                        <Value>0</Value>
     328                        <Status>4</Status>
     329                </Value>
     330                <Value>
     331                        <Path>
     332                                <Value>MaxOutput</Value>
     333                        </Path>
     334                        <Unit></Unit>
     335                        <Indices>
     336                                <Value>1</Value>
     337                        </Indices>
     338                        <Value>1</Value>
     339                        <Status>4</Status>
     340                </Value>
     341                <Value>
     342                        <Path>
     343                                <Value>SetPoint</Value>
     344                        </Path>
     345                        <Unit></Unit>
     346                        <Indices>
     347                                <Value>1</Value>
     348                        </Indices>
     349                        <Value>0.7</Value>
     350                        <Status>1</Status>
     351                </Value>
     352        </Settings>
    536353</Block>
    537354<Block>
    538355        <Type>simple_sink</Type>
    539356        <Id_String>LiquidProduct</Id_String>
    540         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/icon/Sink.png</Image_File_Name>
    541357        <X>987</X>
    542358        <Y>465</Y>
     
    544360        <Width>68</Width>
    545361        <Height>30</Height>
    546         <Block_Properties>
    547                 <Model_File_Path>streams</Model_File_Path>
    548                 <Instance_Id>LiquidProduct</Instance_Id>
    549                 <Model_Name>simple_sink</Model_Name>
    550                 <T_Connection>0</T_Connection>
    551                 <Sub_Models>
    552                         <Block_Properties>
    553                                 <Model_File_Path>streams</Model_File_Path>
    554                                 <Instance_Id>Inlet</Instance_Id>
    555                                 <Model_Name>Inlet</Model_Name>
    556                                 <T_Connection>1</T_Connection>
    557                                 <Base_Models>
    558                                         <Block_Properties>
    559                                                 <Model_File_Path>streams</Model_File_Path>
    560                                                 <Instance_Id>Inlet</Instance_Id>
    561                                                 <Model_Name>stream</Model_Name>
    562                                                 <T_Connection>1</T_Connection>
    563                                                 <Parameters>
    564                                                         <Desc>NComp</Desc>
    565                                                         <Index>0</Index>
    566                                                         <Values>3</Values>
    567                                                         <Status>0</Status>
    568                                                 </Parameters>
    569                                                 <Variables>
    570                                                         <Desc>F</Desc>
    571                                                         <Index>0</Index>
    572                                                         <Values>302.713</Values>
    573                                                         <Status>0</Status>
    574                                                         <Unit>kmol/h</Unit>
    575                                                 </Variables>
    576                                                 <Variables>
    577                                                         <Desc>T</Desc>
    578                                                         <Index>0</Index>
    579                                                         <Values>320.608</Values>
    580                                                         <Status>0</Status>
    581                                                         <Unit>K</Unit>
    582                                                 </Variables>
    583                                                 <Variables>
    584                                                         <Desc>P</Desc>
    585                                                         <Index>0</Index>
    586                                                         <Values>0.699309</Values>
    587                                                         <Status>0</Status>
    588                                                         <Unit>atm</Unit>
    589                                                 </Variables>
    590                                                 <Variables>
    591                                                         <Desc>h</Desc>
    592                                                         <Index>0</Index>
    593                                                         <Values>-27966.8</Values>
    594                                                         <Status>0</Status>
    595                                                         <Unit>kJ/kmol</Unit>
    596                                                 </Variables>
    597                                                 <Variables>
    598                                                         <Desc>v</Desc>
    599                                                         <Index>0</Index>
    600                                                         <Values>0</Values>
    601                                                         <Status>0</Status>
    602                                                 </Variables>
    603                                                 <Variables>
    604                                                         <Desc>z</Desc>
    605                                                         <Index>0</Index>
    606                                                         <Values>0.166765</Values>
    607                                                         <Status>0</Status>
    608                                                         <Index>1</Index>
    609                                                         <Values>0.370434</Values>
    610                                                         <Status>0</Status>
    611                                                         <Index>2</Index>
    612                                                         <Values>0.462801</Values>
    613                                                         <Status>0</Status>
    614                                                 </Variables>
    615                                         </Block_Properties>
    616                                 </Base_Models>
    617                         </Block_Properties>
    618                 </Sub_Models>
    619         </Block_Properties>
     362        <Label_Position>
     363                <X>986.464</X>
     364                <Y>525.091</Y>
     365        </Label_Position>
     366        <Settings>
     367        </Settings>
    620368</Block>
    621369<Block>
    622370        <Type>energy_source2</Type>
    623371        <Id_String>Heat_Duty</Id_String>
    624         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/icon/energy_source2.png</Image_File_Name>
    625372        <X>490</X>
    626373        <Y>371</Y>
     
    628375        <Width>72</Width>
    629376        <Height>40</Height>
    630         <Block_Properties>
    631                 <Model_File_Path>streams</Model_File_Path>
    632                 <Instance_Id>Heat_Duty</Instance_Id>
    633                 <Model_Name>energy_source2</Model_Name>
    634                 <T_Connection>0</T_Connection>
    635                 <Variables>
    636                         <Desc>OutletQ</Desc>
    637                         <Index>0</Index>
    638                         <Values>0</Values>
    639                         <Status>1</Status>
    640                         <Unit>kW</Unit>
    641                 </Variables>
    642         </Block_Properties>
     377        <Label_Position>
     378                <X>499.322</X>
     379                <Y>442.291</Y>
     380        </Label_Position>
     381        <Settings>
     382                <Value>
     383                        <Path>
     384                                <Value>OutletQ</Value>
     385                        </Path>
     386                        <Unit>'kW'</Unit>
     387                        <Indices>
     388                                <Value>1</Value>
     389                        </Indices>
     390                        <Value>0</Value>
     391                        <Status>1</Status>
     392                </Value>
     393        </Settings>
    643394</Block>
    644395<Block>
    645396        <Type>TankL</Type>
    646397        <Id_String>TankL_1</Id_String>
    647         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/stage_separators/icon/TankL.png</Image_File_Name>
    648398        <X>319</X>
    649399        <Y>116</Y>
     
    651401        <Width>169</Width>
    652402        <Height>96</Height>
    653         <Block_Properties>
    654                 <Model_File_Path>stage_separators/tank</Model_File_Path>
    655                 <Instance_Id>TankL_1</Instance_Id>
    656                 <Model_Name>TankL</Model_Name>
    657                 <T_Connection>0</T_Connection>
    658                 <Sub_Models>
    659                         <Block_Properties>
    660                                 <Model_File_Path>stage_separators/tank</Model_File_Path>
    661                                 <Instance_Id>Inlet</Instance_Id>
    662                                 <Model_Name>Inlet</Model_Name>
    663                                 <T_Connection>1</T_Connection>
    664                                 <Base_Models>
    665                                         <Block_Properties>
    666                                                 <Model_File_Path>streams</Model_File_Path>
    667                                                 <Instance_Id>Inlet</Instance_Id>
    668                                                 <Model_Name>stream</Model_Name>
    669                                                 <T_Connection>1</T_Connection>
    670                                         </Block_Properties>
    671                                 </Base_Models>
    672                         </Block_Properties>
    673                 </Sub_Models>
    674                 <Sub_Models>
    675                         <Block_Properties>
    676                                 <Model_File_Path>stage_separators/tank</Model_File_Path>
    677                                 <Instance_Id>OutletLiquid</Instance_Id>
    678                                 <Model_Name>OutletLiquid</Model_Name>
    679                                 <T_Connection>2</T_Connection>
    680                                 <Base_Models>
    681                                         <Block_Properties>
    682                                                 <Model_File_Path>streams</Model_File_Path>
    683                                                 <Instance_Id>OutletLiquid</Instance_Id>
    684                                                 <Model_Name>liquid_stream</Model_Name>
    685                                                 <T_Connection>2</T_Connection>
    686                                                 <Base_Models>
    687                                                         <Block_Properties>
    688                                                                 <Model_File_Path>streams</Model_File_Path>
    689                                                                 <Instance_Id>OutletLiquid</Instance_Id>
    690                                                                 <Model_Name>stream</Model_Name>
    691                                                                 <T_Connection>2</T_Connection>
    692                                                         </Block_Properties>
    693                                                 </Base_Models>
    694                                                 <Parameters>
    695                                                         <Desc>PP</Desc>
    696                                                         <Index>0</Index>
    697                                                         <Values>PP</Values>
    698                                                         <Status>0</Status>
    699                                                 </Parameters>
    700                                         </Block_Properties>
    701                                 </Base_Models>
    702                         </Block_Properties>
    703                 </Sub_Models>
    704                 <Parameters>
    705                         <Desc>PP</Desc>
    706                         <Index>0</Index>
    707                         <Values>PP</Values>
    708                         <Status>0</Status>
    709                 </Parameters>
    710                 <Parameters>
    711                         <Desc>Orientation</Desc>
    712                         <Index>0</Index>
    713                         <Values>horizontal</Values>
    714                         <Status>4</Status>
    715                 </Parameters>
    716                 <Parameters>
    717                         <Desc>Heads</Desc>
    718                         <Index>0</Index>
    719                         <Values>elliptical</Values>
    720                         <Status>4</Status>
    721                 </Parameters>
    722                 <Parameters>
    723                         <Desc>Diameter</Desc>
    724                         <Index>0</Index>
    725                         <Values>2</Values>
    726                         <Status>4</Status>
    727                         <Unit>m</Unit>
    728                 </Parameters>
    729                 <Parameters>
    730                         <Desc>Lenght</Desc>
    731                         <Index>0</Index>
    732                         <Values>6</Values>
    733                         <Status>4</Status>
    734                         <Unit>m</Unit>
    735                 </Parameters>
    736                 <Parameters>
    737                         <Desc>Levelpercent_Initial</Desc>
    738                         <Index>0</Index>
    739                         <Values>0.80</Values>
    740                         <Status>4</Status>
    741                 </Parameters>
    742         </Block_Properties>
     403        <Label_Position>
     404                <X>402.855</X>
     405                <Y>265.4</Y>
     406        </Label_Position>
     407        <Settings>
     408                <Value>
     409                        <Path>
     410                                <Value>Levelpercent_Initial</Value>
     411                        </Path>
     412                        <Unit></Unit>
     413                        <Indices>
     414                                <Value>1</Value>
     415                        </Indices>
     416                        <Value>0.80</Value>
     417                        <Status>4</Status>
     418                </Value>
     419        </Settings>
    743420</Block>
    744421<Line>
    745422        <Line_Name>6</Line_Name>
    746         <X1>705.7</X1>
    747         <Y1>337</Y1>
    748         <X2>626.769</X2>
    749         <Y2>507</Y2>
     423        <X1>699.7</X1>
     424        <Y1>331</Y1>
     425        <X2>620.769</X2>
     426        <Y2>501</Y2>
    750427        <Block_Source>PID_LC</Block_Source>
    751428        <Port_Source>Output</Port_Source>
     
    755432<Line>
    756433        <Line_Name>10</Line_Name>
    757         <X1>672.538</X1>
    758         <Y1>545.525</Y1>
    759         <X2>987</X2>
    760         <Y2>480.924</Y2>
     434        <X1>666.538</X1>
     435        <Y1>539.525</Y1>
     436        <X2>981</X2>
     437        <Y2>474.924</Y2>
    761438        <Block_Source>valve_liquid</Block_Source>
    762439        <Port_Source>Outlet</Port_Source>
     
    766443<Line>
    767444        <Line_Name>1</Line_Name>
    768         <X1>102</X1>
    769         <Y1>74.768</Y1>
    770         <X2>355</X2>
    771         <Y2>118</Y2>
     445        <X1>96</X1>
     446        <Y1>68.768</Y1>
     447        <X2>350.18</X2>
     448        <Y2>110</Y2>
    772449        <Block_Source>Feed</Block_Source>
    773450        <Port_Source>Outlet</Port_Source>
     
    777454<Line>
    778455        <Line_Name>2</Line_Name>
    779         <X1>490</X1>
    780         <Y1>387</Y1>
    781         <X2>449</X2>
    782         <Y2>208</Y2>
     456        <X1>484</X1>
     457        <Y1>381</Y1>
     458        <X2>437.215</X2>
     459        <Y2>206</Y2>
    783460        <Block_Source>Heat_Duty</Block_Source>
    784461        <Port_Source>OutletQ</Port_Source>
     
    788465<Line>
    789466        <Line_Name>3</Line_Name>
    790         <X1>391.67</X1>
    791         <Y1>212</Y1>
    792         <X2>582</X2>
    793         <Y2>549</Y2>
     467        <X1>385.67</X1>
     468        <Y1>206</Y1>
     469        <X2>575</X2>
     470        <Y2>539.525</Y2>
    794471        <Block_Source>TankL_1</Block_Source>
    795472        <Port_Source>OutletLiquid</Port_Source>
     
    799476<Line>
    800477        <Line_Name>4</Line_Name>
    801         <X1>488</X1>
    802         <Y1>173.6</Y1>
    803         <X2>683</X2>
    804         <Y2>310</Y2>
     478        <X1>482</X1>
     479        <Y1>167.6</Y1>
     480        <X2>670</X2>
     481        <Y2>304</Y2>
    805482        <Block_Source>TankL_1</Block_Source>
    806483        <Port_Source>LI</Port_Source>
  • branches/gui/sample/stage_separators/Sample_TankVL_PID.mso

    r795 r905  
    33*----------------------------------------------*#
    44
    5 using "streams";
    6 using "pressure_changers/valve";
    7 using "controllers/PIDs";
    8 using "stage_separators/tank";
     5using "streams.mso";
     6using "pressure_changers/valve.mso";
     7using "controllers/PIDs.mso";
     8using "stage_separators/tank.mso";
     9using "pressure_changers/pump.mso";
    910
    1011FlowSheet Sample_TankVL_PID
     
    2223        DEVICES
    2324        Feed as simple_source;
    24 
    25         SET
    26 
    27         SPECIFY
    28         Feed.MolarComposition(1) = 0.3;
    29         Feed.MolarComposition(2) = 0.3;
    30         Feed.MolarComposition(3) = 0.4;
    31         Feed.F = 500 * 'kmol/h';
    32         Feed.T = 338 * 'K';
    33         Feed.P = 5 * 'atm';
    34 
    35         INITIAL
    36 
    37         GUESS
    38 
    39         DEVICES
    4025        VaporProduct as sink;
    41 
    42         SET
    43 
    44         SPECIFY
    45 
    46         INITIAL
    47 
    48         GUESS
    49 
    50         DEVICES
    5126        valve_liquid as valve_flow;
    52 
    53         SET
    54 
    55         SPECIFY
    56 
    57         INITIAL
    58 
    59         GUESS
    60 
    61         DEVICES
    6227        valve_Vapour as valve_flow;
    63 
    64         SET
    65 
    66         SPECIFY
    67 
    68         INITIAL
    69 
    70         GUESS
    71 
    72         DEVICES
    7328        PID_LC as PID;
    74 
    75         SET
    76         PID_LC.PID_Select = "Parallel_AWBT";
    77         PID_LC.Action = "Direct";
    78         PID_LC.Mode = "Automatic";
    79         PID_LC.Clip = "Clipped";
    80         PID_LC.alpha = 1;
    81         PID_LC.beta = 1;
    82         PID_LC.bias = 0.5;
    83         PID_LC.derivTime = 19 * 's';
    84         PID_LC.intTime = 76 * 's';
    85         PID_LC.gain = 1.1776;
    86         PID_LC.gamma = 1;
    87         PID_LC.tau = 1 * 's';
    88         PID_LC.tauSet = 1 * 's';
    89         PID_LC.MinInput = 0;
    90         PID_LC.MaxInput = 2;
    91         PID_LC.MinOutput = 0;
    92         PID_LC.MaxOutput = 1;
    93 
    94         SPECIFY
    95         PID_LC.SetPoint = 0.7;
    96 
    97         INITIAL
    98 
    99         GUESS
    100 
    101         DEVICES
    10229        PID_PC as PID;
    103 
    104         SET
    105         PID_PC.PID_Select = "Parallel_AWBT";
    106         PID_PC.Action = "Direct";
    107         PID_PC.Mode = "Automatic";
    108         PID_PC.Clip = "Clipped";
    109         PID_PC.alpha = 1;
    110         PID_PC.beta = 1;
    111         PID_PC.bias = 0.5;
    112         PID_PC.derivTime = 18 * 's';
    113         PID_PC.intTime = 72 * 's';
    114         PID_PC.gain = 0.9275;
    115         PID_PC.gamma = 1;
    116         PID_PC.tau = 1 * 's';
    117         PID_PC.tauSet = 1 * 's';
    118         PID_PC.MinInput = 0;
    119         PID_PC.MaxInput = 4;
    120         PID_PC.MinOutput = 0;
    121         PID_PC.MaxOutput = 1;
    122 
    123         SPECIFY
    124         PID_PC.SetPoint = 0.6;
    125 
    126         INITIAL
    127 
    128         GUESS
    129 
    130         DEVICES
    13130        LiquidProduct as simple_sink;
    132 
    133         SET
    134 
    135         SPECIFY
    136 
    137         INITIAL
    138 
    139         GUESS
    140 
    141         DEVICES
    14231        Heat_Duty as energy_source2;
    143 
    144         SET
    145 
    146         SPECIFY
    147         Heat_Duty.OutletQ = 0 * 'kW';
    148 
    149         INITIAL
    150 
    151         GUESS
    152 
    153         DEVICES
    15432        V001 as TankVL;
    155 
    156         SET
    157         V001.Orientation = "horizontal";
    158         V001.Heads = "elliptical";
    159         V001.Diameter = 3.1 * 'm';
    160         V001.Lenght = 6 * 'm';
    161         V001.Levelpercent_Initial = 0.5;
    162         V001.Temperature_Initial = 300 * 'K';
    163 
    164         SPECIFY
    165 
    166         INITIAL
    167 
    168         GUESS
     33        pump_1 as pump;
    16934
    17035        CONNECTIONS
     
    17338        PID_PC.Output to valve_Vapour.FlowFraction;
    17439        valve_liquid.Outlet to LiquidProduct.Inlet;
    175         Feed.Outlet to V001.Inlet;
    17640        V001.OutletVapour to valve_Vapour.Inlet;
    17741        V001.PI to PID_PC.Input;
     
    17943        Heat_Duty.OutletQ to V001.InletQ;
    18044        V001.OutletLiquid to valve_liquid.Inlet;
     45        Feed.Outlet to pump_1.Inlet;
     46        pump_1.Outlet to V001.Inlet;
     47
     48        SET
     49        valve_liquid.MaxFlow = 2000 * 'kmol/h' ;
     50        valve_liquid.MinFlow = 0 * 'kmol/h' ;
     51        valve_Vapour.MinFlow = 0 * 'kmol/h' ;
     52        valve_Vapour.MaxFlow = 1000 * 'kmol/h' ;
     53        PID_LC.PID_Select = "Parallel_AWBT" ;
     54        PID_LC.Action = "Direct" ;
     55        PID_LC.Mode = "Automatic" ;
     56        PID_LC.Clip = "Clipped" ;
     57        PID_LC.alpha = 1 ;
     58        PID_LC.beta = 1 ;
     59        PID_LC.bias = 0.5 ;
     60        PID_LC.derivTime = 19 * 's' ;
     61        PID_LC.intTime = 76 * 's' ;
     62        PID_LC.gain = 1.1776 ;
     63        PID_LC.gamma = 1 ;
     64        PID_LC.tau = 1 * 's' ;
     65        PID_LC.tauSet = 1 * 's' ;
     66        PID_LC.MinInput = 0 ;
     67        PID_LC.MaxInput = 2 ;
     68        PID_LC.MinOutput = 0 ;
     69        PID_LC.MaxOutput = 1 ;
     70        PID_PC.PID_Select = "Parallel_AWBT" ;
     71        PID_PC.Action = "Direct" ;
     72        PID_PC.Mode = "Automatic" ;
     73        PID_PC.Clip = "Clipped" ;
     74        PID_PC.alpha = 1 ;
     75        PID_PC.beta = 1 ;
     76        PID_PC.bias = 0.5 ;
     77        PID_PC.derivTime = 18 * 's' ;
     78        PID_PC.intTime = 72 * 's' ;
     79        PID_PC.gain = 0.9275 ;
     80        PID_PC.gamma = 1 ;
     81        PID_PC.tau = 1 * 's' ;
     82        PID_PC.tauSet = 1 * 's' ;
     83        PID_PC.MinInput = 0 ;
     84        PID_PC.MaxInput = 4 ;
     85        PID_PC.MinOutput = 0 ;
     86        PID_PC.MaxOutput = 1 ;
     87        V001.Levelpercent_Initial = 0.5 ;
     88        V001.Temperature_Initial = 300 * 'K' ;
     89        V001.Geometry.Diameter = 2 * 'm' ;
     90        V001.Geometry.Lenght = 6 * 'm' ;
     91        V001.Geometry.Heads = "flat" ;
     92        V001.Geometry.Orientation = "horizontal" ;
     93        V001.Kfactor = 0.6 ;
     94        V001.Composition_Initial(1) = 0.3 ;
     95        V001.Composition_Initial(2) = 0.3 ;
     96
     97        SPECIFY
     98        Feed.MolarComposition(1) = 0.3 ;
     99        Feed.MolarComposition(2) = 0.3 ;
     100        Feed.MolarComposition(3) = 0.4 ;
     101        Feed.T = 338 * 'K' ;
     102        Feed.P = 5 * 'atm' ;
     103        PID_LC.SetPoint = 0.7 ;
     104        PID_PC.SetPoint = 0.6 ;
     105        Heat_Duty.OutletQ = 0 * 'kW' ;
     106        pump_1.Pincrease = 12 * 'kPa' ;
    181107
    182108        OPTIONS
    183109        Dynamic = true;
    184110        TimeStep = 0.2;
    185         TimeEnd = 12;
     111        TimeEnd = 4;
    186112        TimeUnit = 'h';
    187113        Integration = "original";
     
    193119        );
    194120        DAESolver(
    195                 File = "sundials",
     121                File = "dasslc",
    196122                RelativeAccuracy = 1e-2,
    197123                AbsoluteAccuracy = 1e-6,
  • branches/gui/sample/stage_separators/Sample_TankVL_PID.pfd

    r795 r905  
    1313        <Time_Start>0</Time_Start>
    1414        <Time_Step>0.2</Time_Step>
    15         <Time_End>12</Time_End>
     15        <Time_End>4</Time_End>
    1616        <Time_Unit>h</Time_Unit>
    1717        <Sparse_Algebra>1</Sparse_Algebra>
     
    2121        <NLASolver_File_Text>sundials</NLASolver_File_Text>
    2222        <NLASolver_Absolute_Accuracy>1e-3</NLASolver_Absolute_Accuracy>
    23         <DAESolver_File_Index>0</DAESolver_File_Index>
    24         <DAESolver_File_Text>sundials</DAESolver_File_Text>
     23        <DAESolver_File_Index>2</DAESolver_File_Index>
     24        <DAESolver_File_Text>dasslc</DAESolver_File_Text>
    2525        <DAESolver_Relative_Accuracy>1e-2</DAESolver_Relative_Accuracy>
    2626        <DAESolver_Absolute_Accuracy>1e-6</DAESolver_Absolute_Accuracy>
     
    2929<Width>2000</Width>
    3030<Height>1000</Height>
    31 <Grid_Spacing>20</Grid_Spacing>
    3231<View>
    3332        <Zoom_Level>1</Zoom_Level>
    34         <Show_Grid>0</Show_Grid>
    35         <Snap_to_Grid>0</Snap_to_Grid>
    36         <Width>1248</Width>
    37         <Height>511</Height>
     33        <Width>1043</Width>
     34        <Height>498</Height>
    3835        <X>0</X>
    39         <Y>-11</Y>
     36        <Y>0</Y>
    4037</View>
    4138<View>
    4239        <Zoom_Level>1</Zoom_Level>
    43         <Show_Grid>0</Show_Grid>
    44         <Snap_to_Grid>0</Snap_to_Grid>
    45         <Width>1248</Width>
     40        <Width>1043</Width>
    4641        <Height>0</Height>
    4742        <X>0</X>
     
    5146        <Type>simple_source</Type>
    5247        <Id_String>Feed</Id_String>
    53         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/icon/Source.png</Image_File_Name>
    54         <X>34</X>
    55         <Y>59</Y>
     48        <X>18</X>
     49        <Y>30</Y>
    5650        <Z>0</Z>
    5751        <Width>68</Width>
    5852        <Height>30</Height>
    59         <Block_Properties>
    60                 <Model_File_Path>streams</Model_File_Path>
    61                 <Instance_Id>Feed</Instance_Id>
    62                 <Model_Name>simple_source</Model_Name>
    63                 <T_Connection>0</T_Connection>
    64                 <Sub_Models>
    65                         <Block_Properties>
    66                                 <Model_File_Path>streams</Model_File_Path>
    67                                 <Instance_Id>Outlet</Instance_Id>
    68                                 <Model_Name>Outlet</Model_Name>
    69                                 <T_Connection>2</T_Connection>
    70                                 <Base_Models>
    71                                         <Block_Properties>
    72                                                 <Model_File_Path>streams</Model_File_Path>
    73                                                 <Instance_Id>Outlet</Instance_Id>
    74                                                 <Model_Name>stream</Model_Name>
    75                                                 <T_Connection>2</T_Connection>
    76                                                 <Parameters>
    77                                                         <Desc>NComp</Desc>
    78                                                         <Index>0</Index>
    79                                                         <Values>3</Values>
    80                                                         <Status>0</Status>
    81                                                 </Parameters>
    82                                                 <Variables>
    83                                                         <Desc>F</Desc>
    84                                                         <Index>0</Index>
    85                                                         <Values>500</Values>
    86                                                         <Status>0</Status>
    87                                                         <Unit>kmol/h</Unit>
    88                                                 </Variables>
    89                                                 <Variables>
    90                                                         <Desc>T</Desc>
    91                                                         <Index>0</Index>
    92                                                         <Values>338</Values>
    93                                                         <Status>0</Status>
    94                                                         <Unit>K</Unit>
    95                                                 </Variables>
    96                                                 <Variables>
    97                                                         <Desc>P</Desc>
    98                                                         <Index>0</Index>
    99                                                         <Values>5</Values>
    100                                                         <Status>0</Status>
    101                                                         <Unit>atm</Unit>
    102                                                 </Variables>
    103                                                 <Variables>
    104                                                         <Desc>h</Desc>
    105                                                         <Index>0</Index>
    106                                                         <Values>-23082.6</Values>
    107                                                         <Status>0</Status>
    108                                                         <Unit>kJ/kmol</Unit>
    109                                                 </Variables>
    110                                                 <Variables>
    111                                                         <Desc>v</Desc>
    112                                                         <Index>0</Index>
    113                                                         <Values>0</Values>
    114                                                         <Status>0</Status>
    115                                                 </Variables>
    116                                                 <Variables>
    117                                                         <Desc>z</Desc>
    118                                                         <Index>0</Index>
    119                                                         <Values>0.3</Values>
    120                                                         <Status>0</Status>
    121                                                         <Index>1</Index>
    122                                                         <Values>0.3</Values>
    123                                                         <Status>0</Status>
    124                                                         <Index>2</Index>
    125                                                         <Values>0.4</Values>
    126                                                         <Status>0</Status>
    127                                                 </Variables>
    128                                         </Block_Properties>
    129                                 </Base_Models>
    130                         </Block_Properties>
    131                 </Sub_Models>
    132                 <Parameters>
    133                         <Desc>PP</Desc>
    134                         <Index>0</Index>
    135                         <Values>PP</Values>
     53        <Label_Position>
     54                <X>29</X>
     55                <Y>71</Y>
     56        </Label_Position>
     57        <Settings>
     58                <Value>
     59                        <Path>
     60                                <Value>MolarComposition</Value>
     61                        </Path>
     62                        <Unit></Unit>
     63                        <Indices>
     64                                <Value>1</Value>
     65                        </Indices>
     66                        <Value>0.3</Value>
     67                        <Status>1</Status>
     68                </Value>
     69                <Value>
     70                        <Path>
     71                                <Value>MolarComposition</Value>
     72                        </Path>
     73                        <Unit></Unit>
     74                        <Indices>
     75                                <Value>2</Value>
     76                        </Indices>
     77                        <Value>0.3</Value>
     78                        <Status>1</Status>
     79                </Value>
     80                <Value>
     81                        <Path>
     82                                <Value>MolarComposition</Value>
     83                        </Path>
     84                        <Unit></Unit>
     85                        <Indices>
     86                                <Value>3</Value>
     87                        </Indices>
     88                        <Value>0.4</Value>
     89                        <Status>1</Status>
     90                </Value>
     91                <Value>
     92                        <Path>
     93                                <Value>F</Value>
     94                        </Path>
     95                        <Unit>'kmol/h'</Unit>
     96                        <Indices>
     97                                <Value>1</Value>
     98                        </Indices>
     99                        <Value>500</Value>
    136100                        <Status>0</Status>
    137                 </Parameters>
    138                 <Parameters>
    139                         <Desc>NComp</Desc>
    140                         <Index>0</Index>
    141                         <Values>3</Values>
    142                         <Status>0</Status>
    143                 </Parameters>
    144                 <Parameters>
    145                         <Desc>M</Desc>
    146                         <Index>0</Index>
    147                         <Values>58.123</Values>
    148                         <Status>0</Status>
    149                         <Unit>kg/kmol</Unit>
    150                         <Index>1</Index>
    151                         <Values>78.1134</Values>
    152                         <Status>0</Status>
    153                         <Unit>kg/kmol</Unit>
    154                         <Index>2</Index>
    155                         <Values>114.23</Values>
    156                         <Status>0</Status>
    157                         <Unit>kg/kmol</Unit>
    158                 </Parameters>
    159                 <Parameters>
    160                         <Desc>ValidPhases</Desc>
    161                         <Index>0</Index>
    162                         <Values>Vapour-Liquid</Values>
    163                         <Status>0</Status>
    164                 </Parameters>
    165                 <Variables>
    166                         <Desc>MolarComposition</Desc>
    167                         <Index>0</Index>
    168                         <Values>0.3</Values>
     101                </Value>
     102                <Value>
     103                        <Path>
     104                                <Value>T</Value>
     105                        </Path>
     106                        <Unit>'K'</Unit>
     107                        <Indices>
     108                                <Value>1</Value>
     109                        </Indices>
     110                        <Value>338</Value>
    169111                        <Status>1</Status>
    170                         <Index>1</Index>
    171                         <Values>0.3</Values>
     112                </Value>
     113                <Value>
     114                        <Path>
     115                                <Value>P</Value>
     116                        </Path>
     117                        <Unit>'atm'</Unit>
     118                        <Indices>
     119                                <Value>1</Value>
     120                        </Indices>
     121                        <Value>5</Value>
    172122                        <Status>1</Status>
    173                         <Index>2</Index>
    174                         <Values>0.4</Values>
    175                         <Status>1</Status>
    176                 </Variables>
    177                 <Variables>
    178                         <Desc>SumOfComposition</Desc>
    179                         <Index>0</Index>
    180                         <Values>1</Values>
    181                         <Status>0</Status>
    182                 </Variables>
    183                 <Variables>
    184                         <Desc>F</Desc>
    185                         <Index>0</Index>
    186                         <Values>500</Values>
    187                         <Status>1</Status>
    188                         <Unit>kmol/h</Unit>
    189                 </Variables>
    190                 <Variables>
    191                         <Desc>T</Desc>
    192                         <Index>0</Index>
    193                         <Values>338</Values>
    194                         <Status>1</Status>
    195                         <Unit>K</Unit>
    196                 </Variables>
    197                 <Variables>
    198                         <Desc>T_Cdeg</Desc>
    199                         <Index>0</Index>
    200                         <Values>64.85</Values>
    201                         <Status>0</Status>
    202                         <Unit>K</Unit>
    203                 </Variables>
    204                 <Variables>
    205                         <Desc>P</Desc>
    206                         <Index>0</Index>
    207                         <Values>5</Values>
    208                         <Status>1</Status>
    209                         <Unit>atm</Unit>
    210                 </Variables>
    211         </Block_Properties>
     123                </Value>
     124        </Settings>
    212125</Block>
    213126<Block>
    214127        <Type>sink</Type>
    215128        <Id_String>VaporProduct</Id_String>
    216         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/icon/Sink.png</Image_File_Name>
    217129        <X>1077</X>
    218130        <Y>265</Y>
     
    220132        <Width>68</Width>
    221133        <Height>30</Height>
    222         <Block_Properties>
    223                 <Model_File_Path>streams</Model_File_Path>
    224                 <Instance_Id>VaporProduct</Instance_Id>
    225                 <Model_Name>sink</Model_Name>
    226                 <T_Connection>0</T_Connection>
    227                 <Sub_Models>
    228                         <Block_Properties>
    229                                 <Model_File_Path>streams</Model_File_Path>
    230                                 <Instance_Id>Inlet</Instance_Id>
    231                                 <Model_Name>Inlet</Model_Name>
    232                                 <T_Connection>1</T_Connection>
    233                                 <Base_Models>
    234                                         <Block_Properties>
    235                                                 <Model_File_Path>streams</Model_File_Path>
    236                                                 <Instance_Id>Inlet</Instance_Id>
    237                                                 <Model_Name>stream</Model_Name>
    238                                                 <T_Connection>1</T_Connection>
    239                                                 <Parameters>
    240                                                         <Desc>NComp</Desc>
    241                                                         <Index>0</Index>
    242                                                         <Values>3</Values>
    243                                                         <Status>0</Status>
    244                                                 </Parameters>
    245                                                 <Variables>
    246                                                         <Desc>F</Desc>
    247                                                         <Index>0</Index>
    248                                                         <Values>258.853</Values>
    249                                                         <Status>0</Status>
    250                                                         <Unit>kmol/h</Unit>
    251                                                 </Variables>
    252                                                 <Variables>
    253                                                         <Desc>T</Desc>
    254                                                         <Index>0</Index>
    255                                                         <Values>320.608</Values>
    256                                                         <Status>0</Status>
    257                                                         <Unit>K</Unit>
    258                                                 </Variables>
    259                                                 <Variables>
    260                                                         <Desc>P</Desc>
    261                                                         <Index>0</Index>
    262                                                         <Values>0.699309</Values>
    263                                                         <Status>0</Status>
    264                                                         <Unit>atm</Unit>
    265                                                 </Variables>
    266                                                 <Variables>
    267                                                         <Desc>h</Desc>
    268                                                         <Index>0</Index>
    269                                                         <Values>1985.33</Values>
    270                                                         <Status>0</Status>
    271                                                         <Unit>kJ/kmol</Unit>
    272                                                 </Variables>
    273                                                 <Variables>
    274                                                         <Desc>v</Desc>
    275                                                         <Index>0</Index>
    276                                                         <Values>1</Values>
    277                                                         <Status>0</Status>
    278                                                 </Variables>
    279                                                 <Variables>
    280                                                         <Desc>z</Desc>
    281                                                         <Index>0</Index>
    282                                                         <Values>0.812381</Values>
    283                                                         <Status>0</Status>
    284                                                         <Index>1</Index>
    285                                                         <Values>0.161635</Values>
    286                                                         <Status>0</Status>
    287                                                         <Index>2</Index>
    288                                                         <Values>0.0259831</Values>
    289                                                         <Status>0</Status>
    290                                                 </Variables>
    291                                         </Block_Properties>
    292                                 </Base_Models>
    293                         </Block_Properties>
    294                 </Sub_Models>
    295                 <Parameters>
    296                         <Desc>PP</Desc>
    297                         <Index>0</Index>
    298                         <Values>PP</Values>
    299                         <Status>0</Status>
    300                 </Parameters>
    301                 <Parameters>
    302                         <Desc>NComp</Desc>
    303                         <Index>0</Index>
    304                         <Values>3</Values>
    305                         <Status>0</Status>
    306                 </Parameters>
    307                 <Parameters>
    308                         <Desc>M</Desc>
    309                         <Index>0</Index>
    310                         <Values>58.123</Values>
    311                         <Status>0</Status>
    312                         <Unit>kg/kmol</Unit>
    313                         <Index>1</Index>
    314                         <Values>78.1134</Values>
    315                         <Status>0</Status>
    316                         <Unit>kg/kmol</Unit>
    317                         <Index>2</Index>
    318                         <Values>114.23</Values>
    319                         <Status>0</Status>
    320                         <Unit>kg/kmol</Unit>
    321                 </Parameters>
    322                 <Variables>
    323                         <Desc>zmass</Desc>
    324                         <Index>0</Index>
    325                         <Values>0.751736</Values>
    326                         <Status>0</Status>
    327                         <Index>1</Index>
    328                         <Values>0.201011</Values>
    329                         <Status>0</Status>
    330                         <Index>2</Index>
    331                         <Values>0.0472529</Values>
    332                         <Status>0</Status>
    333                 </Variables>
    334                 <Variables>
    335                         <Desc>Mw</Desc>
    336                         <Index>0</Index>
    337                         <Values>62.812</Values>
    338                         <Status>0</Status>
    339                         <Unit>kg/kmol</Unit>
    340                 </Variables>
    341                 <Variables>
    342                         <Desc>vm</Desc>
    343                         <Index>0</Index>
    344                         <Values>0.0369877</Values>
    345                         <Status>0</Status>
    346                         <Unit>m^3/mol</Unit>
    347                 </Variables>
    348                 <Variables>
    349                         <Desc>rho</Desc>
    350                         <Index>0</Index>
    351                         <Values>1.69818</Values>
    352                         <Status>0</Status>
    353                         <Unit>kg/m^3</Unit>
    354                 </Variables>
    355                 <Variables>
    356                         <Desc>rhom</Desc>
    357                         <Index>0</Index>
    358                         <Values>0.027036</Values>
    359                         <Status>0</Status>
    360                         <Unit>kmol/m^3</Unit>
    361                 </Variables>
    362                 <Variables>
    363                         <Desc>Fw</Desc>
    364                         <Index>0</Index>
    365                         <Values>16259.1</Values>
    366                         <Status>0</Status>
    367                         <Unit>kg/h</Unit>
    368                 </Variables>
    369                 <Variables>
    370                         <Desc>Fvol</Desc>
    371                         <Index>0</Index>
    372                         <Values>9574.4</Values>
    373                         <Status>0</Status>
    374                         <Unit>m^3/h</Unit>
    375                 </Variables>
    376                 <Variables>
    377                         <Desc>T_Cdeg</Desc>
    378                         <Index>0</Index>
    379                         <Values>47.458</Values>
    380                         <Status>0</Status>
    381                         <Unit>K</Unit>
    382                 </Variables>
    383         </Block_Properties>
     134        <Label_Position>
     135                <X>1075</X>
     136                <Y>325</Y>
     137        </Label_Position>
     138        <Settings>
     139        </Settings>
    384140</Block>
    385141<Block>
    386142        <Type>valve_flow</Type>
    387143        <Id_String>valve_liquid</Id_String>
    388         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/pressure_changers/icon/Valve.png</Image_File_Name>
    389         <X>526</X>
     144        <X>527</X>
    390145        <Y>591</Y>
    391146        <Z>0</Z>
    392147        <Width>91.5385</Width>
    393148        <Height>52.3077</Height>
    394         <Block_Properties>
    395                 <Model_File_Path>pressure_changers/valve</Model_File_Path>
    396                 <Instance_Id>valve_liquid</Instance_Id>
    397                 <Model_Name>valve_flow</Model_Name>
    398                 <T_Connection>0</T_Connection>
    399                 <Sub_Models>
    400                         <Block_Properties>
    401                                 <Model_File_Path>pressure_changers/valve</Model_File_Path>
    402                                 <Instance_Id>Inlet</Instance_Id>
    403                                 <Model_Name>Inlet</Model_Name>
    404                                 <T_Connection>1</T_Connection>
    405                                 <Base_Models>
    406                                         <Block_Properties>
    407                                                 <Model_File_Path>streams</Model_File_Path>
    408                                                 <Instance_Id>Inlet</Instance_Id>
    409                                                 <Model_Name>stream</Model_Name>
    410                                                 <T_Connection>1</T_Connection>
    411                                                 <Parameters>
    412                                                         <Desc>NComp</Desc>
    413                                                         <Index>0</Index>
    414                                                         <Values>3</Values>
    415                                                         <Status>0</Status>
    416                                                 </Parameters>
    417                                                 <Variables>
    418                                                         <Desc>F</Desc>
    419                                                         <Index>0</Index>
    420                                                         <Values>302.713</Values>
    421                                                         <Status>0</Status>
    422                                                         <Unit>kmol/h</Unit>
    423                                                 </Variables>
    424                                                 <Variables>
    425                                                         <Desc>T</Desc>
    426                                                         <Index>0</Index>
    427                                                         <Values>320.608</Values>
    428                                                         <Status>0</Status>
    429                                                         <Unit>K</Unit>
    430                                                 </Variables>
    431                                                 <Variables>
    432                                                         <Desc>P</Desc>
    433                                                         <Index>0</Index>
    434                                                         <Values>0.699309</Values>
    435                                                         <Status>0</Status>
    436                                                         <Unit>atm</Unit>
    437                                                 </Variables>
    438                                                 <Variables>
    439                                                         <Desc>h</Desc>
    440                                                         <Index>0</Index>
    441                                                         <Values>-27966.8</Values>
    442                                                         <Status>0</Status>
    443                                                         <Unit>kJ/kmol</Unit>
    444                                                 </Variables>
    445                                                 <Variables>
    446                                                         <Desc>v</Desc>
    447                                                         <Index>0</Index>
    448                                                         <Values>0</Values>
    449                                                         <Status>0</Status>
    450                                                 </Variables>
    451                                                 <Variables>
    452                                                         <Desc>z</Desc>
    453                                                         <Index>0</Index>
    454                                                         <Values>0.166765</Values>
    455                                                         <Status>0</Status>
    456                                                         <Index>1</Index>
    457                                                         <Values>0.370434</Values>
    458                                                         <Status>0</Status>
    459                                                         <Index>2</Index>
    460                                                         <Values>0.462801</Values>
    461                                                         <Status>0</Status>
    462                                                 </Variables>
    463                                         </Block_Properties>
    464                                 </Base_Models>
    465                         </Block_Properties>
    466                 </Sub_Models>
    467                 <Sub_Models>
    468                         <Block_Properties>
    469                                 <Model_File_Path>pressure_changers/valve</Model_File_Path>
    470                                 <Instance_Id>Outlet</Instance_Id>
    471                                 <Model_Name>Outlet</Model_Name>
    472                                 <T_Connection>2</T_Connection>
    473                                 <Base_Models>
    474                                         <Block_Properties>
    475                                                 <Model_File_Path>streams</Model_File_Path>
    476                                                 <Instance_Id>Outlet</Instance_Id>
    477                                                 <Model_Name>stream</Model_Name>
    478                                                 <T_Connection>2</T_Connection>
    479                                                 <Parameters>
    480                                                         <Desc>NComp</Desc>
    481                                                         <Index>0</Index>
    482                                                         <Values>3</Values>
    483                                                         <Status>0</Status>
    484                                                 </Parameters>
    485                                                 <Variables>
    486                                                         <Desc>F</Desc>
    487                                                         <Index>0</Index>
    488                                                         <Values>302.713</Values>
    489                                                         <Status>0</Status>
    490                                                         <Unit>kmol/h</Unit>
    491                                                 </Variables>
    492                                                 <Variables>
    493                                                         <Desc>T</Desc>
    494                                                         <Index>0</Index>
    495                                                         <Values>320.608</Values>
    496                                                         <Status>0</Status>
    497                                                         <Unit>K</Unit>
    498                                                 </Variables>
    499                                                 <Variables>
    500                                                         <Desc>P</Desc>
    501                                                         <Index>0</Index>
    502                                                         <Values>0.699309</Values>
    503                                                         <Status>0</Status>
    504                                                         <Unit>atm</Unit>
    505                                                 </Variables>
    506                                                 <Variables>
    507                                                         <Desc>h</Desc>
    508                                                         <Index>0</Index>
    509                                                         <Values>-27966.8</Values>
    510                                                         <Status>0</Status>
    511                                                         <Unit>kJ/kmol</Unit>
    512                                                 </Variables>
    513                                                 <Variables>
    514                                                         <Desc>v</Desc>
    515                                                         <Index>0</Index>
    516                                                         <Values>0</Values>
    517                                                         <Status>0</Status>
    518                                                 </Variables>
    519                                                 <Variables>
    520                                                         <Desc>z</Desc>
    521                                                         <Index>0</Index>
    522                                                         <Values>0.166765</Values>
    523                                                         <Status>0</Status>
    524                                                         <Index>1</Index>
    525                                                         <Values>0.370434</Values>
    526                                                         <Status>0</Status>
    527                                                         <Index>2</Index>
    528                                                         <Values>0.462801</Values>
    529                                                         <Status>0</Status>
    530                                                 </Variables>
    531                                         </Block_Properties>
    532                                 </Base_Models>
    533                         </Block_Properties>
    534                 </Sub_Models>
    535                 <Parameters>
    536                         <Desc>PP</Desc>
    537                         <Index>0</Index>
    538                         <Values>PP</Values>
    539                         <Status>0</Status>
    540                 </Parameters>
    541                 <Parameters>
    542                         <Desc>NComp</Desc>
    543                         <Index>0</Index>
    544                         <Values>3</Values>
    545                         <Status>0</Status>
    546                 </Parameters>
    547                 <Parameters>
    548                         <Desc>MinFlow</Desc>
    549                         <Index>0</Index>
    550                         <Values>0</Values>
    551                         <Status>0</Status>
    552                         <Unit>kmol/h</Unit>
    553                 </Parameters>
    554                 <Parameters>
    555                         <Desc>MaxFlow</Desc>
    556                         <Index>0</Index>
    557                         <Values>1000</Values>
    558                         <Status>0</Status>
    559                         <Unit>kmol/h</Unit>
    560                 </Parameters>
    561                 <Variables>
    562                         <Desc>FlowFraction</Desc>
    563                         <Index>0</Index>
    564                         <Values>0.302713</Values>
    565                         <Status>0</Status>
    566                 </Variables>
    567         </Block_Properties>
     149        <Label_Position>
     150                <X>537</X>
     151                <Y>677</Y>
     152        </Label_Position>
     153        <Settings>
     154                <Value>
     155                        <Path>
     156                                <Value>MaxFlow</Value>
     157                        </Path>
     158                        <Unit>'kmol/h'</Unit>
     159                        <Indices>
     160                                <Value>1</Value>
     161                        </Indices>
     162                        <Value>2000</Value>
     163                        <Status>4</Status>
     164                </Value>
     165                <Value>
     166                        <Path>
     167                                <Value>MinFlow</Value>
     168                        </Path>
     169                        <Unit>'kmol/h'</Unit>
     170                        <Indices>
     171                                <Value>1</Value>
     172                        </Indices>
     173                        <Value>0</Value>
     174                        <Status>4</Status>
     175                </Value>
     176        </Settings>
    568177</Block>
    569178<Block>
    570179        <Type>valve_flow</Type>
    571180        <Id_String>valve_Vapour</Id_String>
    572         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/pressure_changers/icon/Valve.png</Image_File_Name>
    573181        <X>707</X>
    574182        <Y>137</Y>
     
    576184        <Width>76</Width>
    577185        <Height>61</Height>
    578         <Block_Properties>
    579                 <Model_File_Path>pressure_changers/valve</Model_File_Path>
    580                 <Instance_Id>valve_Vapour</Instance_Id>
    581                 <Model_Name>valve_flow</Model_Name>
    582                 <T_Connection>0</T_Connection>
    583                 <Sub_Models>
    584                         <Block_Properties>
    585                                 <Model_File_Path>pressure_changers/valve</Model_File_Path>
    586                                 <Instance_Id>Inlet</Instance_Id>
    587                                 <Model_Name>Inlet</Model_Name>
    588                                 <T_Connection>1</T_Connection>
    589                                 <Base_Models>
    590                                         <Block_Properties>
    591                                                 <Model_File_Path>streams</Model_File_Path>
    592                                                 <Instance_Id>Inlet</Instance_Id>
    593                                                 <Model_Name>stream</Model_Name>
    594                                                 <T_Connection>1</T_Connection>
    595                                                 <Parameters>
    596                                                         <Desc>NComp</Desc>
    597                                                         <Index>0</Index>
    598                                                         <Values>3</Values>
    599                                                         <Status>0</Status>
    600                                                 </Parameters>
    601                                                 <Variables>
    602                                                         <Desc>F</Desc>
    603                                                         <Index>0</Index>
    604                                                         <Values>258.853</Values>
    605                                                         <Status>0</Status>
    606                                                         <Unit>kmol/h</Unit>
    607                                                 </Variables>
    608                                                 <Variables>
    609                                                         <Desc>T</Desc>
    610                                                         <Index>0</Index>
    611                                                         <Values>320.608</Values>
    612                                                         <Status>0</Status>
    613                                                         <Unit>K</Unit>
    614                                                 </Variables>
    615                                                 <Variables>
    616                                                         <Desc>P</Desc>
    617                                                         <Index>0</Index>
    618                                                         <Values>0.699309</Values>
    619                                                         <Status>0</Status>
    620                                                         <Unit>atm</Unit>
    621                                                 </Variables>
    622                                                 <Variables>
    623                                                         <Desc>h</Desc>
    624                                                         <Index>0</Index>
    625                                                         <Values>1985.33</Values>
    626                                                         <Status>0</Status>
    627                                                         <Unit>kJ/kmol</Unit>
    628                                                 </Variables>
    629                                                 <Variables>
    630                                                         <Desc>v</Desc>
    631                                                         <Index>0</Index>
    632                                                         <Values>1</Values>
    633                                                         <Status>0</Status>
    634                                                 </Variables>
    635                                                 <Variables>
    636                                                         <Desc>z</Desc>
    637                                                         <Index>0</Index>
    638                                                         <Values>0.812381</Values>
    639                                                         <Status>0</Status>
    640                                                         <Index>1</Index>
    641                                                         <Values>0.161635</Values>
    642                                                         <Status>0</Status>
    643                                                         <Index>2</Index>
    644                                                         <Values>0.0259831</Values>
    645                                                         <Status>0</Status>
    646                                                 </Variables>
    647                                         </Block_Properties>
    648                                 </Base_Models>
    649                         </Block_Properties>
    650                 </Sub_Models>
    651                 <Sub_Models>
    652                         <Block_Properties>
    653                                 <Model_File_Path>pressure_changers/valve</Model_File_Path>
    654                                 <Instance_Id>Outlet</Instance_Id>
    655                                 <Model_Name>Outlet</Model_Name>
    656                                 <T_Connection>2</T_Connection>
    657                                 <Base_Models>
    658                                         <Block_Properties>
    659                                                 <Model_File_Path>streams</Model_File_Path>
    660                                                 <Instance_Id>Outlet</Instance_Id>
    661                                                 <Model_Name>stream</Model_Name>
    662                                                 <T_Connection>2</T_Connection>
    663                                                 <Parameters>
    664                                                         <Desc>NComp</Desc>
    665                                                         <Index>0</Index>
    666                                                         <Values>3</Values>
    667                                                         <Status>0</Status>
    668                                                 </Parameters>
    669                                                 <Variables>
    670                                                         <Desc>F</Desc>
    671                                                         <Index>0</Index>
    672                                                         <Values>258.853</Values>
    673                                                         <Status>0</Status>
    674                                                         <Unit>kmol/h</Unit>
    675                                                 </Variables>
    676                                                 <Variables>
    677                                                         <Desc>T</Desc>
    678                                                         <Index>0</Index>
    679                                                         <Values>320.608</Values>
    680                                                         <Status>0</Status>
    681                                                         <Unit>K</Unit>
    682                                                 </Variables>
    683                                                 <Variables>
    684                                                         <Desc>P</Desc>
    685                                                         <Index>0</Index>
    686                                                         <Values>0.699309</Values>
    687                                                         <Status>0</Status>
    688                                                         <Unit>atm</Unit>
    689                                                 </Variables>
    690                                                 <Variables>
    691                                                         <Desc>h</Desc>
    692                                                         <Index>0</Index>
    693                                                         <Values>1985.33</Values>
    694                                                         <Status>0</Status>
    695                                                         <Unit>kJ/kmol</Unit>
    696                                                 </Variables>
    697                                                 <Variables>
    698                                                         <Desc>v</Desc>
    699                                                         <Index>0</Index>
    700                                                         <Values>1</Values>
    701                                                         <Status>0</Status>
    702                                                 </Variables>
    703                                                 <Variables>
    704                                                         <Desc>z</Desc>
    705                                                         <Index>0</Index>
    706                                                         <Values>0.812381</Values>
    707                                                         <Status>0</Status>
    708                                                         <Index>1</Index>
    709                                                         <Values>0.161635</Values>
    710                                                         <Status>0</Status>
    711                                                         <Index>2</Index>
    712                                                         <Values>0.0259831</Values>
    713                                                         <Status>0</Status>
    714                                                 </Variables>
    715                                         </Block_Properties>
    716                                 </Base_Models>
    717                         </Block_Properties>
    718                 </Sub_Models>
    719                 <Parameters>
    720                         <Desc>PP</Desc>
    721                         <Index>0</Index>
    722                         <Values>PP</Values>
    723                         <Status>0</Status>
    724                 </Parameters>
    725                 <Parameters>
    726                         <Desc>NComp</Desc>
    727                         <Index>0</Index>
    728                         <Values>3</Values>
    729                         <Status>0</Status>
    730                 </Parameters>
    731                 <Parameters>
    732                         <Desc>MinFlow</Desc>
    733                         <Index>0</Index>
    734                         <Values>0</Values>
    735                         <Status>0</Status>
    736                         <Unit>kmol/h</Unit>
    737                 </Parameters>
    738                 <Parameters>
    739                         <Desc>MaxFlow</Desc>
    740                         <Index>0</Index>
    741                         <Values>1000</Values>
    742                         <Status>0</Status>
    743                         <Unit>kmol/h</Unit>
    744                 </Parameters>
    745                 <Variables>
    746                         <Desc>FlowFraction</Desc>
    747                         <Index>0</Index>
    748                         <Values>0.258853</Values>
    749                         <Status>0</Status>
    750                 </Variables>
    751         </Block_Properties>
     186        <Label_Position>
     187                <X>690</X>
     188                <Y>202</Y>
     189        </Label_Position>
     190        <Settings>
     191                <Value>
     192                        <Path>
     193                                <Value>MinFlow</Value>
     194                        </Path>
     195                        <Unit>'kmol/h'</Unit>
     196                        <Indices>
     197                                <Value>1</Value>
     198                        </Indices>
     199                        <Value>0</Value>
     200                        <Status>4</Status>
     201                </Value>
     202                <Value>
     203                        <Path>
     204                                <Value>MaxFlow</Value>
     205                        </Path>
     206                        <Unit>'kmol/h'</Unit>
     207                        <Indices>
     208                                <Value>1</Value>
     209                        </Indices>
     210                        <Value>1000</Value>
     211                        <Status>4</Status>
     212                </Value>
     213        </Settings>
    752214</Block>
    753215<Block>
    754216        <Type>PID</Type>
    755217        <Id_String>PID_LC</Id_String>
    756         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/controllers/icon/PID.png</Image_File_Name>
    757218        <X>676</X>
    758219        <Y>283</Y>
     
    760221        <Width>55</Width>
    761222        <Height>54</Height>
    762         <Block_Properties>
    763                 <Model_File_Path>controllers/PIDs</Model_File_Path>
    764                 <Instance_Id>PID_LC</Instance_Id>
    765                 <Model_Name>PID</Model_Name>
    766                 <T_Connection>0</T_Connection>
    767                 <Parameters>
    768                         <Desc>PID_Select</Desc>
    769                         <Index>0</Index>
    770                         <Values>Parallel_AWBT</Values>
    771                         <Status>4</Status>
    772                 </Parameters>
    773                 <Parameters>
    774                         <Desc>Action</Desc>
    775                         <Index>0</Index>
    776                         <Values>Direct</Values>
    777                         <Status>4</Status>
    778                 </Parameters>
    779                 <Parameters>
    780                         <Desc>Mode</Desc>
    781                         <Index>0</Index>
    782                         <Values>Automatic</Values>
    783                         <Status>4</Status>
    784                 </Parameters>
    785                 <Parameters>
    786                         <Desc>Clip</Desc>
    787                         <Index>0</Index>
    788                         <Values>Clipped</Values>
    789                         <Status>4</Status>
    790                 </Parameters>
    791                 <Parameters>
    792                         <Desc>alpha</Desc>
    793                         <Index>0</Index>
    794                         <Values>1</Values>
    795                         <Status>4</Status>
    796                 </Parameters>
    797                 <Parameters>
    798                         <Desc>beta</Desc>
    799                         <Index>0</Index>
    800                         <Values>1</Values>
    801                         <Status>4</Status>
    802                 </Parameters>
    803                 <Parameters>
    804                         <Desc>bias</Desc>
    805                         <Index>0</Index>
    806                         <Values>0.5</Values>
    807                         <Status>4</Status>
    808                 </Parameters>
    809                 <Parameters>
    810                         <Desc>derivTime</Desc>
    811                         <Index>0</Index>
    812                         <Values>19</Values>
    813                         <Status>4</Status>
    814                         <Unit>s</Unit>
    815                 </Parameters>
    816                 <Parameters>
    817                         <Desc>intTime</Desc>
    818                         <Index>0</Index>
    819                         <Values>76</Values>
    820                         <Status>4</Status>
    821                         <Unit>s</Unit>
    822                 </Parameters>
    823                 <Parameters>
    824                         <Desc>gain</Desc>
    825                         <Index>0</Index>
    826                         <Values>1.1776</Values>
    827                         <Status>4</Status>
    828                 </Parameters>
    829                 <Parameters>
    830                         <Desc>gamma</Desc>
    831                         <Index>0</Index>
    832                         <Values>1</Values>
    833                         <Status>4</Status>
    834                 </Parameters>
    835                 <Parameters>
    836                         <Desc>tau</Desc>
    837                         <Index>0</Index>
    838                         <Values>1</Values>
    839                         <Status>4</Status>
    840                         <Unit>s</Unit>
    841                 </Parameters>
    842                 <Parameters>
    843                         <Desc>tauSet</Desc>
    844                         <Index>0</Index>
    845                         <Values>1</Values>
    846                         <Status>4</Status>
    847                         <Unit>s</Unit>
    848                 </Parameters>
    849                 <Parameters>
    850                         <Desc>MinInput</Desc>
    851                         <Index>0</Index>
    852                         <Values>0</Values>
    853                         <Status>4</Status>
    854                 </Parameters>
    855                 <Parameters>
    856                         <Desc>MaxInput</Desc>
    857                         <Index>0</Index>
    858                         <Values>2</Values>
    859                         <Status>4</Status>
    860                 </Parameters>
    861                 <Parameters>
    862                         <Desc>MinOutput</Desc>
    863                         <Index>0</Index>
    864                         <Values>0</Values>
    865                         <Status>4</Status>
    866                 </Parameters>
    867                 <Parameters>
    868                         <Desc>MaxOutput</Desc>
    869                         <Index>0</Index>
    870                         <Values>1</Values>
    871                         <Status>4</Status>
    872                 </Parameters>
    873                 <Variables>
    874                         <Desc>Input</Desc>
    875                         <Index>0</Index>
    876                         <Values>0.804786</Values>
    877                         <Status>0</Status>
    878                 </Variables>
    879                 <Variables>
    880                         <Desc>Output</Desc>
    881                         <Index>0</Index>
    882                         <Values>0.302713</Values>
    883                         <Status>0</Status>
    884                 </Variables>
    885                 <Variables>
    886                         <Desc>SetPoint</Desc>
    887                         <Index>0</Index>
    888                         <Values>0.7</Values>
     223        <Label_Position>
     224                <X>725</X>
     225                <Y>334</Y>
     226        </Label_Position>
     227        <Settings>
     228                <Value>
     229                        <Path>
     230                                <Value>PID_Select</Value>
     231                        </Path>
     232                        <Unit></Unit>
     233                        <Indices>
     234                                <Value>1</Value>
     235                        </Indices>
     236                        <Value>"Parallel_AWBT"</Value>
     237                        <Status>4</Status>
     238                </Value>
     239                <Value>
     240                        <Path>
     241                                <Value>Action</Value>
     242                        </Path>
     243                        <Unit></Unit>
     244                        <Indices>
     245                                <Value>1</Value>
     246                        </Indices>
     247                        <Value>"Direct"</Value>
     248                        <Status>4</Status>
     249                </Value>
     250                <Value>
     251                        <Path>
     252                                <Value>Mode</Value>
     253                        </Path>
     254                        <Unit></Unit>
     255                        <Indices>
     256                                <Value>1</Value>
     257                        </Indices>
     258                        <Value>"Automatic"</Value>
     259                        <Status>4</Status>
     260                </Value>
     261                <Value>
     262                        <Path>
     263                                <Value>Clip</Value>
     264                        </Path>
     265                        <Unit></Unit>
     266                        <Indices>
     267                                <Value>1</Value>
     268                        </Indices>
     269                        <Value>"Clipped"</Value>
     270                        <Status>4</Status>
     271                </Value>
     272                <Value>
     273                        <Path>
     274                                <Value>alpha</Value>
     275                        </Path>
     276                        <Unit></Unit>
     277                        <Indices>
     278                                <Value>1</Value>
     279                        </Indices>
     280                        <Value>1</Value>
     281                        <Status>4</Status>
     282                </Value>
     283                <Value>
     284                        <Path>
     285                                <Value>beta</Value>
     286                        </Path>
     287                        <Unit></Unit>
     288                        <Indices>
     289                                <Value>1</Value>
     290                        </Indices>
     291                        <Value>1</Value>
     292                        <Status>4</Status>
     293                </Value>
     294                <Value>
     295                        <Path>
     296                                <Value>bias</Value>
     297                        </Path>
     298                        <Unit></Unit>
     299                        <Indices>
     300                                <Value>1</Value>
     301                        </Indices>
     302                        <Value>0.5</Value>
     303                        <Status>4</Status>
     304                </Value>
     305                <Value>
     306                        <Path>
     307                                <Value>derivTime</Value>
     308                        </Path>
     309                        <Unit>'s'</Unit>
     310                        <Indices>
     311                                <Value>1</Value>
     312                        </Indices>
     313                        <Value>19</Value>
     314                        <Status>4</Status>
     315                </Value>
     316                <Value>
     317                        <Path>
     318                                <Value>intTime</Value>
     319                        </Path>
     320                        <Unit>'s'</Unit>
     321                        <Indices>
     322                                <Value>1</Value>
     323                        </Indices>
     324                        <Value>76</Value>
     325                        <Status>4</Status>
     326                </Value>
     327                <Value>
     328                        <Path>
     329                                <Value>gain</Value>
     330                        </Path>
     331                        <Unit></Unit>
     332                        <Indices>
     333                                <Value>1</Value>
     334                        </Indices>
     335                        <Value>1.1776</Value>
     336                        <Status>4</Status>
     337                </Value>
     338                <Value>
     339                        <Path>
     340                                <Value>gamma</Value>
     341                        </Path>
     342                        <Unit></Unit>
     343                        <Indices>
     344                                <Value>1</Value>
     345                        </Indices>
     346                        <Value>1</Value>
     347                        <Status>4</Status>
     348                </Value>
     349                <Value>
     350                        <Path>
     351                                <Value>tau</Value>
     352                        </Path>
     353                        <Unit>'s'</Unit>
     354                        <Indices>
     355                                <Value>1</Value>
     356                        </Indices>
     357                        <Value>1</Value>
     358                        <Status>4</Status>
     359                </Value>
     360                <Value>
     361                        <Path>
     362                                <Value>tauSet</Value>
     363                        </Path>
     364                        <Unit>'s'</Unit>
     365                        <Indices>
     366                                <Value>1</Value>
     367                        </Indices>
     368                        <Value>1</Value>
     369                        <Status>4</Status>
     370                </Value>
     371                <Value>
     372                        <Path>
     373                                <Value>MinInput</Value>
     374                        </Path>
     375                        <Unit></Unit>
     376                        <Indices>
     377                                <Value>1</Value>
     378                        </Indices>
     379                        <Value>0</Value>
     380                        <Status>4</Status>
     381                </Value>
     382                <Value>
     383                        <Path>
     384                                <Value>MaxInput</Value>
     385                        </Path>
     386                        <Unit></Unit>
     387                        <Indices>
     388                                <Value>1</Value>
     389                        </Indices>
     390                        <Value>2</Value>
     391                        <Status>4</Status>
     392                </Value>
     393                <Value>
     394                        <Path>
     395                                <Value>MinOutput</Value>
     396                        </Path>
     397                        <Unit></Unit>
     398                        <Indices>
     399                                <Value>1</Value>
     400                        </Indices>
     401                        <Value>0</Value>
     402                        <Status>4</Status>
     403                </Value>
     404                <Value>
     405                        <Path>
     406                                <Value>MaxOutput</Value>
     407                        </Path>
     408                        <Unit></Unit>
     409                        <Indices>
     410                                <Value>1</Value>
     411                        </Indices>
     412                        <Value>1</Value>
     413                        <Status>4</Status>
     414                </Value>
     415                <Value>
     416                        <Path>
     417                                <Value>SetPoint</Value>
     418                        </Path>
     419                        <Unit></Unit>
     420                        <Indices>
     421                                <Value>1</Value>
     422                        </Indices>
     423                        <Value>0.7</Value>
    889424                        <Status>1</Status>
    890                 </Variables>
    891         </Block_Properties>
     425                </Value>
     426        </Settings>
    892427</Block>
    893428<Block>
    894429        <Type>PID</Type>
    895430        <Id_String>PID_PC</Id_String>
    896         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/controllers/icon/PID.png</Image_File_Name>
    897431        <X>608</X>
    898432        <Y>18</Y>
     
    900434        <Width>64</Width>
    901435        <Height>53</Height>
    902         <Block_Properties>
    903                 <Model_File_Path>controllers/PIDs</Model_File_Path>
    904                 <Instance_Id>PID_PC</Instance_Id>
    905                 <Model_Name>PID</Model_Name>
    906                 <T_Connection>0</T_Connection>
    907                 <Parameters>
    908                         <Desc>PID_Select</Desc>
    909                         <Index>0</Index>
    910                         <Values>Parallel_AWBT</Values>
    911                         <Status>4</Status>
    912                 </Parameters>
    913                 <Parameters>
    914                         <Desc>Action</Desc>
    915                         <Index>0</Index>
    916                         <Values>Direct</Values>
    917                         <Status>4</Status>
    918                 </Parameters>
    919                 <Parameters>
    920                         <Desc>Mode</Desc>
    921                         <Index>0</Index>
    922                         <Values>Automatic</Values>
    923                         <Status>4</Status>
    924                 </Parameters>
    925                 <Parameters>
    926                         <Desc>Clip</Desc>
    927                         <Index>0</Index>
    928                         <Values>Clipped</Values>
    929                         <Status>4</Status>
    930                 </Parameters>
    931                 <Parameters>
    932                         <Desc>alpha</Desc>
    933                         <Index>0</Index>
    934                         <Values>1</Values>
    935                         <Status>4</Status>
    936                 </Parameters>
    937                 <Parameters>
    938                         <Desc>beta</Desc>
    939                         <Index>0</Index>
    940                         <Values>1</Values>
    941                         <Status>4</Status>
    942                 </Parameters>
    943                 <Parameters>
    944                         <Desc>bias</Desc>
    945                         <Index>0</Index>
    946                         <Values>0.5</Values>
    947                         <Status>4</Status>
    948                 </Parameters>
    949                 <Parameters>
    950                         <Desc>derivTime</Desc>
    951                         <Index>0</Index>
    952                         <Values>18</Values>
    953                         <Status>4</Status>
    954                         <Unit>s</Unit>
    955                 </Parameters>
    956                 <Parameters>
    957                         <Desc>intTime</Desc>
    958                         <Index>0</Index>
    959                         <Values>72</Values>
    960                         <Status>4</Status>
    961                         <Unit>s</Unit>
    962                 </Parameters>
    963                 <Parameters>
    964                         <Desc>gain</Desc>
    965                         <Index>0</Index>
    966                         <Values>0.9275</Values>
    967                         <Status>4</Status>
    968                 </Parameters>
    969                 <Parameters>
    970                         <Desc>gamma</Desc>
    971                         <Index>0</Index>
    972                         <Values>1</Values>
    973                         <Status>4</Status>
    974                 </Parameters>
    975                 <Parameters>
    976                         <Desc>tau</Desc>
    977                         <Index>0</Index>
    978                         <Values>1</Values>
    979                         <Status>4</Status>
    980                         <Unit>s</Unit>
    981                 </Parameters>
    982                 <Parameters>
    983                         <Desc>tauSet</Desc>
    984                         <Index>0</Index>
    985                         <Values>1</Values>
    986                         <Status>4</Status>
    987                         <Unit>s</Unit>
    988                 </Parameters>
    989                 <Parameters>
    990                         <Desc>MinInput</Desc>
    991                         <Index>0</Index>
    992                         <Values>0</Values>
    993                         <Status>4</Status>
    994                 </Parameters>
    995                 <Parameters>
    996                         <Desc>MaxInput</Desc>
    997                         <Index>0</Index>
    998                         <Values>4</Values>
    999                         <Status>4</Status>
    1000                 </Parameters>
    1001                 <Parameters>
    1002                         <Desc>MinOutput</Desc>
    1003                         <Index>0</Index>
    1004                         <Values>0</Values>
    1005                         <Status>4</Status>
    1006                 </Parameters>
    1007                 <Parameters>
    1008                         <Desc>MaxOutput</Desc>
    1009                         <Index>0</Index>
    1010                         <Values>1</Values>
    1011                         <Status>4</Status>
    1012                 </Parameters>
    1013                 <Variables>
    1014                         <Desc>Input</Desc>
    1015                         <Index>0</Index>
    1016                         <Values>0.699309</Values>
    1017                         <Status>0</Status>
    1018                 </Variables>
    1019                 <Variables>
    1020                         <Desc>Output</Desc>
    1021                         <Index>0</Index>
    1022                         <Values>0.258853</Values>
    1023                         <Status>0</Status>
    1024                 </Variables>
    1025                 <Variables>
    1026                         <Desc>SetPoint</Desc>
    1027                         <Index>0</Index>
    1028                         <Values>0.6</Values>
     436        <Label_Position>
     437                <X>619</X>
     438                <Y>114</Y>
     439        </Label_Position>
     440        <Settings>
     441                <Value>
     442                        <Path>
     443                                <Value>PID_Select</Value>
     444                        </Path>
     445                        <Unit></Unit>
     446                        <Indices>
     447                                <Value>1</Value>
     448                        </Indices>
     449                        <Value>"Parallel_AWBT"</Value>
     450                        <Status>4</Status>
     451                </Value>
     452                <Value>
     453                        <Path>
     454                                <Value>Action</Value>
     455                        </Path>
     456                        <Unit></Unit>
     457                        <Indices>
     458                                <Value>1</Value>
     459                        </Indices>
     460                        <Value>"Direct"</Value>
     461                        <Status>4</Status>
     462                </Value>
     463                <Value>
     464                        <Path>
     465                                <Value>Mode</Value>
     466                        </Path>
     467                        <Unit></Unit>
     468                        <Indices>
     469                                <Value>1</Value>
     470                        </Indices>
     471                        <Value>"Automatic"</Value>
     472                        <Status>4</Status>
     473                </Value>
     474                <Value>
     475                        <Path>
     476                                <Value>Clip</Value>
     477                        </Path>
     478                        <Unit></Unit>
     479                        <Indices>
     480                                <Value>1</Value>
     481                        </Indices>
     482                        <Value>"Clipped"</Value>
     483                        <Status>4</Status>
     484                </Value>
     485                <Value>
     486                        <Path>
     487                                <Value>alpha</Value>
     488                        </Path>
     489                        <Unit></Unit>
     490                        <Indices>
     491                                <Value>1</Value>
     492                        </Indices>
     493                        <Value>1</Value>
     494                        <Status>4</Status>
     495                </Value>
     496                <Value>
     497                        <Path>
     498                                <Value>beta</Value>
     499                        </Path>
     500                        <Unit></Unit>
     501                        <Indices>
     502                                <Value>1</Value>
     503                        </Indices>
     504                        <Value>1</Value>
     505                        <Status>4</Status>
     506                </Value>
     507                <Value>
     508                        <Path>
     509                                <Value>bias</Value>
     510                        </Path>
     511                        <Unit></Unit>
     512                        <Indices>
     513                                <Value>1</Value>
     514                        </Indices>
     515                        <Value>0.5</Value>
     516                        <Status>4</Status>
     517                </Value>
     518                <Value>
     519                        <Path>
     520                                <Value>derivTime</Value>
     521                        </Path>
     522                        <Unit>'s'</Unit>
     523                        <Indices>
     524                                <Value>1</Value>
     525                        </Indices>
     526                        <Value>18</Value>
     527                        <Status>4</Status>
     528                </Value>
     529                <Value>
     530                        <Path>
     531                                <Value>intTime</Value>
     532                        </Path>
     533                        <Unit>'s'</Unit>
     534                        <Indices>
     535                                <Value>1</Value>
     536                        </Indices>
     537                        <Value>72</Value>
     538                        <Status>4</Status>
     539                </Value>
     540                <Value>
     541                        <Path>
     542                                <Value>gain</Value>
     543                        </Path>
     544                        <Unit></Unit>
     545                        <Indices>
     546                                <Value>1</Value>
     547                        </Indices>
     548                        <Value>0.9275</Value>
     549                        <Status>4</Status>
     550                </Value>
     551                <Value>
     552                        <Path>
     553                                <Value>gamma</Value>
     554                        </Path>
     555                        <Unit></Unit>
     556                        <Indices>
     557                                <Value>1</Value>
     558                        </Indices>
     559                        <Value>1</Value>
     560                        <Status>4</Status>
     561                </Value>
     562                <Value>
     563                        <Path>
     564                                <Value>tau</Value>
     565                        </Path>
     566                        <Unit>'s'</Unit>
     567                        <Indices>
     568                                <Value>1</Value>
     569                        </Indices>
     570                        <Value>1</Value>
     571                        <Status>4</Status>
     572                </Value>
     573                <Value>
     574                        <Path>
     575                                <Value>tauSet</Value>
     576                        </Path>
     577                        <Unit>'s'</Unit>
     578                        <Indices>
     579                                <Value>1</Value>
     580                        </Indices>
     581                        <Value>1</Value>
     582                        <Status>4</Status>
     583                </Value>
     584                <Value>
     585                        <Path>
     586                                <Value>MinInput</Value>
     587                        </Path>
     588                        <Unit></Unit>
     589                        <Indices>
     590                                <Value>1</Value>
     591                        </Indices>
     592                        <Value>0</Value>
     593                        <Status>4</Status>
     594                </Value>
     595                <Value>
     596                        <Path>
     597                                <Value>MaxInput</Value>
     598                        </Path>
     599                        <Unit></Unit>
     600                        <Indices>
     601                                <Value>1</Value>
     602                        </Indices>
     603                        <Value>4</Value>
     604                        <Status>4</Status>
     605                </Value>
     606                <Value>
     607                        <Path>
     608                                <Value>MinOutput</Value>
     609                        </Path>
     610                        <Unit></Unit>
     611                        <Indices>
     612                                <Value>1</Value>
     613                        </Indices>
     614                        <Value>0</Value>
     615                        <Status>4</Status>
     616                </Value>
     617                <Value>
     618                        <Path>
     619                                <Value>MaxOutput</Value>
     620                        </Path>
     621                        <Unit></Unit>
     622                        <Indices>
     623                                <Value>1</Value>
     624                        </Indices>
     625                        <Value>1</Value>
     626                        <Status>4</Status>
     627                </Value>
     628                <Value>
     629                        <Path>
     630                                <Value>SetPoint</Value>
     631                        </Path>
     632                        <Unit></Unit>
     633                        <Indices>
     634                                <Value>1</Value>
     635                        </Indices>
     636                        <Value>0.6</Value>
    1029637                        <Status>1</Status>
    1030                 </Variables>
    1031         </Block_Properties>
     638                </Value>
     639        </Settings>
    1032640</Block>
    1033641<Block>
    1034642        <Type>simple_sink</Type>
    1035643        <Id_String>LiquidProduct</Id_String>
    1036         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/icon/Sink.png</Image_File_Name>
    1037644        <X>1000</X>
    1038645        <Y>551</Y>
     
    1040647        <Width>68</Width>
    1041648        <Height>30</Height>
    1042         <Block_Properties>
    1043                 <Model_File_Path>streams</Model_File_Path>
    1044                 <Instance_Id>LiquidProduct</Instance_Id>
    1045                 <Model_Name>simple_sink</Model_Name>
    1046                 <T_Connection>0</T_Connection>
    1047                 <Sub_Models>
    1048                         <Block_Properties>
    1049                                 <Model_File_Path>streams</Model_File_Path>
    1050                                 <Instance_Id>Inlet</Instance_Id>
    1051                                 <Model_Name>Inlet</Model_Name>
    1052                                 <T_Connection>1</T_Connection>
    1053                                 <Base_Models>
    1054                                         <Block_Properties>
    1055                                                 <Model_File_Path>streams</Model_File_Path>
    1056                                                 <Instance_Id>Inlet</Instance_Id>
    1057                                                 <Model_Name>stream</Model_Name>
    1058                                                 <T_Connection>1</T_Connection>
    1059                                                 <Parameters>
    1060                                                         <Desc>NComp</Desc>
    1061                                                         <Index>0</Index>
    1062                                                         <Values>3</Values>
    1063                                                         <Status>0</Status>
    1064                                                 </Parameters>
    1065                                                 <Variables>
    1066                                                         <Desc>F</Desc>
    1067                                                         <Index>0</Index>
    1068                                                         <Values>302.713</Values>
    1069                                                         <Status>0</Status>
    1070                                                         <Unit>kmol/h</Unit>
    1071                                                 </Variables>
    1072                                                 <Variables>
    1073                                                         <Desc>T</Desc>
    1074                                                         <Index>0</Index>
    1075                                                         <Values>320.608</Values>
    1076                                                         <Status>0</Status>
    1077                                                         <Unit>K</Unit>
    1078                                                 </Variables>
    1079                                                 <Variables>
    1080                                                         <Desc>P</Desc>
    1081                                                         <Index>0</Index>
    1082                                                         <Values>0.699309</Values>
    1083                                                         <Status>0</Status>
    1084                                                         <Unit>atm</Unit>
    1085                                                 </Variables>
    1086                                                 <Variables>
    1087                                                         <Desc>h</Desc>
    1088                                                         <Index>0</Index>
    1089                                                         <Values>-27966.8</Values>
    1090                                                         <Status>0</Status>
    1091                                                         <Unit>kJ/kmol</Unit>
    1092                                                 </Variables>
    1093                                                 <Variables>
    1094                                                         <Desc>v</Desc>
    1095                                                         <Index>0</Index>
    1096                                                         <Values>0</Values>
    1097                                                         <Status>0</Status>
    1098                                                 </Variables>
    1099                                                 <Variables>
    1100                                                         <Desc>z</Desc>
    1101                                                         <Index>0</Index>
    1102                                                         <Values>0.166765</Values>
    1103                                                         <Status>0</Status>
    1104                                                         <Index>1</Index>
    1105                                                         <Values>0.370434</Values>
    1106                                                         <Status>0</Status>
    1107                                                         <Index>2</Index>
    1108                                                         <Values>0.462801</Values>
    1109                                                         <Status>0</Status>
    1110                                                 </Variables>
    1111                                         </Block_Properties>
    1112                                 </Base_Models>
    1113                         </Block_Properties>
    1114                 </Sub_Models>
    1115         </Block_Properties>
     649        <Label_Position>
     650                <X>999</X>
     651                <Y>611</Y>
     652        </Label_Position>
     653        <Settings>
     654        </Settings>
    1116655</Block>
    1117656<Block>
    1118657        <Type>energy_source2</Type>
    1119658        <Id_String>Heat_Duty</Id_String>
    1120         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/icon/energy_source2.png</Image_File_Name>
    1121659        <X>490</X>
    1122660        <Y>371</Y>
     
    1124662        <Width>72</Width>
    1125663        <Height>40</Height>
    1126         <Block_Properties>
    1127                 <Model_File_Path>streams</Model_File_Path>
    1128                 <Instance_Id>Heat_Duty</Instance_Id>
    1129                 <Model_Name>energy_source2</Model_Name>
    1130                 <T_Connection>0</T_Connection>
    1131                 <Variables>
    1132                         <Desc>OutletQ</Desc>
    1133                         <Index>0</Index>
    1134                         <Values>0</Values>
     664        <Label_Position>
     665                <X>493</X>
     666                <Y>419</Y>
     667        </Label_Position>
     668        <Settings>
     669                <Value>
     670                        <Path>
     671                                <Value>OutletQ</Value>
     672                        </Path>
     673                        <Unit>'kW'</Unit>
     674                        <Indices>
     675                                <Value>1</Value>
     676                        </Indices>
     677                        <Value>0</Value>
    1135678                        <Status>1</Status>
    1136                         <Unit>kW</Unit>
    1137                 </Variables>
    1138         </Block_Properties>
     679                </Value>
     680        </Settings>
    1139681</Block>
    1140682<Block>
    1141683        <Type>TankVL</Type>
    1142684        <Id_String>V001</Id_String>
    1143         <Image_File_Name>/home/gerson/repositorio/alsoc/biblioteca/branches/gui/eml/stage_separators/icon/RefluxDrum.png</Image_File_Name>
    1144685        <X>261</X>
    1145686        <Y>201</Y>
     
    1147688        <Width>169.5</Width>
    1148689        <Height>96.5</Height>
    1149         <Block_Properties>
    1150                 <Model_File_Path>stage_separators/tank</Model_File_Path>
    1151                 <Instance_Id>TankVL_1</Instance_Id>
    1152                 <Model_Name>TankVL</Model_Name>
    1153                 <T_Connection>0</T_Connection>
    1154                 <Sub_Models>
    1155                         <Block_Properties>
    1156                                 <Model_File_Path>stage_separators/tank</Model_File_Path>
    1157                                 <Instance_Id>Inlet</Instance_Id>
    1158                                 <Model_Name>Inlet</Model_Name>
    1159                                 <T_Connection>1</T_Connection>
    1160                                 <Base_Models>
    1161                                         <Block_Properties>
    1162                                                 <Model_File_Path>streams</Model_File_Path>
    1163                                                 <Instance_Id>Inlet</Instance_Id>
    1164                                                 <Model_Name>stream</Model_Name>
    1165                                                 <T_Connection>1</T_Connection>
    1166                                         </Block_Properties>
    1167                                 </Base_Models>
    1168                         </Block_Properties>
    1169                 </Sub_Models>
    1170                 <Sub_Models>
    1171                         <Block_Properties>
    1172                                 <Model_File_Path>stage_separators/tank</Model_File_Path>
    1173                                 <Instance_Id>OutletLiquid</Instance_Id>
    1174                                 <Model_Name>OutletLiquid</Model_Name>
    1175                                 <T_Connection>2</T_Connection>
    1176                                 <Base_Models>
    1177                                         <Block_Properties>
    1178                                                 <Model_File_Path>streams</Model_File_Path>
    1179                                                 <Instance_Id>OutletLiquid</Instance_Id>
    1180                                                 <Model_Name>liquid_stream</Model_Name>
    1181                                                 <T_Connection>2</T_Connection>
    1182                                                 <Base_Models>
    1183                                                         <Block_Properties>
    1184                                                                 <Model_File_Path>streams</Model_File_Path>
    1185                                                                 <Instance_Id>OutletLiquid</Instance_Id>
    1186                                                                 <Model_Name>stream</Model_Name>
    1187                                                                 <T_Connection>2</T_Connection>
    1188                                                         </Block_Properties>
    1189                                                 </Base_Models>
    1190                                                 <Parameters>
    1191                                                         <Desc>PP</Desc>
    1192                                                         <Index>0</Index>
    1193                                                         <Values>PP</Values>
    1194                                                         <Status>0</Status>
    1195                                                 </Parameters>
    1196                                         </Block_Properties>
    1197                                 </Base_Models>
    1198                         </Block_Properties>
    1199                 </Sub_Models>
    1200                 <Sub_Models>
    1201                         <Block_Properties>
    1202                                 <Model_File_Path>stage_separators/tank</Model_File_Path>
    1203                                 <Instance_Id>OutletVapour</Instance_Id>
    1204                                 <Model_Name>OutletVapour</Model_Name>
    1205                                 <T_Connection>2</T_Connection>
    1206                                 <Base_Models>
    1207                                         <Block_Properties>
    1208                                                 <Model_File_Path>streams</Model_File_Path>
    1209                                                 <Instance_Id>OutletVapour</Instance_Id>
    1210                                                 <Model_Name>vapour_stream</Model_Name>
    1211                                                 <T_Connection>2</T_Connection>
    1212                                                 <Base_Models>
    1213                                                         <Block_Properties>
    1214                                                                 <Model_File_Path>streams</Model_File_Path>
    1215                                                                 <Instance_Id>OutletVapour</Instance_Id>
    1216                                                                 <Model_Name>stream</Model_Name>
    1217                                                                 <T_Connection>2</T_Connection>
    1218                                                         </Block_Properties>
    1219                                                 </Base_Models>
    1220                                                 <Parameters>
    1221                                                         <Desc>PP</Desc>
    1222                                                         <Index>0</Index>
    1223                                                         <Values>PP</Values>
    1224                                                         <Status>0</Status>
    1225                                                 </Parameters>
    1226                                         </Block_Properties>
    1227                                 </Base_Models>
    1228                         </Block_Properties>
    1229                 </Sub_Models>
    1230                 <Parameters>
    1231                         <Desc>PP</Desc>
    1232                         <Index>0</Index>
    1233                         <Values>PP</Values>
    1234                         <Status>0</Status>
    1235                 </Parameters>
    1236                 <Parameters>
    1237                         <Desc>Orientation</Desc>
    1238                         <Index>0</Index>
    1239                         <Values>horizontal</Values>
    1240                         <Status>4</Status>
    1241                 </Parameters>
    1242                 <Parameters>
    1243                         <Desc>Heads</Desc>
    1244                         <Index>0</Index>
    1245                         <Values>elliptical</Values>
    1246                         <Status>4</Status>
    1247                 </Parameters>
    1248                 <Parameters>
    1249                         <Desc>Diameter</Desc>
    1250                         <Index>0</Index>
    1251                         <Values>3.1</Values>
    1252                         <Status>4</Status>
    1253                         <Unit>m</Unit>
    1254                 </Parameters>
    1255                 <Parameters>
    1256                         <Desc>Lenght</Desc>
    1257                         <Index>0</Index>
    1258                         <Values>6</Values>
    1259                         <Status>4</Status>
    1260                         <Unit>m</Unit>
    1261                 </Parameters>
    1262                 <Parameters>
    1263                         <Desc>Levelpercent_Initial</Desc>
    1264                         <Index>0</Index>
    1265                         <Values>0.5</Values>
    1266                         <Status>4</Status>
    1267                 </Parameters>
    1268                 <Parameters>
    1269                         <Desc>Temperature_Initial</Desc>
    1270                         <Index>0</Index>
    1271                         <Values>300</Values>
    1272                         <Status>4</Status>
    1273                         <Unit>K</Unit>
    1274                 </Parameters>
    1275         </Block_Properties>
     690        <Label_Position>
     691                <X>402</X>
     692                <Y>294</Y>
     693        </Label_Position>
     694        <Settings>
     695                <Value>
     696                        <Path>
     697                                <Value>Levelpercent_Initial</Value>
     698                        </Path>
     699                        <Unit></Unit>
     700                        <Indices>
     701                                <Value>1</Value>
     702                        </Indices>
     703                        <Value>0.5</Value>
     704                        <Status>4</Status>
     705                </Value>
     706                <Value>
     707                        <Path>
     708                                <Value>Temperature_Initial</Value>
     709                        </Path>
     710                        <Unit>'K'</Unit>
     711                        <Indices>
     712                                <Value>1</Value>
     713                        </Indices>
     714                        <Value>300</Value>
     715                        <Status>4</Status>
     716                </Value>
     717                <Value>
     718                        <Path>
     719                                <Value>Geometry</Value>
     720                                <Value>Diameter</Value>
     721                        </Path>
     722                        <Unit>'m'</Unit>
     723                        <Indices>
     724                                <Value>1</Value>
     725                        </Indices>
     726                        <Value>2</Value>
     727                        <Status>4</Status>
     728                </Value>
     729                <Value>
     730                        <Path>
     731                                <Value>Geometry</Value>
     732                                <Value>Lenght</Value>
     733                        </Path>
     734                        <Unit>'m'</Unit>
     735                        <Indices>
     736                                <Value>1</Value>
     737                        </Indices>
     738                        <Value>6</Value>
     739                        <Status>4</Status>
     740                </Value>
     741                <Value>
     742                        <Path>
     743                                <Value>Geometry</Value>
     744                                <Value>Heads</Value>
     745                        </Path>
     746                        <Unit></Unit>
     747                        <Indices>
     748                                <Value>1</Value>
     749                        </Indices>
     750                        <Value>"flat"</Value>
     751                        <Status>4</Status>
     752                </Value>
     753                <Value>
     754                        <Path>
     755                                <Value>Geometry</Value>
     756                                <Value>Orientation</Value>
     757                        </Path>
     758                        <Unit></Unit>
     759                        <Indices>
     760                                <Value>1</Value>
     761                        </Indices>
     762                        <Value>"horizontal"</Value>
     763                        <Status>4</Status>
     764                </Value>
     765                <Value>
     766                        <Path>
     767                                <Value>Kfactor</Value>
     768                        </Path>
     769                        <Unit></Unit>
     770                        <Indices>
     771                                <Value>1</Value>
     772                        </Indices>
     773                        <Value>0.6</Value>
     774                        <Status>4</Status>
     775                </Value>
     776                <Value>
     777                        <Path>
     778                                <Value>Composition_Initial</Value>
     779                        </Path>
     780                        <Unit></Unit>
     781                        <Indices>
     782                                <Value>1</Value>
     783                        </Indices>
     784                        <Value>0.3</Value>
     785                        <Status>4</Status>
     786                </Value>
     787                <Value>
     788                        <Path>
     789                                <Value>Composition_Initial</Value>
     790                        </Path>
     791                        <Unit></Unit>
     792                        <Indices>
     793                                <Value>2</Value>
     794                        </Indices>
     795                        <Value>0.3</Value>
     796                        <Status>4</Status>
     797                </Value>
     798        </Settings>
    1276799</Block>
     800<Block>
     801        <Type>pump</Type>
     802        <Id_String>pump_1</Id_String>
     803        <X>148</X>
     804        <Y>109</Y>
     805        <Z>0</Z>
     806        <Width>62.4</Width>
     807        <Height>54.4</Height>
     808        <Label_Position>
     809                <X>183.052</X>
     810                <Y>237.4</Y>
     811        </Label_Position>
     812        <Settings>
     813                <Value>
     814                        <Path>
     815                                <Value>Pincrease</Value>
     816                        </Path>
     817                        <Unit>'kPa'</Unit>
     818                        <Indices>
     819                                <Value>1</Value>
     820                        </Indices>
     821                        <Value>12</Value>
     822                        <Status>1</Status>
     823                </Value>
     824        </Settings>
     825</Block>
    1277826<Line>
    1278827        <Line_Name>5</Line_Name>
    1279         <X1>783</X1>
    1280         <Y1>181.927</Y1>
    1281         <X2>1077</X2>
    1282         <Y2>280.924</Y2>
     828        <X1>777</X1>
     829        <Y1>175.927</Y1>
     830        <X2>1071</X2>
     831        <Y2>274.924</Y2>
    1283832        <Block_Source>valve_Vapour</Block_Source>
    1284833        <Port_Source>Outlet</Port_Source>
     
    1288837<Line>
    1289838        <Line_Name>6</Line_Name>
    1290         <X1>705.7</X1>
    1291         <Y1>337</Y1>
    1292         <X2>571.769</X2>
    1293         <Y2>591</Y2>
     839        <X1>699.7</X1>
     840        <Y1>331</Y1>
     841        <X2>566.769</X2>
     842        <Y2>585</Y2>
    1294843        <Block_Source>PID_LC</Block_Source>
    1295844        <Port_Source>Output</Port_Source>
     
    1299848<Line>
    1300849        <Line_Name>9</Line_Name>
    1301         <X1>642.56</X1>
    1302         <Y1>71</Y1>
    1303         <X2>745</X2>
    1304         <Y2>137</Y2>
     850        <X1>636.56</X1>
     851        <Y1>65</Y1>
     852        <X2>739</X2>
     853        <Y2>131</Y2>
    1305854        <Block_Source>PID_PC</Block_Source>
    1306855        <Port_Source>Output</Port_Source>
     
    1310859<Line>
    1311860        <Line_Name>10</Line_Name>
    1312         <X1>617.538</X1>
    1313         <Y1>629.525</Y1>
    1314         <X2>1000</X2>
    1315         <Y2>566.924</Y2>
     861        <X1>612.538</X1>
     862        <Y1>623.525</Y1>
     863        <X2>994</X2>
     864        <Y2>560.924</Y2>
    1316865        <Block_Source>valve_liquid</Block_Source>
    1317866        <Port_Source>Outlet</Port_Source>
     
    1320869</Line>
    1321870<Line>
    1322         <Line_Name>1</Line_Name>
    1323         <X1>102</X1>
    1324         <Y1>74.768</Y1>
    1325         <X2>298.29</X2>
    1326         <Y2>201</Y2>
    1327         <Block_Source>Feed</Block_Source>
    1328         <Port_Source>Outlet</Port_Source>
    1329         <Block_Target>V001</Block_Target>
    1330         <Port_Target>Inlet</Port_Target>
    1331 </Line>
    1332 <Line>
    1333871        <Line_Name>2</Line_Name>
    1334         <X1>376.26</X1>
    1335         <Y1>201</Y1>
    1336         <X2>710</X2>
    1337         <Y2>181</Y2>
     872        <X1>370.26</X1>
     873        <Y1>195</Y1>
     874        <X2>701</X2>
     875        <Y2>175.927</Y2>
    1338876        <Block_Source>V001</Block_Source>
    1339877        <Port_Source>OutletVapour</Port_Source>
     
    1343881<Line>
    1344882        <Line_Name>3</Line_Name>
    1345         <X1>323.376</X1>
    1346         <Y1>201</Y1>
    1347         <X2>613</X2>
    1348         <Y2>46</Y2>
     883        <X1>317.376</X1>
     884        <Y1>195</Y1>
     885        <X2>602</X2>
     886        <Y2>38.5</Y2>
    1349887        <Block_Source>V001</Block_Source>
    1350888        <Port_Source>PI</Port_Source>
     
    1354892<Line>
    1355893        <Line_Name>4</Line_Name>
    1356         <X1>430.5</X1>
    1357         <Y1>258.9</Y1>
    1358         <X2>680</X2>
    1359         <Y2>308</Y2>
     894        <X1>424.5</X1>
     895        <Y1>252.9</Y1>
     896        <X2>670</X2>
     897        <Y2>304</Y2>
    1360898        <Block_Source>V001</Block_Source>
    1361899        <Port_Source>LI</Port_Source>
     
    1365903<Line>
    1366904        <Line_Name>7</Line_Name>
    1367         <X1>490</X1>
    1368         <Y1>387</Y1>
    1369         <X2>388</X2>
    1370         <Y2>296</Y2>
     905        <X1>484</X1>
     906        <Y1>381</Y1>
     907        <X2>379.582</X2>
     908        <Y2>291.5</Y2>
    1371909        <Block_Source>Heat_Duty</Block_Source>
    1372910        <Port_Source>OutletQ</Port_Source>
     
    1376914<Line>
    1377915        <Line_Name>8</Line_Name>
    1378         <X1>333.885</X1>
    1379         <Y1>297.5</Y1>
    1380         <X2>527</X2>
    1381         <Y2>630</Y2>
     916        <X1>327.885</X1>
     917        <Y1>291.5</Y1>
     918        <X2>521</X2>
     919        <Y2>623.525</Y2>
    1382920        <Block_Source>V001</Block_Source>
    1383921        <Port_Source>OutletLiquid</Port_Source>
     
    1385923        <Port_Target>Inlet</Port_Target>
    1386924</Line>
     925<Line>
     926        <Line_Name>S001</Line_Name>
     927        <X1>80</X1>
     928        <Y1>39.768</Y1>
     929        <X2>142</X2>
     930        <Y2>128.715</Y2>
     931        <Block_Source>Feed</Block_Source>
     932        <Port_Source>Outlet</Port_Source>
     933        <Block_Target>pump_1</Block_Target>
     934        <Port_Target>Inlet</Port_Target>
     935</Line>
     936<Line>
     937        <Line_Name>S002</Line_Name>
     938        <X1>204.4</X1>
     939        <Y1>113.113</Y1>
     940        <X2>292.29</X2>
     941        <Y2>195</Y2>
     942        <Block_Source>pump_1</Block_Source>
     943        <Port_Source>Outlet</Port_Source>
     944        <Block_Target>V001</Block_Target>
     945        <Port_Target>Inlet</Port_Target>
     946</Line>
    1387947</Diagram>
  • branches/gui/sample/stage_separators/Section_Column_Three_Inputs.pfd

    r819 r905  
    2121        <NLASolver_Relative_Accuracy>1e-2</NLASolver_Relative_Accuracy>
    2222        <DAESolver_File_Index>0</DAESolver_File_Index>
    23         <DAESolver_File_Text>sundials</DAESolver_File_Text>
     23        <DAESolver_File_Text>dassl</DAESolver_File_Text>
    2424        <DAESolver_Relative_Accuracy>1e-2</DAESolver_Relative_Accuracy>
    2525        <DAESolver_Absolute_Accuracy>1e-6</DAESolver_Absolute_Accuracy>
     
    2828<Width>2000</Width>
    2929<Height>1000</Height>
    30 <Grid_Spacing>20</Grid_Spacing>
    3130<View>
    3231        <Zoom_Level>1</Zoom_Level>
    33         <Show_Grid>1</Show_Grid>
    34         <Snap_to_Grid>1</Snap_to_Grid>
    35         <Width>919</Width>
    36         <Height>422</Height>
     32        <Width>1043</Width>
     33        <Height>498</Height>
    3734        <X>0</X>
    3835        <Y>0</Y>
     
    4037<View>
    4138        <Zoom_Level>1</Zoom_Level>
    42         <Show_Grid>1</Show_Grid>
    43         <Snap_to_Grid>1</Snap_to_Grid>
    44         <Width>919</Width>
     39        <Width>1043</Width>
    4540        <Height>0</Height>
    4641        <X>0</X>
     
    5045        <Type>simple_source</Type>
    5146        <Id_String>feed1</Id_String>
    52         <Image_File_Name>/home/bicca/Documentos/repositorio/alsoc/biblioteca/branches/gui/eml/icon/Source.png</Image_File_Name>
    5347        <X>22</X>
    5448        <Y>349</Y>
     
    5650        <Width>68</Width>
    5751        <Height>30</Height>
    58         <Block_Properties>
    59                 <Model_File_Path>streams</Model_File_Path>
    60                 <Instance_Id>feed1</Instance_Id>
    61                 <Model_Name>simple_source</Model_Name>
    62                 <T_Connection>0</T_Connection>
    63                 <Sub_Models>
    64                         <Block_Properties>
    65                                 <Model_File_Path>streams</Model_File_Path>
    66                                 <Instance_Id>Outlet</Instance_Id>
    67                                 <Model_Name>Outlet</Model_Name>
    68                                 <T_Connection>2</T_Connection>
    69                                 <Base_Models>
    70                                         <Block_Properties>
    71                                                 <Model_File_Path>streams</Model_File_Path>
    72                                                 <Instance_Id>Outlet</Instance_Id>
    73                                                 <Model_Name>stream</Model_Name>
    74                                                 <T_Connection>2</T_Connection>
    75                                                 <Parameters>
    76                                                         <Desc>NComp</Desc>
    77                                                         <Index>0</Index>
    78                                                         <Values>2</Values>
    79                                                         <Status>0</Status>
    80                                                 </Parameters>
    81                                                 <Variables>
    82                                                         <Desc>F</Desc>
    83                                                         <Index>0</Index>
    84                                                         <Values>612.4</Values>
    85                                                         <Status>0</Status>
    86                                                         <Unit>kmol/h</Unit>
    87                                                 </Variables>
    88                                                 <Variables>
    89                                                         <Desc>T</Desc>
    90                                                         <Index>0</Index>
    91                                                         <Values>323.15</Values>
    92                                                         <Status>0</Status>
    93                                                         <Unit>K</Unit>
    94                                                 </Variables>
    95                                                 <Variables>
    96                                                         <Desc>P</Desc>
    97                                                         <Index>0</Index>
    98                                                         <Values>20.4096</Values>
    99                                                         <Status>0</Status>
    100                                                         <Unit>atm</Unit>
    101                                                 </Variables>
    102                                                 <Variables>
    103                                                         <Desc>h</Desc>
    104                                                         <Index>0</Index>
    105                                                         <Values>-12826.4</Values>
    106                                                         <Status>0</Status>
    107                                                         <Unit>kJ/kmol</Unit>
    108                                                 </Variables>
    109                                                 <Variables>
    110                                                         <Desc>v</Desc>
    111                                                         <Index>0</Index>
    112                                                         <Values>0</Values>
    113                                                         <Status>0</Status>
    114                                                 </Variables>
    115                                                 <Variables>
    116                                                         <Desc>z</Desc>
    117                                                         <Index>0</Index>
    118                                                         <Values>0.4</Values>
    119                                                         <Status>0</Status>
    120                                                         <Index>1</Index>
    121                                                         <Values>0.6</Values>
    122                                                         <Status>0</Status>
    123                                                 </Variables>
    124                                         </Block_Properties>
    125                                 </Base_Models>
    126                         </Block_Properties>
    127                 </Sub_Models>
    128                 <Parameters>
    129                         <Desc>PP</Desc>
    130                         <Index>0</Index>
    131                         <Values>PP</Values>
    132                         <Status>0</Status>
    133                 </Parameters>
    134                 <Parameters>
    135                         <Desc>NComp</Desc>
    136                         <Index>0</Index>
    137                         <Values>2</Values>
    138                         <Status>0</Status>
    139                 </Parameters>
    140                 <Parameters>
    141                         <Desc>M</Desc>
    142                         <Index>0</Index>
    143                         <Values>42.0804</Values>
    144                         <Status>0</Status>
    145                         <Unit>kg/kmol</Unit>
    146                         <Index>1</Index>
    147                         <Values>44.0962</Values>
    148                         <Status>0</Status>
    149                         <Unit>kg/kmol</Unit>
    150                 </Parameters>
    151                 <Parameters>
    152                         <Desc>ValidPhases</Desc>
    153                         <Index>0</Index>
    154                         <Values>Vapour-Liquid</Values>
    155                         <Status>4</Status>
    156                 </Parameters>
    157                 <Variables>
    158                         <Desc>MolarComposition</Desc>
    159                         <Index>0</Index>
    160                         <Values>0.4</Values>
    161                         <Status>1</Status>
    162                         <Index>1</Index>
    163                         <Values>0.6</Values>
    164                         <Status>1</Status>
    165                 </Variables>
    166                 <Variables>
    167                         <Desc>SumOfComposition</Desc>
    168                         <Index>0</Index>
    169                         <Values>1</Values>
    170                         <Status>0</Status>
    171                 </Variables>
    172                 <Variables>
    173                         <Desc>F</Desc>
    174                         <Index>0</Index>
    175                         <Values>612.4</Values>
    176                         <Status>1</Status>
    177                         <Unit>kmol/h</Unit>
    178                 </Variables>
    179                 <Variables>
    180                         <Desc>T</Desc>
    181                         <Index>0</Index>
    182                         <Values>323.15</Values>
    183                         <Status>0</Status>
    184                         <Unit>K</Unit>
    185                 </Variables>
    186                 <Variables>
    187                         <Desc>T_Cdeg</Desc>
    188                         <Index>0</Index>
    189                         <Values>50</Values>
    190                         <Status>1</Status>
    191                         <Unit>K</Unit>
    192                 </Variables>
    193                 <Variables>
    194                         <Desc>P</Desc>
    195                         <Index>0</Index>
    196                         <Values>2068</Values>
    197                         <Status>1</Status>
    198                         <Unit>kPa</Unit>
    199                 </Variables>
    200         </Block_Properties>
     52        <Label_Position>
     53                <X>48.2031</X>
     54                <Y>407.3</Y>
     55        </Label_Position>
     56        <Settings>
     57                <Value>
     58                        <Path>
     59                                <Value>ValidPhases</Value>
     60                        </Path>
     61                        <Unit></Unit>
     62                        <Indices>
     63                                <Value>1</Value>
     64                        </Indices>
     65                        <Value>"Vapour-Liquid"</Value>
     66                        <Status>4</Status>
     67                </Value>
     68                <Value>
     69                        <Path>
     70                                <Value>MolarComposition</Value>
     71                        </Path>
     72                        <Unit></Unit>
     73                        <Indices>
     74                                <Value>1</Value>
     75                        </Indices>
     76                        <Value>0.4</Value>
     77                        <Status>1</Status>
     78                </Value>
     79                <Value>
     80                        <Path>
     81                                <Value>MolarComposition</Value>
     82                        </Path>
     83                        <Unit></Unit>
     84                        <Indices>
     85                                <Value>2</Value>
     86                        </Indices>
     87                        <Value>0.6</Value>
     88                        <Status>1</Status>
     89                </Value>
     90                <Value>
     91                        <Path>
     92                                <Value>F</Value>
     93                        </Path>
     94                        <Unit>'kmol/h'</Unit>
     95                        <Indices>
     96                                <Value>1</Value>
     97                        </Indices>
     98                        <Value>612.4</Value>
     99                        <Status>1</Status>
     100                </Value>
     101                <Value>
     102                        <Path>
     103                                <Value>T_Cdeg</Value>
     104                        </Path>
     105                        <Unit>'K'</Unit>
     106                        <Indices>
     107                                <Value>1</Value>
     108                        </Indices>
     109                        <Value>50</Value>
     110                        <Status>1</Status>
     111                </Value>
     112                <Value>
     113                        <Path>
     114                                <Value>P</Value>
     115                        </Path>
     116                        <Unit>'kPa'</Unit>
     117                        <Indices>
     118                                <Value>1</Value>
     119                        </Indices>
     120                        <Value>2068</Value>
     121                        <Status>1</Status>
     122                </Value>
     123        </Settings>
    201124</Block>
    202125<Block>
    203126        <Type>simple_sink</Type>
    204127        <Id_String>LiquidOut</Id_String>
    205         <Image_File_Name>/home/bicca/Documentos/repositorio/alsoc/biblioteca/branches/gui/eml/icon/Sink.png</Image_File_Name>
    206128        <X>1168</X>
    207129        <Y>781</Y>
     
    209131        <Width>68</Width>
    210132        <Height>30</Height>
    211         <Block_Properties>
    212                 <Model_File_Path>streams</Model_File_Path>
    213                 <Instance_Id>LiquidOut</Instance_Id>
    214                 <Model_Name>simple_sink</Model_Name>
    215                 <T_Connection>0</T_Connection>
    216                 <Sub_Models>
    217                         <Block_Properties>
    218                                 <Model_File_Path>streams</Model_File_Path>
    219                                 <Instance_Id>Inlet</Instance_Id>
    220                                 <Model_Name>Inlet</Model_Name>
    221                                 <T_Connection>1</T_Connection>
    222                                 <Base_Models>
    223                                         <Block_Properties>
    224                                                 <Model_File_Path>streams</Model_File_Path>
    225                                                 <Instance_Id>Inlet</Instance_Id>
    226                                                 <Model_Name>stream</Model_Name>
    227                                                 <T_Connection>1</T_Connection>
    228                                                 <Parameters>
    229                                                         <Desc>NComp</Desc>
    230                                                         <Index>0</Index>
    231                                                         <Values>2</Values>
    232                                                         <Status>0</Status>
    233                                                 </Parameters>
    234                                                 <Variables>
    235                                                         <Desc>F</Desc>
    236                                                         <Index>0</Index>
    237                                                         <Values>591.664</Values>
    238                                                         <Status>0</Status>
    239                                                         <Unit>kmol/h</Unit>
    240                                                 </Variables>
    241                                                 <Variables>
    242                                                         <Desc>T</Desc>
    243                                                         <Index>0</Index>
    244                                                         <Values>328.864</Values>
    245                                                         <Status>0</Status>
    246                                                         <Unit>K</Unit>
    247                                                 </Variables>
    248                                                 <Variables>
    249                                                         <Desc>P</Desc>
    250                                                         <Index>0</Index>
    251                                                         <Values>20.6289</Values>
    252                                                         <Status>0</Status>
    253                                                         <Unit>atm</Unit>
    254                                                 </Variables>
    255                                                 <Variables>
    256                                                         <Desc>h</Desc>
    257                                                         <Index>0</Index>
    258                                                         <Values>-11977.1</Values>
    259                                                         <Status>0</Status>
    260                                                         <Unit>kJ/kmol</Unit>
    261                                                 </Variables>
    262                                                 <Variables>
    263                                                         <Desc>v</Desc>
    264                                                         <Index>0</Index>
    265                                                         <Values>0</Values>
    266                                                         <Status>0</Status>
    267                                                 </Variables>
    268                                                 <Variables>
    269                                                         <Desc>z</Desc>
    270                                                         <Index>0</Index>
    271                                                         <Values>0.39609</Values>
    272                                                         <Status>0</Status>
    273                                                         <Index>1</Index>
    274                                                         <Values>0.60391</Values>
    275                                                         <Status>0</Status>
    276                                                 </Variables>
    277                                         </Block_Properties>
    278                                 </Base_Models>
    279                         </Block_Properties>
    280                 </Sub_Models>
    281         </Block_Properties>
     133        <Label_Position>
     134                <X>1180.46</X>
     135                <Y>841.091</Y>
     136        </Label_Position>
     137        <Settings>
     138        </Settings>
    282139</Block>
    283140<Block>
    284141        <Type>PID</Type>
    285142        <Id_String>PIDT_condenser</Id_String>
    286         <Image_File_Name>/home/bicca/Documentos/repositorio/alsoc/biblioteca/branches/gui/eml/controllers/icon/PID.png</Image_File_Name>
    287143        <X>741</X>
    288144        <Y>138</Y>
     
    290146        <Width>65</Width>
    291147        <Height>70</Height>
    292         <Block_Properties>
    293                 <Model_File_Path>controllers/PIDs</Model_File_Path>
    294                 <Instance_Id>PIDT_condenser</Instance_Id>
    295                 <Model_Name>PID</Model_Name>
    296                 <T_Connection>0</T_Connection>
    297                 <Parameters>
    298                         <Desc>PID_Select</Desc>
    299                         <Index>0</Index>
    300                         <Values>Ideal_AW</Values>
    301                         <Status>4</Status>
    302                 </Parameters>
    303                 <Parameters>
    304                         <Desc>Action</Desc>
    305                         <Index>0</Index>
    306                         <Values>Reverse</Values>
    307                         <Status>4</Status>
    308                 </Parameters>
    309                 <Parameters>
    310                         <Desc>Mode</Desc>
    311                         <Index>0</Index>
    312                         <Values>Automatic</Values>
    313                         <Status>4</Status>
    314                 </Parameters>
    315                 <Parameters>
    316                         <Desc>Clip</Desc>
    317                         <Index>0</Index>
    318                         <Values>Clipped</Values>
    319                         <Status>4</Status>
    320                 </Parameters>
    321                 <Parameters>
    322                         <Desc>alpha</Desc>
    323                         <Index>0</Index>
    324                         <Values>0.2</Values>
    325                         <Status>4</Status>
    326                 </Parameters>
    327                 <Parameters>
    328                         <Desc>beta</Desc>
    329                         <Index>0</Index>
    330                         <Values>1</Values>
    331                         <Status>4</Status>
    332                 </Parameters>
    333                 <Parameters>
    334                         <Desc>bias</Desc>
    335                         <Index>0</Index>
    336                         <Values>0.5</Values>
    337                         <Status>4</Status>
    338                 </Parameters>
    339                 <Parameters>
    340                         <Desc>derivTime</Desc>
    341                         <Index>0</Index>
    342                         <Values>10</Values>
    343                         <Status>4</Status>
    344                         <Unit>s</Unit>
    345                 </Parameters>
    346                 <Parameters>
    347                         <Desc>intTime</Desc>
    348                         <Index>0</Index>
    349                         <Values>100</Values>
    350                         <Status>4</Status>
    351                         <Unit>s</Unit>
    352                 </Parameters>
    353                 <Parameters>
    354                         <Desc>gain</Desc>
    355                         <Index>0</Index>
    356                         <Values>5</Values>
    357                         <Status>4</Status>
    358                 </Parameters>
    359                 <Parameters>
    360                         <Desc>gamma</Desc>
    361                         <Index>0</Index>
    362                         <Values>1</Values>
    363                         <Status>4</Status>
    364                 </Parameters>
    365                 <Parameters>
    366                         <Desc>tau</Desc>
    367                         <Index>0</Index>
    368                         <Values>1</Values>
    369                         <Status>4</Status>
    370                         <Unit>s</Unit>
    371                 </Parameters>
    372                 <Parameters>
    373                         <Desc>tauSet</Desc>
    374                         <Index>0</Index>
    375                         <Values>1</Values>
    376                         <Status>4</Status>
    377                         <Unit>s</Unit>
    378                 </Parameters>
    379                 <Parameters>
    380                         <Desc>MinInput</Desc>
    381                         <Index>0</Index>
    382                         <Values>250</Values>
    383                         <Status>4</Status>
    384                 </Parameters>
    385                 <Parameters>
    386                         <Desc>MaxInput</Desc>
    387                         <Index>0</Index>
    388                         <Values>380</Values>
    389                         <Status>4</Status>
    390                 </Parameters>
    391                 <Parameters>
    392                         <Desc>MinOutput</Desc>
    393                         <Index>0</Index>
    394                         <Values>0</Values>
    395                         <Status>4</Status>
    396                 </Parameters>
    397                 <Parameters>
    398                         <Desc>MaxOutput</Desc>
    399                         <Index>0</Index>
    400                         <Values>1</Values>
    401                         <Status>4</Status>
    402                 </Parameters>
    403                 <Variables>
    404                         <Desc>Input</Desc>
    405                         <Index>0</Index>
    406                         <Values>327.486</Values>
    407                         <Status>0</Status>
    408                 </Variables>
    409                 <Variables>
    410                         <Desc>Output</Desc>
    411                         <Index>0</Index>
    412                         <Values>0</Values>
    413                         <Status>0</Status>
    414                 </Variables>
    415                 <Variables>
    416                         <Desc>SetPoint</Desc>
    417                         <Index>0</Index>
    418                         <Values>(273+45)</Values>
    419                         <Status>1</Status>
    420                 </Variables>
    421         </Block_Properties>
     148        <Label_Position>
     149                <X>723.73</X>
     150                <Y>234.2</Y>
     151        </Label_Position>
     152        <Settings>
     153                <Value>
     154                        <Path>
     155                                <Value>PID_Select</Value>
     156                        </Path>
     157                        <Unit></Unit>
     158                        <Indices>
     159                                <Value>1</Value>
     160                        </Indices>
     161                        <Value>"Ideal_AW"</Value>
     162                        <Status>4</Status>
     163                </Value>
     164                <Value>
     165                        <Path>
     166                                <Value>Action</Value>
     167                        </Path>
     168                        <Unit></Unit>
     169                        <Indices>
     170                                <Value>1</Value>
     171                        </Indices>
     172                        <Value>"Reverse"</Value>
     173                        <Status>4</Status>
     174                </Value>
     175                <Value>
     176                        <Path>
     177                                <Value>Mode</Value>
     178                        </Path>
     179                        <Unit></Unit>
     180                        <Indices>
     181                                <Value>1</Value>
     182                        </Indices>
     183                        <Value>"Automatic"</Value>
     184                        <Status>4</Status>
     185                </Value>
     186                <Value>
     187                        <Path>
     188                                <Value>Clip</Value>
     189                        </Path>
     190                        <Unit></Unit>
     191                        <Indices>
     192                                <Value>1</Value>
     193                        </Indices>
     194                        <Value>"Clipped"</Value>
     195                        <Status>4</Status>
     196                </Value>
     197                <Value>
     198                        <Path>
     199                                <Value>alpha</Value>
     200                        </Path>
     201                        <Unit></Unit>
     202                        <Indices>
     203                                <Value>1</Value>
     204                        </Indices>
     205                        <Value>0.2</Value>
     206                        <Status>4</Status>
     207                </Value>
     208                <Value>
     209                        <Path>
     210                                <Value>beta</Value>
     211                        </Path>
     212                        <Unit></Unit>
     213                        <Indices>
     214                                <Value>1</Value>
     215                        </Indices>
     216                        <Value>1</Value>
     217                        <Status>4</Status>
     218                </Value>
     219                <Value>
     220                        <Path>
     221                                <Value>bias</Value>
     222                        </Path>
     223                        <Unit></Unit>
     224                        <Indices>
     225                                <Value>1</Value>
     226                        </Indices>
     227                        <Value>0.5</Value>
     228                        <Status>4</Status>
     229                </Value>
     230                <Value>
     231                        <Path>
     232                                <Value>derivTime</Value>
     233                        </Path>
     234                        <Unit>'s'</Unit>
     235                        <Indices>
     236                                <Value>1</Value>
     237                        </Indices>
     238                        <Value>10</Value>
     239                        <Status>4</Status>
     240                </Value>
     241                <Value>
     242                        <Path>
     243                                <Value>intTime</Value>
     244                        </Path>
     245                        <Unit>'s'</Unit>
     246                        <Indices>
     247                                <Value>1</Value>
     248                        </Indices>
     249                        <Value>100</Value>
     250                        <Status>4</Status>
     251                </Value>
     252                <Value>
     253                        <Path>
     254                                <Value>gain</Value>
     255                        </Path>
     256                        <Unit></Unit>
     257                        <Indices>
     258                                <Value>1</Value>
     259                        </Indices>
     260                        <Value>5</Value>
     261                        <Status>4</Status>
     262                </Value>
     263                <Value>
     264                        <Path>
     265                                <Value>gamma</Value>
     266                        </Path>
     267                        <Unit></Unit>
     268                        <Indices>
     269                                <Value>1</Value>
     270                        </Indices>
     271                        <Value>1</Value>
     272                        <Status>4</Status>
     273                </Value>
     274                <Value>
     275                        <Path>
     276                                <Value>tau</Value>
     277                        </Path>
     278                        <Unit>'s'</Unit>
     279                        <Indices>
     280                                <Value>1</Value>
     281                        </Indices>
     282                        <Value>1</Value>
     283                        <Status>4</Status>
     284                </Value>
     285                <Value>
     286                        <Path>
     287                                <Value>tauSet</Value>
     288                        </Path>
     289                        <Unit>'s'</Unit>
     290                        <Indices>
     291                                <Value>1</Value>
     292                        </Indices>
     293                        <Value>1</Value>
     294                        <Status>4</Status>
     295                </Value>
     296                <Value>
     297                        <Path>
     298                                <Value>MinInput</Value>
     299                        </Path>
     300                        <Unit></Unit>
     301                        <Indices>
     302                                <Value>1</Value>
     303                        </Indices>
     304                        <Value>250</Value>
     305                        <Status>4</Status>
     306                </Value>
     307                <Value>
     308                        <Path>
     309                                <Value>MaxInput</Value>
     310                        </Path>
     311                        <Unit></Unit>
     312                        <Indices>
     313                                <Value>1</Value>
     314                        </Indices>
     315                        <Value>380</Value>
     316                        <Status>4</Status>
     317                </Value>
     318                <Value>
     319                        <Path>
     320                                <Value>MinOutput</Value>
     321                        </Path>
     322                        <Unit></Unit>
     323                        <Indices>
     324                                <Value>1</Value>
     325                        </Indices>
     326                        <Value>0</Value>
     327                        <Status>4</Status>
     328                </Value>
     329                <Value>
     330                        <Path>
     331                                <Value>MaxOutput</Value>
     332                        </Path>
     333                        <Unit></Unit>
     334                        <Indices>
     335                                <Value>1</Value>
     336                        </Indices>
     337                        <Value>1</Value>
     338                        <Status>4</Status>
     339                </Value>
     340                <Value>
     341                        <Path>
     342                                <Value>SetPoint</Value>
     343                        </Path>
     344                        <Unit></Unit>
     345                        <Indices>
     346                                <Value>1</Value>
     347                        </Indices>
     348                        <Value>(273+45)</Value>
     349                        <Status>1</Status>
     350                </Value>
     351        </Settings>
    422352</Block>
    423353<Block>
    424354        <Type>PID</Type>
    425355        <Id_String>PIDT_reboiler</Id_String>
    426         <Image_File_Name>/home/bicca/Documentos/repositorio/alsoc/biblioteca/branches/gui/eml/controllers/icon/PID.png</Image_File_Name>
    427356        <X>631</X>
    428357        <Y>629</Y>
     
    430359        <Width>65</Width>
    431360        <Height>70</Height>
    432         <Block_Properties>
    433                 <Model_File_Path>controllers/PIDs</Model_File_Path>
    434                 <Instance_Id>PIDT_reboiler</Instance_Id>
    435                 <Model_Name>PID</Model_Name>
    436                 <T_Connection>0</T_Connection>
    437                 <Parameters>
    438                         <Desc>PID_Select</Desc>
    439                         <Index>0</Index>
    440                         <Values>Ideal_AW</Values>
    441                         <Status>4</Status>
    442                 </Parameters>
    443                 <Parameters>
    444                         <Desc>Action</Desc>
    445                         <Index>0</Index>
    446                         <Values>Reverse</Values>
    447                         <Status>4</Status>
    448                 </Parameters>
    449                 <Parameters>
    450                         <Desc>Mode</Desc>
    451                         <Index>0</Index>
    452                         <Values>Automatic</Values>
    453                         <Status>4</Status>
    454                 </Parameters>
    455                 <Parameters>
    456                         <Desc>Clip</Desc>
    457                         <Index>0</Index>
    458                         <Values>Clipped</Values>
    459                         <Status>4</Status>
    460                 </Parameters>
    461                 <Parameters>
    462                         <Desc>alpha</Desc>
    463                         <Index>0</Index>
    464                         <Values>0.2</Values>
    465                         <Status>4</Status>
    466                 </Parameters>
    467                 <Parameters>
    468                         <Desc>beta</Desc>
    469                         <Index>0</Index>
    470                         <Values>1</Values>
    471                         <Status>4</Status>
    472                 </Parameters>
    473                 <Parameters>
    474                         <Desc>bias</Desc>
    475                         <Index>0</Index>
    476                         <Values>0.2</Values>
    477                         <Status>4</Status>
    478                 </Parameters>
    479                 <Parameters>
    480                         <Desc>derivTime</Desc>
    481                         <Index>0</Index>
    482                         <Values>1</Values>
    483                         <Status>4</Status>
    484                         <Unit>s</Unit>
    485                 </Parameters>
    486                 <Parameters>
    487                         <Desc>intTime</Desc>
    488                         <Index>0</Index>
    489                         <Values>10</Values>
    490                         <Status>4</Status>
    491                         <Unit>s</Unit>
    492                 </Parameters>
    493                 <Parameters>
    494                         <Desc>gain</Desc>
    495                         <Index>0</Index>
    496                         <Values>3</Values>
    497                         <Status>4</Status>
    498                 </Parameters>
    499                 <Parameters>
    500                         <Desc>gamma</Desc>
    501                         <Index>0</Index>
    502                         <Values>1</Values>
    503                         <Status>4</Status>
    504                 </Parameters>
    505                 <Parameters>
    506                         <Desc>tau</Desc>
    507                         <Index>0</Index>
    508                         <Values>1</Values>
    509                         <Status>4</Status>
    510                         <Unit>s</Unit>
    511                 </Parameters>
    512                 <Parameters>
    513                         <Desc>tauSet</Desc>
    514                         <Index>0</Index>
    515                         <Values>1</Values>
    516                         <Status>4</Status>
    517                         <Unit>s</Unit>
    518                 </Parameters>
    519                 <Parameters>
    520                         <Desc>MinInput</Desc>
    521                         <Index>0</Index>
    522                         <Values>200</Values>
    523                         <Status>4</Status>
    524                 </Parameters>
    525                 <Parameters>
    526                         <Desc>MaxInput</Desc>
    527                         <Index>0</Index>
    528                         <Values>400</Values>
    529                         <Status>4</Status>
    530                 </Parameters>
    531                 <Parameters>
    532                         <Desc>MinOutput</Desc>
    533                         <Index>0</Index>
    534                         <Values>0</Values>
    535                         <Status>4</Status>
    536                 </Parameters>
    537                 <Parameters>
    538                         <Desc>MaxOutput</Desc>
    539                         <Index>0</Index>
    540                     &