Mosquitoes are small, flying insects that can cause significant harm to humans and animals. They are known to carry and transmit various diseases, such as malaria, dengue fever, and Zika virus, which can be life-threatening. Mosquito bites can also cause itching, swelling, and irritation, leading to discomfort and potential infection. In addition to their impact on human health, mosquitoes can also harm the environment by disrupting food chains and ecosystems. Despite efforts to control their populations through measures such as insecticide spraying and removing standing water sources, mosquitoes remain a persistent problem in many parts of the world. (2)
In countries like India, there are many companies which advertize and sell machines that release vapours in the air to kill mosquitoes. They claim these liquid vaporizers to be an effective way of killing mosquitoes in an indoor settings.
Image: A commonly advertized mosquito vaporizer from a famous brand. Source: Amazon.in
In India, the number of people who contract one of the diseases transmitted through mosquitoes runs annually in millions. Personally, I have often found myself in a room full of mosquitoes, and really prayed that the vaporizer machine would work as it claims. This project is one such work to understand the working of the vaporizer and if it would actually be beneficial. The Monte Carlo simulation utilized in the project aims to study in detail how effective vaporizers are in killing mosquitoes in an indoor room setting.
Access the main_simulation_file.py to see the main code results and perform doctests. The experiments_file.py has the experiments and visualizations and imports the functions_file.py to run the experiments.
- main_simulation_file.py contains all the code that forms the design of the study. The file also contains doctest, and the study could be run to obtain statistics about of the design results.
- functions_file.py contains a class that has the design for the study and the experiments. This file will be imported into another file to run the experiments
- experiments_file.py contains the visualizations and results of the experiments.
A random number of mosquito is assumed to exist in the room for every simulation. The random number is between 20 to 50 to replicate real world situations. These mosquitoes are spread through out the room and their initial position is also randomly determined. All the mosquitoes are randomly moved a distance (or not) such that they are not in the same position throughout the simulation run. The mosquitoes inhale the vapours that the vaporizer emits, and their position in the room determines how much vapours they have inhaled at any point of time. The mosquitoes have a threshold of inhalation of the vapours, after which they die due to having too much vapours in their system.
The setting is that of an indoor room. The room is divided into sections along it's length. The vaporizer can be present in any of these sections and emits a steady flow of vapours into the air. The vapours diffuse through the air throughout the rooms. For the sake of simplicity, within each section the concentration is assumed to be uniform. The vapours also loose their effectiveness after 30 mins of being in the air.
Variables
- Time_intervals: the runtime of one simulation in minutes
- vaporizer_location: A list of sections in which the vaporizer is plugged in
- Emission_rate: how many units of vapour is the vaporizer emitting per minute
- diffusion_rate: The flow of vapours from one section to the next per minute
- chemical_duration: The effectiveness duration of the vapours
- fan_speed: speed assigned for the fan on a scale of 0 to 0.5 with 0 denoting the fan is turned off
- max_distance: the maximum distance a mosquito can travel
- min_count: minimum possible number of mosquitoes
- max_count: maximum possible number of mosquitoes
- ingest_coefficient: the amount the mosquito inhales in a minute
- threshold: the amount the mosquito can inhale without harming itself
To validate the design, the following study was used to understand what the results should be in a room of dimensions 6.8 * 3.4 * 2.7. The study had gotten a knockout rate of 56.7% with an interal of 7.3%.(1) The Monte carlo simulation gives similar results when the room length is 7 units, the fan flow is really low and there is only one vaporizer in the room at the corner of the room. When this simulation is ran 1000 times, it gives a statistically convergent plot shown below.
Note: The below figure shows the survival rate, which is 1 - knockout rate. Hence the average knockout rate should be around 57 %.
Assumptions:
- Fan speed will be kept at a minimum speed of 0 (0 is the lowest and 0.5 is highest)
- There will be only one vaporizer in the corner most section of the room.
- The experiment will run for 180 minute
- The diffusion rate of the vaporizer is 0.2 units per minute.
- The mosquito inhalation threshold will be 70
- We are placing vaporizers on one of the walls of the room. In this experiment, we will consider volume into account and try to factor it into diffusion values to work with the current structure.
How assumption (6) will work:
Assuming a 8 (L) * 6 (W)* 10 (H), we can consider two orientations:
a) 8 sections where the vaporizer is place on the shorter side (6 width wall) b) 6 sections where the vaporizer is placed on the longer wall (8 length wall)
In case a), the diffuser emits to a volume of 6 * 1 * 1 in each section (8 sections), in case b), the vaporizer emits to a volume of 8 * 1 * 1 in 6 sections. The adjusted concentrations in section a) will be normalized to a factor of 1/6 and 1/8 for section b). Taking this into account, our normalized emission rates for a) 8 sections is 100 (baseline) and b) 6 sections is 100*6/8 = 75
Room Size = 6, average survival rate = 72%
Room Size = 8, average survival rate = 68%
Conclusion: The difference between the mean values is within 5% and the histograms show a similar frequency trend for the rest of the values. Based on this results, the difference can be termed as negligent.
Hypothesis 2: The presence of a ceiling fan in the room will improve vaporizer's effectiveness in killing mosquitoes.
Assumptions:
- The length of the room is 10 units
- The fan speed will be vaired for each experiment run
- There will be two vaporizers at either end of the room
- The time interval for the simulations will be 180 min
Fan speed = 0, average survival rate = 46%
Fan Speed = 0.1, average survival rate = 43%
Fan Speed = 0.2, average Survival rate = 42%
Fan Speed = 0.3, average survival rate = 39%
Fan speed = 0.4, average survival rate = 39%
Fan Speed = 0.5, average survival rate = 38%
Conclusion: Fan speed decreases the survival rate at first, however as the fan speed approaches maximum speed, the drop off gets smaller for the survival rate.
Assumptions:
- The size of the room is 10
- The time interval of the experiment would be 180 minutes
- Fan speed is kept at the middle (0.3) speed.
The top best vaporizer positions are:
36% survival rate at position 2 and 4
36% survival rate at position 1 and 3
37% survival rate at position 0 and 5
Conclusion: Positions closer to each other and one position in the middle seems to be much effective at having a lower surivival rate.
- Validation: Hun Jung, Huijun An, Minjin Lee, Jieun Lee, Jun-Hyung Tak, Comparative Efficacy of Commercial Liquid and Mat-Type Electric Vaporizer Insecticides Against Asian Tiger Mosquito (Diptera: Culicidae), Journal of Medical Entomology, Volume 58, Issue 6, November 2021, Pages 2274–2283, https://doi-org.proxy2.library.illinois.edu/10.1093/jme/tjab087
- https://www.who.int/docs/default-source/searo/india/health-topic-pdf/vbd-fact-sheets.pdf?sfvrsn=c1908b04_2