Design and Implementation of Plasma Equilibrium Shape Editor for Tokamak Based on Python
Plasma configuration control is an important component of plasma experimental control,and designing a plasma equilibrium configuration that meets discharge requirements is one of the important functions of the plasma control system.According to the configuration calculation principle,the user interface integration principle of the plasma control system of the China Fusion Engineering Test Reactor and the user interface requirements,the configuration editor is designed and developed by using the open source Python language and PyQt library for the design and optimization of the expected plasma configuration.The expected configuration input data is provided for integration use.Reuse the main modules and develop a configuration editor that can run independently,which can be flexibly applied to different Toka-mak devices.The test results show that the editor can meet the needs of single machine operation,while eliminating the drawback of having to log in to the plasma control system for configuration design work.