A power grid simulation custom configuration method, terminal, server and system

Through the power grid simulation method based on multi-type event mapping, the problem that existing power grid simulation systems are difficult to respond to user variable needs and repeated functions development is solved, and the effect of quickly adapting to the computing needs and resource savings of diversified power grid simulation scenarios is achieved.

CN109657395BActive Publication Date: 2025-03-28CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201811640545.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-29
Publication Date
2025-03-28
Estimated Expiration
2038-12-29

AI Technical Summary

Technical Problem

Existing power grid simulation systems are difficult to flexibly respond to users' changing needs, and there are problems of duplicate functions development and waste of resources.

Method used

A power grid simulation method based on multi-type event mapping drive is provided. By querying whether the server storage module exists a task group corresponding to the user's simulation request, if there is, the first mapping table and the first event space record table are sent to the server. If there is, the task group and other related data are sent to the server, so that the server-driven task group performs simulation calculations.

Benefits of technology

It greatly improves the adaptability of simulation application systems to the needs of diversified simulation services, can quickly adapt to and realize the computing needs of diversified grid simulation scenarios, avoid duplicate development of functions, and greatly save resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109657395B_ABST
    Figure CN109657395B_ABST
Patent Text Reader

Abstract

The present invention provides a power grid simulation custom configuration method, terminal, server and system. First, the server storage module is queried whether there is a task group corresponding to the user simulation request; if so, the first mapping table and the first event space record table are sent to the server, so that the server drives the task group in the server storage module to perform simulation calculations; if not, the first mapping table, the first event space record table and the task group corresponding to the user simulation request are sent to the server storage module, so that the server drives the task group stored in the server storage module to perform the simulation calculations requested by the user. The present invention greatly improves the adaptability of the simulation application system to the needs of multiple simulation services, can quickly adapt to and realize the computing needs of diversified power grid simulation scenarios, avoids repeated development of functions, and greatly saves resources.
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 power grid simulation custom configuration method, terminal, server and system. Background Art

[0002] At present, the power system has undergone profound changes in the source, network, and load ends, which are specifically manifested in the large-scale access of new energy, the commissioning of ultra-high voltage AC and DC transmission, the rapid development of power electronic devices, the access of electric vehicles, and the application of energy storage devices. The increase in the number of factors affecting the power grid has led to the rapid change of the parameters describing the power grid simulation, which in turn has led to more diversified and complex computing scenarios. As the most important supporting technology for the power system, power grid simulation must adapt to the new form requirements and quickly respond to the diversified power grid analysis technology support requirements.

[0003] In the development of core simulation computing modules of power system simulation, modules such as power flow calculation, electromechanical transient stability calculation, voltage stability calculation, and small disturbance stability calculation, represented by BPA and PSASP, have been continuously improved and expanded as the scale of the power grid continues to increase and the types of equipment modeling continue to increase, making great progress in many aspects such as power grid processing scale, complexity, platform adaptability, computing efficiency, and application forms.

[0004] However, with the increase of factors affecting the power grid, the demand for simulation scenarios continues to diversify, and the coverage of simulation applications has been greatly expanded. There is an urgent need to use computer means to quickly complete repetitive and routine tasks in multiple scenarios in terms of automatic splicing of simulation data, automatic analysis of simulation, automatic judgment of simulation, and automatic decision-making of simulation. However, due to multiple constraints such as application purpose, technical design level, application level of related technologies, economic interests, software life cycle control, and mastery of core technologies, functional migration is difficult, and the research and development of power grid simulation applications relative to demand presents many problems such as slow response and difficulty in reusing mature functions. Although there are a large number of basic power grid simulation systems in the existing technology, many basic power grid simulation systems are difficult to flexibly respond to the changing needs of users, and there are shortcomings such as repeated development of functions and a large waste of resources. Summary of the invention

[0005] In order to overcome the shortcomings of the above-mentioned prior art that it is difficult to flexibly respond to the changing needs of users, repeated development of functions, and a large amount of waste of resources, the present invention provides a power grid simulation custom configuration method, terminal, server and system, the system includes a terminal and a server, in the custom configuration method, first query the server storage module whether there is a task group corresponding to the user simulation request; if it exists, send the first mapping table and the first event space record table to the server, so that the server drives the task group in the server storage module to perform simulation calculations; if it does not exist, send the first mapping table, the first event space record table and the task group corresponding to the user simulation request to the server storage module, so that the server drives the task group stored in the server storage module to perform the simulation calculation of the user simulation request. The present invention greatly improves the adaptability of the simulation application system to the needs of multiple simulation business, can quickly adapt to and realize the computing needs of diversified power grid simulation scenarios, avoids repeated development of functions, and greatly saves resources.

[0006] In order to achieve the above-mentioned object of the invention, the present invention adopts the following technical scheme:

[0007] The present invention provides a power grid simulation method based on multi-type event mapping drive, comprising:

[0008] Querying the server storage module whether there is a task group corresponding to the user simulation request;

[0009] If it exists, the first event space containing multiple types of events, the first mapping table generated based on the mapping relationship between the task group and the multiple types of events, and the first event space record table are sent to the server, so that the server drives the task group in the server storage module to perform simulation calculations according to the first event space, the first mapping table, and the first event space record table;

[0010] If it does not exist, the first event space containing multiple types of events, the first mapping table generated based on the mapping relationship between the task group and the multiple types of events, the first event space record table, and the task group corresponding to the user simulation request are sent to the server storage module, so that the server drives the task group stored in the server storage module to perform the simulation calculation of the user simulation request according to the first event space, the first mapping table, and the first event space record table;

[0011] The task group is encapsulated according to the power grid simulation business logic, the first mapping table is generated by the terminal according to the mapping relationship between the task group and multiple types of events; the first event space is generated according to multiple types of events corresponding to the task group.

