Management method, device and equipment for simulation calculation task of power system

By analyzing the task definition files and building the power system simulation computing task, the problem that existing systems cannot efficiently perform power system simulation computing tasks in high-concurrency computing scenarios is solved, and flexible configuration and automated management of tasks are realized, improving computing efficiency and resource utilization.

CN119987973APending Publication Date: 2025-05-13ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510189700.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-20
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Existing systems cannot perform the execution of power system simulation computing tasks efficiently and flexibly in high-concurrency computing scenarios.

Method used

By responding to task requests, reading the task definition file, parsing the task definition file to obtain the task name, step list and execution script, performing configuration analysis on each step subtask in the step list, determining the atomic operation configuration information, and constructing a power system simulation calculation task based on this information, executing the task and displaying the results.

Benefits of technology

It realizes flexible configuration and automated management of tasks, improves computing efficiency and resource utilization, and can efficiently perform power system simulation computing tasks in high concurrent computing scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987973A_ABST
    Figure CN119987973A_ABST
Patent Text Reader

Abstract

The invention discloses a management method, device and equipment for a simulation calculation task of a power system, and the method comprises the steps: reading a task definition file specified by a task request through responding to the task request; analyzing the task definition file to obtain a task name, a step list and an execution script; performing configuration analysis on each step subtask in the step list, and determining at least one piece of corresponding atomic operation configuration information; constructing at least one power system simulation calculation task according to the configuration information, the task name and the execution script of each atomic operation; and executing all power system simulation calculation tasks, and displaying task execution results. Therefore, the task assembly line format is defined through the standardized task definition file, flexible configuration and automatic management of tasks are achieved, meanwhile, dynamic resource allocation and efficient task scheduling are supported through a universal analysis and execution program, and the calculation efficiency and the resource utilization rate are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system simulation, and in particular to a management method, device and equipment for power system simulation calculation tasks. Background Art

[0002] Power system simulation is an important tool for power system analysis and optimization, and is widely used in power system planning, design, operation and control. As the scale and complexity of power systems increase, simulation tasks become more complex. Traditional task management methods are difficult to effectively handle these complex task dependencies and parallel computing requirements.

[0003] At present, the task management of power system simulation calculations mainly relies on traditional batch processing systems. These systems usually adopt static task scheduling strategies, which are difficult to adapt to dynamically changing computing needs and resource conditions. In addition, traditional batch processing systems are often inefficient when dealing with complex task dependencies and parallel computing.

[0004] In recent years, with the development of cloud computing and big data technology, some modern task management systems have emerged, such as Apache Airflow and Kubernetes. These systems provide more flexible and efficient task scheduling and management functions, but there are still some challenges in their application in power system simulation calculations. For example, power system simulation calculation tasks usually have complex dependencies, and existing systems often require a lot of manual configuration when dealing with these dependencies. Power system simulation calculation tasks usually need to process a large amount of data in a short period of time. Existing systems cannot efficiently and flexibly execute power system simulation calculation tasks in high-concurrency computing scenarios. Summary of the invention

[0005] The present invention provides a method, device and equipment for managing power system simulation computing tasks, which solves the technical problem that the existing system cannot efficiently and flexibly execute power system simulation computing tasks in high-concurrency computing scenarios.

[0006] A first aspect of the present invention provides a method for managing power system simulation computing tasks, characterized by comprising:

[0007] In response to the task request, read the task definition file specified by the task request;

[0008] Parse the task definition file to obtain the task name, step list and execution script;

[0009] Perform configuration analysis on each step subtask in the step list to determine at least one corresponding atomic operation configuration information;

[0010] Constructing at least one power system simulation calculation task according to each of the atomic operation configuration information, the task name and the execution script;

[0011] Execute all the power system simulation calculation tasks and display the task execution results.

[0012] Optionally, the method further comprises:

[0013] When the power system simulation calculation task is executed, the task status of the power system simulation calculation task is updated and displayed in real time.

[0014] Optionally, the method further comprises:

[0015] When an execution error occurs in the power system simulation calculation task, error information is obtained and an error log is generated for display;

[0016] The power system simulation calculation task with execution error is reset and executed again until the preset execution times are reached.

[0017] Optionally, constructing at least one power system simulation calculation task according to each of the atomic operation configuration information, the task name and the execution script includes:

