Loading [MathJax]/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Oedothorax_Population_Manager.cpp File Reference
#include <string.h>
#include <iostream>
#include <fstream>
#include <vector>
#include "../Landscape/ls.h"
#include "../BatchALMaSS/MovementMap.h"
#include "../BatchALMaSS/PopulationManager.h"
#include "../BatchALMaSS/AOR_Probe.h"
#include "../BatchALMaSS/PositionMap.h"
#include "../Spiders/Spider_BaseClasses.h"
#include "../Spiders/Oedothorax.h"
#include "../Spiders/Oedothorax_Population_Manager.h"

Variables

CfgInt cfg_PmEventfrequency
 
CfgInt cfg_PmEventsize
 
CfgBool cfg_ReallyBigOutputMonthly_used
 
CfgBool cfg_CfgRipleysOutputUsed
 
CfgBool cfg_AorOutput_used
 
CfgBool cfg_ReallyBigOutputUsed
 
static CfgInt cfg_Oedothorax_DailyEggMort ("OEDOTHORAX_DAILYEGGMORT", CFG_CUSTOM, 40)
 
static CfgFloat cfg_Oedothorax_EggDevelConst2 ("OEDOTHORAX_EGGDEVELCONSTTWO", CFG_CUSTOM, 1000)
 
static CfgFloat cfg_Oedothorax_JuvDevelConst2 ("OEDOTHORAX_JUVDEVELCONSTTWO", CFG_CUSTOM, 1000.0)
 
static CfgInt cfg_Oedothorax_JuvDensityDepMortConst ("OEDOTHORAX_JUVDENSITYDEPMORTCONST", CFG_CUSTOM, 4)
 
static CfgInt cfg_Oedothorax_HatDensityDepMortConst ("OEDOTHORAX_HATDENSITYDEPMORTCONST", CFG_CUSTOM, 3)
 
static CfgFloat cfg_Oedothorax_EggProducConst ("OEDOTHORAX_EGGPRODUCCONST", CFG_CUSTOM, 1000)
 
static CfgInt cfg_Oedothorax_Max_Egg_Production ("OEDOTHORAX_MAX_EGG_PRODUCTION", CFG_CUSTOM, 15)
 
static CfgInt cfg_Oedothorax_DailyFemaleMort ("OEDOTHORAX_DAILYFEMALEMORT", CFG_CUSTOM, 3)
 
const std::array< int, 40 > Oedothorax_DispersalChance
 
const double MinBallooningTemp = 5.0
 
static CfgFloat cfg_Oedothorax_EggDevelThreshold ("OEDOTHORAX_EGGDEVELTHRESHOLD", CFG_CUSTOM, 0.0)
 
static CfgFloat cfg_Oedothorax_EggDevelThreshold2 ("OEDOTHORAX_EGGDEVELTHRESHOLD2", CFG_CUSTOM, 25.0)
 
static CfgFloat cfg_Oedothorax_JuvDevelThreshold ("OEDOTHORAX_JUVDEVELTHRESHOLD", CFG_CUSTOM, 0.0)
 
static CfgFloat cfg_Oedothorax_EggProducIntemediate ("OEDOTHORAX_EGGPRODUCINTERMEDIATE", CFG_CUSTOM, 0.66)
 
static CfgFloat cfg_Oedothorax_EggProducPoor ("OEDOTHORAX_EGGPRODUCPOOR", CFG_CUSTOM, 0.33)
 
static CfgFloat cfg_Oedothorax_EggDevelRHO25 ("OEDOTHORAX_EGGVDEVELRH", CFG_CUSTOM, 0.1132253)
 
static CfgFloat cfg_Oedothorax_EggDevelHA ("OEDOTHORAX_EGGVDEVELHA", CFG_CUSTOM, 16894.22)
 
static CfgFloat cfg_Oedothorax_JuvDevelRHO25 ("OEDOTHORAX_EGGVDEVELRH", CFG_CUSTOM, 0.094332631)
 
static CfgFloat cfg_Oedothorax_JuvDevelHA ("OEDOTHORAX_JUVVDEVELHA", CFG_CUSTOM, 23457.2191)
 
static CfgFloat cfg_Oedothorax_JuvDevelIntermediate ("OEDOTHORAX_JUVDEVELINTERMEDIATE", CFG_CUSTOM, 0.66666666)
 
static CfgFloat cfg_Oedothorax_JuvDevelPoor ("OEDOTHORAX_JUVDEVELPOOR", CFG_CUSTOM, 0.33333333)
 
static CfgFloat cfg_Oedothorax_EggProducThreshold ("OEDOTHORAX_EGGPRODUCTHRESHOLD", CFG_CUSTOM, 7.0)
 