[0012] The task group is encapsulated according to the power grid simulation business logic, including:

[0013] Determine the power grid simulation business logic according to the user simulation request;

[0014] Encapsulate the power grid simulation business logic into task groups.

[0015] Determining the power grid simulation service logic according to the user simulation request includes:

[0016] Obtain relevant parameters of the simulated object according to the user simulation request;

[0017] Calling a simulation method corresponding to a user simulation request;

[0018] Setting up logical control of each step, simulation model and / or constraint condition in the simulation method;

[0019] The power grid simulation business logic is determined based on the parameters, simulation method and logic control.

[0020] The relevant parameters of the simulated object include at least one or more of the following parameters:

[0021] Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters;

[0022] The simulation method includes at least one or more of the following algorithms:

[0023] Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation;

[0024] The logic control includes at least one or more of the following controls:

[0025] Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method;

[0026] Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method;

[0027] Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method;

[0028] Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method;

[0029] Data transmission logic control for setting input and output file transmission conditions for each step, simulation model and / or constraint condition in the simulation method;

[0030] The multi-type events in the first event space include at least one or more of the following events:

[0031] Task group new events, task group update events, task group query events, and task group application events.

[0032] On the other hand, the present invention also provides a terminal, comprising:

[0033] A query module, used for querying the server storage module whether there is a task group corresponding to the user simulation request;

[0034] A first execution module, configured to send a first event space including multiple types of events, a first mapping table generated based on a mapping relationship between the task group and the multiple types of events, and a first event space record table to the server when a task group corresponding to the user simulation request exists in the server storage module;

[0035] A second execution module is used to send a first event space containing multiple types of events, a first mapping table generated based on a mapping relationship between the task group and the multiple types of events, a first event space record table, and a task group corresponding to the user simulation request to the server storage module when the server storage module does not have a task group corresponding to the user simulation request;

[0036] Among them, the task group is encapsulated according to the power grid simulation business logic, the first mapping table is generated by the terminal according to the mapping relationship between the task group and multiple types of events; the first event space is generated according to multiple types of events corresponding to the task group.

[0037] The terminal further includes a construction module for packaging into task groups according to the power grid simulation business logic; the construction module includes:

[0038] A logic determination unit, used to determine the power grid simulation service logic according to the user simulation request;

[0039] Encapsulation unit: encapsulates the power grid simulation business logic into task groups;

[0040] The terminal further comprises a terminal storage module for storing the first event space, the first mapping table, the first event space record table and the task group.

[0041] The logic determination unit is specifically used for:

[0042] Obtain relevant parameters of the simulated object according to the user simulation request;

[0043] Calling a simulation method corresponding to a user simulation request;

[0044] Setting up logical control of each step, simulation model and / or constraint condition in the simulation method;

[0045] The power grid simulation business logic is determined based on the parameters, simulation method and logic control.

[0046] The building blocks also include:

[0047] A conversion interface unit, used to process the format conversion of input and output files of each step, simulation model and / or constraint condition in the simulation method; and / or

[0048] A network authorization unit, used to perform network authorization on a hardware device that executes the simulation method; and / or

[0049] The role configuration unit is used to specify the role of the hardware device for executing the simulation method, wherein the role includes a client node, a management node, a computing node and / or a data storage node.

[0050] On the other hand, the present invention also provides a power grid simulation method based on multi-type event mapping drive, comprising:

[0051] Receiving a user simulation request and data sent by a terminal; the data includes a first event space, a first mapping table, and a first event space record table corresponding to the user simulation request, or the data includes a first event space, a first mapping table, a first event space record table, and a task group corresponding to the user simulation request;

[0052] Update the second event space, the second mapping table, and the second event space record table pre-stored in the server storage module according to the data sent by the terminal, or update the second event space, the second mapping table, the second event space record table, and the task group pre-stored in the server storage module according to the data sent by the terminal;

[0053] According to the second event space record table, query the event corresponding to the user simulation request in the second mapping table, and drive the task group corresponding to the event to perform the simulation calculation of the user simulation request;

[0054] The first event space includes events stored in the terminal, the second event space includes events stored in the server, the first mapping table includes a mapping relationship between events in the first event space and corresponding task groups, the second mapping table includes a mapping relationship between events in the second event space and corresponding task groups, and the task groups are encapsulated according to power grid simulation business logic;

[0055] The first event space and the second event space include at least one or more of the following events:

[0056] Task group new events, task group update events, task group query events, and task group application events.

[0057] If the event in the first event space is a newly added event of the task group, the data received by the server includes the first event space corresponding to the simulation request, the first mapping table, the event space update table and the newly added task group;

[0058] The server updates the second event space, the second mapping table, the event space record table and the task group storage unit pre-constructed by the server according to the data sent by the user terminal, including:

[0059] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0060] Store the records in the event space update table into the event space record table pre-built by the server;

[0061] Storing the newly added task group in a task group storage unit pre-built by the server;

[0062] If the event in the first event space is any one or more events other than the event newly added by the task group, the data received by the server includes the first event space, the first mapping table and the event space update table corresponding to the simulation request;

[0063] The server updates the second event space, the second mapping table and the event space record table pre-constructed by the server according to the data sent by the user terminal, including:

[0064] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0065] The records in the event space update table are stored in the event space record table pre-built by the server.

[0066] The server searches the second mapping table for an event corresponding to the current simulation request according to the event space record table, and drives the task group corresponding to the event to perform simulation calculation, including:

[0067] The server queries the second mapping table for the event corresponding to the current simulation request and its corresponding task group according to the event space record table;

[0068] inputting the acquired operation data of the simulated object into the task group;

[0069] The power grid simulation business logic in the driving task group performs simulation calculations according to preset logical control conditions and outputs simulation calculation results.

