-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathELAFish.definitions.msl
106 lines (93 loc) · 3.71 KB
/
ELAFish.definitions.msl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// -----------------------------------------------------------------------
// HEMMIS - Ghent University, BIOMATH - Université Laval, modelEAU
// Implementation: Hans Vangheluwe, Peter Vanrolleghem, Henk Vanhooren,
// Jurgen Meirlaen,Frederik Decouttere, Youri Amerlinck
// Frederik De Laender, Ludiwine Clouzot.
// Description: MSL-USER/ELAFish/General definitions
// extending generic modules, category definitions and
// vector (matrix) definitions.
// -----------------------------------------------------------------------
#ifndef ELAFSIH_DEFINITIONS1
#define ELAFISH_DEFINITIONS1
// The following Components TYPE declaration is commented
// as it will be specified further on.
// As the order of declarations does not matter in MSL,
// the actual place of declaration of the Components TYPE
// does not matter.
// We already present a TYPE Components definition here
// as it will make the rest of the generic model
// easier to understand.
// In the Components type declaration, the user indicates
// which components will be used in his/her models.
// A number of assumptions are made:
// 1. In one system, ALL the connections between
// sub-models pass exactly those biological components
// indicated in the Components declaration.
// 2. In a physical flow, ALL components are explicitly
// considered: H2O, dissoved gasses, solids in suspension, ...
// The usual assumption that the concentration of H2O is 1
// and all the other concentrations are infinite will be put in
// further. This, to allow modelling of systems where
// the above assumption is not valid.
// EVERYTHING is deduced from the Components type declaration !
// From this declaration, appropriate models will be expanded
// automatically.
//
// As a convention, the component H2O is always written first
// as it is the "main" component in a wWtp.
// next in line are solubles. followed by particulates
//===================================================================
//==========================Begin of components & reactions def.=====
//===================================================================
// The components definition.
// Here, the user specifies which components will be considered.
// This will define the size of the wwtp terminal (through NrOfComponents, see above)
// Please note that the sequence of elements in the ComponentsVector
// is of importance !!! This sequence is used in certain models to achieve
// model re-usability.
// The sequence (for this modelbase) has to be:
// H2O
// S_I S_S .. S_NH S_ALK
// X_I X_S .. X_P X_ND
// the safest place to add compenents is in the middle of every subset !!!
// Note that also the aeration process, a mass transport process,
// is considered to be a conversion process !!!
#ifndef ELAFISH_DEFINITIONSASM1
#define ELAFISH_DEFINITIONSASM1
TYPE Components
"
The biological components considered in the WWTP models
"
= ENUM {H2O,
S_I,
S_S,
S_O,
S_NO,
S_ND,
S_NH,
S_ALK,
X_I,
X_S,
X_BH,
X_BA,
X_P,
X_ND,
};
TYPE Reactions
"
The reactions between biological components considered in the WWTP models
"
= ENUM {AerGrowthHetero,
AnGrowthHetero,
AerGrowthAuto,
DecayOfHetero,
DecayOfAuto,
AmmonOfSolOrgN,
HydrolOfEntrOrg,
HydrolOfEntrOrgN,
Aeration, };
#endif //ELAFISH_DEFINITIONSASM1
//================================================================
//==========================end of defining comp & react==========
//================================================================
#endif // ELAFISH_DEFINITIONS1