Subversion Repositories public iLand

Rev

Rev 368 | Rev 468 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1
 
200 werner 2
#ifndef MODELSETTINGS_H
3
#define MODELSETTINGS_H
274 werner 4
#include <QtCore>
205 werner 5
#include "expression.h"
200 werner 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
391 werner 15
    bool mortalityEnabled; ///< if false, no natural (intrinsic+stress) mortality occurs
16
    bool regenerationEnabled; ///< if true, seed dispersal, establishment, ... is modelled
200 werner 17
    // light
18
    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
201 werner 20
    // climate
21
    double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Mäkela 2008
239 werner 22
    // water
240 werner 23
    double airDensity; // density of air [kg / m3]
368 werner 24
    double laiThresholdForClosedStands; // for calculation of max-canopy-conductance
25
    double boundaryLayerConductance; // 3pg-evapotranspiration
210 werner 26
    // site variables (for now!)
27
    double latitude; ///< latitude of project site in radians
226 werner 28
    // production
29
    double epsilon; ///< maximum light use efficency used for the 3PG model
200 werner 30
};
31
 
32
#endif // MODELSETTINGS_H