[0070] The power grid simulation business logic includes:

[0071] Obtain relevant parameters of the simulated object according to the user simulation request;

[0072] Calling a simulation method corresponding to a user simulation request; and

[0073] Logical control of the steps, simulation models and / or constraint settings in a simulation method.

[0074] The relevant parameters of the simulated object include at least one or more of the following parameters:

[0075] Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters;

[0076] The simulation method includes at least one or more of the following algorithms:

[0077] Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation;

[0078] The logic control includes at least one or more of the following controls:

[0079] Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method;

[0080] Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method;

[0081] Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method;

[0082] Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method;

[0083] Data transfer logic control for setting input and output file transfer conditions for each step, simulation model and / or constraint condition in the simulation method.

[0084] On the other hand, the present invention also provides a server, comprising:

[0085] A receiving module, used for receiving a user simulation request and data sent by a terminal; the data includes a first event space, a first mapping table and a first event space record table corresponding to the user simulation request, or the data includes a first event space, a first mapping table, a first event space record table and a task group corresponding to the user simulation request;

[0086] The server storage module is used to store the second event space, the second mapping table, the second event space record table, the task group pre-stored in the storage unit, and the data sent by the terminal;

[0087] An updating module, used for updating the second event space, the second mapping table, and the second event space record table pre-stored in the server storage module according to the data sent by the terminal, or updating the second event space, the second mapping table, the second event space record table, and the task group pre-stored in the server storage module according to the data sent by the terminal;

[0088] A third execution module is used to query the event corresponding to the user simulation request in the second mapping table according to the second event space record table, and drive the task group corresponding to the event to execute the simulation calculation of the user simulation request;

[0089] The first event space includes events stored in the user end, the second event space includes events stored in the server, the first mapping table includes a mapping relationship between events in the first event space and corresponding task groups, the second mapping table includes a mapping relationship between events in the second event space and corresponding task groups, and the task groups are encapsulated according to power grid simulation business logic;

[0090] The first event space and the second event space include at least one or more of the following events:

[0091] Task group new events, task group update events, task group query events, and task group application events.

[0092] If the event in the first event space is a newly added event of the task group, the data received by the server includes the first event space corresponding to the simulation request, the first mapping table, the event space update table and the newly added task group;

[0093] The update module is specifically used for:

[0094] The server updates the second event space, the second mapping table, the event space record table and the task group storage unit pre-constructed by the server according to the data sent by the user terminal, including:

[0095] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0096] Store the records in the event space update table into the event space record table pre-built by the server;

[0097] Storing the newly added task group in a task group storage unit pre-built by the server;

[0098] If the event in the first event space is any one or more events other than the event newly added by the task group, the data received by the server includes the first event space, the first mapping table and the event space update table corresponding to the simulation request;

[0099] The update module is specifically used for:

[0100] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0101] The records in the event space update table are stored in the event space record table pre-built by the server.

[0102] The third execution module is specifically used for:

[0103] The server queries the second mapping table for the event corresponding to the current simulation request and its corresponding task group according to the event space record table;

[0104] inputting the acquired operation data of the simulated object into the task group;

[0105] The power grid simulation business logic in the driving task group performs simulation calculations according to preset logical control conditions and outputs simulation calculation results.

[0106] The power grid simulation business logic includes:

[0107] Obtain relevant parameters of the simulated object according to the user simulation request;

[0108] Calling a simulation method corresponding to a user simulation request; and

[0109] Logical control of the steps, simulation models and / or constraint settings in a simulation method.

[0110] The relevant parameters of the simulated object include at least one or more of the following parameters:

[0111] Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters;

[0112] The simulation method includes at least one or more of the following algorithms:

[0113] Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation;

[0114] The logic control includes at least one or more of the following controls:

[0115] Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method;

[0116] Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method;

[0117] Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method;

[0118] Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method;

[0119] Data transfer logic control for setting input and output file transfer conditions for each step, simulation model and / or constraint condition in the simulation method.

[0120] On the other hand, the present invention also provides a power grid simulation system driven based on multi-type event mapping, including a terminal and a server.

[0121] Compared with the closest prior art, the technical solution provided by the present invention has the following beneficial effects:

[0122] In the power grid simulation method based on multi-type event mapping drive provided by the present invention, the server storage module is first queried whether there is a task group corresponding to the user simulation request; if so, the first mapping table and the first event space record table are sent to the server, so that the server drives the task group in the server storage module to perform simulation calculations; if not, the first mapping table, the first event space record table and the task group corresponding to the user simulation request are sent to the server storage module, so that the server drives the task group stored in the server storage module to perform the simulation calculations requested by the user. The present invention greatly improves the adaptability of the simulation application system to the needs of multiple simulation business, can quickly adapt to and realize the computing needs of diversified power grid simulation scenarios, avoids repeated development of functions, and greatly saves resources. The present invention greatly improves the adaptability of the simulation application system to the needs of multiple simulation business, can quickly adapt to and realize the computing needs of diversified power grid simulation scenarios, avoids repeated development of functions, and greatly saves resources.

[0123] The present invention is driven by multi-type event mapping, and can quickly configure and design, and develop a power grid simulation system that meets the requirements of multi-scenario analysis, greatly improving the integration efficiency of simulation software;

[0124] The present invention can realize the joint application of more power grid analysis functions through the customized configuration of power grid simulation, greatly improve the automation level of power grid simulation integrated application, and improve the development efficiency and execution efficiency of power grid simulation application. BRIEF DESCRIPTION OF THE DRAWINGS

[0125] Figure 1 It is a structural diagram of a power grid simulation custom configuration system driven by multi-type event mapping in an embodiment of the present invention. DETAILED DESCRIPTION

[0126] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0127] Example 1