[0018] Parsing and verifying each of the atomic operation configuration information to obtain a template file and an operation field respectively;

[0019] Each group of the operation fields is loaded into the execution script, and an atomic operation is constructed in combination with the template file;

[0020] Parsing the template file to obtain operation requirement information;

[0021] Allocate computing resources to the atomic operation according to the operation requirement information through a preset resource interface;

[0022] According to the dependency relationship between the subtasks of each step, the atomic operation to which the computing resources have been allocated is selected to construct the power system simulation computing task.

[0023] Optionally, the operation field includes a parallel execution field, an execution status field, an execution parameter field, and an input and output file field.

[0024] A second aspect of the present invention provides a management device for a power system simulation computing task, comprising:

[0025] A task response module, used to respond to a task request and read a task definition file specified by the task request;

[0026] A file parsing module, used to parse the task definition file to obtain the task name, step list and execution script;

[0027] A configuration analysis module, used to perform configuration analysis on each step subtask in the step list to determine at least one corresponding atomic operation configuration information;

[0028] A task construction module, used to construct at least one power system simulation calculation task according to each of the atomic operation configuration information, the task name and the execution script;

[0029] The task execution module is used to execute all the power system simulation calculation tasks and display the task execution results.

[0030] Optionally, the device further comprises:

[0031] When the power system simulation calculation task is executed, the task status of the power system simulation calculation task is updated and displayed in real time.

[0032] Optionally, the device further comprises:

[0033] When an execution error occurs in the power system simulation calculation task, error information is obtained and an error log is generated for display;

[0034] The power system simulation calculation task is reset and executed again until a preset number of executions is reached.

[0035] Optionally, the task construction module is specifically used to:

[0036] Parsing and verifying each of the atomic operation configuration information to obtain a template file and an operation field respectively;

[0037] Each group of the operation fields is loaded into the execution script, and an atomic operation is constructed in combination with the template file;

[0038] Parsing the template file to obtain operation requirement information;

[0039] Allocate computing resources to the atomic operation according to the operation requirement information through a preset resource interface;

[0040] According to the dependency relationship between the subtasks of each step, the atomic operation is selected to construct the power system simulation calculation task.

[0041] The third aspect of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of managing the power system simulation calculation task as described in any one of the first aspect of the present invention.

[0042] It can be seen from the above technical solutions that the present invention has the following advantages:

[0043] The present invention responds to a task request, reads the task definition file specified by the task request; parses the task definition file to obtain the task name, step list and execution script; performs configuration analysis on each step subtask in the step list to determine at least one corresponding atomic operation configuration information; constructs at least one power system simulation calculation task according to each atomic operation configuration information, task name and execution script; executes all power system simulation calculation tasks and displays the task execution results. Thus, the task pipeline format is defined by a standardized task definition file, flexible configuration and automatic management of tasks are achieved, and computing efficiency and resource utilization are significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0045] Figure 1 A flowchart of a method for managing power system simulation calculation tasks provided by an embodiment of the present invention;

[0046] Figure 2 A schematic diagram of the composition of a task definition file provided by an embodiment of the present invention;

[0047] Figure 3 A schematic diagram of the composition of atomic operation configuration information provided by an embodiment of the present invention;

[0048] Figure 4 A schematic diagram of the execution of a task list provided by an embodiment of the present invention;

[0049] Figure 5 A schematic diagram of the current state of a task provided by an embodiment of the present invention;

[0050] Figure 6 A structural block diagram of a management device for power system simulation computing tasks provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] Traditional batch processing systems usually use fixed task scheduling strategies to execute tasks in a pre-set order. The main disadvantages of this approach include lack of flexibility, inability to dynamically adjust the execution order of tasks according to real-time computing needs and resource conditions; inefficient resource utilization, often unable to fully utilize computing resources when processing parallel computing tasks, resulting in resource waste; limited error recovery capabilities, if errors occur during task execution, usually require manual intervention for recovery, increasing the system maintenance cost.

[0052] The embodiments of the present invention provide a method, device and equipment for managing power system simulation computing tasks, which are used to solve the technical problem that the existing system cannot efficiently and flexibly execute power system simulation computing tasks in high-concurrency computing scenarios.

