Go to the documentation of this file. 1 #ifndef MOJA_MODULES_CBM_PLSPINUPNEXT_H_
2 #define MOJA_MODULES_CBM_PLSPINUPNEXT_H_
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
26 void configure(
const DynamicObject& config)
override;
27 void subscribe(NotificationCenter& notificationCenter)
override;
29 void doLocalDomainInit()
override;
31 void doPrePostDisturbanceEvent()
override;
77 double _softwoodFoliageFallRate{ 0 };
78 double _hardwoodFoliageFallRate{ 0 };
79 double _stemAnnualTurnOverRate{ 0 };
80 double _stemSnagTurnoverRate{ 0 };
81 double _softwoodBranchTurnOverRate{ 0 };
82 double _hardwoodBranchTurnOverRate{ 0 };
83 double _coarseRootTurnProp{ 0 };
84 double _fineRootTurnProp{ 0 };
85 double _otherToBranchSnagSplit{ 0 };
86 double _branchSnagTurnoverRate{ 0 };
90 double smallTreeFoliageRemoval{ 0 };
91 double smallTreeFineRootRemoval{ 0 };
92 double smallTreeCoarseRootRemoval{ 0 };
93 double smallTreeOtherRemovalToWFD{ 0 };
94 double smallTreeBranchSnagRemoval{ 0 };
95 double smallTreeStemSnagRemoval{ 0 };
98 double largeTreeFoliageRemoval{ 0 };
99 double largeTreeFineRootRemoval{ 0 };
100 double largeTreeCoarseRootRemoval{ 0 };
101 double largeTreeOtherRemovalToWFD{ 0 };
102 double largeTreeBranchSnagRemoval{ 0 };
103 double largeTreeStemSnagRemoval{ 0 };
105 double meanAnnualTemperature{ 0 };
121 void getTreeTurnoverRate(
Peatlands peatlandId);
123 void getAndUpdateParameter();
125 void getNonOpenPeatlandRemovals(
Peatlands peatlandId);
127 void populatePeatlandDeadPoolsV1();
129 void populatePeatlandDeadPoolsV2();
131 void populatePeatlandDeadPoolsV3();
133 void getCurrentDeadPoolValues();
135 void resetSlowPools();
138 return (pow(baseQ10Para, 0.1 * (meanAnnualTemperature - 10)));
144 #endif // MOJA_MODULES_CBM_PLDECAY_H_
const flint::IPool * _softwoodMerch
Definition: peatlandspinupnext.h:34
const flint::IPool * _atmosphere
Definition: peatlandspinupnext.h:73
const flint::IPool * _catotelm_a
Definition: peatlandspinupnext.h:69
const flint::IPool * _hardwoodCoarseRoots
Definition: peatlandspinupnext.h:45
Definition: ageclasshelper.cpp:12
Peatlands
Definition: peatlands.h:7
PeatlandSpinupNext()
Definition: peatlandspinupnext.h:23
const flint::IPool * _sedgeRootsLive
Definition: peatlandspinupnext.h:57
const flint::IPool * _softwoodBranchSnag
Definition: peatlandspinupnext.h:40
const flint::IPool * _hardwoodMerch
Definition: peatlandspinupnext.h:42
const flint::IPool * _sedgeFoliageDead
Definition: peatlandspinupnext.h:65
Definition: cbmmodulebase.h:22
const flint::IPool * _acrotelm_o
Definition: peatlandspinupnext.h:68
const flint::IPool * _woodyRootsLive
Definition: peatlandspinupnext.h:55
const flint::IPool * _hardwoodStem
Definition: peatlandspinupnext.h:51
const flint::IPool * _featherMossLive
Definition: peatlandspinupnext.h:58
const flint::IPool * _woodyCoarseDead
Definition: peatlandspinupnext.h:63
const flint::IPool * _softwoodFoliage
Definition: peatlandspinupnext.h:36
const flint::IPool * _woodyFoliageLive
Definition: peatlandspinupnext.h:53
const flint::IPool * _softwoodCoarseRoots
Definition: peatlandspinupnext.h:37
const flint::IPool * _acrotelm_a
Definition: peatlandspinupnext.h:70
const flint::IPool * _softwoodOther
Definition: peatlandspinupnext.h:35
const flint::IPool * _sedgeFoliageLive
Definition: peatlandspinupnext.h:56
const flint::IPool * _softwoodFineRoots
Definition: peatlandspinupnext.h:38
std::shared_ptr< PeatlandGrowthParameters > growthParas
Definition: peatlandspinupnext.h:116
double modifyQ10(double baseQ10Para)
Definition: peatlandspinupnext.h:137
Definition: peatlandspinupnext.h:21
const flint::IPool * _catotelm_o
Definition: peatlandspinupnext.h:71
const flint::IPool * _hardwoodBranchSnag
Definition: peatlandspinupnext.h:48
std::shared_ptr< PeatlandDecayParameters > decayParas
Definition: peatlandspinupnext.h:110
const flint::IPool * _hardwoodOther
Definition: peatlandspinupnext.h:43
const flint::IPool * _woodyRootsDead
Definition: peatlandspinupnext.h:64
const flint::IPool * _hardwoodStemSnag
Definition: peatlandspinupnext.h:47
const flint::IPool * _sphagnumMossLive
Definition: peatlandspinupnext.h:59
const flint::IPool * _woodyFineDead
Definition: peatlandspinupnext.h:62
const flint::IPool * _softwoodStem
Definition: peatlandspinupnext.h:50
const flint::IPool * _hardwoodFoliage
Definition: peatlandspinupnext.h:44
const flint::IPool * _woodyFoliageDead
Definition: peatlandspinupnext.h:61
const flint::IPool * _sedgeRootsDead
Definition: peatlandspinupnext.h:66
const flint::IPool * _woodyStemsBranchesLive
Definition: peatlandspinupnext.h:54
const flint::IPool * _feathermossDead
Definition: peatlandspinupnext.h:67
const flint::IPool * _hardwoodFineRoots
Definition: peatlandspinupnext.h:46
const flint::IPool * _softwoodStemSnag
Definition: peatlandspinupnext.h:39
Definition: ageclasshelper.cpp:10
const flint::IVariable * _turnoverRates
Definition: peatlandspinupnext.h:75
std::shared_ptr< PeatlandFireParameters > fireParas
Definition: peatlandspinupnext.h:119
std::shared_ptr< PeatlandTurnoverParameters > turnoverParas
Definition: peatlandspinupnext.h:113