static CfgFloat cfg_Oedothorax_EggProducRHO25 ("ERIGONE_EGGPRODUCRH", CFG_CUSTOM, 0.46)
 
static CfgFloat cfg_Oedothorax_EggProducHA ("ERIGONE_EGGPRODUCHA", CFG_CUSTOM, 14000)
 
static CfgInt cfg_Oedothorax_BallooningStart ("OEDOTHORAX_BALLOONINGSTART", CFG_CUSTOM, 91)
 
static CfgInt cfg_Oedothorax_BallooningStop ("OEDOTHORAX_BALLOONINGSTOP", CFG_CUSTOM, 180)
 
static CfgFloat cfg_Oedothorax_SpiderMinWalkTemp ("OEDOTHORAX_MIN_WALK_TEMP", CFG_CUSTOM, 3)
 
static CfgFloat cfg_Oedothorax_MaxBalloonPercent ("OEDOTHORAX_MAXBALLOONPERCENT", CFG_CUSTOM, 5)
 
static CfgFloat cfg_Oedothorax_MaxDistBalloonable ("OEDOTHORAX_MAXDISTBALLOONABLE", CFG_CUSTOM, 2200)
 
static CfgInt cfg_Oedothorax_SmallestBallooningDistance ("OEDOTHORAX_SMALLESTBALLOONDIST", CFG_CUSTOM, 70)
 The minimum ballooning distnace. More...
 
static CfgInt cfg_Oedothorax_BallooningDistanceInterval ("OEDOTHORAX_BALLOONINGSTEP", CFG_CUSTOM, 10)
 The size of the frequency category for ballooning distances. More...
 
static CfgInt cfg_Oedothorax_EggSacSpread ("OEDOTHORAX_EGG_SAC_SPREAD", CFG_CUSTOM, 10)
 
static CfgFloat cfg_Oedothorax_DailyJuvMort ("OEDOTHORAX_DAILYJUVMORT", CFG_CUSTOM, 0.003)
 
static CfgFloat cfg_Oedothorax_TempDailyJuvMortParameterA ("OEDOTHORAX_DAILYTEMPJUVMORTPARAMA", CFG_CUSTOM, -0.0006)
 
static CfgFloat cfg_Oedothorax_TempDailyJuvMortParameterB ("OEDOTHORAX_DAILYTEMPJUVMORTPARAMB", CFG_CUSTOM, 0.011)
 
static CfgFloat cfg_Oedothorax_DroughtTThreshold ("OEDOTHORAX_DROUGHTTTHRESHOLD", CFG_CUSTOM, 10.0)
 
static CfgFloat cfg_Oedothorax_DroughtRHThreshold ("OEDOTHORAX_DROUGHTRHTHRESHOLD", CFG_CUSTOM, 90.0)
 
static CfgFloat cfg_Oedothorax_DroughtScaler ("OEDOTHORAX_DROUGHTSCALER", CFG_CUSTOM, 0.0000125)
 
static CfgInt cfg_OedothoraxDensityDependentConstantZero ("OEDOTHORAX_DENDEPCONSTZERO", CFG_CUSTOM, 0)
 
static CfgInt cfg_OedothoraxStartNos ("OEDOTHORAX_STARTNO", CFG_CUSTOM, 50000)
 

Variable Documentation

◆ cfg_AorOutput_used

CfgBool cfg_AorOutput_used

◆ cfg_CfgRipleysOutputUsed

CfgBool cfg_CfgRipleysOutputUsed

◆ cfg_Oedothorax_BallooningDistanceInterval

CfgInt cfg_Oedothorax_BallooningDistanceInterval("OEDOTHORAX_BALLOONINGSTEP", CFG_CUSTOM, 10)
static

The size of the frequency category for ballooning distances.

Referenced by Oedothorax_Population_Manager::Init().

◆ cfg_Oedothorax_BallooningStart

CfgInt cfg_Oedothorax_BallooningStart("OEDOTHORAX_BALLOONINGSTART", CFG_CUSTOM, 91)
static

◆ cfg_Oedothorax_BallooningStop

CfgInt cfg_Oedothorax_BallooningStop("OEDOTHORAX_BALLOONINGSTOP", CFG_CUSTOM, 180)
static

◆ cfg_Oedothorax_DailyEggMort

CfgInt cfg_Oedothorax_DailyEggMort("OEDOTHORAX_DAILYEGGMORT", CFG_CUSTOM, 40)
static

◆ cfg_Oedothorax_DailyFemaleMort

CfgInt cfg_Oedothorax_DailyFemaleMort("OEDOTHORAX_DAILYFEMALEMORT", CFG_CUSTOM, 3)
static

◆ cfg_Oedothorax_DailyJuvMort

