Epidemic Risk Modeling in Mass Rearing of Black Soldier Fly (Hermetia illucens) Using the SIR Model
Abstract
Hermetia illucens, or the Black Soldier Fly (BSF) maggot, is widely cultivated due to its ability to convert organic waste into economically valuable biomass; however, high colony density increases the risk of disease transmission. This study aims to analyze infection dynamics in maggot colonies using a mathematical modeling approach based on the Susceptible–Infected–Removed (SIR) epidemiological model. A system of differential equations was formulated by incorporating transmission rate (β), recovery or isolation rate (γ), and mortality rate (μ). Simulations were conducted on an initial population of 10,000 larvae with 100 infected larvae on the first day, evaluating three control scenarios: no control, improved sanitation, and rapid quarantine. Model parameters were assumed based on insect epidemiology literature. The results show that without control, an R₀ of 3.50 leads to a rapidly spreading outbreak with a peak infection of approximately 3,600 larvae. The sanitation scenario reduces R₀ to 2.00 with a peak of around 1,500 infected larvae, whereas rapid quarantine lowers R₀ to 1.40 and results in only about 500 infected larvae with a shorter outbreak duration. These findings indicate that sanitation measures and rapid quarantine are effective in reducing outbreak risks in BSF cultivation, with rapid quarantine being the most efficient strategy. The study provides an early theoretical contribution to applying simple epidemiological modeling to support biosafety practices in the BSF industry.
Full text article
References
Alagappan, S., Dong, A., Hoffman, L., Cozzolino, D., Mantilla, S. O., James, P., Yarger, O., & Mikkelsen, D. (2025). Microbial Safety of Black Soldier Fly Larvae (Hermetia Illucens) Reared on Food Waste Streams. Waste Management, 194, 221–227.
Atzzahra, H., Fitria, I., & Millah, N. (2021). Analisis Sensitivitas pada Model SIR Penyebaran COVID-19. MUST Journal of Mathematics Education Science and Technology, 6(2).
Blooi, M., Martel, A., Haesebrouck, F., Vercammen, F., Bonte, D., & Pasmans, F. (2025). Treatment of Urodelans Based on Temperature Dependent Infection Dynamics of Batrachochytrium Salamandrivorans. Scientific Report, 5.
Erickson, M. C., Islam, M., Sheppard, C., Liao, J., & Doyle, M. P. (2004). Reduction of Escherichia Coli O157:H7 and Salmonella Enterica Serovar Enteritidis in Chicken Manure by Larvae of The Black Soldier Fly. Journal of Food Protection, 67(4), 685–690.
Gold, M., Cassar, C. M., Zurbrügg, C., Kreuzer, M., Boulos, S., Diener, S., & Mathys, A. (2020). Biowaste Treatment With Black Soldier Fly Larvae: Increasing Performance Through The Formulation Of Biowastes Based On Protein And Carbohydrates. Waste Management, 102, 319–329.
Gougbedjia, A., Agbohessoub, P., Laleye, P. A., Francisa, F., & Megidoa, R. C. (2021). Technical Basis For The Small-Scale Production Of Black Soldier Fly, Hermetia Illucens (L. 1758), Meal As Fish Feed In Benin. Journal of Agriculture and Food Research, 4.
Johnson, E. E., Escobar, L. E., & Zambrana-Torrelio, C. (2019). An Ecological Framework for Modeling the Geography of Disease Transmission. Trends In Ecology & Evolution, 34(7), 655–668.
Joosten, L., Lecocq, A., Jensen, A. B., Haenen, O., Schmitt, E., & Eilenberg, J. (2020). Review Of Insect Pathogen Risks For The Black Soldier Fly (Hermetia Illucens) And Guidelines For Reliable Production. Entomologia Experimentalis et Applicata.
Kalachev, L., Landguth, E. L., & Graham, J. (2023). Revisiting Classical SIR mModelling In Light Of The COVID-19 Pandemic. Infectious Disease Modelling, 8(1), 72–83.
Khan, S. A., Kojour, M. A. M., & Han, Y. S. (2023). Recent Trends In Insect Gut Immunity. Frontiers in Immunology.
Mata, A. S., & Dourado, S. M. P. (2021). Mathematical Modeling Applied to Epidemics: An Overview. São Paulo Journal of Mathematical Sciences.
Mufungwe, J., Namukonde, N., Mwaanga, P., Johnson, T., Siamujompa, M., Mwango, N. C., Ngoma, J., & Hang’ombe, B. M. (2025). Critical Safety Concerns In The Production Of Black Soldier Fly (Hermetia Illucens) Larvae In Africa. Discover Food, 5(1).
Padmanabha, M., Kobelski, A., Hempel, A.-J., & Streif, S. (2020). A Comprehensive Dynamic Growth And Development Model Of Hermetia Illucens Larvae. PLOS One, 15(9).
Setiawan, Y., Sarwono, E., & Asghaf, A. T. F. (2024). Analisis Kualitas Kasgot dari Larva Black Soldier Fly (BSF) dengan Menggunakan Sampah Organik Sayur dan Buah di TPS 3R Pasar Segiri, Kota Samarinda. Jurnal Teknologi Lingkungan, 25.
Surendra, K. C., Tomberlin, J. K., Huis, A. van, Cammack, J. A., Heckmann, L.-H. L., & Khanal, S. K. (2020). Rethinking Organic Wastes Bioconversion: Evaluating The Potential Of The Black Soldier Fly (Hermetia Illucens (L.)) (Diptera: Stratiomyidae) (BSF). Waste Management, 117.
Authors
Copyright (c) 2025 Nita Anggriani, Lilis Handayani, Ermita Ermita

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-NonCommercial 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work