[0053] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] See also Figure 1 , Figure 1 A flowchart of the steps of a method for managing power system simulation computing tasks provided by an embodiment of the present invention.

[0055] The present invention provides a method for managing power system simulation computing tasks, comprising:

[0056] Step 101, responding to a task request and reading a task definition file specified by the task request;

[0057] In an embodiment of the present application, the power system simulation calculation task can be managed through a visualization platform. After a user with management authority logs in to the platform, a task request is written and submitted to the platform. The task request can describe the function of the task to be performed in natural language, or in the form of forms, check boxes, flow charts, etc., such as "fault scanning", "current flow calculation", "stability calculation", etc. The platform reads the task request and performs semantic analysis. After understanding its intention, it reads the specified task definition file from the preset specified path.

[0058] The visualization platform can use high-performance servers or computing clusters equipped with enough CPU computing cores to quickly process complex power system operations. At the same time, sufficient memory should be prepared to meet the storage and reading requirements of large amounts of data during the simulation process. In addition, high-speed storage devices should be deployed to ensure fast reading and writing of simulation data and improve task execution efficiency.

[0059] Among them, the file type of the task definition file can be a YAML file, an XML file, or a JSON file, etc. YAML (YAML Ain't Markup Language) is a human-readable data serialization format used for configuration files, data exchange and storage, etc. YAML file is a file that represents data in a concise text format, with a .yaml or .yml file extension. In this embodiment, the task definition file can be edited using a special YAML editing tool, by defining the various parameters required for the power system simulation calculation task, describing the operating environment, parameters, input and output files, etc. of each atomic operation.

[0060] Step 102, parse the task definition file to obtain the task name, step list and execution script;

[0061] After reading the task definition file, in order to further determine the parameters required for task structure and resource allocation, the task definition file can be parsed to identify the task name, step list and execution script.

[0062] It should be noted that the specific composition of the task definition file is as follows Figure 2 As shown. Among them, each computing task is named by the `name` field, such as `Snrauto`, which is used to identify the type and purpose of the task. This name serves as a unique identifier throughout the task execution process, which facilitates the management and tracking of tasks. The `stage` field is used to define the execution steps of the task. Each step represents an independent computing stage, which can include one or more atomic operations. There can be dependencies between steps to ensure that tasks are executed in the correct order. Use the `shell_script` field to specify the script file to be executed, such as `Dspcore.jar`. This script file contains specific computing logic and is the core part of task execution.

[0063] Step 103, performing configuration analysis on each step subtask in the step list to determine at least one corresponding atomic operation configuration information;

[0064] In an embodiment of the present application, the step list includes at least one step subtask, and each step subtask includes at least one atomic operation. After the step list is parsed and identified, each step subtask is configured and parsed to determine the corresponding at least one atomic operation configuration information.

[0065] Among them, atomic operations are the basic computing units for task execution, and each atomic operation performs a specific computing task. They can run independently or be combined as needed to form a more complex computing process. Users can define the parameters, input and output files, and execution environment of each atomic operation through YAML files. In this way, atomic operations can be flexibly configured and adjusted according to different task requirements. Users can also combine multiple atomic operations into a complete computing task according to certain splicing rules to ensure that the operations are executed in the correct order. The system automatically adjusts the execution order of tasks according to these rules to avoid conflicts and resource contention.

[0066] like Figure 3 As shown, the atomic operation configuration information of the atomic operation `formsnrlsd` is shown. `snr-template.yaml` defines the execution environment and basic memory, CPU, and disk space configuration of the atomic operation. parallel is set to `true`, indicating that the atomic operation allows multiple instances to run simultaneously. The execution status is described as "mode generation", which is used to monitor task progress and visual display on the page. The execution parameter `["SnrGen"]` is used to control script behavior and pass in basic parameters. Input and output files: specifies the required input files and output directories. Through the above format definition, flexible combination and efficient execution of atomic operations are achieved, providing powerful task management and scheduling capabilities. Users can flexibly configure and manage power system simulation calculation tasks to achieve efficient task execution and resource utilization.

[0067] Step 104, constructing at least one power system simulation calculation task according to each atomic operation configuration information, task name and execution script;

[0068] In this embodiment, the configuration information of each atomic operation is first parsed and verified to obtain the template file and operation field. Then, the operation field is loaded into the execution script, and the atomic operation is constructed in combination with the template file. Next, the template file is parsed again to obtain the operation requirement information. After that, computing resources are allocated to the atomic operation according to the operation requirement information through the preset resource interface. Finally, according to the dependency relationship of the subtasks of each step, the appropriate atomic operation with allocated resources is selected to construct the power system simulation calculation task.

[0069] In one example of the present application, step 104 may include:

[0070] Parse and verify the configuration information of each atomic operation to obtain the template file and operation field respectively;

[0071] Use each group of operation fields to load into the execution script, and combine with the template file to build the atomic operation;

[0072] Parse the template file to obtain the operation requirement information;

[0073] Allocate computing resources to atomic operations according to operation requirements through the preset resource interface;

[0074] According to the dependencies between the subtasks of each step, atomic operations of the allocated computing resources are selected to construct the power system simulation computing tasks.

[0075] In an embodiment of the present application, a special YAML parsing tool is used to open the configuration file, and the content in the file is converted into a data structure that can be recognized and processed by a computer according to the grammatical rules of YAML, thereby extracting key information. The parsed configuration information is verified based on the professional knowledge and actual operation requirements of the power system. For atomic operations in the power system that have a strict execution order, such as stable calculation and flow calculation, the stable calculation depends on the output file of the flow calculation. In this case, it is necessary to perform a dependency check on the atomic operation to determine whether the dependency relationship between the atomic operations is satisfied. If an abnormal parameter or data type error is found, timely feedback and request to modify the configuration file to ensure that the configuration information is accurate. Thus, a template file and operation fields are obtained.

[0076] The template file is further parsed to determine the operational requirements of the atomic operation, such as resource type, resource requirements, and computing market, so as to reasonably arrange computing resources and task execution order. Computing resources are dynamically allocated according to the parsed operational requirements information, and resource allocation is flexibly adjusted using the Kubernetes API to ensure efficient task execution. Alternatively, a resource allocation request can be sent to the computing resource management system using the resource interface based on the sorted operational requirements information. The computing resource management system selects appropriate resources from the available computing resource pool and allocates them to the atomic operation based on the information in the request.

[0077] At the same time, for steps that support parallelism, tasks are assigned to multiple computing nodes. For example, the `formsnrlsd` atomic operation can be run on multiple nodes simultaneously, significantly reducing the computing time. Use Kubernetes' scheduling strategy to optimize the execution order of tasks. Automatically adjust the scheduling order of tasks based on task priority and resource conditions. Resolve the dependencies between steps to ensure that tasks are executed in the correct order. Through dependency management, task conflicts and resource contention can be effectively avoided.

[0078] According to the dependencies obtained through analysis, the constructed atomic operations are combined in the correct order. The output of the preceding atomic operation is used as the input of the succeeding atomic operation to ensure the smooth transmission of data and the orderly execution of operations, thereby constructing a complete power system simulation calculation task. The simulation calculation task is then started, and real-time monitoring is performed during the task execution to ensure the smooth completion of the task and finally obtain accurate simulation calculation results.

[0079] It should be noted that the template file specifies the template file used by the atomic operation through the `template` field, such as `snr-template.yaml`. The template file defines the execution environment and resource configuration of the atomic operation.

[0080] Optionally, the operation field includes a parallel execution field, an execution status field, an execution parameter field, and an input and output file field.

[0081] It should be noted that the parallel execution field uses the `parallel` field to indicate whether the atomic operation supports parallel execution. For computationally intensive tasks, supporting parallel execution can significantly improve computational efficiency. For example, the `formsnrlsd` atomic operation is set to `parallel: true`, allowing multiple instances to run simultaneously. The execution status field describes the execution status of the atomic operation through the `status` field, such as "method generation" or "fault scanning". This helps to monitor and record the progress of each atomic operation in real time during task execution. The execution parameter field uses the `args` field to define the execution parameters of the atomic operation, such as `["SnrGen"]`. These parameters are used to control the execution behavior of the script and can be adjusted according to different task requirements. The input and output file field lists the input files required for the atomic operation and the generated output files through the `input` and `output` fields. For example, the input files of the `formsnrlsd` atomic operation include `["snr_count.txt", ".dat", ".swi"]`, and the output directory is `["output"]`. These files and fields define the data flow path of the task and ensure that data is passed correctly between each step.

[0082] Step 105, execute all power system simulation calculation tasks and display the task execution results.

[0083] In this embodiment, after constructing and sequencing each electronic system simulation calculation task, all power system simulation calculation tasks are executed in sequence. After the task is completed, the execution results are displayed to the user. The user can view the detailed execution log and output file to understand the execution status of the task, such as Figure 4 shown.

[0084] In one example of the present application, the method further comprises the following steps:

[0085] When the power system simulation calculation task is executed, the task status of the power system simulation calculation task is updated and displayed in real time.

[0086] In this embodiment, the user can view the current status and progress of the task through the visual interface, such as Figure 5 shown.

[0087] In one example of the present application, the method further comprises the following steps:

[0088] When an execution error occurs in a power system simulation calculation task, the error information is obtained and an error log is generated for display;

[0089] The power system simulation calculation task with execution error is reset and executed again until the preset execution times are reached.

[0090] like Figure 4 As shown in the figure, when an execution error occurs in the power system simulation calculation task, the unfinished task can be automatically recovered and retried. The reliability and stability of the task are improved through the error handling mechanism. The error information is recorded and displayed to the user on the interface. The user views the error log, analyzes the cause of the problem and makes corresponding adjustments.

[0091] In this embodiment, Figure 2 The pipeline definition of Snrauto.yaml shown in the figure is used as an example to explain in detail how to achieve efficient management and execution of power system simulation computing tasks through atomic operations and splicing rules. In Snrauto.yaml, a computing task named Snrauto is defined. The task consists of multiple steps, each of which contains several atomic operations.

[0092] The output of the formsnrlsd step is used as the input of the tssctl and pwrctl steps to ensure the correct delivery of data flow. The tssctl and pwrctl steps are executed in parallel after the completion of formsnrlsd, and the tssais step is executed after the completion of the first two.

[0093] The parsing and execution process of this pipeline is as follows:

[0094] (1) Task parsing: The system reads the Snrauto.yaml file and parses the steps and parameters of the task.

[0095] (2) Resource allocation: Dynamically allocate computing resources according to step requirements to support parallel computing.

[0096] (3) Task scheduling: Use splicing rules to manage dependencies between steps and ensure that tasks are executed in sequence.

[0097] (4) Status update: Monitor task status in real time and users can view progress through the interface.

[0098] (5) Error handling: Automatically resume unfinished tasks and record error information for users to view.

[0099] Through the above-mentioned embodiments, the present invention realizes efficient management and flexible execution of power system simulation calculation tasks, and significantly improves calculation efficiency and resource utilization.

[0100] In the embodiment of the present application, by responding to the task request, the task definition file specified by the task request is read; the task definition file is parsed to obtain the task name, step list and execution script; each step subtask in the step list is configured and parsed separately to determine the corresponding at least one atomic operation configuration information; at least one power system simulation calculation task is constructed according to each atomic operation configuration information, task name and execution script; all power system simulation calculation tasks are executed and the task execution results are displayed. Thus, the task pipeline format is defined through a standardized task definition file, and flexible configuration and automated management of tasks are achieved. At the same time, dynamic resource allocation and efficient task scheduling are supported through a general parsing and execution program, which significantly improves computing efficiency and resource utilization.

[0101] See also Figure 6 , Figure 6 A structural block diagram of a management device for power system simulation computing tasks in an embodiment of the present application is shown.

[0102] An embodiment of the present invention provides a management device for a power system simulation computing task, comprising:

[0103] The task response module 601 is used to respond to the task request and read the task definition file specified by the task request;

[0104] The file parsing module 602 is used to parse the task definition file to obtain the task name, step list and execution script;

[0105] Configuration analysis module 603, used to perform configuration analysis on each step subtask in the step list to determine the corresponding at least one atomic operation configuration information;

[0106] The task construction module 604 is used to construct at least one power system simulation calculation task according to each atomic operation configuration information, task name and execution script;

[0107] The task execution module 605 is used to execute all power system simulation calculation tasks and display the task execution results.

[0108] Optionally, the device further comprises:

[0109] When the power system simulation calculation task is executed, the task status of the power system simulation calculation task is updated and displayed in real time.

[0110] Optionally, the device further comprises:

[0111] When an execution error occurs in a power system simulation calculation task, the error information is obtained and an error log is generated for display;

[0112] The power system simulation calculation task with execution error is reset and executed again until the preset execution times are reached.

[0113] Optionally, the task construction module 604 is specifically used for:

[0114] Parse and verify the configuration information of each atomic operation to obtain the template file and operation field respectively;

[0115] Use each group of operation fields to load into the execution script, and combine with the template file to build the atomic operation;

[0116] Parse the template file to obtain the operation requirement information;

[0117] Allocate computing resources to atomic operations according to operation requirements through the preset resource interface;

[0118] According to the dependencies between the subtasks of each step, atomic operations of the allocated computing resources are selected to construct the power system simulation computing tasks.

[0119] Optionally, the operation field includes a parallel execution field, an execution status field, an execution parameter field, and an input and output file field.

[0120] An embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of managing the power system simulation computing task as described in any embodiment of the present invention.

[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0122] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0123] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0124] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or in the form of software functional modules.

