Method and apparatus for determining plasma equilibrium configurations
Patent Information
- Application Number
- CN202510288847.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2026-09-22
AI Technical Summary
目前,在确定等离子体的平衡位形的过程中,往往需要手动调整极向场线圈电流或者手动调整算法中的偏滤器腿,这种方式需要设计人员熟悉磁场分布和线圈电流之间的关系,非常依赖设计人员的工作经验、效率较低
[0017]本申请一个实施例实现了在编辑界面中显示平衡位形的候选几何形状,其中,编辑界面提供至少一种编辑操作,候选几何形状包括多个控制点;响应于目标控制点的目标编辑操作,基于目标编辑操作对应的更新策略对候选几何形状进行更新,获得更新的几何形状,其中,目标控制点为至少一个控制点中的任一个,目标编辑操作为至少一种编辑操作中当前执行的编辑操作;响应于平衡位形导出操作,基于更新的几何形状确定边界约束条件,并根据边界约束条件反演计算极向场线圈电流,获得并显示对应的目标平衡位形。
Smart Images

Figure CN122797014A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of controlled nuclear fusion technology, and in particular to a method and apparatus for determining plasma equilibrium configuration. Background Technology
[0002] In the research and operation of tokamak fusion devices, the realization of advanced equilibrium configurations is crucial. Currently, determining the plasma equilibrium configuration often requires manual adjustment of the poloidal coil current or the divertor legs in the algorithm. This method demands that designers be familiar with the relationship between the magnetic field distribution and the coil current, heavily relies on the designer's experience, and is inefficient. Therefore, a simple and efficient method for generating plasma equilibrium configurations is urgently needed. Summary of the Invention
[0003] In view of this, this application provides a method for determining plasma equilibrium configuration. One or more embodiments of this application also relate to an apparatus for determining plasma equilibrium configuration, a computing device, a computer-readable storage medium, and a computer program product, to address the technical deficiencies existing in the prior art.
[0004] According to a first aspect of the embodiments of this application, a method for determining a plasma equilibrium configuration is provided, comprising:
[0005] The editing interface displays candidate geometries for the balanced configuration, wherein the editing interface provides at least one editing operation, and the candidate geometries include multiple control points;
[0006] In response to a target editing operation of a target control point, the candidate geometry is updated based on the update strategy corresponding to the target editing operation to obtain an updated geometry, wherein the target control point is any one of at least one control point, and the target editing operation is the currently executed editing operation among at least one editing operations;
[0007] In response to the equilibrium configuration derivation operation, the boundary constraints are determined based on the updated geometry, and the poloidal coil current is calculated inversely based on the boundary constraints to obtain and display the corresponding target equilibrium configuration.
[0008] According to a second aspect of the embodiments of this application, a device for determining plasma equilibrium configuration is provided, comprising:
[0009] The display module is configured to display candidate geometries of the equilibrium configuration in the editing interface, wherein the editing interface provides at least one editing operation and the candidate geometries include multiple control points;
[0010] The update module is configured to update the candidate geometry in response to the target edit operation of the target control point, based on the update strategy corresponding to the target edit operation, to obtain the updated geometry, wherein the target control point is any one of at least one control point, and the target edit operation is the currently executed edit operation among at least one edit operations;
[0011] The export module is configured to respond to the equilibrium configuration export operation, determine the boundary constraints based on the updated geometry, and inversely calculate the poloidal coil current based on the boundary constraints to obtain and display the corresponding target equilibrium configuration.
[0012] According to a third aspect of the embodiments of this application, a computing device is provided, comprising:
[0013] Memory and processor;
[0014] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of the method for determining the plasma equilibrium configuration described above.
[0015] According to a fourth aspect of the present application, a computer-readable storage medium is provided that stores computer-executable instructions, which, when executed by a processor, implement the steps of the method for determining the plasma equilibrium configuration described above.
[0016] According to a fifth aspect of the embodiments of this application, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the steps of the method for determining the plasma equilibrium configuration described above.
[0017] One embodiment of this application implements the display of candidate geometries for equilibrium configuration in an editing interface, wherein the editing interface provides at least one editing operation, and the candidate geometries include multiple control points; in response to a target editing operation of a target control point, the candidate geometries are updated based on an update strategy corresponding to the target editing operation to obtain an updated geometries, wherein the target control point is any one of at least one control point, and the target editing operation is the currently executed editing operation among at least one editing operations; in response to an equilibrium configuration derivation operation, boundary constraints are determined based on the updated geometries, and the poloidal coil current is inverted and calculated according to the boundary constraints to obtain and display the corresponding target equilibrium configuration.
[0018] Thus, by displaying candidate geometries and providing editing operations in the editing interface, users can intuitively understand the state of the equilibrium configuration and easily perform subsequent editing operations, lowering the operational threshold. Furthermore, the candidate geometries provide users with a starting point for design, allowing them to develop creative ideas and make preliminary shape adjustments without relying on equilibrium calculation experience, facilitating rapid equilibrium configuration design. Updating the candidate geometries according to the target editing operations and corresponding update strategies allows users to flexibly change the geometry to meet different design needs and optimization goals, improving the flexibility and accuracy of equilibrium configuration design. Real-time display of the updated geometry provides users with immediate operational feedback, enabling them to promptly identify and adjust problems, enhancing the interactivity between the user and the system, and improving design efficiency. By determining boundary constraints based on the updated geometry and inverting the calculation of the poloidal coil current, the target equilibrium configuration can be accurately obtained, ensuring that the designed equilibrium configuration conforms to physical principles and practical needs, improving the efficiency of equilibrium configuration design, and making it easier to obtain advanced equilibrium configurations. Attached Figure Description
[0019] Figure 1 This is a flowchart of a method for determining plasma equilibrium configuration according to an embodiment of this application;
[0020] Figure 2a This is a schematic diagram illustrating a separating line function provided in one embodiment of this application;
[0021] Figure 2b This is a schematic diagram of an editing mode provided in one embodiment of this application;
[0022] Figure 3a This is a schematic diagram of a geometry and control points provided in one embodiment of this application;
[0023] Figure 3b This is a schematic diagram illustrating a control point movement effect according to an embodiment of this application;
[0024] Figure 4a This is a schematic diagram of a balanced configuration design result obtained by an editing tool according to an embodiment of this application;
[0025] Figure 4b This is a schematic diagram illustrating an embodiment of this application of obtaining advanced equilibrium configuration results through coil current inversion;
[0026] Figure 5 This is a schematic diagram of the structure of a plasma equilibrium configuration determination device provided in one embodiment of this application;
[0027] Figure 6This is a structural block diagram of a computing device provided in one embodiment of this application. Detailed Implementation
[0028] Many specific details are set forth in the following description to provide a full understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this application; therefore, this application is not limited to the specific embodiments disclosed below.
[0029] The terminology used in one or more embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this application. The singular forms “a,” “the,” and “the” used in one or more embodiments of this application and in the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” used in one or more embodiments of this application refers to and includes any or all possible combinations of one or more associated listed items.
[0030] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this application, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this application, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."
[0031] Furthermore, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this application are all information and data authorized by the user or fully authorized by all parties. Moreover, the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0032] First, the terms and concepts involved in one or more embodiments of this application will be explained.
[0033] Equilibrium configuration refers to a relatively stable state and spatial distribution of plasma under the influence of various forces, which macroscopically does not change with time. When plasma is in an equilibrium configuration, its internal thermal pressure and magnetic force are in balance.
[0034] Advanced equilibrium configuration refers to a configuration that enables the plasma in a tokamak device to reach a specific optimized state under magnetic field confinement. It has advantages such as improving plasma stability, reducing the thermal load on the divertor target plate, and improving energy confinement. It is crucial for achieving efficient nuclear fusion reactions and stable operation of tokamak devices.
[0035] The outermost closed magnetic surface (LCFS) is an important boundary definition in magnetic confinement devices such as tokamas. In these devices, there are numerous magnetic field lines, and the LCFS is the last magnetic field line that is completely closed. Like an invisible "wall," it precisely defines the outer boundary of the plasma, confining the plasma within a specific internal space.
[0036] Divertor Leg (LEG): In a tokamak reactor, the outermost closed magnetic surface (LCFS) extends along the polar direction. Morphologically, it typically appears as a contour line at the outer boundary of the plasma. Functionally, it is responsible for precisely guiding the heat and particle flow from the plasma to the divertor region, preventing this heat and particle flow from directly contacting the tokamak wall. This prevents the wall material from degrading or even being damaged due to excessive heat load or radiation.
[0037] Limiter: In magnetic confinement fusion devices such as tokamaks, the limiter is a passive component used to confine the plasma boundary. It is usually made of high-temperature resistant and plasma-erosion-resistant materials (such as carbon and tungsten) and installed in a vacuum chamber to confine the plasma boundary, protect the walls, and control impurity transport.
[0038] Limiter configuration refers to the specific shape and location range of the plasma boundary defined by the limiter. In this case, the final closed magnetic surface of the plasma is determined by the position of the limiter, not the magnetic field itself. Although modern tokamas tend to use divertors to optimize plasma performance, limiters still play a crucial role in many experimental setups and primary plasma research. In the limiter configuration, the plasma interacts directly with the limiter, which is subjected to particle bombardment and thermal loads from the plasma.
[0039] Poloidal field coil current: also known as PF coil current. PF coils can generate a poloidal magnetic field, which helps control the shape of the plasma and maintain plasma stability.
[0040] Advanced equilibrium configurations offer numerous advantages when a tokamak fusion device discharges. They optimize the magnetic field structure, improving plasma stability and resulting in a more stable plasma state within the device. This reduces energy loss and the risk of experimental interruptions caused by instability. Furthermore, they effectively reduce the thermal load on the divertor target plates, extending the divertor's lifespan and ensuring stable device operation. Advanced divertor configurations also improve plasma confinement characteristics, reducing energy loss and enhancing energy confinement performance, creating more favorable conditions for the fusion reaction. These performance optimizations help tokamak devices operate stably under experimental conditions increasingly similar to those of fusion reactors, accelerating the achievement of the crucial goal of net energy output.
[0041] However, current methods for designing advanced equilibrium configurations largely rely on experience, requiring researchers to manually adjust the current ratio of the poloidal (PF) coils. This approach demands extensive trial and error, with each adjustment requiring tedious calculations to verify the results, resulting in enormous computational load and extremely low efficiency. Furthermore, it typically yields conventional equilibrium configurations, such as single-zero or double-zero configurations, while advanced equilibrium configurations are rarely obtained.
[0042] Based on this, one embodiment of this application provides a method for determining a plasma equilibrium configuration. The method displays candidate geometries of the equilibrium configuration in an editing interface, wherein the editing interface provides at least one editing operation, and the candidate geometries include multiple control points. In response to a target editing operation for a target control point, the candidate geometries are updated based on an update strategy corresponding to the target editing operation to obtain an updated geometries. The target control point is any one of at least one control point, and the target editing operation is the currently executed editing operation among the at least one editing operations. In response to an equilibrium configuration derivation operation, boundary constraints are determined based on the updated geometries, and the poloidal coil current is calculated by inversion based on the boundary constraints to obtain and display the corresponding target equilibrium configuration.
[0043] Thus, by displaying candidate geometries and providing editing operations in the editing interface, users can intuitively understand the state of the equilibrium configuration and easily perform subsequent editing operations, lowering the operational threshold. Furthermore, the candidate geometries provide users with a starting point for design, allowing them to develop creative ideas and make preliminary shape adjustments without relying on equilibrium calculation experience, facilitating rapid equilibrium configuration design. Updating the candidate geometries according to the target editing operations and corresponding update strategies allows users to flexibly change the geometry to meet different design needs and optimization goals, improving the flexibility and accuracy of equilibrium configuration design. Real-time display of the updated geometry provides users with immediate operational feedback, enabling them to promptly identify and adjust problems, enhancing the interactivity between the user and the system, and improving design efficiency. By determining boundary constraints based on the updated geometry and inverting the calculation of the poloidal coil current, the target equilibrium configuration can be accurately obtained, ensuring that the designed equilibrium configuration conforms to physical principles and practical needs, improving the efficiency of equilibrium configuration design, and making it easier to obtain advanced equilibrium configurations.
[0044] This application provides a method for determining plasma equilibrium configuration, and also relates to an apparatus for determining plasma equilibrium configuration, a computing device, a computer-readable storage medium, and a computer program product, which are described in detail in the following embodiments. See also Figure 1 , Figure 1 A flowchart of a method for determining a plasma equilibrium configuration according to an embodiment of this application is shown, which specifically includes the following steps.
[0045] Step 102: Display candidate geometries for the balanced configuration in the editing interface, wherein the editing interface provides at least one editing operation, and the candidate geometries include multiple control points.
[0046] One or more embodiments of this application apply to a balanced configuration editing tool that provides a visual graphical user interface, such as an editing interface. Users can edit the geometry of the balanced configuration within the editing interface, thereby enabling the design of balanced configurations or advanced balanced configurations.
[0047] Specifically, the editing interface can be understood as a visual operation area where users interact with the system. It displays information such as the geometry of the equilibrium configuration and provides various editing functions, enabling users to adjust and modify the geometry of the equilibrium configuration.
[0048] Equilibrium configuration can be understood as the shape and positional distribution of plasma when it reaches a stable state under the influence of magnetic fields, in fields such as tokamak nuclear fusion devices. It involves multiple factors, including plasma physical parameters and magnetic field configuration. This state satisfies the magnetohydrodynamic (MHD) equilibrium condition, i.e., the magnetic force, pressure gradient force, and inertial force are in balance. Candidate geometries can be understood as the geometries displayed in the editing interface as possible initial or intermediate states of the equilibrium configuration. They contain multiple control points used for subsequent editing and adjustment of the geometry. Furthermore, the initial state geometry can be understood as the geometry loaded during the initialization of the editing interface; the intermediate state geometry can be understood as the updated geometry obtained after the previous editing operation.
[0049] Control points can be understood as key locations on candidate geometry. By manipulating these points, the specific shape of the candidate geometry can be changed, thereby affecting the design of the equilibrium configuration.
[0050] In one embodiment, the candidate geometry can be further refined using separation lines in the tool, which supplement key features defining the boundary of the plasma beyond the outermost closed magnetic surface. The candidate geometry typically includes multiple control points. The number of control points can be determined based on the needs of the application, for example, by setting them according to the tool's built-in algorithm. The control points can be moved within the editing interface and controlled by input devices such as a mouse or keyboard.
[0051] In practical applications, by displaying candidate geometric shapes of the equilibrium configuration in the editing interface, users can intuitively understand the current state of the equilibrium configuration and facilitate subsequent editing operations. Even users without relevant experience in equilibrium calculations can quickly get started editing, which can effectively reduce the operational threshold and complexity. Furthermore, the candidate geometric shapes provide users with a starting point for design, which users can use as a basis for creative ideas and shape adjustments, helping to quickly carry out the design work of the equilibrium configuration.
[0052] In practical applications, based on the candidate geometries of the balanced configuration displayed in the editing interface, further editing operations can be performed on the candidate geometries.
[0053] Step 104: In response to the target editing operation of the target control point, update the candidate geometry based on the update strategy corresponding to the target editing operation to obtain the updated geometry, wherein the target control point is any one of at least one control point, and the target editing operation is the currently executed editing operation among at least one editing operation.
[0054] Specifically, a target control point can be understood as a specific control point selected by the user during editing operations. It is any one of multiple control points, depending on the user's choice. The user's editing operations will directly affect this point.
[0055] The target editing operation can be understood as the specific editing action that the user is currently performing in the editing interface, such as moving, adding, or deleting. It is one of at least one editing operation provided by the editing interface.
[0056] The update strategy can be understood as the rules and methods that the system pre-sets for updating candidate geometries for different target editing operations, so as to ensure that the geometry can be changed reasonably according to the user's operation.
[0057] In actual implementation, when a user selects a target control point in the editing interface and performs a target editing operation (such as dragging the target control point with the mouse to move it), the tool detects this operation in real time. Then, based on the type of target editing operation, it finds and applies the corresponding update strategy. For example, if it's a movement operation, the update strategy might be to recalculate the position and shape of the geometric lines or regions associated with that point based on its new position, thereby updating the candidate geometry. The updated geometry is displayed in real time on the editing interface, allowing the user to see the effect of the operation.
[0058] In practical applications, users can interact with the editing interface multiple times, adjusting the geometry of intermediate states based on the effects of each interaction, ultimately obtaining the final geometry of the designed equilibrium configuration. After obtaining the final geometry, the equilibrium configuration can be exported to obtain the target equilibrium configuration input required for inversion calculations.
[0059] Step 106: In response to the equilibrium configuration derivation operation, determine the boundary constraints based on the updated geometry, and calculate the poloidal coil current based on the boundary constraints to obtain and display the corresponding target equilibrium configuration.
[0060] Specifically, the equilibrium configuration export operation can be understood as an operation command executed by the user to export the edited and updated geometry in order to further calculate and determine the corresponding equilibrium configuration.
[0061] Boundary constraints can be understood as a series of restrictions determined based on the updated geometry. These conditions are used to define the boundary range of the plasma and are an important basis for the inversion calculation of the poloidal coil current.
[0062] The poloidal coil current can be understood as the current flowing through the poloidal (PF) coil, and its magnitude plays a crucial role in the equilibrium configuration of the plasma. An appropriate poloidal coil current can be determined through inversion calculations to achieve the desired equilibrium configuration.
[0063] The target equilibrium configuration can be understood as the plasma equilibrium configuration that meets specific requirements and performance indicators after inversion calculation of the poloidal coil current. It is the equilibrium configuration state that the user expects to achieve.
[0064] In practical applications, once the user has finished editing and triggered the equilibrium configuration export operation, the boundary constraints can be determined based on the updated geometry, and the poloidal coil current can be calculated inversely based on the boundary constraints to obtain and display the corresponding target equilibrium configuration.
[0065] This application embodiment implements the display of candidate geometries for equilibrium configuration in an editing interface. The editing interface provides at least one editing operation, and the candidate geometries include multiple control points. In response to a target editing operation of a target control point, the candidate geometries are updated based on the update strategy corresponding to the target editing operation to obtain an updated geometries. The target control point is any one of at least one control point, and the target editing operation is the currently executed editing operation among at least one editing operations. In response to an equilibrium configuration derivation operation, boundary constraints are determined based on the updated geometries, and the poloidal coil current is calculated by inversion based on the boundary constraints to obtain and display the corresponding target equilibrium configuration.
[0066] Thus, by displaying candidate geometries and providing editing operations in the editing interface, users can intuitively understand the state of the equilibrium configuration and easily perform subsequent editing operations, lowering the operational threshold. Furthermore, the candidate geometries provide users with a starting point for design, allowing them to develop creative ideas and make preliminary shape adjustments without overly relying on equilibrium calculation experience, facilitating rapid equilibrium configuration design. Updating the candidate geometries based on target editing operations and corresponding update strategies allows users to flexibly change the geometry to meet different design needs and optimization goals, improving the flexibility and accuracy of equilibrium configuration design. Real-time display of the updated geometry provides users with immediate operational feedback, enabling them to promptly identify and adjust problems, enhancing user-system interactivity and improving design efficiency. By determining boundary constraints based on the updated geometry and inverting the poloidal coil current, the target equilibrium configuration can be accurately obtained, ensuring that the designed equilibrium configuration conforms to physical principles and practical needs, improving the reliability and effectiveness of equilibrium configuration design, and making it easier to obtain advanced equilibrium configurations.
[0067] In one or more embodiments of this application, displaying the candidate geometry corresponding to the candidate equilibrium configuration in the editing interface may include the following steps:
[0068] Load the equilibrium configuration, and the corresponding geometry will be displayed in the editing interface; or,
[0069] The editing interface displays the geometry corresponding to the previously obtained target equilibrium configuration; or...
[0070] The editing interface displays the updated geometry obtained after at least one editing operation.
[0071] Specifically, the target equilibrium configuration can be understood as the equilibrium configuration designed and exported by the user after a series of editing operations, or it can be understood as the equilibrium configuration result obtained through experimental inversion.
[0072] In practical applications, when users lack experience in equilibrium calculations, the tool's initialization function can display the initial geometry in the editing interface, providing a reference and foundation for designing equilibrium configurations. Users with extensive experience in equilibrium configuration calculations or configuration design can choose to start from a blank page and independently draw the initial geometry. Each time the user obtains an intermediate geometry through editing, the editing interface can display that intermediate geometry, allowing the user to continue further editing based on it.
[0073] According to one embodiment of this application, loading an equilibrium configuration and displaying the corresponding geometric shape in the editing interface may include:
[0074] Load the configuration template corresponding to the equilibrium configuration, and display the geometry corresponding to the loaded equilibrium configuration in the editing interface.
[0075] It is easy to understand that the geometry displayed in the editing interface corresponding to the loaded equilibrium configuration is the geometry in the initial state.
[0076] Specifically, a configuration template can be understood as a pre-designed set of equilibrium configurations with certain standards or typical characteristics. It may contain various geometric parameters describing the configuration, such as plasma geometric center, small radius, elongation ratio, triangular deformation, volume and LCFS area, plasma boundary parameters, etc. It is the basic data for displaying the geometry in the initial state in the editing interface.
[0077] In one embodiment, the configuration template can be predefined by the tool designer or uploaded by the user. The configuration template may include known conventional balance configuration templates or known advanced balance configuration templates.
[0078] Furthermore, loading the configuration template corresponding to the equilibrium configuration and displaying the corresponding geometry in the editing interface can include:
[0079] Run the main program and load the pre-stored configuration template into the tool through a data interface or file reading. The configuration template includes parameter information such as the coordinate points of the plasma boundary.
[0080] Using a graphics drawing algorithm, the geometric shape corresponding to the balanced configuration is drawn in a visual manner in the editing interface based on the parameter information in the configuration template.
[0081] In practical applications, users can select a suitable configuration template according to their own needs and load it into the editing interface to initialize the editing interface, obtain the initial geometric shape, and then edit it.
[0082] According to one embodiment of this application, displaying the geometry corresponding to the previously obtained target equilibrium configuration in the editing interface may include:
[0083] Based on the equilibrium configuration results obtained from the experimental inversion, the geometry corresponding to the target equilibrium configuration is displayed in the editing interface.
[0084] It is easy to understand that the geometry corresponding to the target equilibrium configuration displayed in the editing interface is also the geometry of the initial state.
[0085] Specifically, the equilibrium configuration result can be understood as the specific data and information about the plasma equilibrium configuration obtained after the experimental inversion process, including but not limited to parameters such as magnetic field distribution, plasma boundary shape, and poloidal coil current, reflecting the actual state of the plasma when it reaches equilibrium under experimental conditions. Experimental inversion can be understood as the process of analyzing and processing various data collected in nuclear fusion experiments (such as magnetic field measurement data, plasma parameter data, etc.), and using specific algorithms and models to deduce the relevant parameters and conditions that can produce the plasma equilibrium configuration under the current experimental conditions.
[0086] Furthermore, based on the equilibrium configuration result obtained from the experimental inversion, the geometry corresponding to the target equilibrium configuration can be displayed in the editing interface, which may include:
[0087] Receive the loaded equilibrium configuration results obtained from the experimental inversion;
[0088] Extract the parameter information related to the geometry from the equilibrium configuration results, and use graphic drawing technology to transform the parameter information into a visual graphic, displaying the geometry corresponding to the target equilibrium configuration in the editing interface.
[0089] Specifically, the geometry-related parameter information may include information such as the shape and position parameters of the plasma boundary.
[0090] In one embodiment, the equilibrium configuration result is derived by processing relevant plasma data (including magnetic field data, temperature data, density data, etc.) collected by various measuring devices (such as magnetic probes, spectrometers, etc.) during the nuclear fusion experiment using an experimental inversion algorithm (such as an inversion algorithm based on magnetohydrodynamics theory), and then inverting the set of parameters that can generate the plasma equilibrium configuration under the current experimental state.
[0091] In practical applications, users can also load the equilibrium configuration results obtained from the experimental inversion into the tool, so that they can further adjust the equilibrium configuration based on the equilibrium configuration obtained in the previous inversion.
[0092] In one embodiment, the tool incorporates an algorithm for converting experimentally inverted equilibrium configurations into corresponding geometries. The corresponding code for this algorithm can identify the legs and closed magnetic surfaces of the experimentally inverted equilibrium configurations and can distinguish between multiple legs. This allows the experimentally inverted equilibrium configurations to be imported into the tool for control point manipulation.
[0093] According to one embodiment of this application, the editing interface displays the updated geometry obtained after at least one editing operation. This can be understood as displaying the geometry in an intermediate state based on the previous editing operation. The user can continue to edit this intermediate geometry until the editing is complete, and can then export the designed target equilibrium configuration.
[0094] This embodiment provides users with a standard or typical initial state reference through a configuration template. Users can edit and modify this template, making the design process more standardized and efficient. Furthermore, the template can contain detailed parameter information, allowing users to adjust the initial geometry and progressively optimize the equilibrium configuration. This parameter-based adjustment method makes the design process more precise and controllable, helping users better understand and master the design principles of equilibrium configurations. The equilibrium configuration results obtained through experimental inversion are based on actual experimental data and accurately reflect the true equilibrium state of plasma under experimental conditions. This provides users with a design starting point based on actual conditions, making subsequent editing operations more targeted and practical, and contributing to improved design accuracy and reliability. Moreover, combining the experimental inversion results with the editing interface achieves a close link between experimental data and the design process. Users can further optimize and improve the equilibrium configuration based on the experimental results. At the same time, the design results can also provide guidance for subsequent experiments, promoting a positive interaction between experiment and design. By displaying the updated geometry after editing operations in real time, users can receive immediate feedback, allowing them to intuitively see the impact of their operations on the equilibrium configuration. This helps users adjust their editing strategies in a timely manner, improves the accuracy and efficiency of the design, and enhances the interactivity between users and the system.
[0095] In one or more embodiments of this application, at least one editing operation includes a pattern editing operation and / or a contour editing operation; updating the candidate geometry based on the update strategy corresponding to the target editing operation to obtain the updated geometry may include the following steps:
[0096] If the target editing operation is a pattern editing operation, at least one operation mode included in the pattern editing operation is displayed. Based on the editing operation in the target operation mode selected in at least one operation mode, the candidate geometry is updated to obtain the updated geometry. Different operation modes are used to implement different operation functions.
[0097] If the target editing operation is a contour editing operation, the candidate geometry is updated based on the contour editing operation to obtain the updated geometry.
[0098] Specifically, pattern editing operations can include at least one operation mode, with different operation modes used to achieve different operation functions. Contour editing operations can also include at least one editing operation, with different editing operations also capable of achieving different editing functions.
[0099] In one embodiment, the editing interface allows users to select a mode editing operation, a contour editing operation, or a data export operation by invoking an editing menu. Mode editing, contour editing, and data export can be understood as first-level menus. Mode editing and contour editing can also each have second-level menus, which can include at least one editing operation or editing mode, with different operations or modes used to implement different editing functions.
[0100] Furthermore, pattern editing operations can be understood as the rich operational functions corresponding to the editing mode; outline editing operations can also be understood as separation line editing operations, or separation line functions.
[0101] Specifically, the separation line can be understood as a line corresponding to a geometric shape, which can define the key features of the plasma such as its boundary and contour.
[0102] See Figure 2a and Figure 2b . Figure 2a A schematic diagram of a separation line function provided in one embodiment of this application is shown; Figure 2b A schematic diagram of an editing mode provided in one embodiment of this application is shown.
[0103] like Figure 2a and Figure 2b As shown, the tool integrates many functions. A menu bar pops up when you right-click the mouse. The first-level menu mainly includes three functions: separation line, edit mode, and data export. The left side of the LCFS displays relevant plasma geometry parameters, including the plasma geometric center, small radius, elongation ratio, triangle deformation, volume, and LCFS area. These parameters change in real time as you drag the mouse.
[0104] like Figure 2a As shown, the secondary menu corresponding to the separating line includes selectable functions such as adding legs, deleting legs, and vertical symmetry.
[0105] The "Add Leg" function adds a leg based on the mouse's Z-coordinate (z>0), adding it at the upper endpoint of the LCFS (Lead-Cut Line Form) and vice versa. Legs are generated using built-in functions and can be dragged to create any desired leg shape. The "Delete Leg" function allows you to select any point on the desired leg, right-click, and click the "Delete Leg" menu within the separator line to remove the specified leg. The "Vertical Symmetry" function makes the edited shape symmetrical about z=0.
[0106] like Figure 2b As shown, the secondary menu corresponding to the editing mode includes selectable functions such as slide zoom, spline mode, overall translation, overall rotation, overall scaling, local adjustment, and direct wall snapping.
[0107] In edit mode, users first need to select the editing function they want to perform. After selecting, they can hold down the left mouse button to perform the corresponding operation on the image.
[0108] Among them, the following features are available: Slide Scaling: Edits the LCFS by dragging different control points. Spline Mode: Uses spline interpolation to achieve a smooth transition between adjacent control points. Overall Translation / Rotation: Allows the LCFS to be translated and rotated as a whole. Overall Scaling: Scaling the LCFS while ensuring its shape remains unchanged. Local Adjustment: Used for local adjustments to the second control point, which can be adjusted locally in spline mode. Direct Attachment: Quickly achieves the constraint configuration.
[0109] The tool also offers an interactive method: when the mouse hovers over a control point in the image, the control point turns green, indicating that it is selected. Holding down the left mouse button and dragging the mouse will drag the control point.
[0110] It should be noted that the above is merely an example of the function and operation method of a tool provided in the embodiments of this application, and this tool is not limited to the functions and operation methods described above.
[0111] Furthermore, to more effectively guide users in balanced configuration design, reduce errors, and mitigate the risk of design failure, the tool can also preset various types of operation prompts. These prompts can be displayed based on different trigger conditions.
[0112] For example, a prompt will be triggered if the user-designed balance configuration exceeds the limiter range of the device; a prompt limiter configuration will be displayed when the user-designed balance configuration encounters the limiter. A direct wall-attaching function can also be built-in, allowing the user to design a limiter configuration that can be actively triggered to directly attach the designed configuration to the wall, i.e., adjust it to the corresponding limiter configuration.
[0113] By applying this embodiment, through pattern editing and contour editing operations, users can be provided with a wealth of editing functions, thereby supporting users to select appropriate editing functions according to their own needs, improving the flexibility, convenience and ease of use of the tool, and helping users to design advanced balanced configurations faster and better.
[0114] In one or more embodiments of this application, updating the candidate geometry based on a target operation mode selected from at least one operation mode may include the following steps:
[0115] When the target operation mode is control point movement mode, determine the adjacent control points of the target control point, and update the lines between the target control point and the adjacent control points in the candidate geometry based on the start position and end position of the target control point and the positions of the adjacent control points.
[0116] When the target operation mode is direct wall-attaching mode, determine the preset limiter configuration corresponding to the candidate geometry; adjust the candidate geometry according to the preset limiter configuration.
[0117] Specifically, control point movement mode can be understood as an operation mode that moves the target control point to change the geometry. Control point movement modes can include sliding zoom mode and spline mode.
[0118] Specifically, the starting position can be understood as the initial position of the target control point before the editing operation, serving as the reference point for determining the initial state of the target control point's movement or change. The ending position can be understood as the final position reached by the target control point after the editing operation, representing the new position of the target control point and used to determine the displacement and new geometric relationships of the target control point. Adjacent control points can be understood as other control points that are spatially adjacent to the target control point in the geometry. They collectively influence the shape and position of the line containing the target control point and are interconnected with the target control point to determine the local features of the geometry.
[0119] Direct-attachment mode can be understood as an operating mode used to adjust the candidate geometry according to a preset limiter configuration to meet specific attachment requirements. The preset limiter configuration can be understood as the pre-defined shape and position information of the limiter. The limiter is used to confine the plasma boundary in a tokamak nuclear fusion device, and the preset limiter configuration is the basis for adjusting the candidate geometry in direct-attachment mode.
[0120] In this embodiment, the control point movement mode allows users to precisely adjust the local details of candidate geometries by moving control points, meeting the needs for fine-tuning equilibrium configurations. Users can flexibly change specific parts of the geometry according to actual physical requirements or design goals, improving the accuracy and specificity of the design. The direct wall-attachment mode allows adjustment of candidate geometries based on preset limiter configurations, making the designed equilibrium configuration more consistent with the actual physical structure and operational requirements of the tokamak fusion device. This ensures that the plasma boundary properly matches the limiter, avoiding inappropriate contact between the plasma and the device wall, thus improving the safety and stability of the device operation. Furthermore, directly using preset limiter configurations for adjustment reduces the complexity of manually designing and adjusting geometries to meet wall-attachment requirements, saving design time and effort and improving design efficiency. Simultaneously, the use of preset limiter configurations also ensures the consistency and standardization of the design results.
[0121] In one or more embodiments of this application, updating the lines between the target control point and its neighboring control points in the candidate geometry based on the start and end positions of the target control point and the positions of neighboring control points may include the following steps:
[0122] The relative displacement of the target control point is obtained based on the starting and ending positions;
[0123] Based on the termination position and the positions of adjacent control points, the position interpolation between the target control point and adjacent control points is obtained;
[0124] Based on relative displacement and position interpolation, multiple interpolation points are determined between the target control point and adjacent control points. Connecting these multiple interpolation points yields the updated lines between the target control point and adjacent control points.
[0125] Specifically, relative displacement can be understood as a measure of the distance and direction of movement of the target control point from the starting position to the ending position. It reflects the positional change of the target control point in space and is used to describe the movement of the target control point relative to its initial state.
[0126] Position interpolation can be understood as a method of estimating or extrapolating the position between the target control point and adjacent control points based on the positions of adjacent control points. It is used to determine the position of each point on the line between the target control point and adjacent control points in order to achieve a smooth geometric transition.
[0127] According to one embodiment of this application, obtaining the relative displacement of a target control point based on a start position and an end position may include:
[0128] Based on the starting and ending positions, determine the relative displacement of the target control point in the horizontal and vertical directions, respectively.
[0129] Furthermore, based on the termination position and the positions of adjacent control points, the position interpolation between the target control point and adjacent control points can be obtained, which may include:
[0130] Calculate the distance between two control points based on the termination position and the positions of adjacent control points;
[0131] The distance between the target control point and the adjacent control points on the line is normalized to obtain the position interpolation.
[0132] For example, assuming the target control point is 1 and the adjacent control point is 0, the other points on the line are interpolated based on their positions to obtain the factor. After the movement, the x-coordinate of the points on the line is X + factor * de lX, and the y-coordinate is Y + factor * de lY.
[0133] In practical applications, when the target control point is moved, the relative displacement of the target control point and the position interpolation between the target control point and the adjacent control points can be calculated based on the starting position, ending position and the position of the adjacent control points. Based on the relative displacement and position interpolation, the position of each point on the line between the target control point and the adjacent control points can be determined, and the updated position of each point on the line can be obtained, thereby obtaining the updated geometry corresponding to the updated equilibrium configuration.
[0134] In one embodiment, adjacent control points may include one or two. When there are other control points on both sides of the target control point, the number of adjacent control points is two; when there are other control points on only one side of the target control point, the number of adjacent control points is one.
[0135] This embodiment utilizes a built-in algorithm to calculate the positions of control points and lines after movement, allowing users to freely change the geometry by manipulating the control points. This facilitates the exploration of different equilibrium configuration design schemes, meeting complex experimental requirements and plasma characteristic requirements, and breaking through the limitations of traditional methods that fix the geometry. By calculating relative displacement and position interpolation to determine the position of each point, the changes in geometry can be precisely controlled, making the design of equilibrium configurations more accurate. This helps improve the design precision of advanced equilibrium configurations in tokamak nuclear fusion devices and better realize complex advanced equilibrium configuration designs such as snowflake configurations, long-leg configurations, and super-X configurations.
[0136] In one or more embodiments of this application, the multiple control points include first type control points and second type control points; determining the adjacent control points of the target control point may include the following steps:
[0137] If the target control point is a first-type control point, then the first adjacent control point of the target control point is taken as the adjacent control point;
[0138] If the target control point is a type II control point, then when the control point movement mode is global movement mode, the adjacent type II control points of the target control point are determined as adjacent control points; when the control point movement mode is local movement mode, the first adjacent control point of the target control point is determined as an adjacent control point.
[0139] Specifically, the first type of control point is a point that includes one operating mode and can be moved in slide-zoom mode. The second type of control point is a point that includes two operating modes and can be moved in either slide-zoom mode or spline mode, with different moving effects in different modes.
[0140] See Figure 3a , Figure 3a A schematic diagram of a geometry and control points provided in one embodiment of this application is shown. Figure 3a As shown, the geometry may include an outermost closed magnetic surface (LCFS) and divertor legs (LEG). Both the outermost closed magnetic surface and the divertor legs include multiple control points. In one implementation, the number of control points on the outermost closed magnetic surface is fixed at 16, and the number of control points on the divertor legs is fixed at 9. Both the outermost closed magnetic surface and the divertor legs include two types of control points: a first type of control point and a second type of control point.
[0141] Figure 3a The diagram illustrates the second type of control points on the outermost closed magnetic surface and the divertor leg, respectively. The remaining unlabeled control points can be considered as first type control points. The first and second type control points are used to achieve different editing functions and effects. In actual editing, under normal conditions (slide zoom mode), moving a first type control point only moves the line between two adjacent control points; while moving a second type control point moves the line between two adjacent second type control points, i.e., it moves the entire half-surface. In practical applications, users may need the second type control points to move independently for more detailed adjustments. Therefore, by switching the slide zoom mode to spline mode, local control of the second type control points can be achieved. That is, in spline mode, moving a second type control point allows for independent movement, moving only the line between the two nearest adjacent first type control points, without moving the entire half-surface.
[0142] See Figure 3b , Figure 3b This diagram illustrates a control point movement effect according to an embodiment of this application. The Z-axis and R-axis are coordinate axes in a cylindrical coordinate system.
[0143] In practical applications, in the slide-zoom mode, dragging a first-type control point calculates its relative position to the dragged target control point. Then, interpolation is used to determine the coordinates of the target control point and one or two adjacent control points, resulting in the updated position of the line between the target control point and its adjacent control points. This alters the geometry of the equilibrium configuration and the positions of related control points. Similarly, in slide-zoom mode, moving a second-type control point calculates its displacement relative to the target control point. Interpolation is used to determine the coordinates of the target control point and one or two adjacent second-type control points, resulting in the updated position of the line between the two second-type control points. The position of the first-type control point between the two second-type control points on the updated line is then further determined, thus altering the geometry of the equilibrium configuration and the positions of related control points.
[0144] By applying this embodiment, by pre-setting the control points to first type control points and second type control points, different editing needs of users can be met, and fine-tuning of the balanced configuration geometry can be better achieved. This makes it easier for users to edit and makes it easier to control and explore the details of the geometric shape. Furthermore, more accurate position information can be obtained through interpolation, and a smoother transition between two points can be achieved.
[0145] In one or more embodiments of this application, the candidate geometry includes the outermost closed magnetic surface and the divertor leg; the contour editing operation includes adding and deleting operations on the divertor leg; updating the candidate geometry based on the contour editing operation may include the following steps:
[0146] If the contour editing operation is an operation to add target control points on the outermost closed magnetic surface, then a new divertor leg is added at the target control point of the candidate geometry;
[0147] If the contour editing operation is a deletion operation of the target control point on the target divertor leg, then the target divertor leg in the candidate geometry is deleted, where the target divertor leg is any divertor leg included in the candidate geometry.
[0148] Specifically, the outline editing operation can be understood as the operation of modifying the outline of the candidate geometry in the editing interface, or it can be understood as the editing operation of the separating line in the editing interface, which is the separating line function provided by the tool.
[0149] The target divertor leg can be understood as the selected divertor leg to be deleted in the candidate geometry. The specific choice can be determined according to the user's actual needs and can be any divertor leg contained in the candidate geometry.
[0150] In practical applications, a target control point on the outermost closed magnetic surface can be selected, and an add operation can be triggered for that target control point, thereby adding a new divertor leg at the target control point. To delete any divertor leg in a candidate geometry, any control point on the target divertor leg to be deleted can be selected, and a delete operation can be triggered for that control point, thus deleting the target divertor leg.
[0151] In one embodiment of this application, adding a new divertor leg at the target control point of the candidate geometry may include:
[0152] Obtain the coordinates of the target control points within the candidate geometry;
[0153] According to the pre-defined divertor leg generation rules, a new divertor leg is generated at the location of the target control point.
[0154] Specifically, the divertor leg generation rules may include algorithms for determining parameters such as the shape, orientation, and length of the divertor legs.
[0155] In one embodiment of this application, deleting the target divertor leg from the candidate geometry may include:
[0156] Determine the position information of the target divertor leg within the candidate geometry;
[0157] Remove information related to the target divertor leg from the candidate geometry data structure.
[0158] Specifically, the positional information of the target divertor leg within the candidate geometry can include the line position of the target divertor leg and its connection relationship with other geometric elements (such as the outermost closed magnetic surface). Information related to the target divertor leg can include the coordinates and attributes of the lines constituting the divertor leg.
[0159] Furthermore, the tool can adjust and optimize the remaining geometry to ensure its integrity and rationality (e.g., correcting discontinuities or unreasonable boundaries that may result from deleting the divertor leg). Finally, the updated candidate geometry is displayed on the editing interface, allowing the user to see the changes in geometry after deleting the target divertor leg.
[0160] This embodiment allows users to add divertor legs at specific locations on the outermost closed magnetic surface according to actual needs and design goals, enabling more flexible optimization of the plasma boundary and divertor layout. For example, in some cases, to better guide the heat and particle flow of the plasma, or to improve the plasma confinement performance, adding divertor legs can achieve a more rational design, increasing the flexibility and adaptability of the equilibrium configuration design. The newly added divertor legs can more effectively guide impurities and heat generated by the plasma to the divertor region, reducing damage to the device walls and improving the device's operating efficiency and lifespan. By precisely controlling the location of the added divertor legs, fine optimization of the diversion effect can be achieved to meet the requirements of different experimental and application scenarios. When some divertor legs are no longer needed in the design or may negatively impact overall performance, users can remove them through a deletion operation, simplifying the structure of candidate geometries, helping to avoid unnecessary complexity, preventing interference with plasma confinement and the diversion process, and optimizing overall physical performance. For example, removing divertor legs that may cause abnormal plasma flow or increase unnecessary heat load can improve plasma stability and device performance, making the design more in line with actual physical requirements.
[0161] According to one embodiment of this application, the contour editing operation further includes a symmetry operation; updating the candidate geometry based on the contour editing operation may include the following steps:
[0162] If the contour editing operation is a symmetry operation, the candidate geometry will be symmetrical along the axis of symmetry.
[0163] Specifically, symmetry operations can be understood as transforming candidate geometries symmetrically along a specific axis of symmetry to change the shape of the geometry, thereby meeting specific design requirements or optimizing the structure of the geometry. The axis of symmetry is a straight line or axis used to perform symmetry operations, around which the candidate geometry will undergo symmetrical transformation.
[0164] In one embodiment, the axis of symmetry in the geometry design of a tokamak nuclear fusion device is chosen as the R-axis of the device.
[0165] In one embodiment, upon detecting a triggered symmetry operation, the tool performs symmetry transformation calculations on each geometric element of the candidate geometry (such as the lines of the outermost closed magnetic surface, the coordinate points of the divertor legs, etc.) based on the symmetry axis. Then, it reconstructs the geometry based on the new coordinate information, updating the data structure of the candidate geometry. Finally, the updated candidate geometry is displayed in the editing interface, allowing the user to see the effect of the symmetry operation.
[0166] Symmetrical operations can specifically be vertical symmetrical operations.
[0167] By applying this embodiment, symmetrical geometries can be generated quickly through symmetry operations, reducing the workload of manually drawing symmetrical parts. Furthermore, it can make candidate geometries more regular and symmetrical, which helps optimize plasma confinement performance and the physical characteristics of the device.
[0168] According to one embodiment of this application, determining boundary constraints based on the updated geometry and calculating the poloidal coil current based on the boundary constraints to obtain and display the corresponding target equilibrium configuration may include the following steps:
[0169] The target geometry is determined based on the updated geometry, and the boundary constraints are obtained based on the target geometry.
[0170] The target equilibrium configuration is obtained by inverting the poloidal coil current based on the boundary constraints.
[0171] In practical applications, since the equilibrium configuration manually designed by the user is often impossible to fully realize, a target equilibrium configuration that most closely approximates the user's updated geometry can be found. The target geometry corresponding to the target equilibrium configuration can be fed back to the user, who can then fine-tune and export the data based on the target geometry.
[0172] See Figure 4a, Figure 4a This illustration shows a schematic diagram of a balanced configuration design result obtained through an editing tool according to an embodiment of this application. The result is obtained by user editing... Figure 4a In the case of the geometry shown, the data export function can be selected. The tool can respond to the export operation of the configuration designed by the user on the editing interface, determine the boundary constraints and perform inversion calculations to obtain the equilibrium configuration result of the target equilibrium configuration.
[0173] In one embodiment, boundary constraints can be implemented by taking a series of points on the geometry (e.g., ...). Figure 4a The "+" sign in the text indicates that the text is being used to obtain the result.
[0174] See Figure 4b , Figure 4b This illustration shows a schematic diagram of obtaining advanced equilibrium configuration results through coil current inversion according to an embodiment of this application.
[0175] By applying this embodiment, the target geometry is obtained through further processing of the updated geometry, and the boundary constraints are determined based on this. This allows for a more accurate description of the plasma boundary characteristics, providing more precise input for inversion calculations and thus improving the design accuracy of the target equilibrium configuration. The steps of determining the target geometry, obtaining boundary constraints, and inverting the poloidal coil current are organically combined to form a complete design process, making the design process more systematic and standardized, and improving design efficiency.
[0176] Furthermore, the poloidal coil current is inverted and calculated based on the boundary constraints to obtain the target equilibrium configuration, which may include:
[0177] Based on the boundary constraints, establish the objective function relationship between pressure, magnetic field and coil current, and determine the inversion algorithm;
[0178] Based on the objective function relationship and inversion algorithm, the target equilibrium configuration parameters corresponding to the target equilibrium configuration are calculated.
[0179] Specifically, the target equilibrium configuration parameters may include the magnetic field strength at various locations in space, the current magnitude of the PF coil, and so on.
[0180] Corresponding to the above method embodiments, this application also provides embodiments of a device for determining plasma equilibrium configuration. Figure 5 A schematic diagram of a plasma equilibrium configuration determination device according to an embodiment of this application is shown. Figure 5 As shown, the device includes:
[0181] Display module 502: configured to display candidate geometries of balanced configuration in an editing interface, wherein the editing interface provides at least one editing operation and the candidate geometries include multiple control points.
[0182] Update module 504: configured to update candidate geometry based on update strategy corresponding to target editing operation in response to target control point, and obtain updated geometry, wherein target control point is any one of at least one control point, and target editing operation is the currently executed editing operation among at least one editing operation.
[0183] Export module 506: is configured to, in response to the equilibrium configuration export operation, determine the boundary constraints based on the updated geometry, and inversely calculate the poloidal coil current based on the boundary constraints, thereby obtaining and displaying the corresponding target equilibrium configuration.
[0184] In one embodiment, at least one editing operation includes a pattern editing operation and / or a contour editing operation; the update module 504 is further configured to:
[0185] If the target editing operation is a pattern editing operation, at least one operation mode included in the pattern editing operation is displayed. Based on the editing operation in the target operation mode selected in at least one operation mode, the candidate geometry is updated to obtain the updated geometry. Different operation modes are used to implement different operation functions.
[0186] If the target editing operation is a contour editing operation, the candidate geometry is updated based on the contour editing operation to obtain the updated geometry.
[0187] In one embodiment, the update module 504 is further configured to:
[0188] When the target operation mode is control point movement mode, determine the adjacent control points of the target control point, and update the lines between the target control point and the adjacent control points in the candidate geometry based on the start position and end position of the target control point and the positions of the adjacent control points.
[0189] When the target operation mode is direct wall-attaching mode, determine the preset limiter configuration corresponding to the candidate geometry; adjust the candidate geometry according to the preset limiter configuration.
[0190] In one embodiment, the update module 504 is further configured to:
[0191] The relative displacement of the target control point is obtained based on the starting and ending positions;
[0192] Based on the termination position and the positions of adjacent control points, the position interpolation between the target control point and adjacent control points is obtained;
[0193] Based on relative displacement and position interpolation, multiple interpolation points are determined between the target control point and adjacent control points. Connecting these multiple interpolation points yields the updated lines between the target control point and adjacent control points.
[0194] In one embodiment, the plurality of control points includes a first type of control point and a second type of control point; the update module 504 is further configured to:
[0195] If the target control point is a first-type control point, then the first adjacent control point of the target control point is taken as the adjacent control point;
[0196] If the target control point is a type II control point, then when the control point movement mode is global movement mode, the adjacent type II control points of the target control point are determined as adjacent control points; when the control point movement mode is local movement mode, the first adjacent control point of the target control point is determined as an adjacent control point.
[0197] In one embodiment, the candidate geometry includes the outermost closed magnetic surface and the divertor leg; the contour editing operation includes adding and deleting operations for the divertor leg; the update module 504 is further configured to:
[0198] If the contour editing operation is an operation to add target control points on the outermost closed magnetic surface, then a new divertor leg is added at the target control point of the candidate geometry;
[0199] If the contour editing operation is a deletion operation of the target control point on the target divertor leg, then the target divertor leg in the candidate geometry is deleted, where the target divertor leg is any divertor leg included in the candidate geometry.
[0200] In one embodiment, the contour editing operation further includes a symmetry operation; the update module 504 is further configured to:
[0201] If the contour editing operation is a symmetry operation, the candidate geometry will be symmetrical along the axis of symmetry.
[0202] In one embodiment, the display module 502 is further configured to:
[0203] Load the equilibrium configuration, and the corresponding geometry will be displayed in the editing interface; or,
[0204] The editing interface displays the geometry corresponding to the previously obtained target equilibrium configuration; or...
[0205] The editing interface displays the updated geometry obtained after at least one editing operation.
[0206] In one embodiment, the export module 506 is further configured to:
[0207] The target geometry is determined based on the updated geometry, and the boundary constraints are obtained based on the target geometry.
[0208] The target equilibrium configuration is obtained by inverting the poloidal coil current based on the boundary constraints.
[0209] By displaying candidate geometries and providing editing operations in the editing interface, users can intuitively understand the state of the equilibrium configuration and easily perform subsequent editing operations, thus lowering the operational threshold. Furthermore, the candidate geometries provide a starting point for design, allowing users to develop creative ideas and make preliminary shape adjustments without overly relying on equilibrium calculation experience, facilitating rapid equilibrium configuration design. Updating the candidate geometries according to the target editing operations and corresponding update strategies allows users to flexibly change the geometry to meet different design needs and optimization goals, improving the flexibility and accuracy of equilibrium configuration design. Real-time display of the updated geometry provides users with immediate operational feedback, enabling them to promptly identify and adjust problems, enhancing user-system interactivity and improving design efficiency. By determining boundary constraints based on the updated geometry and inverting the poloidal coil current, the target equilibrium configuration can be accurately obtained, ensuring that the designed equilibrium configuration conforms to physical principles and practical needs, improving the reliability and effectiveness of equilibrium configuration design, and making it easier to obtain advanced equilibrium configurations.
[0210] The above is a schematic scheme of a plasma equilibrium configuration determination device according to this embodiment. It should be noted that the technical solution of this plasma equilibrium configuration determination device and the technical solution of the plasma equilibrium configuration determination method described above belong to the same concept. For details not described in detail in the technical solution of the plasma equilibrium configuration determination device, please refer to the description of the technical solution of the plasma equilibrium configuration determination method described above.
[0211] Figure 6 A structural block diagram of a computing device 600 according to an embodiment of this application is shown. The components of the computing device 600 include, but are not limited to, a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and a database 650 is used to store data.
[0212] The computing device 600 also includes an access device 640, which enables the computing device 600 to communicate via one or more networks 660. Examples of such networks include a Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the Internet. Access device 640 may include one or more of any type of wired or wireless network interface (e.g., network interface card (NIC)), such as IEEE 802.11 Wireless Local Area Network (WLAN) interface, Wi-MAX (Worldwide Interoperability for Microwave Access) interface, Ethernet interface, Universal Serial Bus (USB) interface, cellular network interface, Bluetooth interface, and Near Field Communication (NFC).
[0213] In one embodiment of this application, the aforementioned components of the computing device 600 and Figure 6 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 6 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this application. Those skilled in the art can add or replace other components as needed.
[0214] The computing device 600 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or personal computers (PCs). The computing device 600 can also be a mobile or stationary server.
[0215] The processor 620 is configured to execute the following computer-executable instructions, which, when executed by the processor, implement the steps of the method for determining the plasma equilibrium configuration described above.
[0216] The above is a schematic representation of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the method for determining the plasma equilibrium configuration described above belong to the same concept. Details not described in detail in the technical solution of the computing device can be found in the description of the technical solution of the method for determining the plasma equilibrium configuration described above.
[0217] An embodiment of this application also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the method for determining the plasma equilibrium configuration described above.
[0218] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium belongs to the same concept as the technical solution of the method for determining the plasma equilibrium configuration described above. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the method for determining the plasma equilibrium configuration described above.
[0219] An embodiment of this application also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the method for determining the plasma equilibrium configuration described above.
[0220] The above is an illustrative scheme of a computer program product according to this embodiment. It should be noted that the technical solution of this computer program product and the technical solution of the above-described method for determining plasma equilibrium configuration belong to the same concept. For details not described in detail in the technical solution of the computer program product, please refer to the description of the technical solution of the above-described method for determining plasma equilibrium configuration.
[0221] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0222] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or certain intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added or removed according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.
[0223] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the embodiments of this application.
[0224] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0225] The embodiments disclosed above are merely illustrative of this application and do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the embodiments of this application. These embodiments are selected and specifically described in this application to better explain the principles and practical applications of the embodiments of this application, thereby enabling those skilled in the art to better understand and utilize this application. This application is limited only by the claims and their full scope and equivalents.
Claims
1. A method for determining the plasma equilibrium configuration, characterized in that, include: The editing interface displays candidate geometries for the balanced configuration, wherein the editing interface provides at least one editing operation, and the candidate geometries include multiple control points; In response to a target editing operation of a target control point, the candidate geometry is updated based on the update strategy corresponding to the target editing operation to obtain an updated geometry, wherein the target control point is any one of the at least one control point, and the target editing operation is the currently executed editing operation among the at least one editing operations; In response to the equilibrium configuration derivation operation, boundary constraints are determined based on the updated geometry, and the poloidal coil current is calculated inversely based on the boundary constraints to obtain and display the corresponding target equilibrium configuration.
2. The method according to claim 1, characterized in that, The at least one editing operation includes a pattern editing operation and / or a contour editing operation; updating the candidate geometry based on the update strategy corresponding to the target editing operation to obtain the updated geometry includes: If the target editing operation is a pattern editing operation, at least one operation mode included in the pattern editing operation is displayed. Based on the editing operation in the target operation mode selected in the at least one operation mode, the candidate geometry is updated to obtain the updated geometry. Different operation modes are used to implement different operation functions. If the target editing operation is a contour editing operation, the candidate geometry is updated based on the contour editing operation to obtain the updated geometry.
3. The method according to claim 2, characterized in that, The step of updating the candidate geometry based on the target operation mode selected from the at least one operation mode includes: When the target operation mode is control point movement mode, the adjacent control points of the target control point are determined, and the lines between the target control point and the adjacent control points in the candidate geometry are updated based on the start position and end position of the target control point and the position of the adjacent control points. When the target operation mode is the direct wall-attaching mode, determine the preset limiter configuration corresponding to the candidate geometry; adjust the candidate geometry according to the preset limiter configuration.
4. The method according to claim 3, characterized in that, The step of updating the lines between the target control point and the adjacent control points in the candidate geometry based on the start and end positions of the target control point and the positions of the adjacent control points includes: The relative displacement of the target control point is obtained based on the starting position and the ending position; Based on the termination position and the positions of the adjacent control points, the position interpolation between the target control point and the adjacent control points is obtained; Based on the relative displacement and the position interpolation, multiple interpolation points are determined between the target control point and the adjacent control points, and the multiple interpolation points are connected to obtain the updated line between the target control point and the adjacent control points.
5. The method according to claim 3, characterized in that, The plurality of control points includes first-type control points and second-type control points; determining the adjacent control points of the target control point includes: If the target control point is a first type of control point, then the first adjacent control point of the target control point is taken as the adjacent control point; If the target control point is a second type control point, then when the control point movement mode is global movement mode, the adjacent second type control point of the target control point is determined as the adjacent control point; when the control point movement mode is local movement mode, the first adjacent control point of the target control point is determined as the adjacent control point.
6. The method according to claim 2, characterized in that, The candidate geometry includes the outermost closed magnetic surface and the divertor leg; the contour editing operation includes adding and deleting operations for the divertor leg; The updating of the candidate geometry based on the contour editing operation includes: If the contour editing operation is an operation to add a target control point on the outermost closed magnetic surface, then a new divertor leg is added at the target control point of the candidate geometry; If the contour editing operation is a deletion operation of the target control point on the target divertor leg, then the target divertor leg in the candidate geometry is deleted, wherein the target divertor leg is any divertor leg included in the candidate geometry.
7. The method according to claim 2, characterized in that, The contour editing operation also includes symmetry operations; The updating of the candidate geometry based on the contour editing operation includes: If the contour editing operation is a symmetry operation, the candidate geometry is symmetrical along the axis of symmetry.
8. The method according to claim 1, characterized in that, The step of displaying the candidate geometry corresponding to the candidate equilibrium configuration in the editing interface includes: Load the equilibrium configuration, and the corresponding geometry will be displayed in the editing interface; or, The editing interface displays the geometry corresponding to the previously obtained target equilibrium configuration; or... The editing interface displays the updated geometry obtained after at least one editing operation.
9. The method according to claim 1, characterized in that, The process of determining boundary constraints based on the updated geometry, and inverting the poloidal coil current according to the boundary constraints to obtain and display the corresponding target equilibrium configuration includes: The target geometry is determined based on the updated geometry, and the boundary constraints are obtained based on the target geometry. The poloidal coil current is calculated by inversion based on the boundary constraints to obtain the target equilibrium configuration.
10. A device for determining plasma equilibrium configuration, characterized in that, include: The display module is configured to display candidate geometries of the balanced configuration in an editing interface, wherein the editing interface provides at least one editing operation and the candidate geometries include multiple control points; An update module is configured to update the candidate geometry in response to a target edit operation of a target control point, based on an update strategy corresponding to the target edit operation, to obtain an updated geometry, wherein the target control point is any one of the at least one control point, and the target edit operation is the currently executed edit operation among the at least one edit operations; The export module is configured to, in response to the equilibrium configuration export operation, determine boundary constraints based on the updated geometry, and inversely calculate the poloidal coil current according to the boundary constraints, thereby obtaining and displaying the corresponding target equilibrium configuration.
11. A computing device, characterized in that, include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions, which, when executed by the processor, implement the steps of the method for determining the plasma equilibrium configuration according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, It stores a computer program / instruction that, when executed by a processor, implements the steps of the method for determining the plasma equilibrium configuration as described in any one of claims 1 to 9.
13. A computer program product, characterized in that, Includes a computer program / instructions that, when executed by a processor, implement the steps of the method for determining the plasma equilibrium configuration as described in any one of claims 1 to 9.