Goose Management Model ODdox  1.02
Goose_Population_Manager.cpp File Reference

The source code for the goose population manager and associated classes More...

#include <string.h>
#include <math.h>
#include <iostream>
#include <fstream>
#include <vector>
#include <list>
#include "../Landscape/ls.h"
#include "../BatchALMaSS/PopulationManager.h"
#include "../BatchALMaSS/AOR_Probe.h"
#include "../GooseManagement/GooseMemoryMap.h"
#include "../GooseManagement/Goose_Base.h"
#include "../BatchALMaSS/CurveClasses.h"
#include "../Hunters/Hunters_all.h"
#include "../GooseManagement/Goose_Population_Manager.h"
#include "GoosePinkFooted_All.h"
#include "GooseGreylag_All.h"
#include "GooseBarnacle_All.h"
#include "../BatchALMaSS/BoostRandomGenerators.h"
#include <boost/io/ios_state.hpp>

Go to the source code of this file.

Variables

CfgBool cfg_AOROutput_used
 This config variable controls whether we should make AOR output. More...
 
CfgFloat cfg_B6A ("POLYNOMIALTWO_THREE_A", CFG_CUSTOM, -0.066)
 Coefficient A in a second order polynomial function. More...
 
CfgFloat cfg_B6B ("POLYNOMIALTWO_THREE_B", CFG_CUSTOM, 0.88)
 Coefficient B in a second order polynomial function. More...
 
CfgFloat cfg_B6C ("POLYNOMIALTWO_THREE_C", CFG_CUSTOM, 5.0)
 The constant C in a second order polynomial function. More...
 
CfgFloat cfg_B6D ("POLYNOMIALTWO_THREE_D", CFG_CUSTOM, 0.404)
 Scaler for assimilation of energy from grass for pinkfeet. Madsen 1985 Vol 16 p. 222 - 228 Ornis Scandinavica. More...
 
CfgBool cfg_B6E ("POLYNOMIALTWO_THREE_E", CFG_CUSTOM, false)
 Logical config to control if the curve should be reversed (i.e. 1 - value) More...
 
CfgFloat cfg_B6F ("POLYNOMIALTWO_THREE_F", CFG_CUSTOM, 13.4761)
 Max x-value - at this point the curve tends to 0, must stop here to avoid negative values. More...
 
CfgFloat cfg_B6G ("POLYNOMIALTWO_THREE_B", CFG_CUSTOM, 0.00)
 Min x-value. More...
 
CfgStr cfg_B6H ("POLYNOMIALTWO_THREE_H", CFG_CUSTOM, "KJIntakeAtVaryingGrassHeights_BG")
 File name for grass functional response for barnacles. More...
 
CfgFloat cfg_G6A ("POLYNOMIALTWO_TWO_A", CFG_CUSTOM, -0.1094)
 Coefficient A in a second order polynomial function. More...
 
CfgFloat cfg_G6B ("POLYNOMIALTWO_TWO_B", CFG_CUSTOM, 2.6695)
 Coefficient B in a second order polynomial function. More...
 
CfgFloat cfg_G6C ("POLYNOMIALTWO_TWO_C", CFG_CUSTOM, 0.0)
 The constant C in a second order polynomial function. More...
 
CfgFloat cfg_G6D ("POLYNOMIALTWO_TWO_D", CFG_CUSTOM, 0.404)
 Scaler for assimilation of energy from grass for pinkfeet. Madsen 1985 Vol 16 p. 222 - 228 Ornis Scandinavica. More...
 
CfgBool cfg_G6E ("POLYNOMIALTWO_TWO_E", CFG_CUSTOM, false)
 Logical config to control if the curve should be reversed (i.e. 1 - value) More...
 
CfgFloat cfg_G6F ("POLYNOMIALTWO_TWO_F", CFG_CUSTOM, 24.4013)
 Max x-value - at this point the curve tends to 0, must stop here to avoid negative values. More...
 
CfgFloat cfg_G6G ("POLYNOMIALTWO_TWO_G", CFG_CUSTOM, 0.00)
 Min x-value. More...
 
CfgStr cfg_G6H ("POLYNOMIALTWO_TWO_H", CFG_CUSTOM, "KJIntakeAtVaryingGrassHeights_GL")
 File name for grass functional response for greylags. More...
 
CfgInt cfg_goose_AfterDarkTime ("GOOSE_AFTERDARKTIME", CFG_CUSTOM, 30, 0, 180)
 The number of minutes that geese will be foraging after sunset. More...
 
CfgFloat cfg_goose_BMRconstant1 ("GOOSE_BMRCONSTANTA", CFG_CUSTOM, 4.19 *78.30, 1, 500)
 The cost of BMR per kg goose - constant 1. More...
 
CfgFloat cfg_goose_BMRconstant2 ("GOOSE_BMRCONSTANTB", CFG_CUSTOM, 0.72, 0, 1)
 The cost of BMR per kg goose - constant 2. More...
 
CfgInt cfg_goose_bn_arrivedateend ("GOOSE_BN_ARRIVEDATEEND", CFG_CUSTOM, 298)
 Input: The last date for arrival for barnacles to the simulation area. More...
 
CfgInt cfg_goose_bn_arrivedatestart ("GOOSE_BN_ARRIVEDATESTART", CFG_CUSTOM, 277)
 Input: The initial starting date for arrival for barnacles to the simulation area. More...
 
CfgFloat cfg_goose_bn_baseweight ("GOOSE_BARNACLEWEIGHT", CFG_CUSTOM, 1708, 1500, 2000)
 Lean weight of barnacle geese. More...
 
CfgFloat cfg_goose_bn_fallmig_probability ("GOOSE_BN_FALLMIG_PROBABILITY", CFG_CUSTOM, 0.0083, 0.0, 1.0)
 Input: The barnacle fall migration probability. More...
 
CfgInt cfg_goose_bn_fallmigdateend ("GOOSE_BN_FALL_MIGRATION_END", CFG_CUSTOM, 348, 1, 365)
 Input: Date for end of barnacle fall migration. More...
 
CfgInt cfg_goose_bn_fallmigdatestart ("GOOSE_BN_FALL_MIGRATION_START", CFG_CUSTOM, 318, 1, 365)
 Input: Date for onset of barnacle fall migration. More...
 
CfgBool cfg_goose_bn_fallmigrate ("GOOSE_BN_FALL_MIGRATE", CFG_CUSTOM, true)
 Input: Should we simulate a barnacle fall migration? More...
 
CfgFloat cfg_goose_bn_FieldForageDist ("GOOSE_FIELDFORAGEDIST_BN", CFG_CUSTOM, 5000, 1000, 35000)
 The maximum forage range when already at a forage location for barnacle geese (m) More...
 
static CfgInt cfg_goose_bn_followinglikelyhood ("GOOSE_FOLLOWINGLIKELYHOOD_BN", CFG_CUSTOM, 0, 0, 10000)
 The likelyhood that a goose will follow another goose when going foraging - barnacle goose. More...
 
CfgFloat cfg_goose_bn_ForageDist ("GOOSE_FORAGEDIST_BN", CFG_CUSTOM, 35000, 1000, 35000)
 The maximum forage range in m for barnacle geese. More...
 
CfgInt cfg_goose_bn_leavingdateend ("GOOSE_BN_LEAVINGDATEEND", CFG_CUSTOM, 134)
 Input: The last date for barnacles to leave the simulation area. More...
 
CfgInt cfg_goose_bn_leavingdatestart ("GOOSE_BN_LEAVINGDATESTART", CFG_CUSTOM, 90)
 Input: The initial starting date for barnacles to leave the simulation area. More...
 
CfgFloat cfg_goose_bn_sexratio ("GOOSE_BN_SEXRATIO", CFG_CUSTOM, 0.5, 0.0, 1.0)
 The sex ratio of barnacle non-breeders. More...
 
CfgInt cfg_goose_bn_springmigdateend ("GOOSE_BN_SPRING_MIG_END", CFG_CUSTOM, 75, 1, 365)
 Input: Date for end of barnacle spring migration. More...
 
CfgInt cfg_goose_bn_springmigdatestart ("GOOSE_BN_SPRING_MIG_START", CFG_CUSTOM, 15, 1, 365)
 Input: Date for onset of barnacle spring migration. More...
 
CfgInt cfg_goose_bn_springmignos ("GOOSE_BN_SPRING_MIG_NOS", CFG_CUSTOM, 8960)
 Input: Number of barnacle to immigrate in spring. More...
 
CfgBool cfg_goose_bn_springmigrate ("GOOSE_BN_SPRING_MIGRATE", CFG_CUSTOM, true)
 Input: Should we simulate barnacle a spring migration? More...
 
CfgInt cfg_goose_bn_startnos ("GOOSE_BN_STARTNOS", CFG_CUSTOM, 5600)
 Input: Barnacle goose start numbers. More...
 
CfgFloat cfg_goose_bn_Thermalconstant ("GOOSE_THERMALCONSTANTA_BN", CFG_CUSTOM, 12.1, 1, 25)
 Barnacle goose lower critical temperature for calculating thermal regulation cost. Constant 1. More...
 
CfgFloat cfg_goose_bn_young_proportion ("GOOSE_BN_YOUNG_PROPORTION", CFG_CUSTOM, 0.21, 0.0, 1.0)
 Input: Barnacle goose proportion of young at start. More...
 
CfgFloat cfg_goose_daytime_BMR_multiplier ("GOOSE_DAYTIMEBMRMULTIPLIER", CFG_CUSTOM, 1.65, 1.0, 10.0)
 To calculate daily energy budget. This is the multiple of BMR spent during daytime Default is based on Madsen 1985 ("Relations between change in spring habitat selection...") More...
 
