Rev 368 | Rev 468 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 368 | Rev 391 | ||
---|---|---|---|
1 | Redirecting to URL 'https://iland.boku.ac.at/svn/iland/tags/release_1.0/src/core/modelsettings.h': |
1 | Redirecting to URL 'https://iland.boku.ac.at/svn/iland/tags/release_1.0/src/core/modelsettings.h': |
2 | #ifndef MODELSETTINGS_H
|
2 | #ifndef MODELSETTINGS_H
|
3 | #define MODELSETTINGS_H
|
3 | #define MODELSETTINGS_H
|
4 | #include <QtCore>
|
4 | #include <QtCore>
|
5 | #include "expression.h"
|
5 | #include "expression.h"
|
6 | class ModelSettings
|
6 | class ModelSettings
|
7 | {
|
7 | {
|
8 | public: |
8 | public: |
9 | ModelSettings(); |
9 | ModelSettings(); |
10 | void loadModelSettings(); |
10 | void loadModelSettings(); |
11 | void print(); |
11 | void print(); |
12 | // list of settings
|
12 | // list of settings
|
13 | // general on/off switches
|
13 | // general on/off switches
|
14 | bool growthEnabled; ///< if false, trees will apply/read light patterns, but do not grow |
14 | bool growthEnabled; ///< if false, trees will apply/read light patterns, but do not grow |
15 | bool mortalityEnabled; |
15 | bool mortalityEnabled; ///< if false, no natural (intrinsic+stress) mortality occurs |
- | 16 | bool regenerationEnabled; ///< if true, seed dispersal, establishment, ... is modelled |
|
16 | // light
|
17 | // light
|
17 | double lightExtinctionCoefficient; ///< "k" parameter (beer lambert) used for calc. of absorbed light on resourceUnit level |
18 | double lightExtinctionCoefficient; ///< "k" parameter (beer lambert) used for calc. of absorbed light on resourceUnit level |
18 | double lightExtinctionCoefficientOpacity; ///< "k" for beer lambert used for opacity of single trees |
19 | double lightExtinctionCoefficientOpacity; ///< "k" for beer lambert used for opacity of single trees |
19 | // climate
|
20 | // climate
|
20 | double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Mäkela 2008 |
21 | double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Mäkela 2008 |
21 | // water
|
22 | // water
|
22 | double airDensity; // density of air [kg / m3] |
23 | double airDensity; // density of air [kg / m3] |
23 | double laiThresholdForClosedStands; // for calculation of max-canopy-conductance |
24 | double laiThresholdForClosedStands; // for calculation of max-canopy-conductance |
24 | double boundaryLayerConductance; // 3pg-evapotranspiration |
25 | double boundaryLayerConductance; // 3pg-evapotranspiration |
25 | // site variables (for now!)
|
26 | // site variables (for now!)
|
26 | double latitude; ///< latitude of project site in radians |
27 | double latitude; ///< latitude of project site in radians |
27 | // production
|
28 | // production
|
28 | double epsilon; ///< maximum light use efficency used for the 3PG model |
29 | double epsilon; ///< maximum light use efficency used for the 3PG model |
29 | }; |
30 | }; |
30 | 31 | ||
31 | #endif // MODELSETTINGS_H
|
32 | #endif // MODELSETTINGS_H
|
32 | 33 |