Ignore:
Timestamp:
Aug 26, 2006, 5:15:39 PM (17 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Updated the model templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mso/template/flowsheet.mso

    r1 r14  
    1 #* EMSO template file for new flowsheets.
    2 *
    3 * The user should edit the contents of this file in order
    4 * to develop a new flowsheet.
    5 *
    6 * $ID$
    7 *#
     1#*
     2 * EMSO template file for new flowsheets.
     3 *
     4 * The user should edit the contents of this file in order
     5 * to develop a new flowsheet.
     6 *
     7 * $Id$
     8 *#
    89
    9 #* The using command makes available entities declared in another files.
    10 *
    11 * With this command the user can make use of the EML models
    12 *#
     10#*
     11 * The using command makes available entities declared in another files.
     12 *
     13 * With this command the user can make use of the EML models
     14 *#
    1315using "stage_separators/flash";
    1416
    1517#*
    16 * A new flowsheet is declared with the FlowSheet keyword and a name.
    17 * A flowhseet can have several sections presented above:
    18 *#
     18 * A new flowsheet is declared with the FlowSheet keyword and a name.
     19 * A flowhseet can have several sections presented above:
     20 *#
    1921FlowSheet MyFlowSheet
    2022        #*
    21         * In the PARAMETERS section we can define the constants of the
    22         * FlowSheet. When the model requires thermodynamic calculations
    23         * we should create an special parameter called PP and select
    24         * the model and components of the mixture, as follows:
    25         *#
     23         * In the PARAMETERS section we can define the constants of the
     24         * FlowSheet. When the model requires thermodynamic calculations
     25         * we should create an special parameter called PP and select
     26         * the model and components of the mixture, as follows:
     27         *#
    2628        PARAMETERS
    2729        PP      as CalcObject(Brief="Physical Properties", File="vrpp");
     
    3436       
    3537        #*
    36         * In the DEVICES section the components of the process are declared.
    37         * Each device is based in a previously defined mathematical model, coming
    38         * from the EML or developed by the user.
    39         *#
     38         * In the DEVICES section the components of the process are declared.
     39         * Each device is based in a previously defined mathematical model, coming
     40         * from the EML or developed by the user.
     41         *#
    4042        DEVICES
    4143        STR101   as stream_therm;
     
    4345
    4446        #*
    45         * Once the devices of the process were declared we can connect them
    46         * in the CONNECTIONS section
    47         *#
     47         * Once the devices of the process were declared we can connect them
     48         * in the CONNECTIONS section
     49         *#
    4850        CONNECTIONS
    4951        STR101     to   FLASH101.Feed;
    5052
    5153        #*
    52         * In order to simulate the process the user should specify some variables
    53         *#
     54         * In order to simulate the process the user should specify some variables
     55         *#
    5456        SPECIFY
    5557        STR101.F = 496.3 * "kmol/h";
     
    6365
    6466        #*
    65         * We can adjust the parameters of the devices in any point after
    66         * its declaration.
    67         *#
     67         * We can adjust the parameters of the devices in any point after
     68         * its declaration.
     69         *#
    6870        SET
    6971        FLASH101.Q = 1 * "kJ/h";
     
    7274         
    7375        #*
    74         * Besides the usual specifications, dynamic models require the specification
    75         * of initial conditions.
    76         *#
     76         * Besides the usual specifications, dynamic models require the specification
     77         * of initial conditions.
     78         *#
    7779        INITIAL
    7880        FLASH101.OutletL.T = 330 *"K";
     
    8587
    8688
    87 
Note: See TracChangeset for help on using the changeset viewer.