CfgFloat cfg_goose_dist_weight_power ("GOOSE_DIST_WEIGHTING_POWER", CFG_CUSTOM, 1.0, -10.0, 10.0)
 The exponent for the distance weighting curve. More...
 
CfgFloat cfg_goose_EnergyContentOfFat ("GOOSE_ENERGYCONTENTOFFAT", CFG_CUSTOM, 39.8, 1, 100)
 The energy content of fat. More...
 
static CfgBool cfg_goose_EnergyRecord ("GOOSE_ENERGYRECORD", CFG_CUSTOM, false)
 Should we record goose energetics? More...
 
static CfgBool cfg_goose_FieldForageInfo ("GOOSE_FIELDFORAGEINFO", CFG_CUSTOM, false)
 Should we record goose field forage information? More...
 
static CfgFloat cfg_goose_flightcost ("GOOSE_FLIGHTCOST", CFG_CUSTOM, 0.000002079, 0, 1)
 the cost of flight in kJ per m per gram More...
 
CfgInt cfg_goose_gl_arrivedateend ("GOOSE_GL_ARRIVEDATEEND", CFG_CUSTOM, 231)
 Input: The last date for arrival for greylags to the simulation area. More...
 
CfgInt cfg_goose_gl_arrivedatestart ("GOOSE_GL_ARRIVEDATESTART", CFG_CUSTOM, 212)
 Input: The initial starting date for arrival for greylags to the simulation area. More...
 
CfgFloat cfg_goose_gl_baseweight ("GOOSE_GREYLAGWEIGHT", CFG_CUSTOM, 2795, 2500, 3000)
 Lean weight of greylag geese. More...
 
CfgFloat cfg_goose_gl_fallmig_probability ("GOOSE_GL_FALLMIG_PROBABILITY", CFG_CUSTOM, 0.0083, 0.0, 1.0)
 Input: The greylag fall migration probability. More...
 
CfgInt cfg_goose_gl_fallmigdateend ("GOOSE_GL_FALL_MIGRATION_END", CFG_CUSTOM, 334, 1, 365)
 Input: Date for end of greylag fall migration. More...
 
CfgInt cfg_goose_gl_fallmigdatestart ("GOOSE_GL_FALL_MIGRATION_START", CFG_CUSTOM, 232, 1, 365)
 Input: Date for onset of greylag fall migration. More...
 
CfgBool cfg_goose_gl_fallmigrate ("GOOSE_GL_FALL_MIGRATE", CFG_CUSTOM, true)
 Input: Should we simulate a greylag fall migration? More...
 
CfgFloat cfg_goose_gl_FieldForageDist ("GOOSE_FIELDFORAGEDIST_GL", CFG_CUSTOM, 5000, 1000, 35000)
 The maximum forage range when already at a forage location for greylag geese (m) More...
 
static CfgInt cfg_goose_gl_followinglikelyhood ("GOOSE_FOLLOWINGLIKELYHOOD_GL", CFG_CUSTOM, 0, 0, 10000)
 The likelyhood that a goose will follow another goose when going foraging - graylag goose. More...
 
CfgFloat cfg_goose_gl_ForageDist ("GOOSE_FORAGEDIST_GL", CFG_CUSTOM, 35000, 1000, 35000)
 The maximum forage range in m for greylag geese. More...
 
CfgInt cfg_goose_gl_leavingdateend ("GOOSE_GL_LEAVINGDATEEND", CFG_CUSTOM, 68)
 Input: The last date for greylags to leave the simulation area. More...
 
CfgInt cfg_goose_gl_leavingdatestart ("GOOSE_GL_LEAVINGDATESTART", CFG_CUSTOM, 58)
 Input: The initial starting date for greylags to leave the simulation area. More...
 
CfgFloat cfg_goose_gl_sexratio ("GOOSE_GL_SEXRATIO", CFG_CUSTOM, 0.5, 0.0, 1.0)
 The sex ratio of greylag non-breeders. More...
 
CfgInt cfg_goose_gl_springmigdateend ("GOOSE_GL_SPRING_MIG_END", CFG_CUSTOM, 75, 1, 365)
 Input: Date for end of greylag spring migration. More...
 
CfgInt cfg_goose_gl_springmigdatestart ("GOOSE_GL_SPRING_MIG_START", CFG_CUSTOM, 15, 1, 365)
 Input: Date for onset of greylag spring migration. More...
 
CfgInt cfg_goose_gl_springmignos ("GOOSE_GL_SPRING_MIG_NOS", CFG_CUSTOM, 2240)
 Input: Number of greylag to immigrate in spring. More...
 
CfgBool cfg_goose_gl_springmigrate ("GOOSE_GL_SPRING_MIGRATE", CFG_CUSTOM, true)
 Input: Should we simulate greylag a spring migration? More...
 
CfgInt cfg_goose_gl_startnos ("GOOSE_GL_STARTNOS", CFG_CUSTOM, 8960)
 Input: Greylag geese start numbers. More...
 
CfgFloat cfg_goose_gl_Thermalconstant ("GOOSE_THERMALCONSTANTA_GL", CFG_CUSTOM, 10.8, 1, 25)
 Greylag goose lower critical temperature for calculating thermal regulation cost. Constant 1. More...
 
CfgFloat cfg_goose_gl_young_proportion ("GOOSE_GL_YOUNG_PROPORTION", CFG_CUSTOM, 0.21, 0.0, 1.0)
 Input: Greylag goose proportion of young at start. More...
 
CfgInt cfg_goose_grain_and_maize_reset_day ("GOOSE_GRAINANDMAIZERESETDAY", CFG_CUSTOM, 59, 0, 364)
 The day where all grain across the landscape is reset. More...
 
CfgFloat cfg_goose_GrainDecayRateSpring ("GOOSE_GRAINDECAYRATESPRING", CFG_CUSTOM, 0.95, 0.0, 1.0)
 The decay rate for spilled grain for Spring until 1st July. More...
 
CfgFloat cfg_goose_GrainDecayRateWinter ("GOOSE_GRAINDECAYRATEWINTER", CFG_CUSTOM, 0.9985, 0.0, 1.0)
 The decay rate for spilled grain for Harvest to Spring. More...
 
CfgFloat cfg_goose_grass_to_winter_cereal_scaler ("GOOSE_GRASS_TO_WINTER_CEREAL_SCALER", CFG_CUSTOM, 1.0325, 0.0, 10.0)
 The scaler to go from energy intake from grass forage to winter cereal The default value of 1.0325 is a quick fix to account for higher energy intake on winter cereal - Based on Therkildsen & Madsen 2000 Energetics of feeding... More...
 
CfgInt cfg_goose_greylagopenseasonend ("GOOSE_GL_OPENSEASONEND", CFG_CUSTOM, 31)
 The end of the greylag hunting season. More...
 
CfgInt cfg_goose_greylagopenseasonstart ("GOOSE_GL_OPENSEASONSTART", CFG_CUSTOM, 243)
 The start of the greylag hunting season. More...
 
static CfgBool cfg_goose_IndLocCounts ("GOOSE_INDLOCCOUNTSTATS", CFG_CUSTOM, false)
 Should we record gooseindividual forage location count statistics? More...
 
CfgFloat cfg_goose_InitialEnergyReserveProportion ("GOOSE_INITIALENERGYRESERVEPROPORTION", CFG_CUSTOM, 0.1, 0.0, 1)
 The initial proportion of weight that can be stored as energy reserves. More...
 
static CfgBool cfg_goose_LeaveReasonStats ("GOOSE_LEAVEREASONSTATS", CFG_CUSTOM, false)
 Should we record goose leaving reason statistics? More...
 
static CfgFloat cfg_goose_LeavingThreshold ("GOOSE_LEAVINGTHRESHOLD", CFG_CUSTOM, 1.0, 1.0, 5.0)
 The 5-day mean of body condition which triggers the bird to leave. More...
 
CfgFloat cfg_goose_MaxAppetiteScaler ("GOOSE_MAXAPPETITESCALER", CFG_CUSTOM, 4.82, 1, 10)
 The maximum a goose is allowed to eat in a day as a scaling of BMR. More...
 
CfgFloat cfg_goose_MaxEnergyReserveProportion ("GOOSE_MAXENERGYRESERVEPROPORTION", CFG_CUSTOM, 0.27, 0.1, 1)
 The maximum proportion of weight that can be stored as energy reserves. More...
 
CfgInt cfg_goose_MaxScareDistance ("GOOSE_MAXSCAREDIST", CFG_CUSTOM, 500, 1, 5000)
 The maximum distance in m that a goose can hear a scary bang. More...
 
CfgFloat cfg_goose_MetabolicConversionCosts ("GOOSE_METABOLICCONVCOSTS", CFG_CUSTOM, 11.4, 1, 100)
 The metabolic costs of converting tissue to energy or vice versa
More...
 
CfgFloat cfg_goose_MinForageOpenness ("GOOSE_MINFORAGEOPENNESS", CFG_CUSTOM, 100.0, 10, 10000)
 The minimum openness score that a goose will tolerate for foraging. More...
 
CfgFloat cfg_goose_MinForageRateDecayRate ("GOOSE_MINFORAGEDECAYRATE", CFG_CUSTOM, 0.72, 0.0, 1.0)
 The decay rate for the minimum forage rate. More...
 
