This code is associated with the following manuscript: "Cascades of effectiveness of new-generation insecticide-treated nets against malaria, from entomological trials to real-life conditions".