CfgFloat cfg_Oedothorax_DailyJuvMort("OEDOTHORAX_DAILYJUVMORT", CFG_CUSTOM, 0.003)
static

◆ cfg_Oedothorax_DroughtRHThreshold

CfgFloat cfg_Oedothorax_DroughtRHThreshold("OEDOTHORAX_DROUGHTRHTHRESHOLD", CFG_CUSTOM, 90.0)
static

◆ cfg_Oedothorax_DroughtScaler

CfgFloat cfg_Oedothorax_DroughtScaler("OEDOTHORAX_DROUGHTSCALER", CFG_CUSTOM, 0.0000125)
static

◆ cfg_Oedothorax_DroughtTThreshold

CfgFloat cfg_Oedothorax_DroughtTThreshold("OEDOTHORAX_DROUGHTTTHRESHOLD", CFG_CUSTOM, 10.0)
static

◆ cfg_Oedothorax_EggDevelConst2

CfgFloat cfg_Oedothorax_EggDevelConst2("OEDOTHORAX_EGGDEVELCONSTTWO", CFG_CUSTOM, 1000)
static

◆ cfg_Oedothorax_EggDevelHA

CfgFloat cfg_Oedothorax_EggDevelHA("OEDOTHORAX_EGGVDEVELHA", CFG_CUSTOM, 16894.22)
static

◆ cfg_Oedothorax_EggDevelRHO25

CfgFloat cfg_Oedothorax_EggDevelRHO25("OEDOTHORAX_EGGVDEVELRH", CFG_CUSTOM, 0.1132253)
static

◆ cfg_Oedothorax_EggDevelThreshold

CfgFloat cfg_Oedothorax_EggDevelThreshold("OEDOTHORAX_EGGDEVELTHRESHOLD", CFG_CUSTOM, 0.0)
static

◆ cfg_Oedothorax_EggDevelThreshold2

CfgFloat cfg_Oedothorax_EggDevelThreshold2("OEDOTHORAX_EGGDEVELTHRESHOLD2", CFG_CUSTOM, 25.0)
static

◆ cfg_Oedothorax_EggProducConst

CfgFloat cfg_Oedothorax_EggProducConst("OEDOTHORAX_EGGPRODUCCONST", CFG_CUSTOM, 1000)
static

◆ cfg_Oedothorax_EggProducHA

CfgFloat cfg_Oedothorax_EggProducHA("ERIGONE_EGGPRODUCHA", CFG_CUSTOM, 14000)
static

◆ cfg_Oedothorax_EggProducIntemediate

CfgFloat cfg_Oedothorax_EggProducIntemediate("OEDOTHORAX_EGGPRODUCINTERMEDIATE", CFG_CUSTOM, 0.66)
static

◆ cfg_Oedothorax_EggProducPoor

CfgFloat cfg_Oedothorax_EggProducPoor("OEDOTHORAX_EGGPRODUCPOOR", CFG_CUSTOM, 0.33)
static

◆ cfg_Oedothorax_EggProducRHO25

CfgFloat cfg_Oedothorax_EggProducRHO25("ERIGONE_EGGPRODUCRH", CFG_CUSTOM, 0.46)
static

◆ cfg_Oedothorax_EggProducThreshold

CfgFloat cfg_Oedothorax_EggProducThreshold("OEDOTHORAX_EGGPRODUCTHRESHOLD", CFG_CUSTOM, 7.0)
static

◆ cfg_Oedothorax_EggSacSpread

CfgInt cfg_Oedothorax_EggSacSpread("OEDOTHORAX_EGG_SAC_SPREAD", CFG_CUSTOM, 10)
static

◆ cfg_Oedothorax_HatDensityDepMortConst

CfgInt cfg_Oedothorax_HatDensityDepMortConst("OEDOTHORAX_HATDENSITYDEPMORTCONST", CFG_CUSTOM, 3)
static

◆ cfg_Oedothorax_JuvDensityDepMortConst

CfgInt cfg_Oedothorax_JuvDensityDepMortConst("OEDOTHORAX_JUVDENSITYDEPMORTCONST", CFG_CUSTOM, 4)
static

◆ cfg_Oedothorax_JuvDevelConst2

CfgFloat cfg_Oedothorax_JuvDevelConst2("OEDOTHORAX_JUVDEVELCONSTTWO", CFG_CUSTOM, 1000.0)
static

◆ cfg_Oedothorax_JuvDevelHA

CfgFloat cfg_Oedothorax_JuvDevelHA("OEDOTHORAX_JUVVDEVELHA", CFG_CUSTOM, 23457.2191)
static

◆ cfg_Oedothorax_JuvDevelIntermediate

CfgFloat cfg_Oedothorax_JuvDevelIntermediate("OEDOTHORAX_JUVDEVELINTERMEDIATE", CFG_CUSTOM, 0.66666666)
static