CfgInt cfg_goose_ModelExitDay ("GOOSE_MODELEXITDAY", CFG_CUSTOM, 9999, 1, 100000)
 Input variable to control exit of the goose model The geese leave the simulation in spring, so this variable is used to hard exit the model once they have all left. More...
 
CfgFloat cfg_goose_nighttime_BMR_multiplier ("GOOSE_NIGHTTIMEBMRMULTIPLIER", CFG_CUSTOM, 1.3, 1.0, 10.0)
 To calculate daily energy budget. This is the multiple of BMR spent during nighttime. More...
 
static CfgBool cfg_goose_ObservedOpennessQuery ("GOOSE_OBSERVEDOPENNESS", CFG_CUSTOM, false)
 Should we query the map for openness scores on locations where geese have been observed in the field? More...
 
CfgInt cfg_goose_pf_arrivedateend ("GOOSE_PF_ARRIVEDATEEND", CFG_CUSTOM, 280)
 Input: The last date for arrival for pink-foots to the simulation area. More...
 
CfgInt cfg_goose_pf_arrivedatestart ("GOOSE_PF_ARRIVEDATESTART", CFG_CUSTOM, 265)
 Input: The initial starting date for arrival for pink-foots to the simulation area. More...
 
CfgFloat cfg_goose_pf_baseweight ("GOOSE_PINKFOOTWEIGHT", CFG_CUSTOM, 2307, 2000, 3000)
 Lean weight of pinkfoot geese. More...
 
CfgFloat cfg_goose_pf_fallmig_probability ("GOOSE_PF_FALLMIG_PROBABILITY", CFG_CUSTOM, 0.03, 0.0, 1.0)
 Input: The pinkfoot fall migration probability. More...
 
CfgInt cfg_goose_pf_fallmigdateend ("GOOSE_PF_FALL_MIGRATION_END", CFG_CUSTOM, 304, 1, 365)
 Input: Date for end of pinkfoot fall migration. More...
 
CfgInt cfg_goose_pf_fallmigdatestart ("GOOSE_PF_FALL_MIGRATION_START", CFG_CUSTOM, 274, 1, 365)
 Input: Date for onset of pinkfoot fall migration. More...
 
CfgBool cfg_goose_pf_fallmigrate ("GOOSE_PF_FALL_MIGRATE", CFG_CUSTOM, true)
 Input: Should we simulate a pinkfoot fall migration? More...
 
CfgFloat cfg_goose_pf_FieldForageDist ("GOOSE_FIELDFORAGEDIST_PF", CFG_CUSTOM, 5000, 1000, 35000)
 The maximum forage range when already at a forage location for pink-footed geese (m) More...
 
static CfgInt cfg_goose_pf_followinglikelyhood ("GOOSE_FOLLOWINGLIKELYHOOD_PF", CFG_CUSTOM, 0, 0, 10000)
 The likelyhood that a goose will follow another goose when going foraging - pinkfooted goose. More...
 
CfgFloat cfg_goose_pf_ForageDist ("GOOSE_FORAGEDIST_PF", CFG_CUSTOM, 35000, 1000, 35000)
 The maximum forage range in m for pink-footed geese. More...
 
CfgInt cfg_goose_pf_leavingdateend ("GOOSE_PF_LEAVINGDATEEND", CFG_CUSTOM, 104)
 Input: The last date for pink-foots to leave the simulation area. More...
 
CfgInt cfg_goose_pf_leavingdatestart ("GOOSE_PF_LEAVINGDATESTART", CFG_CUSTOM, 78)
 Input: The initial starting date for pink-foots to the leave simulation area. More...
 
CfgFloat cfg_goose_pf_sexratio ("GOOSE_PF_SEXRATIO", CFG_CUSTOM, 0.5, 0.0, 1.0)
 The sex ratio of pinkfoot non-breeders. More...
 
CfgInt cfg_goose_pf_springmigdateend ("GOOSE_PF_SPRING_MIG_END", CFG_CUSTOM, 59, 1, 365)
 Input: Date for end of spring migration. More...
 
CfgInt cfg_goose_pf_springmigdatestart ("GOOSE_PF_SPRING_MIG_START", CFG_CUSTOM, 7, 1, 365)
 Input: Date for onset of spring migration. More...
 
CfgInt cfg_goose_pf_springmignos ("GOOSE_PF_SPRING_MIG_NOS", CFG_CUSTOM, 5600)
 Input: Number of pinkfeet to immigrate in spring. More...
 
CfgBool cfg_goose_pf_springmigrate ("GOOSE_PF_SPRING_MIGRATE", CFG_CUSTOM, true)
 Input: Should we simulate a spring migration? More...
 
CfgInt cfg_goose_pf_startnos ("GOOSE_PF_STARTNOS", CFG_CUSTOM, 13440)
 Input: Pink-footed goose start numbers. More...
 
CfgFloat cfg_goose_pf_Thermalconstant ("GOOSE_THERMALCONSTANTA_PF", CFG_CUSTOM, 11.4, 1, 25)
 Pinkfooted goose lower critical temperature for calculating thermal regulation cost. Constant 1. More...
 
CfgFloat cfg_goose_pf_young_proportion ("GOOSE_PF_YOUNG_PROPORTION", CFG_CUSTOM, 0.21, 0.0, 1.0)
 Input: Pink-footed goose proportion of young at start. More...
 
CfgInt cfg_goose_pinkfootopenseasonend ("GOOSE_PF_OPENSEASONEND", CFG_CUSTOM, 364)
 The end of the pinkfoot hunting season. More...
 
CfgInt cfg_goose_pinkfootopenseasonstart ("GOOSE_PF_OPENSEASONSTART", CFG_CUSTOM, 243)
 The start of the pinkfoot hunting season. More...
 
static CfgBool cfg_goose_PopulationDescriptionON ("GOOSE_POPULATIONDESCRIPTIONON", CFG_CUSTOM, true)
 The cfg variable determining whether to print goose population stats. More...
 
CfgFloat cfg_goose_roostchangechance ("GOOSE_ROOSTCHANGECHANCE", CFG_CUSTOM, 0.0, 0.0, 1.0)
 Chance of changing roost. More...
 
CfgInt cfg_goose_RoostLeaveDistMean ("GOOSE_ROOSTLEAVEDISTMEAN", CFG_CUSTOM, 30)
 The mean for the normal distribution which determines roost leave time. More...
 
CfgInt cfg_goose_RoostLeaveDistSD ("GOOSE_ROOSTLEAVEDISTSD", CFG_CUSTOM, 10)
 The standard deviation for the normal distribution which determines roost leave time. More...
 
static CfgBool cfg_goose_runtime_reporting ("GOOSE_RUNTIMEREPORTING", CFG_CUSTOM, true)
 Should we use stripped down output to optimize run time? More...
 
CfgFloat cfg_goose_snow_scaler ("GOOSE_SNOW_SCALER", CFG_CUSTOM, 0.1, 0.0, 1.0)
 The decrease in intake rate resulting from snow. More...
 
static CfgBool cfg_goose_StateStats ("GOOSE_STATESTATS", CFG_CUSTOM, false)
 Should we record state statistics? More...
 
CfgFloat cfg_goose_Thermalconstantb ("GOOSE_THERMALCONSTANTB", CFG_CUSTOM, 1.272 *24, 1, 100)
 Thermal regulation cost Constant b. More...
 
CfgInt cfg_goose_TimedCounts ("GOOSE_TIMEDCOUNTS", CFG_CUSTOM, 2, 1, 12)
 The time when the geese are counted on fields. We divide the daylight hours by this cfg and add that to the sun up time to get the timing for counting. E.g. a value of 2 will give noon. More...
 
static CfgBool cfg_goose_WeightStats ("GOOSE_WEIGHTSTATS", CFG_CUSTOM, false)
 Should we record goose weight statistics? More...
 
static CfgBool cfg_goose_WriteConfig ("GOOSE_WRITECONFIG", CFG_CUSTOM, true)
 Should we write the values of the configs to a file? More...
 
static CfgInt cfg_gooseAORtime ("GOOSE_AORRECORDTIME", CFG_CUSTOM, 120, 0, 12 *60)
 The time in minutes (multiple of ten) from sunrise when the AOR probe is recorded for geese. More...
 
static CfgInt cfg_gooseHabitatUsetime ("GOOSE_HABUSERECORDTIME", CFG_CUSTOM, 120, 0, 12 *60)
 The time in minutes (multiple of ten) from sunrise when the habitat use is recorded for geese. More...
 
CfgFloat cfg_H1A ("HOLLINGS_ONE_A", CFG_CUSTOM, 0.04217666)
 Attack rate in a type II functional response curve (Hollings disc equation) More...
 
CfgFloat cfg_H1B ("HOLLINGS_ONE_B", CFG_CUSTOM, 0.0840075)
 Handling time in a type II functional response curve (Hollings disc equation) More...
 
CfgBool cfg_H1C ("HOLLINGS_ONE_C", CFG_CUSTOM, false)
 Logical config to control if the curve should be reversed (i.e. 1 - value) More...
 
CfgFloat cfg_H1D ("HOLLINGS_ONE_D", CFG_CUSTOM, 2500)
 Max x-value - at this point the curve tends to 0, must stop here to avoid negative values. More...
 
CfgFloat cfg_H1E ("HOLLINGS_ONE_E", CFG_CUSTOM, 0)
 Min x-value. More...
 
CfgStr cfg_H1F ("HOLLINGS_ONE_G", CFG_CUSTOM, "KJIntakeAtDiffGrainDensities_PF")
 File name for functional response on grain for pinkfeet. More...
 
