Rev 541 | Rev 547 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 541 | Rev 546 | ||
---|---|---|---|
Line 1... | Line 1... | ||
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
|
- | |
3 | #define MODELSETTINGS_H
|
- | |
4 | #include <QtCore>
|
- | |
5 | #include "expression.h"
|
- | |
6 | class ModelSettings
|
- | |
7 | {
|
- | |
8 | public: |
- | |
9 | ModelSettings(); |
- | |
10 | void loadModelSettings(); |
- | |
11 | void print(); |
- | |
12 | // list of settings
|
- | |
13 | // general on/off switches
|
- | |
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 |
- | |
16 | bool regenerationEnabled; ///< if true, seed dispersal, establishment, ... is modelled |
- | |
17 | bool carbonCycleEnabled; ///< if true, snag dynamics and soil CN cycle is modelled |
- | |
18 | // light
|
- | |
19 | double lightExtinctionCoefficient; ///< "k" parameter (beer lambert) used for calc. of absorbed light on resourceUnit level |
- | |
20 | double lightExtinctionCoefficientOpacity; ///< "k" for beer lambert used for opacity of single trees |
- | |
21 | // climate
|
- | |
22 | double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Mäkela 2008 |
- | |
23 | // water
|
- | |
24 | double airDensity; // density of air [kg / m3] |
- | |
25 | double laiThresholdForClosedStands; // for calculation of max-canopy-conductance |
- | |
26 | double boundaryLayerConductance; // 3pg-evapotranspiration |
- | |
27 | // nitrogen and soil model
|
- | |
28 | bool useDynamicAvailableNitrogen; ///< if true, iLand utilizes the dynamically calculated NAvailable |
- | |
29 | double decayReferencePsi; ///< for the calculation of the climate-modifier of the snag/wood decay rate (Snag::calculateClimateFactors()) |
- | |
30 | // site variables (for now!)
|
- | |
31 | double latitude; ///< latitude of project site in radians |
- | |
32 | // production
|
- | |
33 | double epsilon; ///< maximum light use efficency used for the 3PG model |
- | |
34 | bool usePARFractionBelowGroundAllocation; ///< if true, the 'correct' version of the calculation of belowground allocation is used (default=true) |
- | |
35 | - | ||
36 | - | ||
37 | }; |
- | |
38 | - | ||
39 | #endif // MODELSETTINGS_H
|
- | |
- | 2 | #ifndef MODELSETTINGS_H
|
|
- | 3 | #define MODELSETTINGS_H
|
|
- | 4 | #include <QtCore>
|
|
- | 5 | #include "expression.h"
|
|
- | 6 | class ModelSettings
|
|
- | 7 | {
|
|
- | 8 | public: |
|
- | 9 | ModelSettings(); |
|
- | 10 | void loadModelSettings(); |
|
- | 11 | void print(); |
|
- | 12 | // list of settings
|
|
- | 13 | // general on/off switches
|
|
- | 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 |
|
- | 16 | bool regenerationEnabled; ///< if true, seed dispersal, establishment, ... is modelled |
|
- | 17 | bool carbonCycleEnabled; ///< if true, snag dynamics and soil CN cycle is modelled |
|
- | 18 | // light
|
|
- | 19 | double lightExtinctionCoefficient; ///< "k" parameter (beer lambert) used for calc. of absorbed light on resourceUnit level |
|
- | 20 | double lightExtinctionCoefficientOpacity; ///< "k" for beer lambert used for opacity of single trees |
|
- | 21 | // climate
|
|
- | 22 | double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Mäkela 2008 |
|
- | 23 | // water
|
|
- | 24 | double airDensity; // density of air [kg / m3] |
|
- | 25 | double laiThresholdForClosedStands; // for calculation of max-canopy-conductance |
|
- | 26 | double boundaryLayerConductance; // 3pg-evapotranspiration |
|
- | 27 | // nitrogen and soil model
|
|
- | 28 | bool useDynamicAvailableNitrogen; ///< if true, iLand utilizes the dynamically calculated NAvailable |
|
- | 29 | double topLayerWaterContent; ///< for the calculation of the climate-modifier of the snag/wood decay rate (Snag::calculateClimateFactors()) |
|
- | 30 | // site variables (for now!)
|
|
- | 31 | double latitude; ///< latitude of project site in radians |
|
- | 32 | // production
|
|
- | 33 | double epsilon; ///< maximum light use efficency used for the 3PG model |
|
- | 34 | bool usePARFractionBelowGroundAllocation; ///< if true, the 'correct' version of the calculation of belowground allocation is used (default=true) |
|
- | 35 | ||
- | 36 | ||
- | 37 | }; |
|
- | 38 | ||
- | 39 | #endif // MODELSETTINGS_H
|