[0128] Embodiment 1 of the present invention provides a power grid simulation method based on multi-type event mapping drive, which specifically includes:

[0129] Querying the server storage module whether there is a task group corresponding to the user simulation request;

[0130] If it exists, the first event space containing multiple types of events, the first mapping table generated based on the mapping relationship between the task group and the multiple types of events, and the first event space record table are sent to the server, so that the server drives the task group in the server storage module to perform simulation calculations according to the first event space, the first mapping table, and the first event space record table;

[0131] If it does not exist, the first event space containing multiple types of events, the first mapping table generated based on the mapping relationship between the task group and the multiple types of events, the first event space record table, and the task group corresponding to the user simulation request are sent to the server storage module, so that the server drives the task group stored in the server storage module to perform the simulation calculation of the user simulation request according to the first event space, the first mapping table, and the first event space record table;

[0132] The task group is encapsulated according to the power grid simulation business logic. The first mapping table is generated by the terminal according to the mapping relationship between the task group and multiple types of events; the first event space is generated according to multiple types of events corresponding to the task group.

[0133] The task group is encapsulated according to the power grid simulation business logic, including:

[0134] Determine the power grid simulation business logic according to the user simulation request;

[0135] Encapsulate the power grid simulation business logic into task groups.

[0136] Determine the power grid simulation business logic based on the user simulation request, including:

[0137] Obtain relevant parameters of the simulated object according to the user simulation request;

[0138] Calling a simulation method corresponding to a user simulation request;

[0139] Setting up logical control of each step, simulation model and / or constraint condition in the simulation method;

[0140] Determine the power grid simulation business logic based on parameters, simulation methods and logical control.

[0141] The relevant parameters of the simulated object include at least one or more of the following parameters:

[0142] Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters;

[0143] The simulation method includes at least one or more of the following algorithms:

[0144] Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation;

[0145] Logical control includes at least one or more of the following controls:

[0146] Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method;

[0147] Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method;

[0148] Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method;

[0149] Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method;

[0150] Data transmission logic control for setting input and output file transmission conditions for each step, simulation model and / or constraint condition in the simulation method;

[0151] The multi-type events in the first event space include at least one or more of the following events:

[0152] Task group new events, task group update events, task group query events, and task group application events.

[0153] Example 2

[0154] The present invention provides a terminal similar to that of Embodiment 1, the terminal comprising:

[0155] A query module, used for querying the server storage module whether there is a task group corresponding to the user simulation request;

[0156] A first execution module, configured to send a first event space including multiple types of events, a first mapping table generated based on a mapping relationship between the task group and the multiple types of events, and a first event space record table to the server when a task group corresponding to the user simulation request exists in the server storage module;

[0157] A second execution module is used to send a first event space containing multiple types of events, a first mapping table generated based on a mapping relationship between the task group and the multiple types of events, a first event space record table, and a task group corresponding to the user simulation request to the server storage module when the server storage module does not have a task group corresponding to the user simulation request;

[0158] Among them, the task group is encapsulated according to the power grid simulation business logic, the first mapping table is generated by the terminal according to the mapping relationship between the task group and multiple types of events; the first event space is generated according to multiple types of events corresponding to the task group.

[0159] The terminal provided in Embodiment 2 of the present invention further includes a construction module, which is used to encapsulate into a task group according to the power grid simulation business logic; the construction module includes:

[0160] A logic determination unit, used to determine the power grid simulation service logic according to the user simulation request;

[0161] Encapsulation unit: encapsulates the power grid simulation business logic into task groups;

[0162] The terminal provided in Embodiment 2 of the present invention further includes a terminal storage module, which is used to store the first event space, the first mapping table, the first event space record table and the task group.

[0163] The logic determination unit is specifically used for:

[0164] Obtain relevant parameters of the simulated object according to the user simulation request;

[0165] Calling a simulation method corresponding to a user simulation request;

[0166] Setting up logical control of each step, simulation model and / or constraint condition in the simulation method;

[0167] Determine the power grid simulation business logic based on parameters, simulation methods and logical control.

[0168] The building blocks also include:

[0169] A conversion interface unit, used to process the format conversion of input and output files of each step, simulation model and / or constraint condition in the simulation method; and / or

[0170] A network authorization unit, used to perform network authorization on a hardware device that executes the simulation method; and / or

[0171] The role configuration unit is used to specify the role of the hardware device that executes the simulation method, and the role includes a client node, a management node, a computing node and / or a data storage node.

[0172] Example 3

[0173] Embodiment 3 of the present invention provides a power grid simulation method based on multi-type event mapping drive, including:

[0174] A user simulation request and data sent by a receiving terminal; the data includes a first event space, a first mapping table and a first event space record table corresponding to the user simulation request, or the data includes a first event space, a first mapping table, a first event space record table and a task group corresponding to the user simulation request;

[0175] Update the second event space, the second mapping table, and the second event space record table pre-stored in the server storage module according to the data sent by the terminal, or update the second event space, the second mapping table, the second event space record table, and the task group pre-stored in the server storage module according to the data sent by the terminal;

[0176] According to the second event space record table, query the event corresponding to the user simulation request in the second mapping table, and drive the task group corresponding to the event to perform the simulation calculation of the user simulation request;

[0177] The first event space includes events stored in the terminal, the second event space includes events stored in the server, the first mapping table includes mapping relationships between events in the first event space and corresponding task groups, the second mapping table includes mapping relationships between events in the second event space and corresponding task groups, and the task groups are encapsulated according to power grid simulation business logic;

[0178] The first event space and the second event space include at least one or more of the following events:

[0179] Task group new events, task group update events, task group query events, and task group application events.

[0180] If the event in the first event space is a newly added event for the task group, the data received by the server includes the first event space corresponding to the simulation request, the first mapping table, the event space update table, and the newly added task group;