[0125] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for managing power system simulation computing tasks, characterized in that: include: In response to the task request, read the task definition file specified by the task request; Parse the task definition file to obtain the task name, step list and execution script; Perform configuration analysis on each step subtask in the step list to determine at least one corresponding atomic operation configuration information; Constructing at least one power system simulation calculation task according to each of the atomic operation configuration information, the task name and the execution script; Execute all the power system simulation calculation tasks and display the task execution results.

2. The method according to claim 1, characterized in that The method further comprises: When the power system simulation calculation task is executed, the task status of the power system simulation calculation task is updated and displayed in real time.

3. The method according to claim 1, characterized in that The method further comprises: When an execution error occurs in the power system simulation calculation task, error information is obtained and an error log is generated for display; The power system simulation calculation task with execution error is reset and executed again until the preset execution times are reached.

4. The method according to claim 1, characterized in that: The step of constructing at least one power system simulation calculation task according to each of the atomic operation configuration information, the task name and the execution script includes: Parsing and verifying each of the atomic operation configuration information to obtain a template file and an operation field respectively; Each group of the operation fields is loaded into the execution script, and an atomic operation is constructed in combination with the template file; Parsing the template file to obtain operation requirement information; Allocate computing resources to the atomic operation according to the operation requirement information through a preset resource interface; According to the dependency relationship between the subtasks of each step, the atomic operation to which the computing resources have been allocated is selected to construct the power system simulation computing task.