CfgFloat cfg_H2A ("HOLLINGS_TWO_A", CFG_CUSTOM, 0.04294186)
 Attack rate in a type II functional response curve (Hollings disc equation) More...
 
CfgFloat cfg_H2B ("HOLLINGS_TWO_B", CFG_CUSTOM, 0.05844966)
 Handling time in a type II functional response curve (Hollings disc equation) More...
 
CfgBool cfg_H2C ("HOLLINGS_TWO_C", CFG_CUSTOM, false)
 Logical config to control if the curve should be reversed (i.e. 1 - value) More...
 
CfgFloat cfg_H2D ("HOLLINGS_TWO_D", CFG_CUSTOM, 2100)
 Max x-value - at this point the curve tends to 0, must stop here to avoid negative values. More...
 
CfgFloat cfg_H2E ("HOLLINGS_TWO_E", CFG_CUSTOM, 0)
 Min x-value. More...
 
CfgStr cfg_H2F ("HOLLINGS_TWO_G", CFG_CUSTOM, "KJIntakeAtDiffMaizeDensities_BN")
 File name for functional response maize for barnacle. More...
 
CfgFloat cfg_P1A ("POLYNOMIALTWO_ONE_A", CFG_CUSTOM, -0.1884)
 Coefficient A in a second order polynomial function. More...
 
CfgFloat cfg_P1B ("POLYNOMIALTWO_ONE_B", CFG_CUSTOM, 3.1349)
 Coefficient B in a second order polynomial function. More...
 
CfgFloat cfg_P1C ("POLYNOMIALTWO_ONE_C", CFG_CUSTOM, 0.0)
 The constant C in a second order polynomial function. More...
 
CfgFloat cfg_P1D ("POLYNOMIALTWO_ONE_D", CFG_CUSTOM, 0.404)
 Scaler for assimilation of energy from grass for pinkfeet. Madsen 1985 Vol 16 p. 222 - 228 Ornis Scandinavica. More...
 
CfgBool cfg_P1E ("POLYNOMIALTWO_ONE_E", CFG_CUSTOM, false)
 Logical config to control if the curve should be reversed (i.e. 1 - value) More...
 
CfgFloat cfg_P1F ("POLYNOMIALTWO_ONE_F", CFG_CUSTOM, 16.63)
 Max x-value - at this point the curve tends to 0, must stop here to avoid negative values. More...
 
CfgFloat cfg_P1G ("POLYNOMIALTWO_ONE_G", CFG_CUSTOM, 0.00)
 Min x-value. More...
 
CfgStr cfg_P1H ("POLYNOMIALTWO_ONE_H", CFG_CUSTOM, "KJIntakeAtVaryingGrassHeights_PF")
 File name for grass functional response for pinkfeet. More...
 
CfgFloat cfg_PermanentVegGrowthMaxScaler
 Scales the growth of vegetation - max value. More...
 
CfgFloat cfg_PermanentVegGrowthMinScaler
 Scales the growth of vegetation - min value. More...
 
CfgFloat cfg_Petti1A ("PETTIFOR_ONE_A", CFG_CUSTOM, 0.88)
 Maximum feeding time. More...
 
CfgFloat cfg_Petti1B ("PETTIFOR_ONE_B", CFG_CUSTOM, 0.57)
 Minimum feeding time. More...
 
CfgFloat cfg_Petti1C ("PETTIFOR_ONE_C", CFG_CUSTOM, 280)
 Threshold flock size above which feeding time no longer increases. More...
 
CfgBool cfg_Petti1D ("PETTIFOR_ONE_D", CFG_CUSTOM, false)
 Logical config to control if the curve should be reversed (i.e. 1 - value) More...
 
CfgFloat cfg_Petti1E ("PETTIFOR_ONE_E", CFG_CUSTOM, 1000)
 Max x-value - at this point the curve tends to 0, must stop here to avoid negative values. More...
 
CfgFloat cfg_Petti1F ("PETTIFOR_ONE_F", CFG_CUSTOM, 0)
 Min x-value. More...
 
CfgStr cfg_Petti1G ("PETTIFOR_ONE_G", CFG_CUSTOM, "FeedingTimePettifor_PF")
 File name for density dependent functional response for pinkfeet. More...
 
CfgBool cfg_ReallyBigOutput_used
 Config to control if the Ripley probe is used or not. More...
 
CfgBool cfg_WriteCurve ("CURVE_WRITE", CFG_CUSTOM, false)
 Controlling whether the functional response curves used are written to disk. More...
 
ALMaSS_MathFuncs g_AlmassMathFuncs
 This variable provides access the to the internal ALMaSS math functions. More...
 
Landscapeg_land
 This pointer provides access the to landscape module. More...
 
boost::variate_generator< base_generator_type &, boost::uniform_real<> > g_rand_uni
 A random number generator (0-1) More...
 
boost::variate_generator< base_generator_type &, boost::uniform_int<> > g_rand_uni2
 A random number generator (0-9999) More...
 
int g_torun
 This variable controls how long the simulation will run for. More...
 
CfgBool l_map_print_git_version_info
 Should git version info be printed to file and console? More...
 

Detailed Description

The source code for the goose population manager and associated classes

Version of 8th February 2013
By Chris J. Topping

Definition in file Goose_Population_Manager.cpp.

Variable Documentation

◆ cfg_AOROutput_used

CfgBool cfg_AOROutput_used

This config variable controls whether we should make AOR output.

Referenced by Goose_Population_Manager::Init(), and Goose_Population_Manager::~Goose_Population_Manager().

◆ cfg_B6A

CfgFloat cfg_B6A("POLYNOMIALTWO_THREE_A", CFG_CUSTOM, -0.066)

Coefficient A in a second order polynomial function.

Referenced by Landscape::Landscape().

◆ cfg_B6B

CfgFloat cfg_B6B("POLYNOMIALTWO_THREE_B", CFG_CUSTOM, 0.88)

Coefficient B in a second order polynomial function.

Referenced by Landscape::Landscape().

◆ cfg_B6C

CfgFloat cfg_B6C("POLYNOMIALTWO_THREE_C", CFG_CUSTOM, 5.0)

The constant C in a second order polynomial function.

Referenced by Landscape::Landscape().

◆ cfg_B6D

CfgFloat cfg_B6D("POLYNOMIALTWO_THREE_D", CFG_CUSTOM, 0.404)

Scaler for assimilation of energy from grass for pinkfeet. Madsen 1985 Vol 16 p. 222 - 228 Ornis Scandinavica.

Referenced by Landscape::Landscape().

◆ cfg_B6E

CfgBool cfg_B6E("POLYNOMIALTWO_THREE_E", CFG_CUSTOM, false)

Logical config to control if the curve should be reversed (i.e. 1 - value)

Referenced by Landscape::Landscape().

◆ cfg_B6F

CfgFloat cfg_B6F("POLYNOMIALTWO_THREE_F", CFG_CUSTOM, 13.4761)

Max x-value - at this point the curve tends to 0, must stop here to avoid negative values.

Referenced by Landscape::Landscape().

◆ cfg_B6G

CfgFloat cfg_B6G("POLYNOMIALTWO_THREE_B", CFG_CUSTOM, 0.00)

Min x-value.

Referenced by Landscape::Landscape().

◆ cfg_B6H

CfgStr cfg_B6H("POLYNOMIALTWO_THREE_H", CFG_CUSTOM, "KJIntakeAtVaryingGrassHeights_BG")

File name for grass functional response for barnacles.

Referenced by Landscape::Landscape().

◆ cfg_G6A

CfgFloat cfg_G6A("POLYNOMIALTWO_TWO_A", CFG_CUSTOM, -0.1094)

Coefficient A in a second order polynomial function.

Referenced by Landscape::Landscape().

◆ cfg_G6B

CfgFloat cfg_G6B("POLYNOMIALTWO_TWO_B", CFG_CUSTOM, 2.6695)

Coefficient B in a second order polynomial function.

Referenced by Landscape::Landscape().

◆ cfg_G6C

CfgFloat cfg_G6C("POLYNOMIALTWO_TWO_C", CFG_CUSTOM, 0.0)

The constant C in a second order polynomial function.

Referenced by Landscape::Landscape().

◆ cfg_G6D

CfgFloat cfg_G6D("POLYNOMIALTWO_TWO_D", CFG_CUSTOM, 0.404)

Scaler for assimilation of energy from grass for pinkfeet. Madsen 1985 Vol 16 p. 222 - 228 Ornis Scandinavica.

Referenced by Landscape::Landscape().

◆ cfg_G6E

CfgBool cfg_G6E("POLYNOMIALTWO_TWO_E", CFG_CUSTOM, false)

Logical config to control if the curve should be reversed (i.e. 1 - value)

Referenced by Landscape::Landscape().

◆ cfg_G6F

CfgFloat cfg_G6F("POLYNOMIALTWO_TWO_F", CFG_CUSTOM, 24.4013)

Max x-value - at this point the curve tends to 0, must stop here to avoid negative values.

Referenced by Landscape::Landscape().

◆ cfg_G6G

CfgFloat cfg_G6G("POLYNOMIALTWO_TWO_G", CFG_CUSTOM, 0.00)

Min x-value.

Referenced by Landscape::Landscape().

◆ cfg_G6H

CfgStr cfg_G6H("POLYNOMIALTWO_TWO_H", CFG_CUSTOM, "KJIntakeAtVaryingGrassHeights_GL")

File name for grass functional response for greylags.

Referenced by Landscape::Landscape().

◆ cfg_goose_AfterDarkTime

CfgInt cfg_goose_AfterDarkTime("GOOSE_AFTERDARKTIME", CFG_CUSTOM, 30, 0, 180)