[0181] The server updates the second event space, the second mapping table, the event space record table and the task group storage unit pre-constructed by the server according to the data sent by the user terminal, including:

[0182] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0183] Store the records in the event space update table into the event space record table pre-built by the server;

[0184] Storing the newly added task group in a task group storage unit pre-built by the server;

[0185] If the event in the first event space is any one or more events other than the event newly added by the task group, the data received by the server includes the first event space, the first mapping table, and the event space update table corresponding to the simulation request;

[0186] The server updates the second event space, the second mapping table and the event space record table pre-constructed by the server according to the data sent by the user terminal, including:

[0187] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0188] The records in the event space update table are stored in the event space record table pre-built by the server.

[0189] The server searches the second mapping table for an event corresponding to the current simulation request according to the event space record table, and drives the task group corresponding to the event to perform simulation calculation, including:

[0190] The server queries the second mapping table for the event corresponding to the current simulation request and its corresponding task group according to the event space record table;

[0191] inputting the acquired operation data of the simulated object into the task group;

[0192] The power grid simulation business logic in the driving task group performs simulation calculations according to preset logical control conditions and outputs simulation calculation results.

[0193] The power grid simulation business logic includes:

[0194] Obtain relevant parameters of the simulated object according to the user simulation request;

[0195] Calling a simulation method corresponding to a user simulation request; and

[0196] Logical control of the steps, simulation models and / or constraint settings in a simulation method.

[0197] The relevant parameters of the simulated object include at least one or more of the following parameters:

[0198] Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters;

[0199] The simulation method includes at least one or more of the following algorithms:

[0200] Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation;

[0201] Logical control includes at least one or more of the following controls:

[0202] Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method;

[0203] Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method;

[0204] Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method;

[0205] Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method;

[0206] Data transfer logic control for setting input and output file transfer conditions for each step, simulation model and / or constraint condition in the simulation method.

[0207] Example 4

[0208] Embodiment 4 of the present invention provides a server similar to Embodiment 3, including:

[0209] A receiving module, used for receiving a user simulation request and data sent by a terminal; the data includes a first event space, a first mapping table and a first event space record table corresponding to the user simulation request, or the data includes a first event space, a first mapping table, a first event space record table and a task group corresponding to the user simulation request;

[0210] The server storage module is used to store the second event space, the second mapping table, the second event space record table, the task group pre-stored in the storage unit, and the data sent by the terminal;

[0211] An updating module, used for updating the second event space, the second mapping table, and the second event space record table pre-stored in the server storage module according to the data sent by the terminal, or updating the second event space, the second mapping table, the second event space record table, and the task group pre-stored in the server storage module according to the data sent by the terminal;

[0212] A third execution module is used to query the event corresponding to the user simulation request in the second mapping table according to the second event space record table, and drive the task group corresponding to the event to execute the simulation calculation of the user simulation request;

[0213] The first event space includes events stored at the user end, the second event space includes events stored at the server, the first mapping table includes mapping relationships between events in the first event space and corresponding task groups, the second mapping table includes mapping relationships between events in the second event space and corresponding task groups, and the task groups are encapsulated according to power grid simulation business logic;

[0214] The first event space and the second event space include at least one or more of the following events:

[0215] Task group new events, task group update events, task group query events, and task group application events.

[0216] If the event in the first event space is a newly added event for the task group, the data received by the server includes the first event space corresponding to the simulation request, the first mapping table, the event space update table, and the newly added task group;

[0217] The update module is specifically used to:

[0218] The server updates the second event space, the second mapping table, the event space record table and the task group storage unit pre-constructed by the server according to the data sent by the user terminal, including:

[0219] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0220] Store the records in the event space update table into the event space record table pre-built by the server;

[0221] Storing the newly added task group in a task group storage unit pre-built by the server;

[0222] If the event in the first event space is any one or more events other than the event newly added by the task group, the data received by the server includes the first event space, the first mapping table, and the event space update table corresponding to the simulation request;

[0223] The update module is specifically used to:

[0224] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0225] The records in the event space update table are stored in the event space record table pre-built by the server.

[0226] The third execution module is specifically used for:

[0227] The server queries the second mapping table for the event corresponding to the current simulation request and its corresponding task group according to the event space record table;

[0228] inputting the acquired operation data of the simulated object into the task group;

[0229] The power grid simulation business logic in the driving task group performs simulation calculations according to preset logical control conditions and outputs simulation calculation results.

[0230] The power grid simulation business logic includes:

[0231] Obtain relevant parameters of the simulated object according to the user simulation request;

[0232] Calling a simulation method corresponding to a user simulation request; and

[0233] Logical control of the steps, simulation models and / or constraint settings in a simulation method.

[0234] The relevant parameters of the simulated object include at least one or more of the following parameters:

[0235] Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters;

[0236] The simulation method includes at least one or more of the following algorithms:

[0237] Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation;

[0238] Logical control includes at least one or more of the following controls:

[0239] Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method;

[0240] Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method;

[0241] Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method;

[0242] Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method;

[0243] Data transfer logic control for setting input and output file transfer conditions for each step, simulation model and / or constraint condition in the simulation method.

[0244] Example 5

[0245] Embodiment 5 of the present invention provides a power grid simulation system based on multi-type event mapping drive, and its structure diagram is as follows: Figure 1 As shown, it includes the terminal provided in the above embodiment 2 and the server provided in the above embodiment 4, which are specifically described below:

[0246] (1) Terminals, which specifically include:

[0247] A query module, used for querying the server storage module whether there is a task group corresponding to the user simulation request;

[0248] A first execution module, configured to send a first event space including multiple types of events, a first mapping table generated based on a mapping relationship between the task group and the multiple types of events, and a first event space record table to the server when a task group corresponding to the user simulation request exists in the server storage module;