5. The method according to claim 4, characterized in that The operation field includes a parallel execution field, an execution status field, an execution parameter field, and an input and output file field.

6. A management device for power system simulation calculation tasks, characterized in that: include: A task response module, used to respond to a task request and read a task definition file specified by the task request; A file parsing module, used to parse the task definition file to obtain the task name, step list and execution script; A configuration analysis module, used to perform configuration analysis on each step subtask in the step list to determine at least one corresponding atomic operation configuration information; A task construction module, used to construct at least one power system simulation calculation task according to each of the atomic operation configuration information, the task name and the execution script; The task execution module is used to execute all the power system simulation calculation tasks and display the task execution results.

7. The device according to claim 6, characterized in that The device also includes: When the power system simulation calculation task is executed, the task status of the power system simulation calculation task is updated and displayed in real time.

8. The device according to claim 6, characterized in that The device also includes: When an execution error occurs in the power system simulation calculation task, error information is obtained and an error log is generated for display; The power system simulation calculation task is reset and executed again until a preset number of executions is reached.

9. The device according to claim 6, characterized in that The task building module is specifically used for: Parsing and verifying each of the atomic operation configuration information to obtain a template file and an operation field respectively; Each group of the operation fields is loaded into the execution script, and an atomic operation is constructed in combination with the template file; Parsing the template file to obtain operation requirement information; Allocate computing resources to the atomic operation according to the operation requirement information through a preset resource interface; According to the dependency relationship between the subtasks of each step, the atomic operation is selected to construct the power system simulation calculation task.

10. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of managing the power system simulation calculation task as described in any one of claims 1-5.

Citation Information

Cited By

  • Power grid operation data load flow calculation method and device based on assembly line mechanism and storage medium

    CN121541808A