The number of minutes that geese will be foraging after sunset.

Referenced by Goose_Base::st_ChooseForageLocation(), and Goose_Base::st_Forage().

◆ cfg_goose_BMRconstant1

CfgFloat cfg_goose_BMRconstant1("GOOSE_BMRCONSTANTA", CFG_CUSTOM, 4.19 *78.30, 1, 500)

The cost of BMR per kg goose - constant 1.

Referenced by Goose_Base::Init(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_BMRconstant2

CfgFloat cfg_goose_BMRconstant2("GOOSE_BMRCONSTANTB", CFG_CUSTOM, 0.72, 0, 1)

The cost of BMR per kg goose - constant 2.

Referenced by Goose_Base::Init(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_arrivedateend

CfgInt cfg_goose_bn_arrivedateend("GOOSE_BN_ARRIVEDATEEND", CFG_CUSTOM, 298)

Input: The last date for arrival for barnacles to the simulation area.

Referenced by Goose_Population_Manager::DoImmigration(), Goose_Population_Manager::GetImmigrationNumbers(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_arrivedatestart

CfgInt cfg_goose_bn_arrivedatestart("GOOSE_BN_ARRIVEDATESTART", CFG_CUSTOM, 277)

Input: The initial starting date for arrival for barnacles to the simulation area.

Referenced by Goose_Population_Manager::DoImmigration(), Goose_Population_Manager::GetImmigrationNumbers(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_baseweight

CfgFloat cfg_goose_bn_baseweight("GOOSE_BARNACLEWEIGHT", CFG_CUSTOM, 1708, 1500, 2000)

Lean weight of barnacle geese.

Todo:
Currently male weight. Should Male, Female, Juvs not have different weights?

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_fallmig_probability

CfgFloat cfg_goose_bn_fallmig_probability("GOOSE_BN_FALLMIG_PROBABILITY", CFG_CUSTOM, 0.0083, 0.0, 1.0)

Input: The barnacle fall migration probability.

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_bn_fallmigdateend

CfgInt cfg_goose_bn_fallmigdateend("GOOSE_BN_FALL_MIGRATION_END", CFG_CUSTOM, 348, 1, 365)

Input: Date for end of barnacle fall migration.

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_bn_fallmigdatestart

CfgInt cfg_goose_bn_fallmigdatestart("GOOSE_BN_FALL_MIGRATION_START", CFG_CUSTOM, 318, 1, 365)

Input: Date for onset of barnacle fall migration.

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_bn_fallmigrate

CfgBool cfg_goose_bn_fallmigrate("GOOSE_BN_FALL_MIGRATE", CFG_CUSTOM, true)

Input: Should we simulate a barnacle fall migration?

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_bn_FieldForageDist

CfgFloat cfg_goose_bn_FieldForageDist("GOOSE_FIELDFORAGEDIST_BN", CFG_CUSTOM, 5000, 1000, 35000)

The maximum forage range when already at a forage location for barnacle geese (m)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_goose_bn_followinglikelyhood

CfgInt cfg_goose_bn_followinglikelyhood("GOOSE_FOLLOWINGLIKELYHOOD_BN", CFG_CUSTOM, 0, 0, 10000)
static

The likelyhood that a goose will follow another goose when going foraging - barnacle goose.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_ForageDist

CfgFloat cfg_goose_bn_ForageDist("GOOSE_FORAGEDIST_BN", CFG_CUSTOM, 35000, 1000, 35000)

The maximum forage range in m for barnacle geese.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_leavingdateend

CfgInt cfg_goose_bn_leavingdateend("GOOSE_BN_LEAVINGDATEEND", CFG_CUSTOM, 134)

Input: The last date for barnacles to leave the simulation area.

Referenced by Goose_Population_Manager::DoEmigration(), Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_leavingdatestart

CfgInt cfg_goose_bn_leavingdatestart("GOOSE_BN_LEAVINGDATESTART", CFG_CUSTOM, 90)

Input: The initial starting date for barnacles to leave the simulation area.

Referenced by Goose_Population_Manager::DoEmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_sexratio

CfgFloat cfg_goose_bn_sexratio("GOOSE_BN_SEXRATIO", CFG_CUSTOM, 0.5, 0.0, 1.0)

The sex ratio of barnacle non-breeders.

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_springmigdateend

CfgInt cfg_goose_bn_springmigdateend("GOOSE_BN_SPRING_MIG_END", CFG_CUSTOM, 75, 1, 365)

Input: Date for end of barnacle spring migration.

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_bn_springmigdatestart

CfgInt cfg_goose_bn_springmigdatestart("GOOSE_BN_SPRING_MIG_START", CFG_CUSTOM, 15, 1, 365)

Input: Date for onset of barnacle spring migration.

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_bn_springmignos

CfgInt cfg_goose_bn_springmignos("GOOSE_BN_SPRING_MIG_NOS", CFG_CUSTOM, 8960)

Input: Number of barnacle to immigrate in spring.

Referenced by Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_bn_springmigrate

CfgBool cfg_goose_bn_springmigrate("GOOSE_BN_SPRING_MIGRATE", CFG_CUSTOM, true)

Input: Should we simulate barnacle a spring migration?

Referenced by Goose_Population_Manager::DoImmigration().

◆ cfg_goose_bn_startnos

CfgInt cfg_goose_bn_startnos("GOOSE_BN_STARTNOS", CFG_CUSTOM, 5600)

Input: Barnacle goose start numbers.

Referenced by Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_bn_Thermalconstant

CfgFloat cfg_goose_bn_Thermalconstant("GOOSE_THERMALCONSTANTA_BN", CFG_CUSTOM, 12.1, 1, 25)

Barnacle goose lower critical temperature for calculating thermal regulation cost. Constant 1.

Calculated from Kendeigh 1977 based on body weight 1880g

Referenced by Goose_Population_Manager::DoFirst(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_bn_young_proportion

CfgFloat cfg_goose_bn_young_proportion("GOOSE_BN_YOUNG_PROPORTION", CFG_CUSTOM, 0.21, 0.0, 1.0)

Input: Barnacle goose proportion of young at start.

Referenced by Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_daytime_BMR_multiplier

CfgFloat cfg_goose_daytime_BMR_multiplier("GOOSE_DAYTIMEBMRMULTIPLIER", CFG_CUSTOM, 1.65, 1.0, 10.0)

To calculate daily energy budget. This is the multiple of BMR spent during daytime Default is based on Madsen 1985 ("Relations between change in spring habitat selection...")

To calculate daily energy budget. This is the multiple of BMR spent during daytime.

Referenced by Goose_Barnacle_Base::Init(), Goose_Pinkfoot_Base::Init(), Goose_Greylag_Base::Init(), Goose_Base::StartDay(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_dist_weight_power

CfgFloat cfg_goose_dist_weight_power("GOOSE_DIST_WEIGHTING_POWER", CFG_CUSTOM, 1.0, -10.0, 10.0)

The exponent for the distance weighting curve.

Referenced by Goose_Population_Manager::GetForageLocIndex(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_EnergyContentOfFat

CfgFloat cfg_goose_EnergyContentOfFat("GOOSE_ENERGYCONTENTOFFAT", CFG_CUSTOM, 39.8, 1, 100)

◆ cfg_goose_EnergyRecord

CfgBool cfg_goose_EnergyRecord("GOOSE_ENERGYRECORD", CFG_CUSTOM, false)
static

Should we record goose energetics?

Referenced by Goose_Population_Manager::DoLast().

◆ cfg_goose_FieldForageInfo

CfgBool cfg_goose_FieldForageInfo("GOOSE_FIELDFORAGEINFO", CFG_CUSTOM, false)
static

Should we record goose field forage information?

Referenced by Goose_Population_Manager::DoLast().

◆ cfg_goose_flightcost

CfgFloat cfg_goose_flightcost("GOOSE_FLIGHTCOST", CFG_CUSTOM, 0.000002079, 0, 1)
static

the cost of flight in kJ per m per gram

Calculated as 12 * BMR to get cost of flight. We devide this by 24 to per hour. this is then devided by an average flight speed of 57.6 km/h (Green & Alerstam 2000 J Avian Biol 31:215-225) This gives a cost in kJ/km which is divided by 1000 to meters and mass to get to per gram.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_arrivedateend

CfgInt cfg_goose_gl_arrivedateend("GOOSE_GL_ARRIVEDATEEND", CFG_CUSTOM, 231)

Input: The last date for arrival for greylags to the simulation area.

Referenced by Goose_Population_Manager::DoImmigration(), Goose_Population_Manager::GetImmigrationNumbers(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_arrivedatestart

CfgInt cfg_goose_gl_arrivedatestart("GOOSE_GL_ARRIVEDATESTART", CFG_CUSTOM, 212)

Input: The initial starting date for arrival for greylags to the simulation area.

Referenced by Goose_Population_Manager::DoImmigration(), Goose_Population_Manager::GetImmigrationNumbers(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_baseweight

CfgFloat cfg_goose_gl_baseweight("GOOSE_GREYLAGWEIGHT", CFG_CUSTOM, 2795, 2500, 3000)

Lean weight of greylag geese.

Todo:
Male
Todo:
From Leif Nilsson (male weight)

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_fallmig_probability

CfgFloat cfg_goose_gl_fallmig_probability("GOOSE_GL_FALLMIG_PROBABILITY", CFG_CUSTOM, 0.0083, 0.0, 1.0)

Input: The greylag fall migration probability.

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_gl_fallmigdateend

CfgInt cfg_goose_gl_fallmigdateend("GOOSE_GL_FALL_MIGRATION_END", CFG_CUSTOM, 334, 1, 365)

Input: Date for end of greylag fall migration.

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_gl_fallmigdatestart

CfgInt cfg_goose_gl_fallmigdatestart("GOOSE_GL_FALL_MIGRATION_START", CFG_CUSTOM, 232, 1, 365)

Input: Date for onset of greylag fall migration.

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_gl_fallmigrate

CfgBool cfg_goose_gl_fallmigrate("GOOSE_GL_FALL_MIGRATE", CFG_CUSTOM, true)

Input: Should we simulate a greylag fall migration?

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_gl_FieldForageDist

CfgFloat cfg_goose_gl_FieldForageDist("GOOSE_FIELDFORAGEDIST_GL", CFG_CUSTOM, 5000, 1000, 35000)

The maximum forage range when already at a forage location for greylag geese (m)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_goose_gl_followinglikelyhood

CfgInt cfg_goose_gl_followinglikelyhood("GOOSE_FOLLOWINGLIKELYHOOD_GL", CFG_CUSTOM, 0, 0, 10000)
static

The likelyhood that a goose will follow another goose when going foraging - graylag goose.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_ForageDist

CfgFloat cfg_goose_gl_ForageDist("GOOSE_FORAGEDIST_GL", CFG_CUSTOM, 35000, 1000, 35000)

The maximum forage range in m for greylag geese.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_leavingdateend

CfgInt cfg_goose_gl_leavingdateend("GOOSE_GL_LEAVINGDATEEND", CFG_CUSTOM, 68)

Input: The last date for greylags to leave the simulation area.

Referenced by Goose_Population_Manager::DoEmigration(), Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_leavingdatestart

CfgInt cfg_goose_gl_leavingdatestart("GOOSE_GL_LEAVINGDATESTART", CFG_CUSTOM, 58)

Input: The initial starting date for greylags to leave the simulation area.

Referenced by Goose_Population_Manager::DoEmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_sexratio

CfgFloat cfg_goose_gl_sexratio("GOOSE_GL_SEXRATIO", CFG_CUSTOM, 0.5, 0.0, 1.0)

The sex ratio of greylag non-breeders.

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_springmigdateend

CfgInt cfg_goose_gl_springmigdateend("GOOSE_GL_SPRING_MIG_END", CFG_CUSTOM, 75, 1, 365)

Input: Date for end of greylag spring migration.

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_gl_springmigdatestart

CfgInt cfg_goose_gl_springmigdatestart("GOOSE_GL_SPRING_MIG_START", CFG_CUSTOM, 15, 1, 365)

Input: Date for onset of greylag spring migration.

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_gl_springmignos

CfgInt cfg_goose_gl_springmignos("GOOSE_GL_SPRING_MIG_NOS", CFG_CUSTOM, 2240)

Input: Number of greylag to immigrate in spring.

Referenced by Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_gl_springmigrate

CfgBool cfg_goose_gl_springmigrate("GOOSE_GL_SPRING_MIGRATE", CFG_CUSTOM, true)

Input: Should we simulate greylag a spring migration?

Referenced by Goose_Population_Manager::DoImmigration().

◆ cfg_goose_gl_startnos

CfgInt cfg_goose_gl_startnos("GOOSE_GL_STARTNOS", CFG_CUSTOM, 8960)

Input: Greylag geese start numbers.

Referenced by Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_gl_Thermalconstant

CfgFloat cfg_goose_gl_Thermalconstant("GOOSE_THERMALCONSTANTA_GL", CFG_CUSTOM, 10.8, 1, 25)

Greylag goose lower critical temperature for calculating thermal regulation cost. Constant 1.

Calculated from Kendeigh 1977 based on body weight 3454g

Referenced by Goose_Population_Manager::DoFirst(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_gl_young_proportion

CfgFloat cfg_goose_gl_young_proportion("GOOSE_GL_YOUNG_PROPORTION", CFG_CUSTOM, 0.21, 0.0, 1.0)

Input: Greylag goose proportion of young at start.

Referenced by Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_grain_and_maize_reset_day

CfgInt cfg_goose_grain_and_maize_reset_day("GOOSE_GRAINANDMAIZERESETDAY", CFG_CUSTOM, 59, 0, 364)

The day where all grain across the landscape is reset.

Referenced by Goose_Population_Manager::DoFirst().

◆ cfg_goose_GrainDecayRateSpring

CfgFloat cfg_goose_GrainDecayRateSpring("GOOSE_GRAINDECAYRATESPRING", CFG_CUSTOM, 0.95, 0.0, 1.0)

The decay rate for spilled grain for Spring until 1st July.

Referenced by VegElement::CalcGooseForageResources(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_GrainDecayRateWinter

CfgFloat cfg_goose_GrainDecayRateWinter("GOOSE_GRAINDECAYRATEWINTER", CFG_CUSTOM, 0.9985, 0.0, 1.0)

The decay rate for spilled grain for Harvest to Spring.

Referenced by VegElement::CalcGooseForageResources(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_grass_to_winter_cereal_scaler

CfgFloat cfg_goose_grass_to_winter_cereal_scaler("GOOSE_GRASS_TO_WINTER_CEREAL_SCALER", CFG_CUSTOM, 1.0325, 0.0, 10.0)

The scaler to go from energy intake from grass forage to winter cereal The default value of 1.0325 is a quick fix to account for higher energy intake on winter cereal - Based on Therkildsen & Madsen 2000 Energetics of feeding...

Referenced by VegElement::CalcGooseForageResources(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_greylagopenseasonend

CfgInt cfg_goose_greylagopenseasonend("GOOSE_GL_OPENSEASONEND", CFG_CUSTOM, 31)

The end of the greylag hunting season.

Referenced by Goose_Population_Manager::InHuntingSeason(), and Hunter_Population_Manager::SetHuntingSeason().

◆ cfg_goose_greylagopenseasonstart

CfgInt cfg_goose_greylagopenseasonstart("GOOSE_GL_OPENSEASONSTART", CFG_CUSTOM, 243)

The start of the greylag hunting season.

Referenced by Goose_Population_Manager::InHuntingSeason(), and Hunter_Population_Manager::SetHuntingSeason().

◆ cfg_goose_IndLocCounts

CfgBool cfg_goose_IndLocCounts("GOOSE_INDLOCCOUNTSTATS", CFG_CUSTOM, false)
static

Should we record gooseindividual forage location count statistics?

Referenced by Goose_Population_Manager::DoLast().

◆ cfg_goose_InitialEnergyReserveProportion

CfgFloat cfg_goose_InitialEnergyReserveProportion("GOOSE_INITIALENERGYRESERVEPROPORTION", CFG_CUSTOM, 0.1, 0.0, 1)

The initial proportion of weight that can be stored as energy reserves.

Referenced by Goose_Base::Init(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_LeaveReasonStats

CfgBool cfg_goose_LeaveReasonStats("GOOSE_LEAVEREASONSTATS", CFG_CUSTOM, false)
static

Should we record goose leaving reason statistics?

Referenced by Goose_Population_Manager::DoLast(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_LeavingThreshold

CfgFloat cfg_goose_LeavingThreshold("GOOSE_LEAVINGTHRESHOLD", CFG_CUSTOM, 1.0, 1.0, 5.0)
static

The 5-day mean of body condition which triggers the bird to leave.

Bodycondition = total weight/lean weight

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_goose_MaxAppetiteScaler

CfgFloat cfg_goose_MaxAppetiteScaler("GOOSE_MAXAPPETITESCALER", CFG_CUSTOM, 4.82, 1, 10)

The maximum a goose is allowed to eat in a day as a scaling of BMR.

Calculated from maximum daily food intake and adjusted for energy assimilation and content in winter wheat. Therkildsen & Madsen 2000, Wildlife Biology 6: 167-172.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_MaxEnergyReserveProportion

CfgFloat cfg_goose_MaxEnergyReserveProportion("GOOSE_MAXENERGYRESERVEPROPORTION", CFG_CUSTOM, 0.27, 0.1, 1)

The maximum proportion of weight that can be stored as energy reserves.

Calculated based on observed API scores weights and lean weight

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_MaxScareDistance

CfgInt cfg_goose_MaxScareDistance("GOOSE_MAXSCAREDIST", CFG_CUSTOM, 500, 1, 5000)

The maximum distance in m that a goose can hear a scary bang.

From Gitte Jensen unpubl.

Referenced by Goose_Population_Manager::BangAtPoly(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_MetabolicConversionCosts

CfgFloat cfg_goose_MetabolicConversionCosts("GOOSE_METABOLICCONVCOSTS", CFG_CUSTOM, 11.4, 1, 100)

The metabolic costs of converting tissue to energy or vice versa

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_MinForageOpenness

CfgFloat cfg_goose_MinForageOpenness("GOOSE_MINFORAGEOPENNESS", CFG_CUSTOM, 100.0, 10, 10000)

◆ cfg_goose_MinForageRateDecayRate

CfgFloat cfg_goose_MinForageRateDecayRate("GOOSE_MINFORAGEDECAYRATE", CFG_CUSTOM, 0.72, 0.0, 1.0)

The decay rate for the minimum forage rate.

Referenced by Goose_Base::st_Forage().

◆ cfg_goose_ModelExitDay

CfgInt cfg_goose_ModelExitDay("GOOSE_MODELEXITDAY", CFG_CUSTOM, 9999, 1, 100000)

Input variable to control exit of the goose model The geese leave the simulation in spring, so this variable is used to hard exit the model once they have all left.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_goose_nighttime_BMR_multiplier

CfgFloat cfg_goose_nighttime_BMR_multiplier("GOOSE_NIGHTTIMEBMRMULTIPLIER", CFG_CUSTOM, 1.3, 1.0, 10.0)

To calculate daily energy budget. This is the multiple of BMR spent during nighttime.

Referenced by Goose_Barnacle_Base::Init(), Goose_Pinkfoot_Base::Init(), Goose_Greylag_Base::Init(), Goose_Base::StartDay(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_ObservedOpennessQuery

CfgBool cfg_goose_ObservedOpennessQuery("GOOSE_OBSERVEDOPENNESS", CFG_CUSTOM, false)
static

Should we query the map for openness scores on locations where geese have been observed in the field?

Referenced by Goose_Population_Manager::Init().

◆ cfg_goose_pf_arrivedateend

CfgInt cfg_goose_pf_arrivedateend("GOOSE_PF_ARRIVEDATEEND", CFG_CUSTOM, 280)

Input: The last date for arrival for pink-foots to the simulation area.

Referenced by Goose_Population_Manager::DoImmigration(), Goose_Population_Manager::GetImmigrationNumbers(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_pf_arrivedatestart

CfgInt cfg_goose_pf_arrivedatestart("GOOSE_PF_ARRIVEDATESTART", CFG_CUSTOM, 265)

Input: The initial starting date for arrival for pink-foots to the simulation area.

Referenced by Goose_Population_Manager::DoImmigration(), Goose_Population_Manager::GetImmigrationNumbers(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_pf_baseweight

CfgFloat cfg_goose_pf_baseweight("GOOSE_PINKFOOTWEIGHT", CFG_CUSTOM, 2307, 2000, 3000)

Lean weight of pinkfoot geese.

Based on male weights from Norway (Trøndelag) Gundersen et al Submitted 2016. assuming a lean of 90% of the measured mean weight on day 265.

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_pf_fallmig_probability

CfgFloat cfg_goose_pf_fallmig_probability("GOOSE_PF_FALLMIG_PROBABILITY", CFG_CUSTOM, 0.03, 0.0, 1.0)

Input: The pinkfoot fall migration probability.

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_pf_fallmigdateend

CfgInt cfg_goose_pf_fallmigdateend("GOOSE_PF_FALL_MIGRATION_END", CFG_CUSTOM, 304, 1, 365)

Input: Date for end of pinkfoot fall migration.

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_pf_fallmigdatestart

CfgInt cfg_goose_pf_fallmigdatestart("GOOSE_PF_FALL_MIGRATION_START", CFG_CUSTOM, 274, 1, 365)

Input: Date for onset of pinkfoot fall migration.

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_pf_fallmigrate

CfgBool cfg_goose_pf_fallmigrate("GOOSE_PF_FALL_MIGRATE", CFG_CUSTOM, true)

Input: Should we simulate a pinkfoot fall migration?

Referenced by Goose_Population_Manager::DoEmigration().

◆ cfg_goose_pf_FieldForageDist

CfgFloat cfg_goose_pf_FieldForageDist("GOOSE_FIELDFORAGEDIST_PF", CFG_CUSTOM, 5000, 1000, 35000)

The maximum forage range when already at a forage location for pink-footed geese (m)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_goose_pf_followinglikelyhood

CfgInt cfg_goose_pf_followinglikelyhood("GOOSE_FOLLOWINGLIKELYHOOD_PF", CFG_CUSTOM, 0, 0, 10000)
static

The likelyhood that a goose will follow another goose when going foraging - pinkfooted goose.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_pf_ForageDist

CfgFloat cfg_goose_pf_ForageDist("GOOSE_FORAGEDIST_PF", CFG_CUSTOM, 35000, 1000, 35000)

The maximum forage range in m for pink-footed geese.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_pf_leavingdateend

CfgInt cfg_goose_pf_leavingdateend("GOOSE_PF_LEAVINGDATEEND", CFG_CUSTOM, 104)

Input: The last date for pink-foots to leave the simulation area.

Referenced by Goose_Population_Manager::DoEmigration(), Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_pf_leavingdatestart

CfgInt cfg_goose_pf_leavingdatestart("GOOSE_PF_LEAVINGDATESTART", CFG_CUSTOM, 78)

Input: The initial starting date for pink-foots to the leave simulation area.

Referenced by Goose_Population_Manager::DoEmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_pf_sexratio

CfgFloat cfg_goose_pf_sexratio("GOOSE_PF_SEXRATIO", CFG_CUSTOM, 0.5, 0.0, 1.0)

The sex ratio of pinkfoot non-breeders.

Referenced by Goose_Population_Manager::DoImmigration(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_pf_springmigdateend

CfgInt cfg_goose_pf_springmigdateend("GOOSE_PF_SPRING_MIG_END", CFG_CUSTOM, 59, 1, 365)

◆ cfg_goose_pf_springmigdatestart

CfgInt cfg_goose_pf_springmigdatestart("GOOSE_PF_SPRING_MIG_START", CFG_CUSTOM, 7, 1, 365)

◆ cfg_goose_pf_springmignos

CfgInt cfg_goose_pf_springmignos("GOOSE_PF_SPRING_MIG_NOS", CFG_CUSTOM, 5600)

Input: Number of pinkfeet to immigrate in spring.

Referenced by Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_pf_springmigrate

CfgBool cfg_goose_pf_springmigrate("GOOSE_PF_SPRING_MIGRATE", CFG_CUSTOM, true)

Input: Should we simulate a spring migration?

Referenced by Goose_Population_Manager::DoImmigration().

◆ cfg_goose_pf_startnos

CfgInt cfg_goose_pf_startnos("GOOSE_PF_STARTNOS", CFG_CUSTOM, 13440)

Input: Pink-footed goose start numbers.

Referenced by Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_pf_Thermalconstant

CfgFloat cfg_goose_pf_Thermalconstant("GOOSE_THERMALCONSTANTA_PF", CFG_CUSTOM, 11.4, 1, 25)

Pinkfooted goose lower critical temperature for calculating thermal regulation cost. Constant 1.

Calculated from Kendeigh 1977 based on body weight 2524g

Referenced by Goose_Population_Manager::DoFirst(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_pf_young_proportion

CfgFloat cfg_goose_pf_young_proportion("GOOSE_PF_YOUNG_PROPORTION", CFG_CUSTOM, 0.21, 0.0, 1.0)

Input: Pink-footed goose proportion of young at start.

Referenced by Goose_Population_Manager::GetImmigrationNumbers().

◆ cfg_goose_pinkfootopenseasonend

CfgInt cfg_goose_pinkfootopenseasonend("GOOSE_PF_OPENSEASONEND", CFG_CUSTOM, 364)

The end of the pinkfoot hunting season.

Referenced by Goose_Population_Manager::InHuntingSeason(), and Hunter_Population_Manager::SetHuntingSeason().

◆ cfg_goose_pinkfootopenseasonstart

CfgInt cfg_goose_pinkfootopenseasonstart("GOOSE_PF_OPENSEASONSTART", CFG_CUSTOM, 243)

The start of the pinkfoot hunting season.

Referenced by Goose_Population_Manager::InHuntingSeason(), and Hunter_Population_Manager::SetHuntingSeason().

◆ cfg_goose_PopulationDescriptionON

CfgBool cfg_goose_PopulationDescriptionON("GOOSE_POPULATIONDESCRIPTIONON", CFG_CUSTOM, true)
static

The cfg variable determining whether to print goose population stats.

Referenced by Goose_Population_Manager::DoLast().

◆ cfg_goose_roostchangechance

CfgFloat cfg_goose_roostchangechance("GOOSE_ROOSTCHANGECHANCE", CFG_CUSTOM, 0.0, 0.0, 1.0)

◆ cfg_goose_RoostLeaveDistMean

CfgInt cfg_goose_RoostLeaveDistMean("GOOSE_ROOSTLEAVEDISTMEAN", CFG_CUSTOM, 30)

The mean for the normal distribution which determines roost leave time.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_RoostLeaveDistSD

CfgInt cfg_goose_RoostLeaveDistSD("GOOSE_ROOSTLEAVEDISTSD", CFG_CUSTOM, 10)

The standard deviation for the normal distribution which determines roost leave time.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_runtime_reporting

CfgBool cfg_goose_runtime_reporting("GOOSE_RUNTIMEREPORTING", CFG_CUSTOM, true)
static

Should we use stripped down output to optimize run time?

Referenced by Goose_Population_Manager::GooseFieldForageInfoOutput(), and Goose_Population_Manager::Init().

◆ cfg_goose_snow_scaler

CfgFloat cfg_goose_snow_scaler("GOOSE_SNOW_SCALER", CFG_CUSTOM, 0.1, 0.0, 1.0)

The decrease in intake rate resulting from snow.

Referenced by Goose_Base::AdjustIntakeRateToSnowDepth(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_StateStats

CfgBool cfg_goose_StateStats("GOOSE_STATESTATS", CFG_CUSTOM, false)
static

Should we record state statistics?

Referenced by Goose_Population_Manager::DoLast().

◆ cfg_goose_Thermalconstantb

CfgFloat cfg_goose_Thermalconstantb("GOOSE_THERMALCONSTANTB", CFG_CUSTOM, 1.272 *24, 1, 100)

Thermal regulation cost Constant b.

The 1.272 is from Lefebvre & Raveling 1967. Journal of Wildlife Management 31(3): 538-546

Referenced by Goose_Population_Manager::DoFirst(), and Goose_Population_Manager::WriteConfig().

◆ cfg_goose_TimedCounts

CfgInt cfg_goose_TimedCounts("GOOSE_TIMEDCOUNTS", CFG_CUSTOM, 2, 1, 12)

The time when the geese are counted on fields. We divide the daylight hours by this cfg and add that to the sun up time to get the timing for counting. E.g. a value of 2 will give noon.

Referenced by Goose_Population_Manager::DoLast().

◆ cfg_goose_WeightStats

CfgBool cfg_goose_WeightStats("GOOSE_WEIGHTSTATS", CFG_CUSTOM, false)
static

Should we record goose weight statistics?

Referenced by Goose_Population_Manager::DoLast().

◆ cfg_goose_WriteConfig

CfgBool cfg_goose_WriteConfig("GOOSE_WRITECONFIG", CFG_CUSTOM, true)
static

Should we write the values of the configs to a file?

Referenced by Goose_Population_Manager::Init().

◆ cfg_gooseAORtime

CfgInt cfg_gooseAORtime("GOOSE_AORRECORDTIME", CFG_CUSTOM, 120, 0, 12 *60)
static

The time in minutes (multiple of ten) from sunrise when the AOR probe is recorded for geese.

Referenced by Goose_Population_Manager::TheAOROutputProbe().

◆ cfg_gooseHabitatUsetime

CfgInt cfg_gooseHabitatUsetime("GOOSE_HABUSERECORDTIME", CFG_CUSTOM, 120, 0, 12 *60)
static

The time in minutes (multiple of ten) from sunrise when the habitat use is recorded for geese.

Referenced by Goose_Population_Manager::DoLast().

◆ cfg_H1A

CfgFloat cfg_H1A("HOLLINGS_ONE_A", CFG_CUSTOM, 0.04217666)

Attack rate in a type II functional response curve (Hollings disc equation)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_H1B

CfgFloat cfg_H1B("HOLLINGS_ONE_B", CFG_CUSTOM, 0.0840075)

Handling time in a type II functional response curve (Hollings disc equation)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_H1C

CfgBool cfg_H1C("HOLLINGS_ONE_C", CFG_CUSTOM, false)

Logical config to control if the curve should be reversed (i.e. 1 - value)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_H1D

CfgFloat cfg_H1D("HOLLINGS_ONE_D", CFG_CUSTOM, 2500)

Max x-value - at this point the curve tends to 0, must stop here to avoid negative values.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_H1E

CfgFloat cfg_H1E("HOLLINGS_ONE_E", CFG_CUSTOM, 0)

◆ cfg_H1F

CfgStr cfg_H1F("HOLLINGS_ONE_G", CFG_CUSTOM, "KJIntakeAtDiffGrainDensities_PF")

File name for functional response on grain for pinkfeet.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_H2A

CfgFloat cfg_H2A("HOLLINGS_TWO_A", CFG_CUSTOM, 0.04294186)

Attack rate in a type II functional response curve (Hollings disc equation)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_H2B

CfgFloat cfg_H2B("HOLLINGS_TWO_B", CFG_CUSTOM, 0.05844966)

Handling time in a type II functional response curve (Hollings disc equation)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_H2C

CfgBool cfg_H2C("HOLLINGS_TWO_C", CFG_CUSTOM, false)

Logical config to control if the curve should be reversed (i.e. 1 - value)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_H2D

CfgFloat cfg_H2D("HOLLINGS_TWO_D", CFG_CUSTOM, 2100)

Max x-value - at this point the curve tends to 0, must stop here to avoid negative values.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_H2E

CfgFloat cfg_H2E("HOLLINGS_TWO_E", CFG_CUSTOM, 0)

◆ cfg_H2F

CfgStr cfg_H2F("HOLLINGS_TWO_G", CFG_CUSTOM, "KJIntakeAtDiffMaizeDensities_BN")

File name for functional response maize for barnacle.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_P1A

CfgFloat cfg_P1A("POLYNOMIALTWO_ONE_A", CFG_CUSTOM, -0.1884)

Coefficient A in a second order polynomial function.

The P1 curve replicates a curve fitted by Therkildsen, O.R. & Madsen, J. 2000: Assessment of food intake rates in pinkfooted geese Anser brachyrhynchus based on examination of oesophagus contents. - Wildl. Biol. 6: 167-172.
Assimilation of energy is based on Madsen 1985 Ornis Scand. p 222 - 228: Relations between spring habitat... Conversion from g/dw to kJ is using 19.8 (Madsen 1985 Vol 16 p. 222 - 228 Ornis Scandinavica) The P2 & P3 curves are fitted based on Durant et al 2003 J Anim Ecol 72, 220-231.
Y-values are kJ per minute, x-values are grass height. The formula is a simple 2nd order polynomial which is the then scaled to get to kJ.
The H1 curve is based on Amano et al. 2004 Alleviating grazing damage... Journal of Applied Ecology 41(4): 675-688.
The H2 curve is based on Clausen et al. (2018) Agriculture, Ecosystems & Environment 259: 72-76. The Petti1 curve is based on Pettifor et al (2000). Journal of Applied Ecology 37: 103-135.

Referenced by Landscape::Landscape().

◆ cfg_P1B

CfgFloat cfg_P1B("POLYNOMIALTWO_ONE_B", CFG_CUSTOM, 3.1349)

Coefficient B in a second order polynomial function.

Referenced by Landscape::Landscape().

◆ cfg_P1C

CfgFloat cfg_P1C("POLYNOMIALTWO_ONE_C", CFG_CUSTOM, 0.0)

The constant C in a second order polynomial function.

Referenced by Landscape::Landscape().

◆ cfg_P1D

CfgFloat cfg_P1D("POLYNOMIALTWO_ONE_D", CFG_CUSTOM, 0.404)

Scaler for assimilation of energy from grass for pinkfeet. Madsen 1985 Vol 16 p. 222 - 228 Ornis Scandinavica.

Referenced by Landscape::Landscape().

◆ cfg_P1E

CfgBool cfg_P1E("POLYNOMIALTWO_ONE_E", CFG_CUSTOM, false)

Logical config to control if the curve should be reversed (i.e. 1 - value)

Referenced by Landscape::Landscape().

◆ cfg_P1F

CfgFloat cfg_P1F("POLYNOMIALTWO_ONE_F", CFG_CUSTOM, 16.63)

Max x-value - at this point the curve tends to 0, must stop here to avoid negative values.

Referenced by Landscape::Landscape().

◆ cfg_P1G

CfgFloat cfg_P1G("POLYNOMIALTWO_ONE_G", CFG_CUSTOM, 0.00)

Min x-value.

Referenced by Landscape::Landscape().

◆ cfg_P1H

CfgStr cfg_P1H("POLYNOMIALTWO_ONE_H", CFG_CUSTOM, "KJIntakeAtVaryingGrassHeights_PF")

File name for grass functional response for pinkfeet.

Referenced by Landscape::Landscape().

◆ cfg_PermanentVegGrowthMaxScaler

◆ cfg_PermanentVegGrowthMinScaler

◆ cfg_Petti1A

CfgFloat cfg_Petti1A("PETTIFOR_ONE_A", CFG_CUSTOM, 0.88)

Maximum feeding time.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_Petti1B

CfgFloat cfg_Petti1B("PETTIFOR_ONE_B", CFG_CUSTOM, 0.57)

Minimum feeding time.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_Petti1C

CfgFloat cfg_Petti1C("PETTIFOR_ONE_C", CFG_CUSTOM, 280)

Threshold flock size above which feeding time no longer increases.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_Petti1D

CfgBool cfg_Petti1D("PETTIFOR_ONE_D", CFG_CUSTOM, false)

Logical config to control if the curve should be reversed (i.e. 1 - value)

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_Petti1E

CfgFloat cfg_Petti1E("PETTIFOR_ONE_E", CFG_CUSTOM, 1000)

Max x-value - at this point the curve tends to 0, must stop here to avoid negative values.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_Petti1F

CfgFloat cfg_Petti1F("PETTIFOR_ONE_F", CFG_CUSTOM, 0)

◆ cfg_Petti1G

CfgStr cfg_Petti1G("PETTIFOR_ONE_G", CFG_CUSTOM, "FeedingTimePettifor_PF")

File name for density dependent functional response for pinkfeet.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ cfg_ReallyBigOutput_used

CfgBool cfg_ReallyBigOutput_used

Config to control if the Ripley probe is used or not.

Referenced by Goose_Population_Manager::Init().

◆ cfg_WriteCurve

CfgBool cfg_WriteCurve("CURVE_WRITE", CFG_CUSTOM, false)

Controlling whether the functional response curves used are written to disk.

Referenced by Goose_Population_Manager::Goose_Population_Manager(), and Landscape::Landscape().

◆ g_AlmassMathFuncs

◆ g_land

Landscape* g_land

This pointer provides access the to landscape module.

Referenced by Goose_Population_Manager::BirdsShot(), and GooseActiveForageLocation::ClearBirds().

◆ g_rand_uni

boost::variate_generator<base_generator_type &, boost::uniform_real<> > g_rand_uni

◆ g_rand_uni2

boost::variate_generator<base_generator_type &, boost::uniform_int<> > g_rand_uni2

A random number generator (0-9999)

◆ g_torun

int g_torun

This variable controls how long the simulation will run for.

Referenced by Goose_Population_Manager::Goose_Population_Manager().

◆ l_map_print_git_version_info

CfgBool l_map_print_git_version_info

Should git version info be printed to file and console?

Referenced by Goose_Population_Manager::Init(), Landscape::Landscape(), and Goose_Population_Manager::~Goose_Population_Manager().