SmartSack: Plataforma inteligente de gestión de producción con Digital Twin, analítica predictiva y asistente conversacional con IA para plantas de fabricación de sacos de papel
| dc.contributor.advisor | Seligmann Trujillo, Carlos David | |
| dc.contributor.author | Dueñas Castrillon , David Alejandro | |
| dc.coverage.temporal | 2026-1 | |
| dc.date.accessioned | 2026-07-07T16:05:07Z | |
| dc.date.issued | 2026-07-03 | |
| dc.description.abstract | SmartSack es una plataforma web inteligente diseñada para complementar los sistemas ERP existentes en plantas de fabricación de sacos de papel, añadiendo una capa de visibilidad en tiempo real, analítica predictiva y comunicación mediante inteligencia artificial. El proyecto surge de la identificación de tres brechas operativas críticas en este tipo de plantas: la ausencia de reportes en tiempo real del avance de producción, la comunicación deficiente entre áreas funcionales (ventas, producción y despacho) y la falta de trazabilidad del producto terminado. La plataforma integra tres pilares tecnológicos: (1) un Digital Twin de la línea de producción con vistas diferenciadas por rol (operario y supervisor), actualizado en tiempo real mediante WebSockets; (2) un motor de analítica predictiva basado en Machine Learning (Random Forest y XGBoost) que predice retrasos en órdenes de producción; y (3) un asistente conversacional impulsado por un modelo de lenguaje de gran escala (LLM) que permite consultar el estado de producción en lenguaje natural mediante function calling. El sistema se despliega directamente en los equipos de cómputo Windows que cada máquina ya posee en la planta, contenedorizado con Docker Compose en cinco servicios (PostgreSQL 16, Redis 7, backend, frontend y Nginx como reverse proxy), sin requerir hardware adicional ni infraestructura en la nube. El backend se construye sobre Python 3.11 con FastAPI y SQLAlchemy, expone doce routers REST organizados por dominio funcional y se versiona con migraciones Alembic; el frontend, con React 18, Vite y Tailwind CSS, integra las vistas diferenciadas por rol que materializan el Digital Twin. El motor predictivo se apoya en XGBoost serializado con Joblib y expuesto como endpoint REST, mientras que el asistente conversacional con LangChain orquesta la API de Claude mediante function calling sobre cinco herramientas SQL específicas del dominio. La integración de datos se realiza con un proceso ETL en Pandas que admite cuatro tipos de archivos CSV exportados desde el ERP, y la calidad del sistema se respalda con una suite de pruebas automatizadas sobre los principales módulos del backend. La metodología híbrida combina CRISP-DM para el ciclo de ciencia de datos con Scrum para el desarrollo iterativo de la plataforma web. | |
| dc.description.abstractenglish | SmartSack is an intelligent web platform designed to complement existing ERP systems in paper sack manufacturing plants by adding a layer of real-time visibility, predictive analytics, and AI-driven communication. The project stems from the identification of three critical operational gaps in such plants: the lack of real-time production progress reporting, poor communication between functional areas (sales, production, and shipping), and a lack of finished product traceability. The platform integrates three technological pillars: (1) a production line Digital Twin with role-specific views (operator and supervisor), updated in real-time via WebSockets; (2) a predictive analytics engine based on Machine Learning (Random Forest and XGBoost) that forecasts production order delays; and (3) a conversational assistant powered by a Large Language Model (LLM) that enables natural language queries regarding production status using function calling. The system is deployed directly onto the Windows computers already present at each machine on the plant floor, containerized via Docker Compose into five services (PostgreSQL 16, Redis 7, backend, frontend, and Nginx as a reverse proxy), requiring neither additional hardware nor cloud infrastructure. The backend is built using Python 3.11 with FastAPI and SQLAlchemy, exposing twelve REST routers organized by functional domain and versioned via Alembic migrations; the frontend, built with React 18, Vite, and Tailwind CSS, integrates the role-specific views that realize the Digital Twin. The predictive engine relies on XGBoost models serialized with Joblib and exposed as a REST endpoint, while the conversational assistant uses LangChain to orchestrate the Claude API via function calling across five domain-specific SQL tools. Data integration is handled by a Pandas-based ETL process supporting four CSV file types exported from the ERP, and system quality is ensured through an automated test suite covering the main backend modules. The hybrid methodology combines CRISP-DM for the data science lifecycle with Scrum for the iterative development of the web platform. | |
| dc.description.tableofcontents | RESUMEN DEL PROYECTO 6 1. TÍTULO DE LA PROPUESTA 7 2. PLANTEAMIENTO DEL PROBLEMA 8 2.1. Descripción del problema 8 2.2. Elementos del problema 8 2.2.1. Ausencia de visibilidad en tiempo real 8 2.2.2. Comunicación fragmentada entre áreas funcionales 9 2.2.3. Falta de trazabilidad integral 9 2.2.4. Ausencia de capacidad predictiva 9 2.3. Formulación del problema 9 3. OBJETIVOS 10 3.1. Objetivo general 10 3.2. Objetivos específicos 10 3.2.1. Diagnóstico del proceso y arquitectura del sistema 10 3.2.2. Proceso ETL e integración de datos 10 3.2.3. Digital Twin web 10 3.2.4. Modelo de Machine Learning predictivo 10 3.2.5. Asistente conversacional con IA 10 3.2.6. Contenerización y despliegue 10 3.2.7. Evaluación con usuarios 11 4. JUSTIFICACIÓN 11 4.1. Justificación técnica 11 4.2. Justificación económica 11 4.3. Justificación social 11 4.4. Justificación académica 12 5. MARCO TEÓRICO 13 5.1. Marco referencial 13 5.1.1. Industria 4.0 y manufactura inteligente 13 5.1.2. Gemelos digitales (Digital Twins) en manufactura 13 5.1.3. Machine Learning aplicado a manufactura 14 5.1.4. Modelos de lenguaje de gran escala (LLM) en entornos industriales 14 5.1.5. OEE (Overall Equipment Effectiveness) 15 5.1.6. Procesos ETL e integración de datos 15 5.2. Estado del arte 15 5.2.1. Digital Twins con inteligencia artificial en manufactura 16 5.2.2. Machine Learning para predicción de retrasos en producción 16 5.2.3. LLM como interfaz conversacional en manufactura 17 6. METODOLOGÍA 18 6.1. Hipótesis del proyecto 18 6.1.1. Hipótesis general 18 6.1.2. Hipótesis específicas 18 6.1.2.1. Reducción del tiempo de respuesta (H1) 18 6.1.2.2. Precisión predictiva del modelo de Machine Learning (H2) 18 6.1.2.3. Tasa de respuesta correcta del asistente conversacional (H3) 18 6.1.2.4. Usabilidad del sistema medida con SUS (H4) 19 6.2. Variables e indicadores 19 6.2.1. Tiempo de respuesta ante consultas de estado de órdenes 19 6.2.2. Precisión predictiva del modelo de Machine Learning 19 6.2.3. Tasa de respuesta correcta del asistente conversacional 19 6.2.4. Usabilidad percibida por los usuarios 20 6.2.5. Satisfacción general del usuario 20 6.3. Descripción de las etapas del proyecto 20 6.3.1. Fase 1: Levantamiento y diseño (semanas 1-3) 20 6.3.2. Fase 2: Digital Twin y backend (semanas 4-7, Sprints 1 y 2) 21 6.3.3. Fase 3: Motor de Machine Learning (semanas 8-10, ciclo CRISP-DM) 21 6.3.4. Fase 4: Chatbot IA y validación (semanas 11-14, Sprints 3 y 4) 21 6.3.5. Fase 5: Documentación y entrega (semanas 14-16) 21 6.4. Diseño experimental 21 6.5. Proceso de recolección, organización y análisis de datos 22 7. RESULTADOS OBTENIDOS 24 7.1. Análisis de requisitos del sistema 24 7.1.1. Stakeholders y actores 24 7.1.2. Requisitos funcionales 25 7.1.3. Requisitos no funcionales 26 7.2. Arquitectura del sistema implementada 27 7.2.1. Vista de componentes 27 7.2.2. Vista de despliegue 28 7.2.3. Vista de seguridad 28 7.3. Modelo de datos implementado 29 7.3.1. Refactor a manufactura por operaciones encadenadas 29 7.3.2. Inventario de tablas 29 7.4. Interfaz de usuario implementada 30 7.4.1. Inventario de vistas 30 7.4.2. Capturas del sistema en funcionamiento 30 7.5. Modelo de Machine Learning entrenado 35 7.5.1. Aplicación de CRISP-DM 35 7.5.2. Métricas del modelo entrenado 36 7.6. Asistente conversacional implementado 37 7.6.1. Catálogo de herramientas 37 7.6.2. Modo de operación 37 7.7. Proceso ETL implementado 37 7.8. Estrategia y cobertura de pruebas 38 7.9. Avance por objetivo específico 39 7.10. Métricas cuantitativas del proyecto 40 7.11. Consolidación final del sistema 41 7.11.1. Cuestionario SUS y encuesta de satisfacción 41 7.11.2. Carga de datos históricos reales del ERP 41 7.11.3. Refactorización del procesamiento de confirmaciones en el ETL 41 7.11.4. Ampliación del chatbot con nuevas herramientas de operaciones 42 7.11.5. Pruebas automatizadas del frontend 42 7.11.6. Integración continua con GitHub Actions 42 7.11.7. Manuales técnicos y de usuario 42 7.11.8. Síntesis 42 8. CRONOGRAMA 43 9. CONCLUSIONES 44 10. TRABAJO FUTURO 45 10.1. Validación de campo con usuarios reales 45 10.2. Incorporación de datos históricos reales del ERP 45 10.3. Predicción de la magnitud del retraso 45 10.4. Acceso externo seguro multi-rol 45 10.5. Mantenimiento predictivo por máquina 45 11. BIBLIOGRAFÍA 46 | |
| dc.identifier.uri | https://hdl.handle.net/10823/8277 | |
| dc.relation.references | Anaya, V., Alberti, E., & Scivoletto, G. (2024). A Manufacturing Digital Twin Framework. En J. Soldatos (Ed.), Artificial Intelligence in Manufacturing. Springer. https://doi.org/10.1007/978-3-031-46452-2_10 | |
| dc.relation.references | Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785–794. https://doi.org/10.1145/2939672.2939785 | |
| dc.relation.references | Dai, D., Zhao, B., Yu, Z., Franciosa, P., & Ceglarek, D. (2025). Generative and Predictive AI for digital twin systems in manufacturing. Frontiers in Artificial Intelligence, 8, 1655470. https://doi.org/10.3389/frai.2025.1655470 | |
| dc.relation.references | Digital Twins integrated with Artificial Intelligence: A review across hierarchical manufacturing system levels. (2026). Sensors, 26(1), 124. https://doi.org/10.3390/s26010124 | |
| dc.relation.references | IBM. (2025). ¿Qué es la Industria 4.0 y cómo funciona? IBM Think. https://www.ibm.com/es-es/think/topics/industry-4-0 | |
| dc.relation.references | IBM. (2025). 4 ways generative AI addresses manufacturing challenges. IBM Think. https://www.ibm.com/think/topics/generative-ai-for-manufacturing | |
| dc.relation.references | Kritzinger, W., Karner, M., Traar, G., Henjes, J., & Sihn, W. (2018). Digital Twin in manufacturing: A categorical literature review. IFAC-PapersOnLine, 51(11), 1016–1022. https://doi.org/10.1016/j.ifacol.2018.08.474 | |
| dc.relation.references | Machine learning approach for predicting production delays: a quarry company case study. (2022). Journal of Big Data, 9, 91. https://doi.org/10.1186/s40537-022-00644-w | |
| dc.relation.references | Market Prospects. (2025). LLM Factory Smart Assistant: AI-Powered Manufacturing Insights and Real-Time Production Optimization. https://www.market-prospects.com/articles/llm-factory-smart-assistant | |
| dc.relation.references | Nexelem. (2026). Generative AI: What it is and how it can transform smart factories. https://nexelem.com/en/blog/generative-ai-what-it-is-and-how-it-can-transform-smart-factories/ | |
| dc.relation.references | Pedregosa, F., et al. (2011). Scikit-learn: Machine Learning in Python. Journal of Machine Learning Research, 12, 2825–2830. | |
| dc.relation.references | Predictive maintenance in industrial systems: an XGBoost-based approach. (2025). Journal of Industrial and Production Engineering, 42(8), 876–899. https://doi.org/10.1080/21681015.2025.2519369 | |
| dc.relation.references | RTInsights. (2026). Digital Twins transition to intelligent, AI-driven systems in 2026. https://www.rtinsights.com/digital-twins-in-2026-from-digital-replicas-to-intelligent-ai-driven-systems/ | |
| dc.relation.references | Shao, G. (2024). Manufacturing Digital Twin Standards. 2024 International Conference on Engineering Digital Twins (EDTconf 2024). NIST. https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=957622 | |
| dc.relation.references | SymphonyAI. (2025). Industrial LLM. https://www.symphonyai.com/industrialllm/ | |
| dc.relation.references | Villegas, M., et al. (2025). Digital twins in manufacturing: A unified conceptual framework. ScienceDirect. https://doi.org/10.1016/j.rcim.2025.102345 | |
| dc.relation.references | World Economic Forum. (2024). Why Large Language Models (LLMs) are the future of manufacturing. https://www.weforum.org/stories/2024/04/why-large-language-models-are-so-important-for-the-future-of-the-manufacturing-industry/ | |
| dc.relation.references | FAO. (2021). Pulp and paper capacities: Survey 2020–2025. Food and Agriculture Organization of the United Nations. | |
| dc.relation.references | Kang, H. S., Lee, J. Y., Choi, S., Kim, H., Park, J. H., Son, J. Y., Kim, B. H., & Noh, S. D. (2016). Smart manufacturing: Past research, present findings, and future directions. International Journal of Precision Engineering and Manufacturing-Green Technology, 3(1), 111–128. https://doi.org/10.1007/s40684-016-0015-5 | |
| dc.relation.references | Monk, E., & Wagner, B. (2013). Concepts in Enterprise Resource Planning (4.ª ed.). Cengage Learning. | |
| dc.relation.references | Panorama Consulting Group. (2023). The 2023 ERP report. Panorama Consulting Solutions. | |
| dc.relation.references | Smithers. (2023). The future of paper packaging to 2028. Smithers Pira. | |
| dc.relation.references | Tao, F., Cheng, J., Qi, Q., Zhang, M., Zhang, H., & Sui, F. (2018). Digital twin-driven product design, manufacturing and service with big data. The International Journal of Advanced Manufacturing Technology, 94(9–12), 3563–3576. https://doi.org/10.1007/s00170-017- 0233-1 | |
| dc.relation.references | Twede, D., Selke, S. E. M., Kamdem, D. P., & Shires, D. (2014). Cartons, Crates and Corrugated Board: Handbook of Paper and Wood Packaging Technology (2.ª ed.). DEStech Publications. | |
| dc.subject.keywords | Digital Twin | |
| dc.subject.keywords | Generative artificial intelligence | |
| dc.subject.keywords | Traceability | |
| dc.subject.keywords | OEE | |
| dc.subject.keywords | LLM | |
| dc.subject.keywords | ETL | |
| dc.subject.keywords | FastAPI | |
| dc.subject.keywords | React | |
| dc.subject.keywords | Docker | |
| dc.subject.lemb | Analítica predictiva | |
| dc.subject.lemb | Inteligencia artificial | |
| dc.subject.lemb | Industria papelera | |
| dc.subject.proposal | Digital Twin | |
| dc.subject.proposal | Machine Learning | |
| dc.subject.proposal | inteligencia artificial generativa | |
| dc.subject.proposal | Manufactura inteligente | |
| dc.subject.proposal | trazabilidad | |
| dc.subject.proposal | OEE | |
| dc.subject.proposal | LLM | |
| dc.subject.proposal | ETL | |
| dc.subject.proposal | FastAPI | |
| dc.subject.proposal | React | |
| dc.subject.proposal | Docker | |
| dc.title | SmartSack: Plataforma inteligente de gestión de producción con Digital Twin, analítica predictiva y asistente conversacional con IA para plantas de fabricación de sacos de papel | |
| dc.title.translated | SmartSack: Intelligent production management platform featuring a digital twin, predictive analytics, and an AI-powered conversational assistant for paper sack manufacturing plants. | |
| dc.type | bachelorThesis | |
| dc.type.coar | http://purl.org/coar/resource_type/c_7a1f | |
| dc.type.coarversion | http://purl.org/coar/version/c_71e4c1898caa6e32 | |
| dc.type.driver | info:eu-repo/semantics/bachelorThesis | |
| dc.type.local | Tesis/Trabajo de grado - Monografía - Pregrado | |
| dc.type.version | info:eu-repo/semantics/submittedVersion |
Archivos
Bloque original
1 - 1 de 1
Cargando...
- Nombre:
- dueñascastrillondavidalejandro_169593_95216432_dueñascastrillondavidalejandro -SmartSack_EntregaFinal_TrabajoDeGrado.docx
- Tamaño:
- 897.39 KB
- Formato:
- Microsoft Word XML
Bloque de licencias
1 - 1 de 1
Cargando...
- Nombre:
- license.txt
- Tamaño:
- 1.71 KB
- Formato:
- Item-specific license agreed upon to submission
- Descripción:
