Gerungofulus / bvd_agent_based_model

1 stars 4 forks source link

Introduction of PI/TI animals in the population by import #8

Open JoernGe opened 7 years ago

JoernGe commented 7 years ago

Is there an option in the ini-file to set the probability of the import of PI/TI animals in the target population? Can you define the current probability of importing an infectious animal?

We would like to simulate the following scenarios with and without importing infectious animals:

If there is no or only a marginal difference, it might be possible to skip some of the Scenarios.

Gerungofulus commented 7 years ago

Hey @JoernGe unfortunately there is no such option yet, but you can achieve a similar result by changing the following ini parameters

[modelparam]
#default: 0.02 #1 equals 100% 0 equals 0%
populationPercentagePI=0.02

#default: 0.02
populationPercentageTI=0.00

#default: 0.02
previouslyInfectedPercentageOfFarms = 0.02

#default: true
PercentagesShallBeAppliedOnWells=true

If you don't set previouslyInfectedPercentageOfFarms, the prevalence of all farms will be set to R = 0, TI = populationPercentageTI, PI = populationPercentagePI and S will be the rest. The percentageShallBeAppliedOnWells parameters makes the source/well farm type have the same prevalence. By setting previouslyInfectedPercentageOfFarms the normal farms in the system will be set by the

const InitialFarmData Initializer::previouslyInfected = {0.02, 0.46, 0.06, 0.46 };
const InitialFarmData Initializer::clean = {0.00, 0.205, 0.005, 0.79 };//{PIs, Rs, TIs, S}

dicts set in the Initializer.cpp, but the Source Farm will keep the settings as set above. If you need to set basic prevalences for different farm types using the ini file to save you from recompiling and setting up more different scenarios, just hit me up.

JoernGe commented 7 years ago

I will test it and will send you the results