PRODUCTION INDICATOR MONITORING SYSTEM FOR A FILLING LINE USING PYTHON, MONGODB, AND POWER BI: A PROOF OF CONCEPT

Abstract

In cosmetic filling lines with a low degree of automation, recording production on paper and spreadsheets hinders data consolidation, favors inconsistencies, and delays the analysis of results. This study aims to develop and evaluate a Proof of Concept (PoC) for monitoring production indicators on a filling line using Python, FastAPI, Pydantic, PyMongo, MongoDB, and Power BI. This applied research followed Design Science Research: the problem was identified on a real line, and the artifact was developed, demonstrated, and evaluated with simulated data. The PoC receives records through a REST API, validates their structure and domain rules, handles duplicate and out-of-order events, stores events and indicators in MongoDB, and calculates yield, losses, availability, performance, quality, and Overall Equipment Effectiveness (OEE), flagging inconsistencies. In the technical evaluation, all 71 automated tests passed, the 17 HTTP requests, with 44 assertions, ran without failures, and the indicators matched the manual calculation. Divisions by zero produced flagged null indicators, and invalid inputs were rejected. The Power BI dashboard displayed the indicators per lot and weighted aggregate values of the lots without inconsistencies. The artifact meets the technical requirements defined. Data collection on the line, the reduction of information delay, and usefulness in real operation were not evaluated; therefore, no productivity gains are attributed to the solution.

Author Biographies

Roberta Rie Flushio Ohata, Centro Universitário de Araraquara

Undergraduate student in Information Systems at the Universidade de Araraquara (UNIARA), Araraquara-SP, Brazil.

Renata Mirella Farina, Centro Universitário de Araraquara

Master in Production Engineering (EESC-USP). Lecturer in the Business Administration, Computer Engineering and Information Systems programs at the Universidade de Araraquara (UNIARA), Araraquara-SP, Brazil.

Fabiana Florian, Centro Universitário de Araraquara

PhD in Food and Nutrition from the Universidade Estadual Paulista (FCFAr-UNESP) and Master in Regional Development and Environment (UNIARA). Lecturer in the Information Systems program at the Universidade de Araraquara (UNIARA), Araraquara, São Paulo, Brazil.

References

FAHEEM, Muhammad; BUTT, Rizwan Aslam; ALI, Rashid; RAZA, Basit; NGADI, Md. Asri; GUNGOR, Vehbi Cagri. CBI4.0: A cross-layer approach for big data gathering for active monitoring and maintenance in the manufacturing industry 4.0. Journal of Industrial Information Integration, v. 24, 100236, 2021. DOI: ttps://doi.org/10.1016/j.jii.2021.100236. DOI: https://doi.org/10.1016/j.jii.2021.100236

FASTAPI. Request body. Disponível em: https://fastapi.tiangolo.com/tutorial/body/ Acesso em: 10 set. 2026.

GHOBAKHLOO, Morteza; IRANMANESH, Mohammad; VILKAS, Mantas; GRYBAUSKAS, Andrius; AMRAN, Azlan. Drivers and barriers of Industry 4.0 technology adoption among manufacturing SMEs: a systematic review and transformation roadmap. Journal of Manufacturing Technology Management, v. 33, n. 6, p. 1029-1058, 2022. DOI: https://doi.org/10.1108/JMTM-12-2021-0505 DOI: https://doi.org/10.1108/JMTM-12-2021-0505

HANSEN, Robert C. Overall Equipment Effectiveness: A Powerful roduction/Maintenance Tool for Increased Profits. New York: Industrial Press, 2001.

HERRERO, Angel C.; SANGUESA, Julio A.; MARTINEZ, Francisco J.; GARRIDO, Piedad; CALAFATE, Carlos T. Mitigating electromagnetic noise when using low-cost devices in Industry 4.0. IEEE Access, v. 9, p. 63267-63282, 2021. DOI: https://doi.org/10.1109/ACCESS.2021.3074588 DOI: https://doi.org/10.1109/ACCESS.2021.3074588