[0249] A second execution module is used to send a first event space containing multiple types of events, a first mapping table generated based on a mapping relationship between the task group and the multiple types of events, a first event space record table, and a task group corresponding to the user simulation request to the server storage module when the server storage module does not have a task group corresponding to the user simulation request;

[0250] Among them, the task group is encapsulated according to the power grid simulation business logic, the first mapping table is generated by the terminal according to the mapping relationship between the task group and multiple types of events; the first event space is generated according to multiple types of events corresponding to the task group.

[0251] The terminal also includes a building module for packaging into task groups according to the power grid simulation business logic; the building module includes:

[0252] A logic determination unit, used to determine the power grid simulation service logic according to the user simulation request;

[0253] Encapsulation unit: encapsulates the power grid simulation business logic into task groups;

[0254] The terminal also includes a terminal storage module for storing the first event space, the first mapping table, the first event space record table and the task group.

[0255] The logic determination unit is specifically used for:

[0256] Obtain relevant parameters of the simulated object according to the user simulation request;

[0257] Calling a simulation method corresponding to a user simulation request;

[0258] Setting up logical control of each step, simulation model and / or constraint condition in the simulation method;

[0259] Determine the power grid simulation business logic based on parameters, simulation methods and logical control.

[0260] The building blocks also include:

[0261] A conversion interface unit, used to process the format conversion of input and output files of each step, simulation model and / or constraint condition in the simulation method; and / or

[0262] A network authorization unit, used to perform network authorization on a hardware device that executes the simulation method; and / or

[0263] A role configuration unit, used to specify the role of the hardware device executing the simulation method, the role includes a client node Client, a management node Server, a computing node Worker and / or a data storage node Storage;

[0264] (2) Servers, which specifically include:

[0265] A receiving module, used for receiving a user simulation request and data sent by a terminal; the data includes a first event space, a first mapping table and a first event space record table corresponding to the user simulation request, or the data includes a first event space, a first mapping table, a first event space record table and a task group corresponding to the user simulation request;

[0266] The server storage module is used to store the second event space, the second mapping table, the second event space record table, the task group pre-stored in the storage unit, and the data sent by the terminal;

[0267] An updating module, used for updating the second event space, the second mapping table, and the second event space record table pre-stored in the server storage module according to the data sent by the terminal, or updating the second event space, the second mapping table, the second event space record table, and the task group pre-stored in the server storage module according to the data sent by the terminal;

[0268] A third execution module is used to query the event corresponding to the user simulation request in the second mapping table according to the second event space record table, and drive the task group corresponding to the event to execute the simulation calculation of the user simulation request;

[0269] The first event space includes events stored at the user end, the second event space includes events stored at the server, the first mapping table includes mapping relationships between events in the first event space and corresponding task groups, the second mapping table includes mapping relationships between events in the second event space and corresponding task groups, and the task groups are encapsulated according to power grid simulation business logic;

[0270] The first event space and the second event space include at least one or more of the following events:

[0271] Task group new events, task group update events, task group query events, and task group application events.

[0272] If the event in the first event space is a newly added event for the task group, the data received by the server includes the first event space corresponding to the simulation request, the first mapping table, the event space update table, and the newly added task group;

[0273] The update module is specifically used to:

[0274] The server updates the second event space, the second mapping table, the event space record table and the task group storage unit pre-constructed by the server according to the data sent by the user terminal, including:

[0275] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0276] Store the records in the event space update table into the event space record table pre-built by the server;

[0277] Storing the newly added task group in a task group storage unit pre-built by the server;

[0278] If the event in the first event space is any one or more events other than the event newly added by the task group, the data received by the server includes the first event space, the first mapping table, and the event space update table corresponding to the simulation request;

[0279] The update module is specifically used to:

[0280] The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server;

[0281] The records in the event space update table are stored in the event space record table pre-built by the server.

[0282] The third execution module is specifically used for:

[0283] The server queries the second mapping table for the event corresponding to the current simulation request and its corresponding task group according to the event space record table;

[0284] inputting the acquired operation data of the simulated object into the task group;

[0285] The power grid simulation business logic in the driving task group performs simulation calculations according to preset logical control conditions and outputs simulation calculation results.

[0286] The power grid simulation business logic includes:

[0287] Obtain relevant parameters of the simulated object according to the user simulation request;

[0288] Calling a simulation method corresponding to a user simulation request; and

[0289] Logical control of the steps, simulation models and / or constraint settings in a simulation method.

[0290] The relevant parameters of the simulated object include at least one or more of the following parameters:

[0291] Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters;

[0292] The simulation method includes at least one or more of the following algorithms:

[0293] Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation;

[0294] Logical control includes at least one or more of the following controls:

[0295] Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method;

[0296] Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method;

[0297] Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method;

[0298] Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method;

[0299] Data transfer logic control for setting input and output file transfer conditions for each step, simulation model and / or constraint condition in the simulation method.

[0300] The above task group definition format is as follows:

[0301] taskGroupName(taskGroupParameter)

[0302] {

[0303] task = taskGroupName_01, function = [inputData][logicalExpression_01][outputData] / / Power grid simulation business logic 1

[0304] task = taskGroupName_02, function = [inputData][logicalExpression_02][outputData] / / Power grid simulation business logic 2

[0305] …

[0306] }

[0307] The formats of the first mapping table and the second mapping table are as follows:

[0308] {

[0309] <eventtable>

[0310] [taskID][taskGroupName][taskGroupParameter]=[eventType][eventNumber];

[0311] …

[0312] <\eventTable>

[0313] }

[0314] For the convenience of description, the various parts of the above-mentioned device are divided into various modules or units according to their functions and described separately. Of course, when implementing the present application, the functions of each module or unit can be implemented in the same or multiple software or hardware.

