Time sequence simulation method and system for massive plants and stations and related device
Through the timing simulation method for massive factory stations, the parameter module system and timing calculation simulator decoupling of the assignment and calculation process is used to introduce the simulation event interrupt mechanism, which solves the problems of low computing efficiency and waste of resources in the existing technology, and achieves high efficiency , flexible simulation system, suitable for full-dimensional simulation of new power systems.
Patent Information
- Application Number
- CN202411043964.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-01
AI Technical Summary
When the existing factory station simulation technology handles massive factory station combinations, the computing efficiency is low and the simulation event is not effectively handled, resulting in slow calculation speed and waste of resources.
Adopt the timing simulation method for massive factory stations, through the parameter module system and timing calculation simulator, decouple the assignment and calculation process, introduce the simulation event interrupt mechanism, supports long-term time-scale timing simulation calculation, reduces parallel computing pressure, improves computing efficiency and Resource utilization rate.
An efficient and flexible simulation system is realized, which can quickly adjust the complexity of the model, reduce parallel computing pressure, improve the accuracy and resource utilization of simulation results, and is suitable for full-dimensional, full-scene, and full-process simulation of new power systems.
Smart Images

Figure CN118886221A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of plant simulation, and in particular relates to a timing simulation method, system and related devices for massive plants. Background Art
[0002] In the field of plant simulation technology, most simulations are currently based on single-time sections, with the model refinement showing two extremes: oversimplification and overcomplexity, poor flexibility and low computational efficiency, making it difficult to handle the interruption process of simulation events. As the construction of new power systems deepens, in order to ensure that simulation analysis can cover all possible operating conditions, it is necessary to consider a large number of plant combinations and flexible simulation model accuracy, and the amount of simulation calculations will grow exponentially.
[0003] As the construction of power systems accelerates, the proportion of new energy sources continues to increase, and the objects controlled by power systems have shifted from a few homogeneous large-capacity synchronous generators on the source side to massive heterogeneous resources widely distributed on all sides of the source, grid, load and storage, with the scale growing exponentially. The construction of new power systems is highly dependent on simulation technology. Plant and station simulation, as an important part of the full-dimensional, full-scenario, and full-process simulation of power systems, presents a de-typical feature. To ensure that simulation analysis can cover all possible operating conditions, it is necessary to consider massive plant and station combinations and higher simulation model accuracy, and the amount of simulation calculations will grow exponentially.
[0004] In actual engineering applications, a single plant model is calculated independently. If serial calculation is used for massive plant simulation, the calculation speed is slow and it is impossible to interrupt the instruction processing process and process new instructions immediately. If parallel calculation is used, a large amount of hardware resources need to be purchased, which is costly. Summary of the invention
[0005] In order to solve the problems existing in the prior art, the present invention proposes a timing simulation method, system and related devices for massive plants and stations. The method supports long-time scale timing simulation calculations and no longer requires independent parallel calculations within each device, thereby alleviating the pressure of parallel calculations and improving calculation efficiency and resource utilization.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0007] In a first aspect, the present invention provides a timing simulation method for massive plants and stations, comprising:
[0008] According to the input plant model, the parameter module system is constructed by parameter attribute classification, and different parameter module classes are established according to parameter types;
[0009] According to the set simulation application scenario theme, evaluate the required parameter module complexity, and generate parameter module sets using parameter module system and parameter module class;
[0010] Construct a timing calculation simulator including parameter module set assignment, unified calculation module and time advancement module; cyclically receive simulation events and assign values, update the parameter module set based on the assignment, synchronize the updated parameter module set data to the timing calculation simulator, and the timing calculation simulator uniformly calculates and outputs the plant simulation results.
[0011] As a further improvement of the present invention, the parameter module system is constructed according to the input plant model by parameter attribute classification, and different parameter module classes are established according to parameter types, including:
[0012] Analyze the plant model and operation data involved in the selected power grid, and establish the topological relationship between the plant model and the power grid model; the plant model includes the plant container and the equipment model; the plant container includes the plant parameter set, including the plant unique identification, plant name, plant maximum voltage level, plant to which the power grid belongs, and plant diagram name; the equipment model includes the equipment's own attribute parameters and the relationship between the plant and the equipment; the equipment's own attribute parameters include the generator model, the capacitor model, the transformer model, and the load model;
[0013] Construct a parameter module system according to the equipment type, and establish different parameter module classes according to the parameter type; the parameter module class includes electrical parameter module class, mechanical parameter module class, and coupling parameter module class.
[0014] As a further improvement of the present invention, the complexity of the required parameter modules is evaluated according to the set simulation application scenario theme, and the parameter module set is generated by using the parameter module system and the parameter module class, including:
[0015] According to typical simulation scenarios, extract parameter modules related to the simulation scenarios to build a basic parameter module set, and evaluate the complexity of the module parameter set;
[0016] Select the basic parameter module set with the closest complexity, group the required parameter modules into a set, and generate a parameter module set.
[0017] As a further improvement of the present invention, the generating parameter module set further includes:
[0018] If the automatically generated parameter module set does not meet the requirements of this simulation, the parameters are corrected and supplemented based on the automatically generated set;
[0019] And flexibly allocate hardware resources including computing resources and storage resources according to the complexity of the scenario.
[0020] As a further improvement of the present invention, the module parameter set complexity evaluation method is:
[0021] C n (n) = ∑γ n
[0022]
[0023] ω2>ω1
[0024] ω1+ω2=1
[0025] Among them, C n (n) represents the complexity of the application scenario parameter module set, which is the accumulation of the complexity of all n generators, γ n represents the complexity of a generator n in the plant model; c static_n The class complexity of a single static parameter required for generator n, c dynamic_n is the class complexity of a single dynamic parameter required for generator n; c s_total is the sum of the complexity of static parameters, c d_total is the sum of the complexity of dynamic parameters, which is used to normalize the overall complexity of static and dynamic classes; ω1 and ω2 are the weight coefficients of static and dynamic classes.
[0026] As a further improvement of the present invention, the construction of a time series computing simulator including parameter module set assignment, unified computing module and time advancement module includes:
[0027] The time advancement module is used to record the advancement time;
[0028] Parameter module set assignment is to update the parameters of various plant equipment in the parameter module set according to simulation events. The unified calculation module refers to the parameter module classifying the required calculations in a single time section. Each dynamic parameter module generates a unified calculation module, and the static parameter module participates in the input and output of the calculation.
[0029] A certain type of attribute of different devices of the same parameter module class is used to perform timing calculation in the corresponding unified calculation module.
[0030] As a further improvement of the present invention, the loop receives simulation events and assigns values, and updates the parameter module set based on the assigned values, including:
[0031] The simulation event in this scenario is receiving a command from the master station;
[0032] After receiving the command from the master station, the command is parsed;
[0033] Update the relevant parameters in the instruction parsing, the adjustment type is updated according to the actual situation, and the target value is judged according to the upper and lower limits of the static parameters. If the target value issued by the master station instruction is within its upper and lower limits, the target value is directly updated to the value issued by the master station instruction; otherwise, the target value is updated to its upper and lower limits according to the actual situation;
[0034] The single-step value in the update is the single-calculation adjustment amount, which is the fixed value increase rate of the static parameter, or the single-step value is updated in each round of processing.
[0035] As a further improvement of the present invention, the updated parameter module set data is synchronized to the timing calculation simulator, and the timing calculation simulator uniformly calculates and outputs the plant simulation results, including:
[0036] The sequential computing simulator receives and parses simulation events, and updates the parameter module set. As time goes by, the updated parameters are synchronized to the unified computing module at fixed time intervals and the calculation is performed.
[0037] The parameter module assignment update process is decoupled from the timing calculation process through the timing calculation simulator, and a simulation event interrupt mechanism is introduced to enable the calculation module at the next moment to directly process the latest simulation event by updating the parameter module assignment.
[0038] The timing simulation results at all times are obtained and used as output to interact with the power grid simulation.
[0039] In a second aspect, the present invention provides a timing simulation system for massive plants and stations, comprising:
[0040] The parameter module system construction module is used to construct the parameter module system according to the input plant model and parameter attribute classification, and to establish different parameter module classes according to parameter types;
[0041] The parameter module set generation module is used to evaluate the required parameter module complexity according to the set simulation application scenario theme, and generate the parameter module set using the parameter module system and parameter module class;
[0042] The unified calculation module is used to construct a timing calculation simulator including parameter module set assignment, a unified calculation module and a time advancement module; the simulation events are cyclically received and assigned, and the parameter module set is updated based on the assignment. The updated parameter module set data is synchronized to the timing calculation simulator, and the timing calculation simulator uniformly calculates and outputs the plant simulation results.
[0043] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the timing simulation method for massive plants when executing the computer program.
[0044] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which implements the timing simulation method for massive plants when executed by a processor.
[0045] In a fifth aspect, the present invention provides a computer program product, which includes computer instructions, and is characterized in that the computer instructions instruct a computer to execute the timing simulation method for massive plants.
[0046] The beneficial effects of the present invention compared with the prior art are as follows:
[0047] The timing simulation method of the present invention is aimed at massive plants and stations. By constructing a parameter module system and generating a parameter module set according to a simulation application scenario, hardware resources are allocated on demand according to the complexity of the parameter module set, and the degree of refinement of the model parameters of each device involved in the simulation calculation is flexibly selected; the parameter module assignment update process is decoupled from the timing calculation process through a timing calculation simulator, and a simulation event interrupt mechanism is introduced, so that the calculation module at the next moment directly processes the latest simulation event by updating the parameter module assignment; in addition, a unified calculation method for timing simulation is proposed, which supports long-time-scale timing simulation calculations and no longer requires independent parallel calculations within each device, thereby alleviating the pressure of parallel calculations and improving calculation efficiency and resource utilization. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 A flow chart of a timing simulation method for massive plants and stations provided by the present invention;
[0050] Figure 2 A timing simulation method and system for massive plants and stations;
[0051] Figure 3 Parameter module system and basic parameter module set construction architecture diagram;
[0052] Figure 4 Automatic generation process of parameter module sets;
[0053] Figure 5 Unified computing module construction and modular unified computing;
[0054] Figure 6 Parameter module set assignment update;
[0055] Figure 7 The timing calculation simulator calculates and outputs the result schematic diagram;
[0056] Figure 8System structure diagram of massive plant simulation system;
[0057] Fig. 9 A timing simulation device for massive plants and stations provided by the present invention;
[0058] Fig.10 A schematic diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0059] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0060] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0061] Terminology explanation:
[0062] AGC (Automatic Generation Control): Automatic generation control, whose main function is to control the output of generators in the power system to maintain the frequency stability of the power system.
[0063] AVC (Automatic Voltage Control): Automatic voltage control, whose purpose is to maintain the voltage stability of the power system. The AVC system can automatically adjust the generator output voltage to meet the voltage requirements of the power system. When the power system voltage is lower than the expected value, AVC will automatically increase the generator output voltage; conversely, when the voltage is too high, AVC will automatically reduce the generator output voltage.
[0064] Plant simulation: Plant simulation involves various types of plants and substations, and focuses on simulating the changes in equipment status within the plant. For example, it can simulate the response of the AGC and AVC control instructions issued by the master station to the generator of the substation.
[0065] like Figure 1 As shown, the present invention provides a timing simulation method for massive plants and stations, comprising the following steps:
[0066] S100, constructing a parameter module system according to the input plant model and parameter attribute classification, and establishing different parameter module classes according to parameter types;
[0067] S200, evaluating the required parameter module complexity according to the set simulation application scenario theme, and generating a parameter module set using a parameter module system and a parameter module class;
[0068] S300, constructing a timing calculation simulator including parameter module set assignment, unified calculation module and time advancement module; cyclically receiving simulation events and assigning values, updating the parameter module set based on the assignment, synchronizing the updated parameter module set data to the timing calculation simulator, and the timing calculation simulator uniformly calculates and outputs the plant simulation results.
[0069] The present invention proposes a timing simulation for massive plants and stations. The main principle is to construct a parameter module system and generate a parameter module set according to the simulation application scenario, allocate hardware resources on demand according to the complexity of the parameter module set, and flexibly select the degree of refinement of the model parameters of each device participating in the simulation calculation; through a timing calculation simulator, the parameter module assignment update process is decoupled from the timing calculation process, and a simulation event interrupt mechanism is introduced, so that the calculation module at the next moment can directly process the latest simulation event by updating the parameter module assignment; in addition, a unified calculation method for timing simulation is proposed, which supports long-time scale timing simulation calculation, and no longer requires independent parallel calculation inside each device, which alleviates the pressure of parallel calculation, improves calculation efficiency and resource utilization, and provides a practical simulation tool for massive and diversified plants and stations in new power systems to participate in full-dimensional, full-scenario, and full-process simulation of power systems.
[0070] Furthermore, by building a parameter module system by parameter attribute classification and establishing different parameter module classes based on parameter types, this approach makes the model more modular, manageable and extensible. The parameter module set is dynamically generated according to the theme of the simulation application scenario and the complexity of the required parameter module. This flexibility enables the simulation system to quickly adjust the model complexity according to different simulation requirements.
[0071] Among them, the characteristics of the timing calculation simulator include:
[0072] Decoupling assignment and calculation: Decoupling the parameter module's assignment and update process from the timing calculation process improves the system's flexibility and response speed.
[0073] Simulation event interrupt mechanism: By introducing the simulation event interrupt mechanism, the parameter module assignment can be updated in real time according to the event during the simulation process, making the simulation results closer to the actual situation.
[0074] Unified computing method: supports long-time-scale timing simulation calculations, reduces the need for independent parallel computing within each device, thereby reducing the pressure of parallel computing and improving computing efficiency and resource utilization.
[0075] The modular design makes the system easy to expand and maintain, and can quickly adjust the model complexity according to different simulation requirements. It supports a variety of simulation application scenarios, such as power grid dispatcher control training, source grid load storage interaction simulation, etc. By decoupling the assignment and calculation process, the response speed and calculation efficiency of the simulation system are improved.
[0076] The introduction of simulation event interruption mechanism makes the simulation process closer to reality and improves the accuracy of simulation results. The unified calculation method reduces the need for parallel calculation, relieves calculation pressure and improves resource utilization.
[0077] In summary, this timing simulation method for massive power plants and stations realizes an efficient, flexible and practical simulation system through modular modeling and the design of a timing calculation simulator, providing strong support for the operation and management of the power system.
[0078] The modular modeling and calculation method of this method can develop a massive plant simulation system that is fast, flexible and efficient in utilizing resources. It can support grid dispatcher control training, source-grid-load-storage interaction simulation, AGC / AVC software testing and plant operator training. The converted related software products can be promoted to the control center for application, with significant economic benefits.
[0079] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0080] The present invention proposes a timing simulation method for massive plants and stations, comprising the following steps:
[0081] Firstly, the parameter module system is constructed according to the input plant model and parameter attribute classification;
[0082] Then, according to the set simulation application scenario theme, the required parameter module complexity is evaluated and the parameter module set is automatically generated;
[0083] Then, a timing calculation simulator including parameter module set assignment, unified calculation module and time advancement module is constructed, simulation events are received cyclically and parameter module set is assigned and updated, data is synchronized to the timing calculation simulator for unified calculation and output of plant simulation results.
[0084] A method for constructing a sequential computing simulator for massive plant simulation is proposed. The sequential computing simulator includes parameter module set assignment, unified computing module and time advancement module. The sequential computing simulator decouples the parameter module assignment update process from the sequential computing process, introduces a simulation event interrupt mechanism, and updates the parameter module assignment to enable the computing module to directly process the latest simulation event at the next moment, solving the problem that the traditional serial computing method for massive plant simulation cannot interrupt the instruction processing process to receive new instructions immediately.
[0085] A unified calculation method for timing simulation is proposed for massive plant simulation, which supports long-time-scale timing simulation calculation and no longer requires independent parallel calculation within each device. It greatly reduces the number of parallel calculation threads of a single parameter module, alleviates the pressure of parallel calculation, and improves calculation efficiency and resource utilization.
[0086] like Figure 2 As shown, a timing simulation method for massive plants and stations is provided, and the method includes the following steps in detail:
[0087] (1) Obtain plant model data and build a parameter module system;
[0088] (2) Setting the simulation application scenario theme;
[0089] (3) Automatically generate parameter module sets;
[0090] (4) Build a timing computing simulator;
[0091] (5) cyclically receiving simulation events and assigning parameter module sets;
[0092] (6) The timing calculation simulator calculates and outputs the results.
[0093] Specifically, the step (1) is to obtain plant model data and construct a parameter module system. Specifically includes:
[0094] Analyze the plant model and operation data involved in the selected power grid, and establish the topological association between the plant model and the power grid model. The plant model includes the plant container and the equipment model. The plant container refers to the parameter set of the plant itself, including the plant unique identifier, plant name, plant maximum voltage level, power grid to which the plant belongs, plant diagram name, etc. The equipment model refers to the generator model, capacitor model, transformer model, load model, etc. contained in the plant. In addition to the equipment's own attribute parameters, it also includes the association between the plant and the equipment.
[0095] like Figure 3 The following is a diagram showing the construction of the parameter module system and the basic parameter module set. The parameter module system is constructed according to the device type, and different parameter module classes are established according to the parameter type.
[0096] Taking a thermal power plant as an example, the core equipment of the power plant is the generator. The parameters of the generator set can be divided into electrical parameter module class, mechanical parameter module class, coupling parameter module class, etc. Among them, electrical parameters are the most commonly used in power system simulation calculations. According to whether they have timing characteristics, they can be divided into static parameters and dynamic parameters. Static parameters are attribute parameters of the generator participating in the simulation of a single-time flow section, such as generator measurement, power upper and lower limit parameters, participation in AGC, AVC state parameters, etc.; dynamic parameters are attribute parameters of the generator participating in multi-time scale timing simulation calculations, such as ramp rate (power rise and fall rate), transient parameters, etc. Mechanical parameter classes include boiler parameter module class, steam turbine parameter module class, etc. according to different types of thermal power units. Coupling parameters are coupling relationship parameters connecting various modules, which can describe the numerical correlation of certain parameters in certain module classes, and can also convert certain parameters of several module classes into a parameter in another module class, which is used to simplify parameters and reduce model complexity. For example, the parameters in the boiler parameter module class and the steam turbine parameter module class are equivalent to the ramp rate in the electrical parameter module class.
[0097] The step (2) is to set the simulation application scenario theme and evaluate the required model complexity. Specifically, it includes:
[0098] like Figure 3 As shown, according to typical simulation scenarios, parameter modules related to the simulation scenarios are extracted to construct a basic parameter module set, and the complexity of the module parameter set is evaluated to prepare for step (3) to automatically generate a parameter module set.
[0099] Among them, the embodiment of the present invention provides a specific complexity calculation method:
[0100] C n (n) = ∑γ n
[0101]
[0102] ω2>ω1
[0103] ω1+ω2=1
[0104] Among them, C n (n) represents the complexity of the application scenario parameter module set, which is the accumulation of the complexity of all n generators, γ n Represents the complexity of a generator n in the plant model. static_n The class complexity of a single static parameter required for generator n, c dynamic_n is the class complexity of a single dynamic parameter required for generator n. c s_total is the sum of the complexity of static parameters, c d_totalis the sum of the complexity of dynamic parameters, which is used to normalize the overall complexity of static and dynamic classes. ω1 and ω2 are the weight coefficients of static and dynamic classes. Since the simulation calculation involving dynamic parameters needs to consider the complexity of time advancement, the weight of ω2 is much greater than ω1, and the sum of the two is 1, which can ensure the complexity γ n The value is between 0 and 1.
[0105] The complexity calculation may also be performed according to other methods known in the art, which are not specifically limited in this application.
[0106] The step (3) is to automatically generate a parameter module set. Specifically, it includes:
[0107] The principle of automatically generating parameter module sets is as follows Figure 4 The figure shows the automatic generation process of parameter module sets. According to the simulation application scenario theme set in step (2), the required module complexity is evaluated and the basic parameter module set with the closest complexity is selected.
[0108] If the automatically generated parameter module set does not meet the requirements of this simulation, you can manually modify and supplement the parameter modules based on the automatically generated set.
[0109] The required parameter modules are grouped together to generate a parameter module set, and hardware resources such as computing resources and storage resources are flexibly allocated according to the complexity of the scenario to achieve efficient use of resources and avoid resource waste or performance bottlenecks.
[0110] The basis and method of hardware resource allocation are shown in Table 1. Ec, Hc, Em, Hm, Ed, and Hd in the table are various "hardware resource allocation complexity coefficients" and can be flexibly set by the user according to specific circumstances.
[0111] Table 1 Hardware resource allocation method
[0112]
[0113] The step (4) is to construct a time series calculation simulator, which specifically includes:
[0114] The timing calculation simulator includes a time advancement module, a parameter module set assignment and a unified calculation module.
[0115] Among them, parameter module set assignment refers to updating the parameters of various plant and station equipment in the parameter module set according to simulation events.
[0116] The unified calculation module refers to the classification of the required calculation steps in a single-time section according to the parameter module. Each dynamic parameter module generates a unified calculation module. The static parameter module is a necessary parameter of the calculation module and is not used as a basis for division. It only participates in the input and output of the calculation.
[0117] The timing calculation of a certain type of attribute of different equipment of the same parameter module class is directly performed in the corresponding unified calculation module, that is, the concept of modular unified calculation is proposed, and the calculation is no longer performed separately for the plant or equipment as a whole.
[0118] The present invention uses a generator as an example Figure 5 As shown, Figure 5 Unified calculation module construction and modular unified calculation flow chart, the parameter module set of generator a and generator n both have generator climbing parameter modules, so a unified climbing calculation module can be formed. In the simulation calculation, the climbing parameters of generator a and generator n are traversed, and a single climbing calculation is performed on them. After the calculation is completed, the time advances again to traverse generator a and generator n and perform a single climbing calculation, and then continue to perform cyclic calculations in time sequence.
[0119] The step (5) is to cyclically receive simulation events and assign parameter module sets. Since the unified computing module is composed of parameter modules, the result of assigning and updating the parameter module set will be synchronized to the unified computing module.
[0120] Take the AGC software test application scenario as an example. Figure 6 As shown in the figure, it is the parameter module set assignment update process. The simulation event in this scenario is to receive the master station instruction, which is generally the generator power ramp. After receiving the master station instruction, the instruction is parsed to obtain the generator and power adjustment target values corresponding to the master station instruction. Update the relevant parameters in the climbing parameter module of the generator, update the climbing state assignment to "climbing", and update the adjustment type assignment to "linear climbing", "one-step", "follow the adjustment curve", etc. according to the actual situation. The target value is determined according to the upper and lower limits of the static parameters of the generator.
[0121] If the target value issued by the master station is within its upper and lower limits, the target value is directly assigned and updated to the value issued by the master station; otherwise, the target value is updated to its upper and lower limits according to the actual situation. The single-step value is a single calculation adjustment amount, which can be a fixed value increase rate of a static parameter, or it can be updated in each round of processing of the ramp parameter in the unified calculation module according to the actual adjustment curve of the generator.
[0122] The step (6) is to use a timing calculation simulator to calculate and output the result. Specifically, it includes:
[0123] like Figure 6 As shown, the sequential computing simulator receives and parses simulation events (master station instructions) and updates the parameter module set. As time t advances, the updated parameters are synchronized to the unified computing module at fixed time intervals and calculated.
[0124] Taking the unified climbing calculation module as an example, t1 to t8 in the figure are time points with equal time intervals. First, the climbing status bit of the generator a parameter module set is obtained to determine whether the generator needs to perform climbing calculation at time t-1. If the status bit is related to climbing, the climbing parameter processing is performed to obtain the climbing target value and single-step value, and the power of the generator at the next time t is obtained through the calculation formula.
[0125] P ae (t) = P ae (t-1)+P astep (t)
[0126] P ae (t) is the power of generator a at time t, P ae (t-1) is the power of generator a at time t-1 (the moment before time t), P astep (t) is the single-step value of the generator climbing parameter module at time t.
[0127] Then the ramp calculation for the next generator is performed, and so on for the other generators. Figure 7 Calculate and output the result schematic for the timing calculation simulator. By traversing all generators, the power of all generators at time t is obtained, the power of all generators at time t is sent back to the grid simulation or the master station simulation, and then the ramp calculation at time t+1 is performed, thereby obtaining the timing simulation results of all times, which are used as output to interact with the grid simulation.
[0128] Because the unified calculation module is decoupled from the parameter module assignment itself, a simulation event interruption mechanism can be introduced. That is, when multiple simulation events performing different operations on the same plant equipment are received in succession, the parameter module assignment can be updated without affecting the operation of the unified calculation module at the current moment, so that the calculation module at the next moment can directly process the latest simulation event without completing the previous simulation event in full.
[0129] In addition, due to the use of a unified computing module, independent parallel computing is no longer required within each device. The number of parallel computing threads for a single parameter module in massive plant simulation is reduced from n to 1 (n is the number of plants), thereby improving resource utilization and providing a practical simulation tool for massive and diversified plants in new power systems to participate in full-dimensional, full-scenario, and full-process simulation of power systems.
[0130] According to the above method, Figure 7As shown, a massive plant simulation system can be constructed. The parameter module system construction function module generates a parameter module system according to the input plant model and parameter attribute classification; according to the set simulation application scenario theme, the parameter module set generation function module automatically generates a parameter module set; the time series calculation simulator includes parameter module set assignment, unified calculation module and time advancement module, which decouples the parameter processing process from the calculation process and supports long-time time series simulation calculation; the input and output module supports input simulation events and output simulation results.
[0131] The present invention proposes a method for constructing a parameter module system and automatically generating a parameter module set for massive power plant simulations. The parameter module system is generated according to the parameter attribute classification of the power plant model of the selected power grid, and the parameter module set is generated according to the simulation application scenario. The complexity of the parameter module set is evaluated and hardware resources are allocated on demand.
[0132] The present invention uses an automated and intelligent parameter module set generation process and resource allocation method to make the degree of refinement of the model parameters of each device involved in the simulation calculation controllable, thereby improving the flexibility of simulation calculations for massive plants and stations and the diversity of application scenarios; at the same time, it achieves efficient management and utilization of hardware resources and avoids the problem of resource waste or performance bottlenecks.
[0133] like Fig. 9 As shown, the second object of the present invention is to provide a timing simulation system for massive plants, comprising:
[0134] The parameter module system construction module 100 is used to construct the parameter module system according to the input plant model and parameter attribute classification, and establish different parameter module classes according to parameter types;
[0135] The parameter module set generation module 200 is used to evaluate the required parameter module complexity according to the set simulation application scenario theme, and generate a parameter module set using the parameter module system and parameter module class;
[0136] The unified computing module 300 is used to construct a timing computing simulator including parameter module set assignment, a unified computing module and a time advancement module; cyclically receive simulation events and assign values, update the parameter module set based on the assignment, synchronize the updated parameter module set data to the timing computing simulator, and the timing computing simulator uniformly calculates and outputs the plant simulation results.
[0137] In the parameter module system construction module 100, the parameter module system is constructed according to the input plant model and parameter attribute classification, and different parameter module classes are established according to parameter types, including:
[0138] Analyze the plant model and operation data involved in the selected power grid, and establish the topological relationship between the plant model and the power grid model; the plant model includes the plant container and the equipment model; the plant container includes the plant parameter set, including the plant unique identification, plant name, plant maximum voltage level, plant to which the power grid belongs, and plant diagram name; the equipment model includes the equipment's own attribute parameters and the relationship between the plant and the equipment; the equipment's own attribute parameters include the generator model, the capacitor model, the transformer model, and the load model;
[0139] Construct a parameter module system according to the equipment type, and establish different parameter module classes according to the parameter type; the parameter module class includes electrical parameter module class, mechanical parameter module class, and coupling parameter module class.
[0140] In the parameter module set generation module 200, the required parameter module complexity is evaluated according to the set simulation application scenario theme, and the parameter module set is generated using the parameter module system and parameter module class, including:
[0141] According to typical simulation scenarios, extract parameter modules related to the simulation scenarios to build a basic parameter module set, and evaluate the complexity of the module parameter set;
[0142] Select the basic parameter module set with the closest complexity, group the required parameter modules into a set, and generate a parameter module set.
[0143] In the unified computing module 300, a time series computing simulator including parameter module set assignment, unified computing module and time advancement module is constructed, including:
[0144] The time advancement module is used to record the advancement time;
[0145] Parameter module set assignment is to update the parameters of various plant equipment in the parameter module set according to simulation events. The unified calculation module refers to the parameter module classifying the required calculations in a single time section. Each dynamic parameter module generates a unified calculation module, and the static parameter module participates in the input and output of the calculation.
[0146] A certain type of attribute of different devices of the same parameter module class is used to perform timing calculation in the corresponding unified calculation module.
[0147] In the unified computing module 300, simulation events are cyclically received and assigned values, and the parameter module set is updated based on the assigned values, including:
[0148] The simulation event in this scenario is receiving a command from the master station;
[0149] After receiving the command from the master station, the command is parsed;
[0150] Update the relevant parameters in the instruction parsing, the adjustment type is updated according to the actual situation, and the target value is judged according to the upper and lower limits of the static parameters. If the target value issued by the master station instruction is within its upper and lower limits, the target value is directly updated to the value issued by the master station instruction; otherwise, the target value is updated to its upper and lower limits according to the actual situation;
[0151] The single-step value in the update is the single-calculation adjustment amount, which is the fixed value increase rate of the static parameter, or the single-step value is updated in each round of processing.
[0152] In the unified calculation module 300, the updated parameter module set data is synchronized to the timing calculation simulator, and the timing calculation simulator uniformly calculates and outputs the plant simulation results, including:
[0153] The sequential computing simulator receives and parses simulation events, and updates the parameter module set. As time goes by, the updated parameters are synchronized to the unified computing module at fixed time intervals and the calculation is performed.
[0154] The parameter module assignment update process is decoupled from the timing calculation process through the timing calculation simulator, and a simulation event interrupt mechanism is introduced to enable the calculation module at the next moment to directly process the latest simulation event by updating the parameter module assignment.
[0155] The timing simulation results at all times are obtained and used as output to interact with the power grid simulation.
[0156] The system is based on the above-mentioned timing simulation method for massive plants and stations.
[0157] The present invention proposes a method for constructing a parameter module system and automatically generating a parameter module set for massive power plant simulations. The parameter module system is generated according to the parameter attribute classification of the power plant model of the selected power grid, and the parameter module set is generated according to the simulation application scenario. The complexity of the parameter module set is evaluated and hardware resources are allocated on demand.
[0158] A method for constructing a sequential computing simulator for massive plant simulation is proposed. The sequential computing simulator includes parameter module set assignment, unified computing module and time advancement module. The parameter module assignment update process is decoupled from the sequential computing process through the sequential computing simulator, and a simulation event interrupt mechanism is introduced.
[0159] Furthermore, the method of the present invention is used to unify the calculation method of timing simulation for massive plant simulation, support long-time-scale timing simulation calculation, and no longer require independent parallel calculation within each device.
[0160] like Fig.10As shown, the third purpose of the embodiment of the present invention is to provide an electronic device, including a memory 701, a processor 702, and a computer program stored in the memory 701 and executable on the processor, wherein the processor implements the timing simulation method for massive plants when executing the computer program. It also includes a communication interface 703 and a bus 704.
[0161] A fourth objective of an embodiment of the present invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the timing simulation method for massive plants is implemented.
[0162] A fifth objective of an embodiment of the present invention is to provide a computer program product, which includes computer instructions, and is characterized in that the computer instructions instruct a computer to execute the timing simulation method for massive plants.
[0163] 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.
[0164] 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 A step that specifies a function in one or more boxes.
[0165] The present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, readable storage media, optical storage, etc.) containing computer-usable program codes.
[0166] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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 produce 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.
[0167] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0168] 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. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A timing simulation method for massive plants, characterized in that: include: According to the input plant model, the parameter module system is constructed by parameter attribute classification, and different parameter module classes are established according to parameter types; According to the set simulation application scenario theme, evaluate the required parameter module complexity, and generate parameter module sets using parameter module system and parameter module class; Construct a timing calculation simulator including parameter module set assignment, unified calculation module and time advancement module; cyclically receive simulation events and assign values, update the parameter module set based on the assignment, synchronize the updated parameter module set data to the timing calculation simulator, and the timing calculation simulator uniformly calculates and outputs the plant simulation results.
2. The timing simulation method for massive plants and stations according to claim 1 is characterized in that: The parameter module system is constructed according to the input plant model and parameter attribute classification, and different parameter module classes are established according to parameter types, including: Analyze the plant model and operation data involved in the selected power grid, and establish the topological relationship between the plant model and the power grid model; the plant model includes the plant container and the equipment model; the plant container includes the plant parameter set, including the plant unique identification, plant name, plant maximum voltage level, plant to which the power grid belongs, and plant diagram name; the equipment model includes the equipment's own attribute parameters and the relationship between the plant and the equipment; the equipment's own attribute parameters include the generator model, the capacitor model, the transformer model, and the load model; Construct a parameter module system according to the equipment type, and establish different parameter module classes according to the parameter type; the parameter module class includes electrical parameter module class, mechanical parameter module class, and coupling parameter module class.
3. The timing simulation method for massive plants and stations according to claim 1 is characterized in that: The method of evaluating the required parameter module complexity according to the set simulation application scenario theme and generating a parameter module set using the parameter module system and parameter module class includes: According to typical simulation scenarios, extract parameter modules related to the simulation scenarios to build a basic parameter module set, and evaluate the complexity of the module parameter set; Select the basic parameter module set with the closest complexity, group the required parameter modules into a set, and generate a parameter module set.
4. The timing simulation method for massive plants and stations according to claim 3 is characterized in that: The generating parameter module set further includes: If the automatically generated parameter module set does not meet the requirements of this simulation, the parameters are corrected and supplemented based on the automatically generated set; And flexibly allocate hardware resources including computing resources and storage resources according to the complexity of the scenario.
5. The timing simulation method for massive plants and stations according to claim 3 is characterized in that: The module parameter set complexity evaluation method is: C n (n)=∑γ n ω2>ω1 ω1+ω2=1 Among them, C n (n) represents the complexity of the application scenario parameter module set, which is the accumulation of the complexity of all n generators, γ n represents the complexity of a generator n in the plant model; c static_n The class complexity of a single static parameter required for generator n, c dynamic_n is the class complexity of a single dynamic parameter required for generator n; c s_total is the sum of the complexity of static parameters, c d_total is the sum of the complexity of dynamic parameters, which is used to normalize the overall complexity of static and dynamic classes; ω1 and ω2 are the weight coefficients of static and dynamic classes.
6. The timing simulation method for massive plants and stations according to claim 1 is characterized in that: The construction includes a time series computing simulator including parameter module set assignment, a unified computing module and a time advancement module, including: The time advancement module is used to record the advancement time; Parameter module set assignment is to update the parameters of various plant equipment in the parameter module set according to simulation events. The unified calculation module refers to the parameter module classifying the required calculations in a single time section. Each dynamic parameter module generates a unified calculation module, and the static parameter module participates in the input and output of the calculation. A certain type of attribute of different devices of the same parameter module class is used to perform timing calculation in the corresponding unified calculation module.
7. The timing simulation method for massive plants and stations according to claim 1 is characterized in that: The loop receives simulation events and assigns values, and updates the parameter module set based on the assigned values, including: The simulation event in this scenario is receiving a command from the master station; After receiving the command from the master station, the command is parsed; Update the relevant parameters in the instruction parsing, the adjustment type is updated according to the actual situation, and the target value is judged according to the upper and lower limits of the static parameters. If the target value issued by the master station instruction is within its upper and lower limits, the target value is directly updated to the value issued by the master station instruction; otherwise, the target value is updated to its upper and lower limits according to the actual situation; The single-step value in the update is the single-calculation adjustment amount, which is the fixed value increase rate of the static parameter, or the single-step value is updated in each round of processing.
8. The timing simulation method for massive plants and stations according to claim 1 is characterized in that: The updated parameter module set data is synchronized to the timing calculation simulator, and the timing calculation simulator uniformly calculates and outputs the plant simulation results, including: The timing calculation simulator receives and parses the simulation events, and updates the parameter module set; As time goes by, the updated parameters are synchronized to the unified computing module at fixed time intervals and calculated; The parameter module assignment update process is decoupled from the timing calculation process through the timing calculation simulator, and a simulation event interrupt mechanism is introduced to enable the calculation module at the next moment to directly process the latest simulation event by updating the parameter module assignment. The timing simulation results at all times are obtained and used as output to interact with the power grid simulation.
9. A timing simulation system for massive plants and stations, characterized in that: include: The parameter module system construction module is used to construct the parameter module system according to the input plant model and parameter attribute classification, and to establish different parameter module classes according to parameter types; The parameter module set generation module is used to evaluate the complexity of the required parameter modules according to the set simulation application scenario theme, and generate the parameter module set using the parameter module system and parameter module class; The unified calculation module is used to construct a timing calculation simulator including parameter module set assignment, a unified calculation module and a time advancement module; the simulation events are cyclically received and assigned, and the parameter module set is updated based on the assignment. The updated parameter module set data is synchronized to the timing calculation simulator, and the timing calculation simulator uniformly calculates and outputs the plant simulation results.
10. An electronic device, characterized in that: It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the timing simulation method for massive plants and stations described in any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the timing simulation method for massive plants and stations according to any one of claims 1 to 8 is implemented.
12. A computer program product, comprising computer instructions, characterized in that: The computer instructions instruct the computer to execute the timing simulation method for massive plants as described in any one of claims 1-8.
Citation Information
Cited By
Time-series simulation method and system for massive power plants and substations, and related apparatus
WO2026025575A1
