Modular Megafauna Model 1.1.5
A physiological, dynamic herbivore simulator in C++.
Loading...
Searching...
No Matches
Fauna::Demo::LogisticGrass::Parameters Struct Reference

Settings for grass growth. More...

#include <logistic_grass.h>

Public Member Functions

bool is_valid (std::string &msg) const
 Check if parameters are valid. More...
 

Public Attributes

std::vector< double > decay_monthly = {0.0}
 Proportional daily rates of grass decay [day^-1]. More...
 
std::vector< double > digestibility = {0.5}
 Proportional digestibility of the grass [frac]. More...
 
double fpc = 0.1
 Fraction of habitat/patch covered with grass [frac]. More...
 
std::vector< double > growth_monthly = {0.0}
 Proportional daily grass growth rates [day^-1]. More...
 
double init_mass = 0.0
 Initial available forage [kgDM/km²]. More...
 
double reserve = 0.1
 Ungrazable grass biomass reserve, inaccessable to herbivores [kgDM/km²]. More...
 
double saturation = 1.0
 Saturation grass biomass [kgDM/m²]. More...
 

Detailed Description

Settings for grass growth.

The initialization values are just arbitrary.

Member Function Documentation

◆ is_valid()

bool LogisticGrass::Parameters::is_valid ( std::string &  msg) const

Check if parameters are valid.

Parameters
[out]msgPossible warnings and error messages.
Returns
true if values are valid, false if not.

Member Data Documentation

◆ decay_monthly

std::vector<double> Fauna::Demo::LogisticGrass::Parameters::decay_monthly = {0.0}

Proportional daily rates of grass decay [day^-1].

This is a vector of daily decay rates for each month. When the end of the vector is reached, the values are recycled. A vector of length 12 creates the same behaviour every year.

◆ digestibility

std::vector<double> Fauna::Demo::LogisticGrass::Parameters::digestibility = {0.5}

Proportional digestibility of the grass [frac].

This is a vector of digestibility values for each month. When the end of the vector is reached, the values are recycled. A vector of length 12 creates the same behaviour every year.

◆ fpc

double Fauna::Demo::LogisticGrass::Parameters::fpc = 0.1

Fraction of habitat/patch covered with grass [frac].

◆ growth_monthly

std::vector<double> Fauna::Demo::LogisticGrass::Parameters::growth_monthly = {0.0}

Proportional daily grass growth rates [day^-1].

This is a vector of daily growth rates for each month. When the end of the vector is reached, the values are recycled. A vector of length 12 creates the same behaviour every year.

◆ init_mass

double Fauna::Demo::LogisticGrass::Parameters::init_mass = 0.0

Initial available forage [kgDM/km²].

This should be smaller than saturation

◆ reserve

double Fauna::Demo::LogisticGrass::Parameters::reserve = 0.1

Ungrazable grass biomass reserve, inaccessable to herbivores [kgDM/km²].

Owen-Smith (2002) gives value of 20 g/m²

◆ saturation

double Fauna::Demo::LogisticGrass::Parameters::saturation = 1.0

Saturation grass biomass [kgDM/m²].

Owen-Smith (2002): 200 g/m²


The documentation for this struct was generated from the following files: