One of the most important applications of sensors is feedback control, in which an algorithm is applied to data that are collected from sensors in order to drive system actuators and achieve the desired outputs of the target plant. One of the most challenging applications of this control is represented by magnetic confinement fusion, in which real-time systems are responsible for the confinement of plasma at a temperature of several million degrees within a toroidal container by means of strong electromagnetic fields. Due to the fast dynamics of the underlying physical phenomena, data that are collected from electromagnetic sensors must be processed in real time. In most applications, real-time systems are implemented in C++; however, Python applications are now becoming more and more widespread, which has raised potential interest in their applicability in real-time systems. In this study, a framework was set up to assess the applicability of Python in real-time systems. For this purpose, a reference operating system configuration was chosen, which was optimized for real time, together with a reference framework for real-time data management. Within this framework, the performance of modules that computed PID control and FFT transforms was compared for C++ and Python implementations, respectively. Despite the initial concerns about Python applicability in real-time systems, it was found that the worst-case execution time (WCET) could also be safely defined for modules that were implemented in Python, thereby confirming that they could be considered for real-time applications.
Using Python Modules in Real-Time Plasma Systems for Fusion
Ferron N.; Manduchi G.
Journal:
Sensors (Basel) 22 (18),
pp. 1 - 10
Year:
2022
ISTP Authors: Gabriele Manduchi
Keywords: Python, Real time systems
Research Activitie: JOURNAL ARTICLES
Related products
-
Analytical letters 54 (12), pp. 2009 - 2021 Year: 2021 DOI: 10.1080/00032719.2020.1833021
Dry Ashing for Signal Enhancement in Laser-Induced Breakdown Spectroscopy (LIBS)
Lazaro, Maisa Cristina; de Morais, Carla Pereira; Silva, Tiago Varao; Senesi, Giorgio Saverio; Santos Junior, Dario; Gomes Neto, Jose Anchieta; Ferreira, Edilene Cristina
-
Acta astronautica 191 pp. 178 - 192 Year: 2021 DOI: 10.1016/j.actaastro.2021.10.040
Unsteady behavior and thermochemical non equilibrium effects in hypersonic double-wedge flows
Ninni D.; Bonelli F.; Colonna G.; Pascazio G.
-
The astrophysical journal. Letters (Online) 919 (2), pp. L30-1 - L30-8 Year: 2021 DOI: 10.3847/2041-8213/ac26c5
Turbulent Cascade and Energy Transfer Rate in a Solar Coronal Mass Ejection
Sorriso-Valvo, Luca; Yordanova, Emiliya; Dimmock, Andrew P.; Telloni, Daniele
-
PCCP. Physical chemistry chemical physics (Print) 23 (29), pp. 15475 - 15479 Year: 2021 DOI: 10.1039/d1cp01976g
Reconciling experimental and theoretical vibrational deactivation in low-energy O + N2 collisions
Hong, Q., Bartolomei, M., Esposito, F., Sun, Q., Pirani, F.
English
Italiano