On June 24, 2025, an interactive seminar on the use of the Python programming language in chemical engineering took place at the Technical University of Košice, Faculty of Materials, Metallurgy and Recycling, at the Institute of Recycling and Environmental Technologies, as part of the WIDEX project. The seminar was titled “Chemical Engineering with Python – Mathematical Modelling and Process Digitalisation using Python.” It was held from 9:00 AM to 12:00 PM, including a coffee break.
The first part of the seminar was led by Petra Růžičková and focused on basic Python information, installation and setup of the Spyder software, key libraries such as NumPy, SciPy, Pandas, and Matplotlib, fundamentals of programming, and essential Python functions. It also covered solving linear equations using the “linalg” function, nonlinear equations using “fsolve”, and differential equations using “odeint”.
The second part of the seminar was led by Jakub Klimko and was dedicated to models of tubular reactors. The mass balance models (flow, diffusion, and chemical reaction) were initially calculated in Excel for better understanding of the processes, and later programmed in Python. This part of the seminar also covered precipitation models at constant pH and variable adjustments using the Solver add-in in Excel.

