GCBM
peatlanddecayparameters.h
Go to the documentation of this file.
1 #ifndef MOJA_MODULES_CBM_PLDECAYPARAS_H_
2 #define MOJA_MODULES_CBM_PLDECAYPARAS_H_
3 
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
5 #include "moja/flint/modulebase.h"
6 
8 
9 namespace moja {
10 namespace modules {
11 namespace cbm {
12 
14  public:
15  double akwsb() const { return _akwsb; }
16  double akwc() const { return _akwc; }
17  double akwfe() const { return _akwfe; }
18  double akwfne() const { return _akwfne; }
19  double akwr() const { return _akwr; }
20  double akfm() const { return _akfm; }
21  double aksf() const { return _aksf; }
22  double aksr() const { return _aksr; }
23  double aka() const { return _aka; }
24  double akc() const { return _akc; }
25  double akaa() const { return _aka; }
26  double akco() const { return _akc; }
27 
28  double MAT() const { return _MAT; }
29  double tref() const { return _tref; }
30  double c() const { return _c; }
31  double d() const { return _d; }
32 
33  double Q10wsb() const { return _Q10wsb; }
34  double Q10wc() const { return _Q10wc; }
35  double Q10wf() const { return _Q10wf; }
36  double Q10wr() const { return _Q10wr; }
37  double Q10sf() const { return _Q10sf; }
38  double Q10sr() const { return _Q10sr; }
39  double Q10fm() const { return _Q10fm; }
40  double Q10a() const { return _Q10a; }
41  double Q10c() const { return _Q10c; }
42 
43  double Pt() const { return _Pt; }
44 
45  double kwsb() const { return _kwsb; }
46  double kwc() const { return _kwc; }
47  double kwfe() const { return _kwfe; }
48  double kwfne() const { return _kwfne; }
49  double kwr() const { return _kwr; }
50  double kfm() const { return _kfm; }
51  double ksf() const { return _ksf; }
52  double ksr() const { return _ksr; }
53  double ka() const { return _ka; }
54  double kc() const { return _kc; }
55  double kaa() const { return _ka; }
56  double kco() const { return _kc; }
57 
58 
63 
64  PeatlandDecayParameters(int _spuId, PeatlandType _peatlandType, PeatlandLandCoverType _landCoverType);
65 
66  virtual ~PeatlandDecayParameters() = default;
67 
68  void setValue(const DynamicObject& data) override;
69 
70  void updateAppliedDecayParameters(double meanAnnualTemperature);
71 
72 
73  private:
74  double _akwsb {0};
75  double _akwc {0};
76  double _akwfe {0};
77  double _akwfne {0};
78  double _akwr {0};
79  double _aksf {0};
80  double _aksr {0};
81  double _akfm {0};
82  double _aka {0};
83  double _akc {0};
84 
85  double _MAT {0};
86  double _tref {0};
87  double _c {0};
88  double _d {0};
89  double _Pt {0};
90 
91  double _Q10wsb {0};
92  double _Q10wc {0};
93  double _Q10wf {0};
94  double _Q10wr {0};
95  double _Q10sf {0};
96  double _Q10sr {0};
97  double _Q10fm {0};
98  double _Q10a {0};
99  double _Q10c {0};
100 
101  double _kwsb {0};
102  double _kwc {0};
103  double _kwfe {0};
104  double _kwfne {0};
105  double _kwr {0};
106  double _ksf {0};
107  double _ksr {0};
108  double _kfm {0};
109  double _ka {0};
110  double _kc {0};
111 
112  double computeAppliedDecayRate(double baseDecayRate, double q10);
113  };
114 
115 }}}
116 #endif
moja::modules::cbm::PeatlandDecayParameters::kaa
double kaa() const
Definition: peatlanddecayparameters.h:55
moja::modules::cbm::PeatlandDecayParameters::aka
double aka() const
Definition: peatlanddecayparameters.h:23
moja::modules::cbm::PeatlandDecayParameters::Q10wc
double Q10wc() const
Definition: peatlanddecayparameters.h:34
moja::modules::cbm::PeatlandDecayParameters
Definition: peatlanddecayparameters.h:13
moja::modules::cbm::PeatlandDecayParameters::kwr
double kwr() const
Definition: peatlanddecayparameters.h:49
moja::modules::cbm
Definition: ageclasshelper.cpp:12
moja::modules::cbm::PeatlandDecayParameters::kwsb
double kwsb() const
Definition: peatlanddecayparameters.h:45
moja::modules::cbm::PeatlandDecayParameters::kwc
double kwc() const
Definition: peatlanddecayparameters.h:46
moja::modules::cbm::PeatlandDecayParameters::ka
double ka() const
Definition: peatlanddecayparameters.h:53
moja::modules::cbm::PeatlandDecayParameters::kfm
double kfm() const
Definition: peatlanddecayparameters.h:50
moja::modules::cbm::PeatlandDecayParameters::Q10sf
double Q10sf() const
Definition: peatlanddecayparameters.h:37
moja::modules::cbm::PeatlandDecayParameters::kc
double kc() const
Definition: peatlanddecayparameters.h:54
peatlandparameters.h
moja::modules::cbm::PeatlandDecayParameters::akc
double akc() const
Definition: peatlanddecayparameters.h:24
moja::modules::cbm::PeatlandDecayParameters::PeatlandDecayParameters
PeatlandDecayParameters()
Default constructor
Definition: peatlanddecayparameters.h:62
moja::modules::cbm::PeatlandDecayParameters::akwr
double akwr() const
Definition: peatlanddecayparameters.h:19
moja::modules::cbm::PeatlandDecayParameters::ksf
double ksf() const
Definition: peatlanddecayparameters.h:51
moja::modules::cbm::PeatlandDecayParameters::Q10sr
double Q10sr() const
Definition: peatlanddecayparameters.h:38
moja::modules::cbm::PeatlandDecayParameters::d
double d() const
Definition: peatlanddecayparameters.h:31
moja::modules::cbm::PeatlandDecayParameters::Q10wf
double Q10wf() const
Definition: peatlanddecayparameters.h:35
moja::modules::cbm::PeatlandDecayParameters::aksf
double aksf() const
Definition: peatlanddecayparameters.h:21
moja::modules::cbm::PeatlandDecayParameters::Pt
double Pt() const
Definition: peatlanddecayparameters.h:43
moja::modules::cbm::PeatlandParameters
Definition: peatlandparameters.h:15
moja::modules::cbm::PeatlandDecayParameters::Q10a
double Q10a() const
Definition: peatlanddecayparameters.h:40
moja::modules::cbm::PeatlandDecayParameters::akfm
double akfm() const
Definition: peatlanddecayparameters.h:20
moja::modules::cbm::PeatlandDecayParameters::kwfne
double kwfne() const
Definition: peatlanddecayparameters.h:48
moja::modules::cbm::PeatlandLandCoverType
PeatlandLandCoverType
Definition: peatlandparameters.h:12
moja::modules::cbm::PeatlandDecayParameters::MAT
double MAT() const
Definition: peatlanddecayparameters.h:28
moja::modules::cbm::PeatlandDecayParameters::Q10fm
double Q10fm() const
Definition: peatlanddecayparameters.h:39
moja::modules::cbm::PeatlandDecayParameters::akwc
double akwc() const
Definition: peatlanddecayparameters.h:16
moja::modules::cbm::PeatlandType
PeatlandType
Definition: peatlandparameters.h:11
moja::modules::cbm::PeatlandDecayParameters::ksr
double ksr() const
Definition: peatlanddecayparameters.h:52
moja::modules::cbm::PeatlandDecayParameters::c
double c() const
Definition: peatlanddecayparameters.h:30
moja::modules::cbm::PeatlandDecayParameters::kco
double kco() const
Definition: peatlanddecayparameters.h:56
moja::modules::cbm::PeatlandDecayParameters::kwfe
double kwfe() const
Definition: peatlanddecayparameters.h:47
moja::modules::cbm::PeatlandDecayParameters::akwfne
double akwfne() const
Definition: peatlanddecayparameters.h:18
moja::modules::cbm::PeatlandDecayParameters::akwsb
double akwsb() const
Definition: peatlanddecayparameters.h:15
moja::modules::cbm::PeatlandDecayParameters::Q10wr
double Q10wr() const
Definition: peatlanddecayparameters.h:36
moja::modules::cbm::PeatlandDecayParameters::akaa
double akaa() const
Definition: peatlanddecayparameters.h:25
moja::modules::cbm::PeatlandDecayParameters::akco
double akco() const
Definition: peatlanddecayparameters.h:26
moja::modules::cbm::PeatlandDecayParameters::akwfe
double akwfe() const
Definition: peatlanddecayparameters.h:17
moja::modules::cbm::PeatlandDecayParameters::Q10c
double Q10c() const
Definition: peatlanddecayparameters.h:41
moja
Definition: ageclasshelper.cpp:10
moja::modules::cbm::PeatlandDecayParameters::tref
double tref() const
Definition: peatlanddecayparameters.h:29
moja::modules::cbm::PeatlandDecayParameters::aksr
double aksr() const
Definition: peatlanddecayparameters.h:22
moja::modules::cbm::PeatlandDecayParameters::Q10wsb
double Q10wsb() const
Definition: peatlanddecayparameters.h:33