[0315] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0316] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0317] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0318] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0319] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Ordinary technicians in the relevant field can still modify or make equivalent substitutions to the specific implementation methods of the present invention with reference to the above embodiments. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention are within the scope of protection of the claims of the present invention to be approved.< / eventtable>

Claims

1. A power grid simulation method based on multi-type event mapping drive, characterized in that: include: Querying the server storage module whether there is a task group corresponding to the user simulation request; If it exists, the first event space containing multiple types of events, the first mapping table generated based on the mapping relationship between the task group and the multiple types of events, and the first event space record table are sent to the server, so that the server drives the task group in the server storage module to perform simulation calculations according to the first event space, the first mapping table, and the first event space record table; If it does not exist, the first event space containing multiple types of events, the first mapping table generated based on the mapping relationship between the task group and the multiple types of events, the first event space record table, and the task group corresponding to the user simulation request are sent to the server storage module, so that the server drives the task group stored in the server storage module to perform the simulation calculation of the user simulation request according to the first event space, the first mapping table, and the first event space record table; The task group is encapsulated according to the power grid simulation business logic, the first mapping table is generated by the terminal according to the mapping relationship between the task group and multiple types of events; the first event space is generated according to multiple types of events corresponding to the task group.

2. The method according to claim 1, characterized in that The task group is encapsulated according to the power grid simulation business logic, including: Determine the power grid simulation business logic according to the user simulation request; Encapsulate the power grid simulation business logic into task groups.

3. The method according to claim 2, characterized in that Determining the power grid simulation service logic according to the user simulation request includes: Obtain relevant parameters of the simulated object according to the user simulation request; Calling a simulation method corresponding to a user simulation request; Setting up logical control of each step, simulation model and / or constraint condition in the simulation method; The power grid simulation business logic is determined based on the parameters, simulation method and logic control.

4. The method according to claim 3, characterized in that The relevant parameters of the simulated object include at least one or more of the following parameters: Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters; The simulation method includes at least one or more of the following algorithms: Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation; The logic control includes at least one or more of the following controls: Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method; Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method; Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method; Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method; Data transmission logic control for setting input and output file transmission conditions for each step, simulation model and / or constraint condition in the simulation method; The multi-type events in the first event space include at least one or more of the following events: Task group new events, task group update events, task group query events, and task group application events.

5. A terminal, characterized in that: include: A query module, used for querying the server storage module whether there is a task group corresponding to the user simulation request; A first execution module, configured to send a first event space including multiple types of events, a first mapping table generated based on a mapping relationship between the task group and the multiple types of events, and a first event space record table to the server when a task group corresponding to the user simulation request exists in the server storage module; A second execution module is used to send a first event space containing multiple types of events, a first mapping table generated based on a mapping relationship between the task group and the multiple types of events, a first event space record table, and a task group corresponding to the user simulation request to the server storage module when the server storage module does not have a task group corresponding to the user simulation request; Among them, the task group is encapsulated according to the power grid simulation business logic, the first mapping table is generated by the terminal according to the mapping relationship between the task group and multiple types of events; the first event space is generated according to multiple types of events corresponding to the task group.

6. The terminal according to claim 5, characterized in that The terminal further includes a construction module for packaging into task groups according to the power grid simulation business logic; the construction module includes: A logic determination unit, used to determine the power grid simulation service logic according to the user simulation request; Encapsulation unit: encapsulates the power grid simulation business logic into task groups; The terminal further comprises a terminal storage module for storing the first event space, the first mapping table, the first event space record table and the task group.

7. The terminal according to claim 6, characterized in that The logic determination unit is specifically used for: Obtain relevant parameters of the simulated object according to the user simulation request; Calling a simulation method corresponding to a user simulation request; Setting up logical control of each step, simulation model and / or constraint condition in the simulation method; The power grid simulation business logic is determined based on the parameters, simulation method and logic control.

8. The terminal according to claim 6, characterized in that The building blocks also include: A conversion interface unit, used to process the format conversion of input and output files of each step, simulation model and / or constraint condition in the simulation method; and / or A network authorization unit, used to perform network authorization on a hardware device that executes the simulation method; and / or The role configuration unit is used to specify the role of the hardware device for executing the simulation method, wherein the role includes a client node, a management node, a computing node and / or a data storage node.

9. A power grid simulation method based on multi-type event mapping drive, characterized in that: include: Receiving a user simulation request and data sent by a terminal; the data includes a first event space, a first mapping table, and a first event space record table corresponding to the user simulation request, or the data includes a first event space, a first mapping table, a first event space record table, and a task group corresponding to the user simulation request; Update the second event space, the second mapping table, and the second event space record table pre-stored in the server storage module according to the data sent by the terminal, or update the second event space, the second mapping table, the second event space record table and the task group pre-stored in the server storage module according to the data sent by the terminal; According to the second event space record table, query the event corresponding to the user simulation request in the second mapping table, and drive the task group corresponding to the event to perform the simulation calculation of the user simulation request; The first event space includes events stored in the terminal, the second event space includes events stored in the server, the first mapping table includes a mapping relationship between events in the first event space and corresponding task groups, the second mapping table includes a mapping relationship between events in the second event space and corresponding task groups, and the task groups are encapsulated according to power grid simulation business logic; The first event space and the second event space include at least one or more of the following events: Task group new events, task group update events, task group query events, and task group application events.

10. The method according to claim 9, characterized in that If the event in the first event space is a newly added event of the task group, the data received by the server includes the first event space corresponding to the simulation request, the first mapping table, the event space update table and the newly added task group; The server updates the second event space, the second mapping table, the event space record table and the task group storage unit pre-constructed by the server according to the data sent by the user terminal, including: The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server; Store the records in the event space update table into the event space record table pre-built by the server; Storing the newly added task group in a task group storage unit pre-built by the server; If the event in the first event space is any one or more events other than the event newly added by the task group, the data received by the server includes the first event space, the first mapping table and the event space update table corresponding to the simulation request; The server updates the second event space, the second mapping table and the event space record table pre-constructed by the server according to the data sent by the user terminal, including: The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server; The records in the event space update table are stored in the event space record table pre-built by the server.

