Subversion Repositories public iLand

Rev

Rev 281 | Rev 368 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 281 Rev 340
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;
16
    // light
16
    // light
17
    double lightExtinctionCoefficient; ///< "k" parameter (beer lambert) used for calc. of absorbed light on resourceUnit level
17
    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
18
    double lightExtinctionCoefficientOpacity; ///< "k" for beer lambert used for opacity of single trees
19
    // climate
19
    // climate
20
    double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Mäkela 2008
20
    double temperatureTau; ///< "tau"-value for delayed temperature calculation acc. to Mäkela 2008
21
    // water
21
    // water
22
    double heatCapacityAir; // Specific heat capacity of air [J  / (kg °C)]
22
    double heatCapacityAir; // Specific heat capacity of air [J  / (kg °C)]
23
    double airPressure; // atmospheric pressure (mbar)
23
    double airPressure; // atmospheric pressure (mbar)
24
    double airDensity; // density of air [kg / m3]
24
    double airDensity; // density of air [kg / m3]
25
    // site variables (for now!)
25
    // site variables (for now!)
26
    double latitude; ///< latitude of project site in radians
26
    double latitude; ///< latitude of project site in radians
27
    //double nitrogenAvailable; ///< nitrogen content (kg/m2/year) -> will be moved!
-
 
28
    //double waterholdingCapacity; ///< waterholding capacity (mm) -> will be removed!!!
-
 
29
    // production
27
    // production
30
    double epsilon; ///< maximum light use efficency used for the 3PG model
28
    double epsilon; ///< maximum light use efficency used for the 3PG model
31
};
29
};
32
30
33
#endif // MODELSETTINGS_H
31
#endif // MODELSETTINGS_H
34
 
32