![]() |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
#include <iostream>
#include <fstream>
#include <vector>
#include "math.h"
#include "../ALMaSSDefines.h"
#include "../Landscape/ls.h"
#include "../BatchALMaSS/ALMaSS_Random.h"
#include "../BatchALMaSS/PopulationManager.h"
#include "PesticideToxicity.h"
Variables | |
CfgFloat | l_pest_zero_threshold |
The number of pesticide types used, the maximum value is 10. More... | |
CfgBool | l_pest_enable_pesticide_engine |
Used to turn on or off the PPP functionality of ALMaSS. More... | |
CfgInt | l_pest_NoPPPs |
The number of active Plant Protection Products to be tracked - a performance penalty if enabled with more than necessary (memory heavy) More... | |
static CfgArray_Double | pest_decay_rate_animal ("PEST_DECAY_RATE_ANIMAL", CFG_CUSTOM, 10, vector< double >{0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9}) |
The decay rate of the pesticide body burden. The length of this vector maximum number of supported pesticide. More... | |
static CfgFloat | pest_contact_animal_ratio ("PEST_CONTACT_ANIMAL_RATIO", CFG_CUSTOM, 0.1) |
The ratio to control how much the animal will be contaminated through contact. More... | |
static CfgFloat | pest_overspray_animal_surface ("PEST_OVERSPRAY_ANIMAL_SURFACE", CFG_CUSTOM, 0.01) |
The surface of the animal in square meters fo the calculation of overspray. More... | |
static CfgFloat | pest_overspray_animal_rate ("PEST_OVERSPRAY_ANIMAL_RATE", CFG_CUSTOM, 0.01) |
The absorption rate of the animal for overspray. More... | |
static CfgArray_Double | pest_animal_effect_amount ("PEST_ANIMAL_EFFECT_AMOUNT", CFG_CUSTOM, 1, vector< double >{2}) |
The pesticide burdon (mg/mg) threshold value starts to have effect on the animal. More... | |
static CfgArray_Double | pest_animal_killing_rate ("PEST_ANIMAL_KILLING_RATE", CFG_CUSTOM, 1, vector< double >{0.01}) |
The pesticide killing rate constant for GUTS-SD. More... | |
static CfgFloat | pest_animal_overspray_chance ("PEST_ANIMAL_OVERSPRAY_CHANCE", CFG_CUSTOM, 0.1) |
The chance being oversprayed for the host animal. More... | |
static CfgBool | cfg_pest_animal_contact_on ("PEST_ANIMAL_CONTACT_ON", CFG_CUSTOM, true) |
The flag to turn on contact exposure path. More... | |
|
static |
The flag to turn on contact exposure path.
Referenced by PesticideToxicity::tick().
CfgBool l_pest_enable_pesticide_engine |
Used to turn on or off the PPP functionality of ALMaSS.
Referenced by PesticideStore::PesticideStore(), PesticideToxicity::PesticideToxicity(), PesticideStore::tick(), and PesticideToxicity::tick().
CfgInt l_pest_NoPPPs |
The number of active Plant Protection Products to be tracked - a performance penalty if enabled with more than necessary (memory heavy)
Referenced by PesticideStore::addPesticide(), PesticideToxicity::doContact(), PesticideStore::doDecay(), PesticideToxicity::doToxicity(), PesticideToxicity::eatingFromStorePest(), PesticideStore::PesticideStore(), PesticideStore::reset(), and PesticideToxicity::reset().
CfgFloat l_pest_zero_threshold |
The number of pesticide types used, the maximum value is 10.
The number of pesticide types used, the maximum value is 10.
Referenced by PesticideStore::doDecay(), and Pesticide::MainMapDecay().
|
static |
The pesticide burdon (mg/mg) threshold value starts to have effect on the animal.
Referenced by PesticideToxicity::doToxicity().
|
static |
The pesticide killing rate constant for GUTS-SD.
Referenced by PesticideToxicity::doToxicity().
|
static |
The chance being oversprayed for the host animal.
Referenced by PesticideToxicity::doOverspray().
|
static |
The ratio to control how much the animal will be contaminated through contact.
Referenced by PesticideToxicity::doContact().
|
static |
The decay rate of the pesticide body burden. The length of this vector maximum number of supported pesticide.
Referenced by PesticideStore::doDecay().
|
static |
The absorption rate of the animal for overspray.
Referenced by PesticideToxicity::doOverspray().
|
static |
The surface of the animal in square meters fo the calculation of overspray.
Referenced by PesticideToxicity::doOverspray().