◆ cfg_Oedothorax_JuvDevelPoor

CfgFloat cfg_Oedothorax_JuvDevelPoor("OEDOTHORAX_JUVDEVELPOOR", CFG_CUSTOM, 0.33333333)
static

◆ cfg_Oedothorax_JuvDevelRHO25

CfgFloat cfg_Oedothorax_JuvDevelRHO25("OEDOTHORAX_EGGVDEVELRH", CFG_CUSTOM, 0.094332631)
static

◆ cfg_Oedothorax_JuvDevelThreshold

CfgFloat cfg_Oedothorax_JuvDevelThreshold("OEDOTHORAX_JUVDEVELTHRESHOLD", CFG_CUSTOM, 0.0)
static

◆ cfg_Oedothorax_Max_Egg_Production

CfgInt cfg_Oedothorax_Max_Egg_Production("OEDOTHORAX_MAX_EGG_PRODUCTION", CFG_CUSTOM, 15)
static

◆ cfg_Oedothorax_MaxBalloonPercent

CfgFloat cfg_Oedothorax_MaxBalloonPercent("OEDOTHORAX_MAXBALLOONPERCENT", CFG_CUSTOM, 5)
static

◆ cfg_Oedothorax_MaxDistBalloonable

CfgFloat cfg_Oedothorax_MaxDistBalloonable("OEDOTHORAX_MAXDISTBALLOONABLE", CFG_CUSTOM, 2200)
static

◆ cfg_Oedothorax_SmallestBallooningDistance

CfgInt cfg_Oedothorax_SmallestBallooningDistance("OEDOTHORAX_SMALLESTBALLOONDIST", CFG_CUSTOM, 70)
static

The minimum ballooning distnace.

Referenced by Oedothorax_Population_Manager::Init().

◆ cfg_Oedothorax_SpiderMinWalkTemp

CfgFloat cfg_Oedothorax_SpiderMinWalkTemp("OEDOTHORAX_MIN_WALK_TEMP", CFG_CUSTOM, 3)
static

◆ cfg_Oedothorax_TempDailyJuvMortParameterA

CfgFloat cfg_Oedothorax_TempDailyJuvMortParameterA("OEDOTHORAX_DAILYTEMPJUVMORTPARAMA", CFG_CUSTOM, -0.0006)
static

Based one De Keer R & Maelfait J‐P (1988a) Laboratory observations on the development and reproduction of Erigone atra, Blackwall, 1833 (Aranea, Linyphiidae). Bulletin of the British Arachnological Society 7: 237–242. We use a temperature related daily juvenile mortality. Using the admittedly small numbers of spiders in temperature range 10-20 degrees we get a linear relationship between temperature and survivial, such that daily mortality can be described by daily mort = -0.0006temp + 0.011. If we assume a higher mortality in the field the we can still use the value OEDOTHORAX_DAILYJUVMORT, but add this additional mortality. This way we avoid the artificial over wintering mortality function.

Referenced by Oedothorax_Population_Manager::DoFirst().

◆ cfg_Oedothorax_TempDailyJuvMortParameterB

CfgFloat cfg_Oedothorax_TempDailyJuvMortParameterB("OEDOTHORAX_DAILYTEMPJUVMORTPARAMB", CFG_CUSTOM, 0.011)
static

◆ cfg_OedothoraxDensityDependentConstantZero

CfgInt cfg_OedothoraxDensityDependentConstantZero("OEDOTHORAX_DENDEPCONSTZERO", CFG_CUSTOM, 0)
static

◆ cfg_OedothoraxStartNos

CfgInt cfg_OedothoraxStartNos("OEDOTHORAX_STARTNO", CFG_CUSTOM, 50000)
static

◆ cfg_PmEventfrequency

CfgInt cfg_PmEventfrequency

◆ cfg_PmEventsize

CfgInt cfg_PmEventsize

◆ cfg_ReallyBigOutputMonthly_used

CfgBool cfg_ReallyBigOutputMonthly_used

◆ cfg_ReallyBigOutputUsed

CfgBool cfg_ReallyBigOutputUsed

◆ MinBallooningTemp

const double MinBallooningTemp = 5.0

◆ Oedothorax_DispersalChance

const std::array<int,40> Oedothorax_DispersalChance
Initial value:
=
{
8, 9, 10, 11, 12, 14, 15, 16, 18, 22,
29, 49, 61, 65, 67, 69, 71, 72, 74, 75,
77, 79, 80, 81, 82, 82, 82, 82, 82, 82,
82, 82, 82, 82, 82, 82, 82, 82, 82, 82
}

Referenced by Oedothorax_Population_Manager::Init().