Parameters

These are all the parameters that are needed for a simulation. For the Simulation configuration files defaults are shown here but the environment and species parameters have no defaults and have to be supplied.

Simulation configuration files

ParameterDefaultTypeDescription
experiment_namedefaultStringName of the experiment.
config_dir``StringPath to the configuration file is taken from read_inputname
output_dir./output/StringPath to the output in relation to the configuration_csv.
species_dir./species/StringPath to the species folder relative from the configuration file. The default assumes a species folder in the same folder as the configuration file from read_input
environment_dir./environment/StringPath to the environment folder relative to the configuration file. The default assumes an environment folder in the same folder as the configuration file from read_input
input_backupfalseBoolIf true the input files will be copied to the output folder.
env_attribute_filesNO DEFAULTDictionary{String, String}Path to the environment attribute files. The parameter is the key which points to the filepath of the respective file.
env_restriction_filesNO DEFAULTDictionary{String, String}Path to the environment restriction files. The parameter is the key which points to the filepath of the respective file. The Simulation can be done without restrictions.
env_attribute_modeminimumStringMode for the environment attributes. Can be TODO
env_restriction_modeminimumStringMode for the environment restrictions. Can be TODO
attribute_restriction_blendingmultiplicationStringMode for the environment restrictions. Can be TODO
timesteps20IntNumber of timesteps to run the simulation for.
randomseed42IntRandom seed for the simulation.
reproduction_modelBevertonStringSets which Reproduction model will be used in the simulation. Can be one of Beverton, Ricker or RickerAllee. See in TODO for more information
use_metabolic_theorytrueBoolIf true the Metabolic Theory of Ecology(Brown et al., 2004)[1] will be applied in calculation of TODO
use_stoch_alleefalseBoolIf true Allee effects will have a random component
use_stoch_carryfalseBoolIf true the carrying capacity will have a random component
use_stoch_numfalseBoolIf true the number of individuals will have a random component
initialize_cellshabitatStringSets where the species will be initialized. Can be one of TODO
Note

Environmental parameters have no predefined default name or value. They are supplied through the environment files and require the use of the same name in the species configuration files. Temperature is always required for the Metabolic Theory of Ecology. For a parameter p there should be a file p.csv in the environment folder. For this case in the options it would be:

p p.csv

or if there is several files for p:

p p/

Species configuration files

Warning

Species configuration files have no defaults. All parameters have to be supplied in the file.

ParameterTypeDescription
species_nameStringName of the species.
massFloatMass of the individuals TODO:(is that right?).
sd_massFloatStandard deviation of the mass of the individuals.
growrateFloatGrowth rate of the individuals.
sd_growrateFloatStandard deviation of the growth rate of the individuals.
param_const_growrateFloatTODO
prob_dispersalFloatProbability of the species to disperse. TODO not currently in use
max_dispersal_distIntMaximum distance the species can disperse.
max_dispersal_bufferIntBuffer around the maximum distance the species can disperse. TODO needed?
mean_dispersal_distIntMean distance the species can disperse.
alleeFloatTODO
sd_alleeFloatStandard deviation of the Allee effect.
param_const_alleeFloatTODO
bevmortFloatTODO
sd_bevmortFloatStandard deviation of the Beverton mortality.
param_const_bevmortFloatTODO
carryFloatCarrying capacity of the species.
sd_carryFloatStandard deviation of the carrying capacity.
param_const_carryFloatTODO
upper_limit_temperatureFloatUpper limit of the temperature range.
lower_limit_temperatureFloatLower limit of the temperature range.
optimum_temperatureFloatOptimum temperature of the species.
response_temperatureStringResponse of the species to temperature. Can be one of linear, quadratic, sqrt or normal.
habitat_cutoff_suitabilityFloatTODO
Note

The general pattern of response for to an environmental preference p is:

  • upper_limit_p: Upper limit of the parameter range.
  • lower_limit_p: Lower limit of the parameter range.
  • optimum_p: Optimum value of the parameter.
  • response_p: Response of the species to the parameter. Can be one of linear, quadratic, sqrt or normal.