Rev 391 | Rev 530 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 391 | Rev 468 | ||
---|---|---|---|
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; ///< if false, no natural (intrinsic+stress) mortality occurs |
15 | bool mortalityEnabled; ///< if false, no natural (intrinsic+stress) mortality occurs |
16 | bool regenerationEnabled; ///< if true, seed dispersal, establishment, ... is modelled |
16 | bool regenerationEnabled; ///< if true, seed dispersal, establishment, ... is modelled |
- | 17 | bool carbonCycleEnabled; ///< if true, snag dynamics and soil CN cycle is modelled |
|
17 | // light
|
18 | // light
|
18 | double lightExtinctionCoefficient; ///< "k" parameter (beer lambert) used for calc. of absorbed light on resourceUnit level |
19 | double lightExtinctionCoefficient; ///< "k" parameter (beer lambert) used for calc. of absorbed light on resourceUnit level |
19 | double lightExtinctionCoefficientOpacity; ///< "k" for beer lambert used for opacity of single trees |
20 | double lightExtinctionCoefficientOpacity; ///< "k" for beer lambert used for opacity of single trees |
20 | // climate
|
21 | // climate
|
21 | double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Mäkela 2008 |
22 | double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Mäkela 2008 |
22 | // water
|
23 | // water
|
23 | double airDensity; // density of air [kg / m3] |
24 | double airDensity; // density of air [kg / m3] |
24 | double laiThresholdForClosedStands; // for calculation of max-canopy-conductance |
25 | double laiThresholdForClosedStands; // for calculation of max-canopy-conductance |
25 | double boundaryLayerConductance; // 3pg-evapotranspiration |
26 | double boundaryLayerConductance; // 3pg-evapotranspiration |
26 | // site variables (for now!)
|
27 | // site variables (for now!)
|
27 | double latitude; ///< latitude of project site in radians |
28 | double latitude; ///< latitude of project site in radians |
28 | // production
|
29 | // production
|
29 | double epsilon; ///< maximum light use efficency used for the 3PG model |
30 | double epsilon; ///< maximum light use efficency used for the 3PG model |
30 | }; |
31 | }; |
31 | 32 | ||
32 | #endif // MODELSETTINGS_H
|
33 | #endif // MODELSETTINGS_H
|
33 | 34 |