Extending Discrete-Event Simulation Capabilities through Python Integration for Industry 4.0 Technologies
Paper i proceeding, 2026

Extending the capabilities and potential of existing manufacturing technologies for problem-solving, cost-cutting and inclusiveness is a hot topic within the field of advanced manufacturing. There is a solid need to make new and existing technologies interoperable for solving manufacturing problems. This paper puts forward a practical framework that extends the commercial discrete-event simulation (DES) into a data-driven plant twin by integrating FlexSim, commercial simulation software, with Python through an application programming interface (API) called FlexSimPy. Methodologically, the FlexSim holds the physics and flow, while Python supplies external data, orchestration, API integrations, automation, and evaluation. Using a section of the pump manufacturing process as a case study, the integrated solution dynamically evaluates CO2 emission by ingesting time-varying external signals from the grid and production data for its evaluation under two scenarios of process reorganization and shift scheduling. The outcomes of the framework are an API-based DES-Python pipeline that executes new scenarios without rebuilding the core model, reproducible results, and a direct support carbon-aware operational decision. It also provided a reusable orchestration pattern for automated scenario execution and statistically defensible comparisons. It was a scope-2 bounded study, single-day evaluation and triangular power approximation. For future work, the study has demonstrated the capabilities of DES as an adaptive digital twin environment for Industry 4.0 technologies.

Emission evaluation

Industry 4.0

Sustainable Manufacturing

Digital Twin

Discrete-Event Simulation

Författare

Lateef Afolabi Oladosu

Student vid Chalmers

Qi Fang

Chalmers, Industri- och materialvetenskap, Produktionssystem

Adrian Borbolla

Danmarks Tekniske Universitet (DTU)

Devarajan Ramanujan

Danmarks Tekniske Universitet (DTU)

Björn Johansson

Chalmers, Industri- och materialvetenskap, Produktionssystem

12TH SWEDISH PRODUCTION SYMPOSIUM, 2026

1757-8981 (ISSN)

Vol. 1342 012034

12th Swedish Production Symposium-SPS-Leading the Transformation towards net Zero Industry
Lulea, Sweden,

Ämneskategorier (SSIF 2025)

Produktionsteknik, arbetsvetenskap och ergonomi

DOI

10.1088/1757-899X/1342/1/012034

Mer information

Senast uppdaterat

2026-07-30