Cargando…

Using Python Modules in Real-Time Plasma Systems for Fusion

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 represen...

Descripción completa

Detalles Bibliográficos
Autores principales: Ferron, Nicolo, Manduchi, Gabriele
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9503853/
https://www.ncbi.nlm.nih.gov/pubmed/36146196
http://dx.doi.org/10.3390/s22186847
_version_ 1784796068839424000
author Ferron, Nicolo
Manduchi, Gabriele
author_facet Ferron, Nicolo
Manduchi, Gabriele
author_sort Ferron, Nicolo
collection PubMed
description 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.
format Online
Article
Text
id pubmed-9503853
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-95038532022-09-24 Using Python Modules in Real-Time Plasma Systems for Fusion Ferron, Nicolo Manduchi, Gabriele Sensors (Basel) Article 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. MDPI 2022-09-10 /pmc/articles/PMC9503853/ /pubmed/36146196 http://dx.doi.org/10.3390/s22186847 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Ferron, Nicolo
Manduchi, Gabriele
Using Python Modules in Real-Time Plasma Systems for Fusion
title Using Python Modules in Real-Time Plasma Systems for Fusion
title_full Using Python Modules in Real-Time Plasma Systems for Fusion
title_fullStr Using Python Modules in Real-Time Plasma Systems for Fusion
title_full_unstemmed Using Python Modules in Real-Time Plasma Systems for Fusion
title_short Using Python Modules in Real-Time Plasma Systems for Fusion
title_sort using python modules in real-time plasma systems for fusion
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9503853/
https://www.ncbi.nlm.nih.gov/pubmed/36146196
http://dx.doi.org/10.3390/s22186847
work_keys_str_mv AT ferronnicolo usingpythonmodulesinrealtimeplasmasystemsforfusion
AT manduchigabriele usingpythonmodulesinrealtimeplasmasystemsforfusion