11. The method according to claim 9, characterized in that The server searches the second mapping table for an event corresponding to the current simulation request according to the event space record table, and drives the task group corresponding to the event to perform simulation calculation, including: The server queries the second mapping table for the event corresponding to the current simulation request and its corresponding task group according to the event space record table; inputting the acquired operation data of the simulated object into the task group; The power grid simulation business logic in the driving task group performs simulation calculations according to preset logical control conditions and outputs simulation calculation results.

12. The method according to claim 11, characterized in that The power grid simulation business logic includes: Obtain relevant parameters of the simulated object according to the user simulation request; Calling a simulation method corresponding to a user simulation request; and Logical control of the steps, simulation models and / or constraint settings in a simulation method.

13. The method according to claim 12, characterized in that The relevant parameters of the simulated object include at least one or more of the following parameters: Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters; The simulation method includes at least one or more of the following algorithms: Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation; The logic control includes at least one or more of the following controls: Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method; Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method; Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method; Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method; Data transfer logic control for setting input and output file transfer conditions for each step, simulation model and / or constraint condition in the simulation method.

14. A server, characterized in that: include: A receiving module, used for receiving a user simulation request and data sent by a terminal; the data includes a first event space, a first mapping table and a first event space record table corresponding to the user simulation request, or the data includes a first event space, a first mapping table, a first event space record table and a task group corresponding to the user simulation request; The server storage module is used to store the second event space, the second mapping table, the second event space record table, the task group pre-stored in the storage unit, and the data sent by the terminal; An updating module, used for updating the second event space, the second mapping table, and the second event space record table pre-stored in the server storage module according to the data sent by the terminal, or updating the second event space, the second mapping table, the second event space record table, and the task group pre-stored in the server storage module according to the data sent by the terminal; A third execution module is used to query the event corresponding to the user simulation request in the second mapping table according to the second event space record table, and drive the task group corresponding to the event to execute the simulation calculation of the user simulation request; The first event space includes events stored in the user end, the second event space includes events stored in the server, the first mapping table includes a mapping relationship between events in the first event space and corresponding task groups, the second mapping table includes a mapping relationship between events in the second event space and corresponding task groups, and the task groups are encapsulated according to power grid simulation business logic; The first event space and the second event space include at least one or more of the following events: Task group new events, task group update events, task group query events, and task group application events.

15. The server according to claim 14, characterized in that If the event in the first event space is a newly added event of the task group, the data received by the server includes the first event space corresponding to the simulation request, the first mapping table, the event space update table and the newly added task group; The update module is specifically used for: The server updates the second event space, the second mapping table, the event space record table and the task group storage unit pre-constructed by the server according to the data sent by the user terminal, including: The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server; Store the records in the event space update table into the event space record table pre-built by the server; Storing the newly added task group in a task group storage unit pre-built by the server; If the event in the first event space is any one or more events other than the event newly added by the task group, the data received by the server includes the first event space, the first mapping table and the event space update table corresponding to the simulation request; The update module is specifically used for: The update events in the first event space and the mapping relationship between the update events and the task groups in the first mapping table are respectively stored in the second event space and the second mapping table pre-constructed by the server; The records in the event space update table are stored in the event space record table pre-built by the server.

16. The server according to claim 14, characterized in that The third execution module is specifically used for: The server queries the second mapping table for the event corresponding to the current simulation request and its corresponding task group according to the event space record table; inputting the acquired operation data of the simulated object into the task group; The power grid simulation business logic in the driving task group performs simulation calculations according to preset logical control conditions and outputs simulation calculation results.

17. The server according to claim 16, wherein: The power grid simulation business logic includes: Obtain relevant parameters of the simulated object according to the user simulation request; Calling a simulation method corresponding to a user simulation request; and Logical control of the steps, simulation models and / or constraint settings in a simulation method.

18. The server according to claim 17, wherein: The relevant parameters of the simulated object include at least one or more of the following parameters: Basic information of power grid equipment, power grid mode information, detailed parameters of UHV DC, quasi-steady-state parameters of UHV DC, parameters of medium- and long-term simulation models of power grid transient model, and preset power grid security analysis parameters; The simulation method includes at least one or more of the following algorithms: Electromagnetic transient calculation, power flow calculation, electromechanical transient stability calculation, medium- and long-term stability calculation, small disturbance stability calculation, short-circuit current calculation, voltage stability calculation, electromechanical-electromagnetic transient hybrid simulation calculation, measurement equivalent hybrid simulation calculation, power grid security analysis calculation; The logic control includes at least one or more of the following controls: Self-starting logic control for setting the start conditions of each step, simulation model and / or constraint condition in the simulation method; Timeout logic control for setting shutdown conditions for each step, simulation model and / or constraint condition in the simulation method; Timer logic control for setting operating conditions for each step, simulation model and / or constraint in the simulation method; Combinatorial logic control for setting matching conditions of various steps, simulation models and / or constraints in the simulation method; Data transfer logic control for setting input and output file transfer conditions for each step, simulation model and / or constraint condition in the simulation method.

19. A power grid simulation system based on multi-type event mapping drive, characterized in that: It comprises a terminal as described in any one of claims 5-8, and a server as described in any one of claims 14-18.

Citation Information

Patent Citations

  • Intelligent substation secondary equipment logic emulation system

    CN104007978A

  • Static safety parallel analysis method for AC-DC power grid based on configuration mode

    CN104993477A