|
| FMStand (FMUnit *unit, const int id) |
| c'tor: link stand to a forest management unit More...
|
|
void | setSTP (FMSTP *stp) |
| set the stand to be managed by a given 'stp' More...
|
|
void | initialize () |
|
void | reset (FMSTP *stp) |
| sets the STP but nothing else (after disturbance related clearance) More...
|
|
bool | trace () const |
| returns true if tracing is enabled for the stand More...
|
|
const QString & | context () const |
|
void | checkArea () |
|
void | setArea (const double new_area_ha) |
|
void | reload (bool force=false) |
|
int | id () const |
|
const FMUnit * | unit () const |
|
Activity::Phase | phase () const |
|
int | standType () const |
|
FMSTP * | stp () const |
|
int | lastUpdate () const |
|
int | lastExecution () const |
|
int | initialStandId () const |
|
void | setInitialId (int origin_id) |
|
double | U () const |
| rotation period (years) More...
|
|
int | thinningIntensity () const |
| thinning intensity (class); 1: low, 2: medium, 3: high More...
|
|
int | targetSpeciesIndex () const |
| species composition key More...
|
|
void | setU (const double rotation_length) |
|
void | setThinningIntensity (const int th_class) |
|
void | setTargetSpeciesIndex (const int index) |
|
double | area () const |
| total area of the stand (ha) More...
|
|
double | absoluteAge () const |
| absolute age: years since the rotation has started (years) More...
|
|
double | basalArea () const |
| total basal area (m2/ha) More...
|
|
double | age () const |
| (average) age of the stand (weighted with basal area) More...
|
|
double | volume () const |
| total standing volume (m3/ha) in the stand More...
|
|
double | stems () const |
| number of trees of the stand (stems/ha) (>4m) More...
|
|
double | dbh () const |
| mean dbh (basal area weighted, of trees>4m) in cm More...
|
|
double | height () const |
| mean tree height (basal area weighted, of trees>4m), in m More...
|
|
double | topHeight () const |
| top height (mean height of the 100 thickest trees/ha), in m More...
|
|
double | scheduledHarvest () const |
| scheduled harvest (planned harvest by activities, m3) More...
|
|
double | totalHarvest () const |
| total realized harvest (m3 on the full stand area) More...
|
|
double | totalThinningHarvest () const |
| total realized thinning/tending harvests (m3 on the full stand area) More...
|
|
double | disturbedTimber () const |
| total disturbed timber volume, includes also disturbed trees not harvested, m3 More...
|
|
double | salvagedTimber () const |
| total amount of timber removed by salvage operation More...
|
|
double | meanAnnualIncrement () const |
| mean annual increment (MAI), m3 timber/ha for the last decade More...
|
|
double | meanAnnualIncrementTotal () const |
| mean annual increment (MAI), m3 timber/ha for the full rotation period More...
|
|
bool | readyForFinalHarvest () |
|
double | basalArea (const QString &species_id) const |
|
double | relBasalArea (const QString &species_id) const |
|
int | nspecies () const |
|
SSpeciesStand & | speciesData (const int index) |
| retrieve species-specific meta data by index (0: largest basal area share, up to nspecies()-1) More...
|
|
SSpeciesStand & | speciesData (const Species *species) |
| species-specific meta data by Species pointer More...
|
|
bool | execute () |
| main function More...
|
|
bool | executeActivity (Activity *act) |
| execute activity given by "act". More...
|
|
bool | afterExecution (bool cancel=false) |
|
void | addScheduledHarvest (const double add_volume) |
| add a (simulated) harvest to the amount of planned harvest (used by the scheduling) More...
|
|
void | notifyTreeRemoval (Tree *tree, int reason) |
| is called whenever a tree is removed (death, management, disturbance) More...
|
|
bool | notifyBarkBeetleAttack (double generations, int infested_px_per_ha) |
| is called when bark beetles are likely to attack: return ABE changed forest structure More...
|
|
void | resetHarvestCounter () |
| resets the harvest counters More...
|
|
void | resetDisturbanceSalvage () |
|
void | sleep (int years_to_sleep) |
| sleep() pauses the evaluation/execution of management activities for 'years_to_sleep'. More...
|
|
int | sleepYears () const |
|
double | calculateMAI () |
| calculate mean annual increment (m3/ha) and return total MAI. More...
|
|
void | setAbsoluteAge (const double age) |
| set the absolute age of the stand More...
|
|
int | setToLatestForcedActivity () |
| set active activity to the latest activity with forced=true (if a stand is outside the timeframe of all other activities) More...
|
|
ActivityFlags & | flags (const int index) |
|
ActivityFlags & | currentFlags () |
| flags of currently active Activity More...
|
|
Activity * | currentActivity () const |
| get a pointer to the current activity; returns 0 if no activity is set. More...
|
|
Activity * | lastExecutedActivity () const |
| get a pointer to the last executed activity; returns 0 if no activity has been executed before. More...
|
|
int | lastExecutionAge () const |
|
void | setProperty (const QString &name, QJSValue value) |
| set a property value for the current stand with the name 'name' More...
|
|
QJSValue | property (const QString &name) const |
| retrieve the value of the property 'name'. Returns an empty QJSValue if the property is not defined. More...
|
|
QStringList | info () |
|
FMStand encapsulates a forest stand for the forest management engine.
The FMStand class encapsulates forest stands which are defined as polygons.
The spatial coverage is defined by a "stand grid".
FMStand tracks properties of the stands (e.g. mean volume), and is a central player in the ABE system.