KAGERMANN, Henning; WAHLSTER, Wolfgang; HELBIG, Johannes. ecommendations for Implementing the Strategic Initiative INDUSTRIE 4.0: Final Report of the Industrie 4.0 Working Group. Frankfurt: Forschungsunion, 2013.

LEE, Jay; BAGHERI, Behrad; KAO, Hung-An. A cyber-physical systems architecture for Industry 4.0-based manufacturing systems. Manufacturing Letters, v. 3, p. 18-23, 2015. DOI: https://doi.org/10.1016/j.mfglet.2014.12.001 DOI: https://doi.org/10.1016/j.mfglet.2014.12.001

MICROSOFT. Documentação do Power BI. Disponível em: https://learn.microsoft.com/pt-br/power-bi/ Acesso em: 10 set. 2026.

MISHRA, Debasish; PRIYADARSHI, Ashok; DAS, Sarthak M.; SHREE, Sristi; GUPTA, Abhinav; PAL, Surjya K.; CHAKRAVARTY, Debashish. Industry 4.0 application in manufacturing for real-time monitoring and control. Journal of Dynamics, Monitoring and Diagnostics, v. 1, n. 3, p. 176-187, 2022. DOI: https://doi.org/10.37965/jdmd.2022.118 DOI: https://doi.org/10.37965/jdmd.2022.118

MONGODB. MongoDB PyMongo Documentation. Disponível em: https://www.mongodb.com/docs/languages/python/pymongo-driver/current/ Acesso em: 10 set. 2026.

NAKAJIMA, Seiichi. Introduction to TPM: Total Productive Maintenance. Cambridge: Productivity Press, 1988.

NG CORRALES, Lisbeth del Carmen; LAMBÁN, María Pilar; HERNANDEZ KORNER, Mario Enrique; ROYO, Jesús. Overall Equipment Effectiveness: systematic literature review and overview of different approaches. Applied Sciences, v. 10, n. 18, 6469, 2020. DOI: https://doi.org/10.3390/app10186469 DOI: https://doi.org/10.3390/app10186469

OEE.COM. OEE calculation: definitions, formulas, and examples. Disponível em: https://www.oee.com/calculating-oee/ Acesso em: 18 set. 2026.

RAVAL, Manan Bhavesh; JOSHI, Hirenkumar Indravadan; KHATRI, Bharat; ALAKI, Janak. Development and implementation of an Industrial IoT-based real-time process monitoring system to improve Overall Equipment Effectiveness (O.E.E.) of bearing manufacturing process. ITEGAM-JETIA, v. 12, n. 58, p. 11-22, 2026. DOI: https://doi.org/10.5935/jetia.v12i58.2410 DOI: https://doi.org/10.5935/jetia.v12i58.2410

SCHWAB, Klaus. A Quarta Revolução Industrial. São Paulo: Edipro, 2016. SHARDA, Ramesh; DELEN, Dursun; TURBAN, Efraim. Business Intelligence, Analytics, and Data Science: A Managerial Perspective. 4. ed. Harlow: Pearson, 2018.

SILVA, Nubia Adriane da; ABREU, Jaqueline Lilge; KLINGENBERG, Cristina Orsolin; ANTUNES JUNIOR, José Antônio Valle; LACERDA, Daniel Pacheco. Industry 4.0 and micro and small enterprises: systematic literature review and analysis. Production & Manufacturing Research, v. 10, n. 1, p. 696-726, 2022. DOI: https://doi.org/10.1080/21693277.2022.2124466 DOI: https://doi.org/10.1080/21693277.2022.2124466

VANDERPLAS, Jake. Python Data Science Handbook. 2. ed. Sebastopol: O'Reilly Media, 2022.

How to Cite

Ohata, R. R. F., Farina, R. M., & Florian, F. (2026). PRODUCTION INDICATOR MONITORING SYSTEM FOR A FILLING LINE USING PYTHON, MONGODB, AND POWER BI: A PROOF OF CONCEPT. RECIMA21 - Revista Científica Multidisciplinar - ISSN 2675-6218, 7(12), e7129879. https://doi.org/10.47820/recima21.v7i12.9879
Crossmark logo

Similar Articles

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)