Ticket #78: correntes.mso

File correntes.mso, 1.3 KB (added by Antonio José, 15 years ago)
Line 
1#*
2 * EMSO template file for new models.
3 *
4 * The user should edit the contents of this file in order
5 * to develop a new model.
6 *
7 * $Id: model.mso 114 2007-01-15 14:20:51Z rafael $
8 *#
9
10using "types";
11
12Model corrente
13        ATTRIBUTES
14    Pallete = false;
15        Brief = "General Material Stream";
16        Info =
17        "This is the basic building block for the EML models.
18        Every model should have input and output streams derived
19        from this model.";
20       
21        PARAMETERS
22        outer NComp as Integer (Brief = "Number of chemical components", Lower = 1);
23    #outer PP as Plugin(Brief = "External Physical Properties",File="PP");     
24
25        VARIABLES
26        F as flow_mol;
27        T as temperature;
28        P as pressure;
29        z(NComp) as fraction(Brief = "Overall Molar Fraction");
30        h as enth_mol;
31        ro as dens_mass;
32       
33end
34
35Model corrente1
36        ATTRIBUTES
37        Pallete = false;
38        Brief = "General Material Stream";
39        Info =
40        "This is the basic building block for the EML models.
41        Every model should have input and output streams derived
42        from this model.";
43       
44        PARAMETERS
45outer NComp as Integer (Brief = "Number of chemical components", Lower = 1);
46       
47   
48        VARIABLES
49        #F as flow_mol;
50        #T as temperature;
51        #P as pressure;
52        #h as enth_mol;
53        #v as fraction(Brief = "Vapourisation fraction");
54        z(NComp) as fraction;
55end
56