Simulating the spread of malaria using a generic transmission model for mosquito-borne infectious diseases