GCBM
peatlandgrowthparameters.h
Go to the documentation of this file.
1 #ifndef MOJA_MODULES_CBM_PLGROWTHPARAS_H_
2 #define MOJA_MODULES_CBM_PLGROWTHPARAS_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 FAr() const { return _FAr; }
16  double NPPagls() const { return _NPPagls; }
17  double Bagls() const { return _Bagls; }
18  double a() const { return _a; }
19  double b() const { return _b; }
20  double AFfls() const { return _AFfls; }
21  double Bags() const { return _Bags; }
22  double GCs() const { return _GCs; }
23  double AgBgS() const { return _AgBgS; }
24  double GCsp() const { return _GCsp; }
25  double NPPsp() const { return _NPPsp; }
26  double Rsp() const { return _Rsp; }
27  double GCfm() const { return _GCfm; }
28  double NPPfm() const { return _NPPfm; }
29  double Rfm() const { return _Rfm; }
30  double Magls() const { return _Magls; }
31  double SBags() const { return _SBags; }
32  double aNPPs() const { return _aNPPs; }
33 
34 
39  PeatlandGrowthParameters(int _spuId, PeatlandType _peatlandType, PeatlandLandCoverType _landCoverType);
40  virtual ~PeatlandGrowthParameters() = default;
41 
42  void setValue(const DynamicObject& data) override;
43 
44  private:
45  double _FAr{ 0 }; //Foliage:Aboveground ratio for low shrubs (applied to woody layer)
46  double _NPPagls{ 0 }; //NPP for aboveground low shrubs
47  double _Bagls{ 0 }; //Maximum Potential Biomass for aboveground low shrubs
48  double _a{ 0 }; //Allometric function to convert low shrub Aboveground biomass into root production
49  double _b{ 0 }; //Allometric function to convert low shrub Aboveground biomass into root production
50  double _AFfls{ 0 }; //adjustment factor for Sedges
51  double _Bags{ 0 }; //Maximum Biomass aboveground sedges
52  double _GCs{ 0 }; //Ground cover sedges
53  double _AgBgS{ 0 }; //Aboveground:bellowground ratio sedges
54  double _GCsp{ 0 }; //Ground Cover sphagnum
55  double _NPPsp{ 0 }; //NPP sphagnum
56  double _Rsp{ 0 }; //Recovery time(y) after stand replacing disturbance sphagnum
57  double _GCfm{ 0 }; //Ground Cover feathermoss
58  double _NPPfm{ 0 }; //NPP feathermoss
59  double _Rfm{ 0 }; //Recovery time(y) after stand replacing disturbance feathermoss
60 
61  double _Magls{ 0 }; //Mortality rate for aboveground low Shrub
62  double _SBags{ 0 }; //Scaled maximum stannding crop biomass
63  double _aNPPs{ 0 }; //adjusted NPP for aboveground sedge
64 
65  void applyGrowthParameterFunctions();
66  };
67 
68  }
69  }
70 }
71 #endif
moja::modules::cbm::PeatlandGrowthParameters::NPPfm
double NPPfm() const
Definition: peatlandgrowthparameters.h:28
moja::modules::cbm::PeatlandGrowthParameters::aNPPs
double aNPPs() const
Definition: peatlandgrowthparameters.h:32
moja::modules::cbm::PeatlandGrowthParameters::Bags
double Bags() const
Definition: peatlandgrowthparameters.h:21
moja::modules::cbm
Definition: ageclasshelper.cpp:12
moja::modules::cbm::PeatlandGrowthParameters::Magls
double Magls() const
Definition: peatlandgrowthparameters.h:30
moja::modules::cbm::PeatlandGrowthParameters::NPPagls
double NPPagls() const
Definition: peatlandgrowthparameters.h:16
moja::modules::cbm::PeatlandGrowthParameters::GCs
double GCs() const
Definition: peatlandgrowthparameters.h:22
moja::modules::cbm::PeatlandGrowthParameters::NPPsp
double NPPsp() const
Definition: peatlandgrowthparameters.h:25
peatlandparameters.h
moja::modules::cbm::PeatlandGrowthParameters::AFfls
double AFfls() const
Definition: peatlandgrowthparameters.h:20
moja::modules::cbm::PeatlandGrowthParameters::b
double b() const
Definition: peatlandgrowthparameters.h:19
moja::modules::cbm::PeatlandGrowthParameters::Rfm
double Rfm() const
Definition: peatlandgrowthparameters.h:29
moja::modules::cbm::PeatlandGrowthParameters::FAr
double FAr() const
Definition: peatlandgrowthparameters.h:15
moja::modules::cbm::PeatlandGrowthParameters
Definition: peatlandgrowthparameters.h:13
moja::modules::cbm::PeatlandGrowthParameters::PeatlandGrowthParameters
PeatlandGrowthParameters()
Default constructor
Definition: peatlandgrowthparameters.h:38
moja::modules::cbm::PeatlandGrowthParameters::AgBgS
double AgBgS() const
Definition: peatlandgrowthparameters.h:23
moja::modules::cbm::PeatlandGrowthParameters::Rsp
double Rsp() const
Definition: peatlandgrowthparameters.h:26
moja::modules::cbm::PeatlandGrowthParameters::SBags
double SBags() const
Definition: peatlandgrowthparameters.h:31
moja::modules::cbm::PeatlandParameters
Definition: peatlandparameters.h:15
moja::modules::cbm::PeatlandGrowthParameters::GCsp
double GCsp() const
Definition: peatlandgrowthparameters.h:24
moja::modules::cbm::PeatlandLandCoverType
PeatlandLandCoverType
Definition: peatlandparameters.h:12
moja::modules::cbm::PeatlandType
PeatlandType
Definition: peatlandparameters.h:11
moja::modules::cbm::PeatlandGrowthParameters::a
double a() const
Definition: peatlandgrowthparameters.h:18
moja::modules::cbm::PeatlandGrowthParameters::GCfm
double GCfm() const
Definition: peatlandgrowthparameters.h:27
moja::modules::cbm::PeatlandGrowthParameters::Bagls
double Bagls() const
Definition: peatlandgrowthparameters.h:17
moja
Definition: ageclasshelper.cpp:10