Changeset 14 for mso/template/flowsheet.mso
- Timestamp:
- Aug 26, 2006, 5:15:39 PM (17 years ago)
- 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 *# 8 9 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 *# 13 15 using "stage_separators/flash"; 14 16 15 17 #* 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 *# 19 21 FlowSheet MyFlowSheet 20 22 #* 21 * In the PARAMETERS section we can define the constants of the22 * FlowSheet. When the model requires thermodynamic calculations23 * we should create an special parameter called PP and select24 * 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 *# 26 28 PARAMETERS 27 29 PP as CalcObject(Brief="Physical Properties", File="vrpp"); … … 34 36 35 37 #* 36 * In the DEVICES section the components of the process are declared.37 * Each device is based in a previously defined mathematical model, coming38 * 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 *# 40 42 DEVICES 41 43 STR101 as stream_therm; … … 43 45 44 46 #* 45 * Once the devices of the process were declared we can connect them46 * in the CONNECTIONS section47 *#47 * Once the devices of the process were declared we can connect them 48 * in the CONNECTIONS section 49 *# 48 50 CONNECTIONS 49 51 STR101 to FLASH101.Feed; 50 52 51 53 #* 52 * In order to simulate the process the user should specify some variables53 *#54 * In order to simulate the process the user should specify some variables 55 *# 54 56 SPECIFY 55 57 STR101.F = 496.3 * "kmol/h"; … … 63 65 64 66 #* 65 * We can adjust the parameters of the devices in any point after66 * its declaration.67 *#67 * We can adjust the parameters of the devices in any point after 68 * its declaration. 69 *# 68 70 SET 69 71 FLASH101.Q = 1 * "kJ/h"; … … 72 74 73 75 #* 74 * Besides the usual specifications, dynamic models require the specification75 * of initial conditions.76 *#76 * Besides the usual specifications, dynamic models require the specification 77 * of initial conditions. 78 *# 77 79 INITIAL 78 80 FLASH101.OutletL.T = 330 *"K"; … … 85 87 86 88 87
Note: See TracChangeset
for help on using the changeset viewer.