Emerge
Emerge generates mosquito emergence such that the mean emergence from all aquatic habitats on a landscape over one year is equal to LAMBDA. The seasonal forcing of emergence rate is controlled via ‘offset’ parameter. Lambda is calculated for each aquatic habitat for each day; the mean lambda for a single day across all habitats varies based on seasonality but the mean emergence aggregated over all days of the year is equal to LAMBDA.
makeAquaPop Routines
makeAquaPop.emerge
makeAquaPop.emerge generates the Aquatic Ecology object, given input parameters.
Initialization Parameters:
- N.l: number of aquatic habitats on landscape
- LAMBDA: total number of emerging adult female mosquitoes per human at equilibrium over all aquatic habitats.
- a: shape parameter for gamma distribution of W
- b: scale parameter for gamma distribution of W
- offset: controls seasonality by adjusting rate of emergence over days in year. An offset of 180 corresponds to maximal emergence at the middle of the year; offset is measured in degrees.
- plot: plot lambda over days in year.
makeAquaPop.emerge generates several parameters in the initialization process:
- W: gamma distributed weights applied to Lambda; W introduces heterogeneity in K.
- K: habitat-specific carrying capacity; must sum to Lambda over all habitats (PLoS 2013: Mosquito Population Regulation…)
- season: matrix of lambda values; rows are habitats, columns are days.
Basic seasonal forcing is calculated for each aquatic habitat i as: . Seasonally forced emergence is calculated such that summing out seasonality the mean daily emergence from all aquatic habitats is equal to input LAMBDA.
oneDay.emerge
oneDay.emerge handles daily emergence of mosquitoes from all aquatic habitats. The habitat-specific value of lambda for day ‘t’ is used as the mean parameter for Poisson-distributed emergence for all sites. These counts of mosquito emergence are added to the adult emergence queue (ImagoQ) for each habitat.
EL4P
EL4P must be fitted (calibrated) with a given set of DHM parameters (generated from Pset(…) and using equilibrium bionomics calculated through Monte Carlo simulation by dhmBasicCohort(…)) to its equilibrium values prior to running the simulation.
The fitting routine is as follows:
makeAquaPop Routines (Generate AquaPOP and Aq.PAR)
makeAq.PAR
makeAq.PAR generates basic parameters of the Aquatic Ecology model, including the equilibrium value of Lambda to sustain a given value of R0 for a given number of human hosts. makeAq.PAR requires input “cohortOut” which is basic bionomics generated from DHM-Basic run on a cohort of mosquitoes under certain parameters of DHM (parameters of mosquito biology).
Aq.PAR:
- M: habitat-specific ratio of adult female mosquitoes to humans (Int Health 2015: Adult vector control, mosquito ecology and malaria transmission)
- G: lifetime egg production, per adult (Int Health 2015: Adult vector control, mosquito ecology and malaria transmission)
- p: UNCERTAIN: used in calculating larval survival (might be density dependent survival from egg to adult)
- P: density independent survival from egg to adult
- a: shape parameter for gamma distribution of W (see makeAquaPop.EL4P)
- b: scale parameter for gamma distribution of W (see makeAquaPop.EL4P)
- Lambda: total number of emerging adult female mosquitoes per human at equilibrium over all aquatic habitats.
getLAMBDA
getLAMBDA gives a mean value of Lambda over the entire landscape; eg; it is the total number of emerging adult female mosquitoes per human per day required to maintain R0 at equilibrium for a given population of humans based on mean mosquito bionomics that are calculated via Monte Carlo simulation from DHM-Basic.
getLAMBDA requires several input parameters:
- S: mean mosquito lifespan
- r: mean rate of recovery; inverse of mean duration of infectiousness (1/38)
- b: not sure
- P: proportion of a cohort that survives the extrinsic inoculation period \( e^{-EIP*g} \); g is the force of mortality and given by inverse of mean lifespan.
makeAquaPop.EL4P
makeAquaPop.EL4P generates the Aquatic Ecology object, AquaPOP given Aquatic Ecology parameters (Aq.PAR).
AquaPOP generates several parameters in the initialization process:
- W: gamma distributed weights applied to Lambda; W introduces heterogeneity in K.
- K: habitat-specific carrying capacity; must sum to Lambda over all habitats (PLoS 2013: Mosquito Population Regulation…)
- pp:
- alpha: habitat-specific maturation rate of larvae (PLoS 2013: Mosquito Population Regulation…)
- psi: habitat-specific increase in per-capita mortality in response to larval density (PLoS 2013: Mosquito Population Regulation…)
GEL4P Routines (Generate EL4P)
fit.EL4P
fit.EL4P requires Aq.PAR and AquaPOP, which are derived by running DHM-Basic Cohort version, which runs each mosquito as a continuous time Markov Process for a given cohort and summarizes their basic bionomics to estimate values needed to calculate lambda over the entire landscape (in Aq.PAR) and generate AquaPOP, which is the object that contains all the aquatic habitats and relevant parameters. fit.EL4P sets the values of psi so that lambda = K at (p,G) for all aquatic habitats.
checkDX.GEL4P
checkDX.GEL4P is a function that runs the aquatic ecology model until variance in Lambda summed over all aquatic habitats is below a certain threshold.
run2Eq.GEL4P
run2Eq.GEL4P is a function that runs the aquatic ecology model to its equilibrium state.
burnin.GEL4P
burnin.GEL4P is a helper function for run2Eq.GEL4P to run aquatic ecology dynamics for all aquatic habitats for a given amount of time maxT.
G2K.GEL4P
G2K.GEL4P is a helper function for run2Eq.GEL4P to run aquatic ecology dynamics for all aquatic habitats for a given amount of time maxT while updating M.
psiFit
psiFit is a helper function to fit.EL4P, which sets values of psi so that lambda = K (set emergence equal to carrying capacity) at (p,G), which are given in Aq.PAR.
- x: parameter (psi) provided to optimize with respect to
- i: index of aquatic habitat
- LL: AquaPOP/EL4P object
- PAR: Aq.PAR object
- maxT: maximum time to allow aquatic ecology to equilibriate
- Mo: default M value of PAR
meshK.EL4P
runOne.GEL4P
runOne.GEL4P runs a single aquatic habitat for maxT days. Mo is the user-specified equilibrium ratio of mosquitoes to humans.
oneDay.GEL4Pi
oneDay.GEL4Pi is a helper function for runOne.GEL4P, which advances aquatic ecology in a single habitat by one day. It assumes that eggs are laid in this habitat to correspond to the equilibrium parameters implied by Aq.PAR and K evaluated in meshK.EL4P.
oneDay.GEL4P
oneDay.GEL4P will run single day population dynamics for all aquatic habitats