Multi-level power grid AGC joint closed-loop test scene construction method and system and related device
By constructing a multi-level power grid AGC joint closed-loop test scenario, the problems of AGC control instructions concurrency and model construction and data interaction in multi-level power grids are solved, efficient testing and verification are achieved, testing process is simplified and data interaction efficiency is improved.
Patent Information
- Application Number
- CN202411860251.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-12-17
AI Technical Summary
The prior art is difficult to effectively solve the problem of AGC control instruction concurrency in multi-level power grids, as well as the construction and data interaction of AGC and simulated power grid models, resulting in incomprehensible testing and inefficient efficiency.
A multi-level power grid AGC joint closed-loop test scenario construction method is proposed. By building an RTU simulation service model, grid simulation service model and factory station simulation service model, a test verification platform is built to realize multi-level power grid AGC joint closed-loop test. The method includes constructing a corresponding simulation service model based on the measured multi-level power grid level and characteristics, performing trend calculations and frequency calculations, simulating the real power grid operation characteristics, and classifying and matching data through the multi-level power grid model data conversion engine.
It realizes the accuracy and efficiency of multi-level power grid AGC joint closed-loop testing, simplifies the test process, improves the speed and flexibility of system data interaction, supports the "plug-and-play test" simulation service model, and builds a digital full-process deduction environment for grid regulation and operation simulation and software quality management.
Smart Images

Figure CN119813221A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power grid simulation, and in particular relates to a method, system and related devices for constructing a multi-level power grid AGC joint closed-loop test scenario. Background Art
[0002] The reconstruction of the new power system has led to increasing pressure on power grid control, and the reduction of power grid rotational inertia has made frequency and voltage regulation more frequent and difficult. The power grid control objectives are more extensive, the control objects are more diversified and have different characteristics, and the control strategies are more complex, which puts higher requirements on the dispatching automation system. Automatic generation control (AGC) software is a core component of the power dispatching automation system and plays an important role in improving power quality and ensuring power grid security. The new power system puts higher requirements on automatic control software. There is an urgent need to conduct detailed testing of AGC, strengthen the risk prevention and control level of automatic control software, and provide guarantees for the safe and stable operation of large power grids. Summary of the invention
[0003] In order to solve the problems existing in the prior art, the present invention proposes a method, system and related devices for constructing a multi-level power grid AGC joint closed-loop test scenario. The method is used to solve the concurrency problem of massive AGC control instructions in multi-level power grids and the construction and data interaction problem of multi-level power grid AGC and simulation power grid models.
[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is: In a first aspect, the present invention provides a method for constructing a multi-level power grid AGC joint closed-loop test scenario, comprising: Build an RTU simulation service model for each power grid according to the level and characteristics of the interconnected multi-level power grid under test; Perform power flow calculation and frequency calculation based on the whole network model data and simulation events, simulate the real power grid operation characteristics based on the calculation results, and obtain the power grid simulation service model; according to the composition of the multi-level power grid, perform data splicing of the power grid simulation service model to obtain a multi-level power grid simulation service model; Construct a plant simulation sample that includes multi-level power grid models, data, point tables, and channels, classify the entire network data through a multi-level power grid model data conversion engine, and build a plant simulation service model; Build a test verification platform and test system, combine RTU simulation service models, multi-level power grid simulation service models and plant simulation service models as needed, and build a multi-level power grid AGC joint closed-loop test scenario; Each service obtains scenario sample data in turn as needed, the multi-level power grid AGC issues control instructions, the power grid simulation and plant simulation service models process the control instructions and feedback the power grid trends at all levels, verify the accuracy of the AGC instructions, and realize the joint closed-loop testing of the multi-level power grid AGC.
[0005] As a further improvement of the present invention, the RTU simulation service model is constructed for each power grid according to the level and characteristics of the measured interconnected multi-level power grid, specifically including: each RTU simulation service model reads the corresponding power grid data point table and channel, obtains the matching relationship between each measurement data ID, data transmission channel, data name and data value, and then establishes a data transmission model; Among them, each RTU simulation service model is responsible for transmitting the control instructions and flow data required by the power grid at this level; when the AGC issues a control instruction, each RTU simulation service model corresponds to a FE device, and parses and transmits the control instructions issued by the AGC of the power grid at this level; when the simulated power grid calculates the power flow of the entire network, the RTU matches the power flow data of the entire network and the required transmission measurement data through the measurement ID, and uploads the measurement data of the power grid at this level.
[0006] As a further improvement of the present invention, the data splicing of the power grid simulation service model is performed according to the composition of the multi-level power grid to obtain the power grid simulation service model, including: The grid model data of all levels of the actual power grid are obtained. Other grid models related to the dispatching grid at this level exist in the grid model at this level in the form of single-ended devices such as equivalent units or equivalent loads. Based on the network topology analysis method, the boundary plants, equipment and their jurisdiction units are identified, and the boundary equivalent equipment is restored to double-ended equipment. The dispatching data of all levels of the power grid simulation service model are spliced to obtain a complete multi-level grid data model; and the association relationship between equivalent equipment and restored equipment is established.
[0007] As a further improvement of the present invention, the construction of a plant simulation sample including a model, data, a point table, and a channel of a multi-level power grid includes: The plant simulation service model includes unit characteristic simulation, plant and master station closed-loop simulation, and plant abnormal event simulation; the unit characteristic simulation simulates the climbing process of various units following the master station instructions based on the unit climbing rate parameters in the AGC model; the plant and master station closed-loop simulation receives the master station AGC instructions in real time through the front-end and RTU, and sends the plant control signals and power grid measurement data in real time; Analyze the AGC units associated with the PLC, and then analyze and match the AGC units with the grid-side units for power regulation and interaction with the grid simulation; Exchange network-wide flow data and simulation events through the message bus; A plant simulation sample is constructed based on the models and data of the multi-level power grid generated by power grid simulation, the AGC control model provided by the AGC software of each level of power grid, and the full-point table and full-channel data transmission model involving data communication provided by the dispatching automation system of each level of power grid.
[0008] As a further improvement of the present invention, the multi-level power grid model data conversion engine includes an AGC control model unified conversion module, an AGC control model and power grid model matching module, and a power grid boundary model equivalent conversion module at each level; AGC control model unified conversion module is used to read the AGC control model of each level of power grid. The AGC control model includes the AGC device model and the AGC measurement model. The AGC device model includes the AGC plant, AGC controller, and AGC unit. The measurement model refers to the relationship between the AGC device model and the data it needs to transmit. The AGC measurement model regenerates the AGC plant, PLC, and unit model IDs of each level of power grid and the device ID in the measurement model based on each power grid area number. AGC control model and power grid model matching module is used to establish the association between AGC model and power grid model based on the unified conversion of AGC model and the whole network model data provided by power grid simulation; set the AGC equivalent unit flag and the equivalent unit group corresponding to each AGC unit; The equivalent conversion module of the boundary models of power grids at all levels is used to restore the data of the power flow calculation results of the whole network to the boundary models of power grids at all levels for data transmission.
[0009] As a further improvement of the present invention, the AGC control model unified conversion module is specifically used to allocate different regions to power grids at all levels in the preparation stage of model construction, and replace the original region code with the region code through binary conversion to generate a unified conversion AGC model for the entire network; when receiving control instructions during the test process, the RTU simulation service model provides the region code and instruction object ID of the power grid at all levels, and the plant simulation generates a converted ID, which is then matched with the unified conversion AGC model for the entire network during model construction to locate the equipment that needs to be adjusted.
[0010] As a further improvement of the present invention, the AGC control model and the power grid model matching module are specifically used in the model preparation stage. When there is a many-to-one relationship, this flag bit takes effect, and the AGC unit immediately creates an equivalent unit group and adds all units associated with it on the power grid side; in the test stage, after the plant simulation receives the AGC control instruction, if the equivalent unit flag bit of the AGC unit obtained after matching the PLC is 0, it is a conventional unit instruction, and the PLC power is directly assigned to the corresponding AGC conventional unit, and then the one-to-one conventional units on the power grid side are matched to interact with the power grid simulation; if the equivalent unit flag bit of the AGC unit obtained after matching the PLC is 1, it is a new energy equivalent unit instruction, and the power is evenly distributed or allocated to each power grid side unit according to the many-to-one relationship or according to the current power ratio, and transmitted to the power grid simulation, and the equivalent unit group power is accumulated and uploaded when the power grid measurement data is fed back, thereby realizing the fusion of the AGC model and the power grid model; As a further improvement of the present invention, the equivalent conversion module of the boundary model of the power grid at each level is specifically used to convert the single-ended equivalent devices of the power grid at each level into double-ended devices when generating the whole network model data sample, thereby obtaining the interconnected large power grid model at each level, performing unified power flow calculation, and constructing the equivalent conversion module of the boundary model of the power grid at each level based on the matching model of the single-ended devices of the power grid at each level and the double-ended devices of the multi-level power grid, including the single-ended device ID, the double-ended device ID and the equivalent endpoint number; after the whole network power flow calculation of the power grid simulation is completed in the test phase, the multi-level power grid double-ended devices are subjected to hierarchical data processing, the plant simulation service model receives the whole network power flow data and replaces the ID of the double-ended device with the ID of the equivalent single-ended device model of the boundary of each level of the power grid, and the single-ended device data value takes the negative or positive value of the double-ended device data value according to whether the original single-ended equivalent model is the head or end of the double-ended device.
[0011] As a further improvement of the present invention, the test verification platform and test system are constructed, various services are combined as needed, and a multi-level power grid AGC joint closed-loop test scenario construction system is constructed, including: The test system is directly copied and transplanted from the actual power grid dispatching automation system to build a virtual image of the actual dispatching automation system; According to the multi-level power grid structure and test requirements to be tested, the required RTU simulation service model, multi-level power grid simulation service model and plant simulation service model are combined; specifically including: According to the number of power grids in the multi-level power grid, an RTU simulation service model is created for each unit. The RTU simulation service model transmits data with the test system FE device through each power grid point table and channel model; Providing a power grid simulation service model including model data of multi-level power grids, and a plant simulation service model including models, data, point tables, and channels of multi-level power grids; All service models are built in a microservice manner, do not interfere with each other, and can be deployed, maintained, and upgraded separately; all data within the test verification platform use message bus communication, and each service agrees on a message topic to send and receive data. The message topic includes the service name and scenario number, and data can only be transmitted between two services that publish / subscribe to the same message topic.
[0012] As a further improvement of the present invention, each service obtains scene sample data in sequence as needed, and the power grid simulation first performs power flow calculation and frequency calculation of the entire network to simulate the operation of the power grid, and transmits the power flow data of the entire network to the plant simulation service model through the message bus, including: The plant simulation service model obtains the whole network flow data including the boundaries of each level of power grid through the power grid boundary model conversion module at each level, and transmits it to all RTU simulation service models through the message bus; the RTU simulation service model at each level compares the whole network flow data through the data transmission model, and only retains the measurement data that matches the point table of each level of power grid and transmits it to the test system; The test system forwards the data to the AGC software. The AGC software at all levels jointly calculates and generates the AGC control instructions for the power grid at all levels. The instructions are passed to the RTU simulation service model via the FE device. The RTU simulation service model passes the control instructions to the plant simulation service model and also passes the power grid area code to which the control instructions belong to to the plant simulation service model. The plant simulation service model is based on the unified conversion module of the AGC control model, which analyzes the control instructions to obtain the AGC units corresponding to the control instructions, and then obtains the grid-side units corresponding to the AGC units through the AGC control model and the grid model matching module; the plant simulation service model distributes the control instruction adjustment target value to each grid-side unit according to the unit attributes such as the unit climbing speed, the upper and lower limits of the unit active power, and then sends the grid-side unit adjustment instructions to the grid simulation service model through the message bus; After receiving the unit adjustment instructions, the power grid simulation service model performs power flow calculation and frequency calculation, verifies the accuracy of the AGC instructions, and returns the power flow results of the entire network to the plant simulation service model, thereby realizing multi-level power grid AGC joint closed-loop testing.
[0013] In a second aspect, the present invention provides a multi-level power grid AGC joint closed-loop test scenario construction system, comprising: The RTU simulation service model building module is used to build an RTU simulation service model for each power grid according to the level and characteristics of the interconnected multi-level power grid under test; The power grid simulation service model construction module is used to perform power flow calculation and frequency calculation based on the whole network model data and simulation events, simulate the real power grid operation characteristics according to the calculation results, and obtain the power grid simulation service model; according to the composition of the multi-level power grid, the data of the power grid simulation service model is spliced to obtain a multi-level power grid simulation service model; The plant simulation service model building module is used to build plant simulation samples that include multi-level power grid models, data, point tables, and channels. The multi-level power grid model data conversion engine is used to classify the data of the entire network and build a plant simulation service model. Closed-loop test scenario construction module, used to build test verification platform and test system, combine RTU simulation service model, multi-level power grid simulation service model and plant simulation service model as needed, and build multi-level power grid AGC joint closed-loop test scenario; The closed-loop test module is used for each service to obtain scenario sample data in sequence as needed. The multi-level power grid AGC issues control instructions. The power grid simulation and plant simulation service models process the control instructions and feedback the power grid trends at all levels to verify the accuracy of the AGC instructions and realize the joint closed-loop test of the multi-level power grid AGC.
[0014] 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 method for constructing a multi-level power grid AGC joint closed-loop test scenario when executing the computer program.
[0015] In a fourth aspect, the present invention provides 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 method for constructing a multi-level power grid AGC joint closed-loop test scenario is implemented.
[0016] In a fifth aspect, the present invention provides a computer program product, which includes computer instructions, and the computer instructions instruct a computer to execute the multi-level power grid AGC joint closed-loop test scenario construction method.
[0017] The beneficial effects of the present invention compared with the prior art are as follows: The present invention proposes a method for constructing a multi-level power grid model data conversion engine for multi-level power grid AGC joint test, including an AGC control model unified conversion module, an AGC control model and power grid model matching module, and a power grid boundary model equivalent conversion module at each level, which solves the model duplication problem, the actual power grid physical model and AGC control model conversion problem, and the multi-level power grid boundary model processing problem in the joint simulation of the multi-level power grid AGC control model, and improves the accuracy and calculation efficiency of the simulation. By constructing a multi-level power grid AGC joint test scenario generation method including an RTU simulation service model, a multi-level power grid model data power grid simulation service model, and a multi-level power grid model, data, point table, channel plant simulation service model test verification platform, combined with a test system to achieve a multi-level power grid "dispatching-plant-grid" interactive simulation, there is no need to build a multi-level power grid dispatching automation system data interface, simplifying the AGC closed-loop control test process, providing a "plug and test" simulation service model for the multi-level power grid AGC joint test, and building a digital full-process deduction environment for power grid control operation simulation and software quality management. Based on the multi-level power grid AGC joint closed-loop test data interaction method, each service obtains scenario sample data in turn as needed. The power grid simulation first performs full-network flow calculation and frequency calculation to simulate the power grid operation, and transmits the full-network flow data to the plant simulation service model through the message bus. The message bus is used for data interaction, realizing real-time concurrent transmission of massive measurement data and control commands between the grid-level and provincial power systems, and improving the speed and flexibility of system data interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] 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.
[0019] Figure 1 A flowchart of a multi-level power grid AGC joint closed-loop test scenario provided by the present invention; Figure 2 The unified conversion logic of the D5000 platform ID provided by the present invention; Figure 3 A matching model between the AGC control model and the power grid model provided by the present invention; Figure 4 A matching model between the AGC control model and the power grid model provided by the present invention; Figure 5 A system for constructing a multi-level power grid AGC joint closed-loop test scenario provided by the present invention; Figure 6 The multi-level power grid AGC joint closed-loop test data interaction method provided by the present invention; Figure 7 A multi-level power grid AGC joint closed-loop test scenario construction device provided by the present invention; Figure 8 A schematic diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0020] 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.
[0021] 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.
[0022] Explanation of abbreviations and key terms: 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.
[0023] ACE (Area Control Error): Area control error is a key concept in automatic generation control. The goal of the AGC system is to adjust the output of the generator to adapt to changes in load and fluctuations in unit output, to ensure the frequency stability of the power system and the balance of power exchange on the regional tie lines. ACE is an indicator that measures the difference between the actual output and the predetermined output of a control area.
[0024] SCADA (Supervisory Control And Data Acquisition): Data acquisition and monitoring control system is a computer-based production process control and dispatching automation system. It is mainly used to monitor and control the operating equipment of the power grid, and realize functions such as data acquisition, equipment control, measurement, parameter adjustment, and various signal alarms.
[0025] FE (Front-End Server) device: Front-end server device, which is an important part of power system automation and smart grid. The main function of the front-end server is to monitor the operation status and data of the power system in real time as part of the power grid dispatching control system, and to organize and transmit this data to the dispatching center to support the operation and management of the power system.
[0026] RTU simulation service model: The RTU simulation service model is used to simulate the actual power grid remote terminal unit device, using telecontrol standards and common protocols such as IEC104, IEC101, DNP, etc. to communicate with the master station under test, using messages or files to communicate with the simulated power grid, forwarding switches, circuit breakers, protection and other telesignaling information between the master station and the simulated power grid, as well as telemetry data such as voltage, current, active and reactive power factor, and processing remote control, remote adjustment, and setting point commands issued by the master station to simulate various normal and abnormal responses.
[0027] Multi-level power grid: a complex power system composed of power grids at different dispatching levels, including national dispatching, network dispatching, provincial dispatching and local dispatching.
[0028] Message bus: Message bus is a message middleware system based on the subscription / publishing mechanism, which provides reliable one-to-one, one-to-many and other message transmission for applications.
[0029] Under the hierarchical distribution control management system, AGC adopts a coordinated control mode. The actual power grid cannot bear the frequent test and verification of control technology, and requires the support of multi-level power grid AGC joint closed-loop verification technology. The existing support system needs to build a multi-level power grid dispatching automation system data interface by itself. The AGC systems at all levels interact closely, and the test scenario construction method is complicated, which cannot achieve "plug and test". In addition, due to the decentralization of some upper-level power grid dispatching rights, the upper-level AGC no longer assumes the specific unit equipment adjustment strategy of the lower-level AGC, but is only responsible for the overall ACE target value calculation of the lower-level power grid. The power grids at all levels need to analyze the operating status of the power grid at this level and calculate and issue the AGC control instructions of the power grid at this level. However, the power grids at all levels use the same rules to establish the joint simulation of the AGC control model. The joint AGC test of the multi-level power grid has problems of model duplication, model conversion and boundary model processing. The existing test system only establishes the connection interface between the upper-level power grid dispatching automation system and the simulated power grid, and cannot handle the concurrent problem of massive AGC control instructions of the multi-level power grid in this mode, as well as the model construction and data interaction problems of the multi-level power grid AGC and the simulated power grid.
[0030] like Figure 1 As shown, the first object of the present invention is to provide a method for constructing a multi-level power grid AGC joint closed-loop test scenario, comprising the following steps: Build an RTU simulation service model for each power grid according to the level and characteristics of the interconnected multi-level power grid under test; Perform power flow calculation and frequency calculation based on the whole network model data and simulation events, simulate the real power grid operation characteristics based on the calculation results, and obtain the power grid simulation service model; according to the composition of the multi-level power grid, perform data splicing of the power grid simulation service model to obtain a multi-level power grid simulation service model; Construct a plant simulation sample that includes multi-level power grid models, data, point tables, and channels, classify the entire network data through a multi-level power grid model data conversion engine, and build a plant simulation service model; Build a test verification platform and test system, combine RTU simulation service models, multi-level power grid simulation service models and plant simulation service models as needed, and build a multi-level power grid AGC joint closed-loop test scenario; Each service obtains scenario sample data in turn as needed, the multi-level power grid AGC issues control instructions, the power grid simulation and plant simulation service models process the control instructions and feedback the power grid trends at all levels, verify the accuracy of the AGC instructions, and realize the joint closed-loop testing of the multi-level power grid AGC.
[0031] The principle of the above technical solution is: According to the level and characteristics of the interconnected multi-level power grid under test, a corresponding RTU (remote terminal unit) simulation service model is built for each power grid. This step ensures that the characteristics and behaviors of each power grid can be accurately simulated in the simulation environment. The whole network model data and simulation events are used to perform flow calculations and frequency calculations to simulate the operating characteristics of the real power grid. These calculation results are used to build a power grid simulation service model, which can reflect the dynamic behavior of the power grid under various conditions. According to the composition of the multi-level power grid, the data of each power grid simulation service model is spliced to form a complete multi-level power grid simulation service model. This step ensures that the behavior of the entire multi-level power grid can be fully simulated in the simulation environment. Construct a plant simulation sample containing the model, data, point table, and channel of the multi-level power grid, and classify the whole network data through the multi-level power grid model data conversion engine. This step provides the necessary data and model support for plant simulation. Build an experimental verification platform and test system, combine RTU simulation service models, multi-level power grid simulation service models, and plant simulation service models as needed, and build a multi-level power grid AGC joint closed-loop test scenario. In the test scenario, each service obtains scenario sample data in turn as needed, the multi-level power grid AGC issues control instructions, and the power grid simulation and plant simulation service models process the control instructions and feedback the power grid flow at all levels. This step verifies the accuracy of the AGC instructions and realizes the joint closed-loop test of the multi-level power grid AGC.
[0032] This method can fully simulate the operating characteristics and behaviors of multi-level power grids, including changes in key parameters such as power flow and frequency. This helps to more accurately evaluate the performance and effectiveness of the AGC system. By combining different simulation service models on demand, a variety of test scenarios can be constructed to meet different test needs. This improves the flexibility and applicability of the test. This method uses simulation technology to complete a large number of tests in a short period of time and improve test efficiency. At the same time, simulation testing can also avoid potential risks to the actual power grid. Through precise simulation calculations and model splicing, this method can simulate operating conditions similar to those of the actual power grid. This helps to more accurately verify the accuracy and effectiveness of AGC instructions. This method can be expanded and updated as the power grid develops and changes to adapt to new test needs and technical requirements.
[0033] As a further improvement, the present invention proposes a method for constructing a multi-level power grid model data conversion engine for multi-level power grid AGC joint testing, including an AGC control model unified conversion module, an AGC control model and power grid model matching module, and an equivalent conversion module for each level of power grid boundary model.
[0034] As a further improvement, the present invention proposes a multi-level power grid AGC joint test scenario generation method by constructing a test verification platform including an RTU simulation service model, a power grid simulation service model of multi-level power grid model data, and a plant simulation service model of models, data, point tables, and channels, and combining the test system to realize the interactive simulation of the multi-level power grid "dispatching-plant-grid".
[0035] As a further improvement, the present invention proposes a multi-level power grid AGC joint closed-loop test data interaction method. Each service obtains scene sample data in turn as needed. The power grid simulation first performs full-network flow calculation and frequency calculation to simulate the operation of the power grid, and then transmits the full-network flow data to the plant simulation service model through the message bus.
[0036] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0037] Figure 1 Construct a multi-level power grid AGC joint closed-loop test scenario flow chart. The multi-level power grid AGC joint closed-loop test scenario consists of a test system and a test verification platform. The method includes the following steps: Step (1) constructs a corresponding RTU simulation service model according to the characteristics of each multi-level power grid; specifically includes: In the above steps, the multi-level power grid AGC joint closed-loop test scenario consists of a test system and a test verification platform. The test system is a virtual image of the actual power grid dispatching automation system, which is used to receive and analyze the power grid operation status (measurement data) and issue control instructions; the test verification platform is a simulated physical power grid, which is used to simulate the actual power grid operation characteristics. The data flow modules involved in the AGC business in the actual power grid dispatching automation system include AGC software, SCADA system, FE device and RTU device, etc. The RTU device is a device that connects the dispatching automation system to the actual physical power grid plant station. Both the FE device and the RTU device are data forwarding devices, so it is selected to set data coupling points in the FE device and the RTU device. The FE device is retained in the virtual image of the actual power grid dispatching automation system. The RTU device is simulated by the test verification platform to build a simulation service model to simulate its business functions, and interacts with the FE through the 104 protocol to connect the test system and the simulated physical power grid.
[0038] In the above steps, an RTU simulation service model is constructed for each power grid according to the level and characteristics of the multi-level interconnected power grid under test. Taking the two-level control system of the grid and province as an example, if one grid control manages n provincial control, 1+n RTU simulation service models need to be constructed. Each RTU simulation service model reads the corresponding grid data point table and channel to establish a data transmission model, that is, the matching relationship between the ID, data transmission channel, data name and data value of each measurement data to be transmitted. Each RTU simulation service model is responsible for transmitting the control instructions and flow data (measurement data) required by this level of power grid. When the AGC software issues a control instruction, each RTU simulation service model corresponds to a FE device one by one, so it will only parse and transmit the control instructions issued by the AGC of the power grid at this level. When the simulated power grid calculates the power flow of the entire network, the RTU matches the power flow data of the entire network and the required transmission measurement data through the measurement ID. Since each RTU only establishes the data transmission model of this level of power grid, it can only match and transmit the measurement data of this level of power grid, and cannot match the measurement data of other power grids. Therefore, it will only upload the measurement data of this level of power grid, avoiding data redundancy and reducing data transmission efficiency.
[0039] Step (2), construct a power grid simulation sample including a multi-level power grid model and data, and build a power grid simulation service model.
[0040] In the above steps, the power grid simulation service model performs power flow calculation and frequency calculation based on the whole network model data and simulation events to simulate the real power grid operation characteristics. Simulation events include unit active power regulation, switch opening and closing, and other events that change the operation state of the simulated power grid. The power grid simulation service model interacts with the whole network power flow data and simulation events through the message bus.
[0041] In the above steps, the whole network model data is spliced according to the composition of the selected multi-level power grid. The grid model data of each level of the actual power grid is obtained. Other grid models related to the dispatching grid at this level exist in the grid model at this level in the form of single-end devices such as equivalent units or equivalent loads. Based on the network topology analysis method, the boundary plants, equipment and their jurisdiction units are identified, and the boundary equivalent equipment is restored to double-end equipment such as lines or transformers. The data of the dispatching at all levels is automatically spliced to obtain a complete multi-level power grid full network data model. At the same time, the association relationship between equivalent equipment and restored equipment is constructed to prepare for the subsequent uploading of corresponding measurement data to the dispatching automation system of power grids at all levels.
[0042] Step (3) constructs a plant simulation sample that includes a multi-level power grid model, data, point table, and channel, classifies the entire network data through a multi-level power grid model data conversion engine, and builds a plant simulation service model.
[0043] In the above steps, the plant simulation service model includes unit characteristic simulation, plant and master station (dispatching automation system) closed-loop simulation and plant abnormal event simulation. The unit characteristic simulation is based on the unit ramp rate parameters in the AGC model, and can simulate the ramp process of various units following the master station instructions. The plant and master station closed-loop simulation is through the front end and RTU, which can receive the master station AGC instructions in real time. The plant simulation service model also needs to send the plant control signal and power grid measurement data in real time, such as AGC input and exit signals, PLC power adjustment upper and lower limits, etc. When the AGC software issues control instructions, it uses a set of control models built by AGC general rules, which cannot be directly associated with the simulated power grid. After the RTU of the test verification platform receives the AGC instruction, the plant simulation service model needs to parse and process the instruction. The control object of the AGC instruction is the plant controller (PLC). The plant simulation service model needs to parse the AGC unit associated with the PLC, and then parse the AGC unit to match the grid-side unit for power regulation and interact with the grid simulation. The simulation of abnormal plant events can simulate abnormal unit ramping, abnormal signal transmission, abnormal master station command tracking, and other events to verify the anti-error capability of the master station AGC. The plant simulation service model interacts with the whole network flow data and simulation events through the message bus. The plant simulation service model builds plant simulation samples based on the models and data of the multi-level power grid generated by the power grid simulation, the AGC control model provided by the AGC software of each level of the power grid, and the full-point table and full-channel data transmission model involving data communication provided by the dispatching automation system of each level of the power grid. Data transmission model reuse steps (1) The data transmission model established by the RTU simulation service model, on the plant simulation service model side, simply directly combines the data transmission models of the power grids at all levels into a whole network data transmission model to support the whole network data interaction.
[0044] In the above steps, there is a model conversion problem between the actual power grid physical model and the AGC control model, that is, the ID and master-slave structure of the AGC side modeling and the grid side modeling of the same device in the plant are different. For example, the grid side modeling unit is directly associated with the plant, and the AGC side modeling is divided into two cases. One is that the conventional unit is associated with the PLC, and the PLC is then associated with the plant, and the other is that several new energy units are equivalent to one AGC equivalent unit, and the associated PLC is then associated with the plant. In either case, in the process of AGC side modeling, each device ID has its own set of rules and cannot be directly matched with the grid side model; and the AGC side modeling IDs of all levels of power grids are based on the same rules. After the ID is parsed, the record number of each device starts from 1. The multi-level power grid AGC joint test requires data interaction and there is still the problem of ID duplication. The plant simulation service model is the intermediary connecting the whole network power grid simulation and the RTU simulation service model of all levels of power grids. A multi-level power grid model data conversion engine is constructed to classify and match the whole network model data to ensure accurate identification and transmission of power grid data at all levels.
[0045] Among them, the multi-level power grid model data conversion engine includes an AGC control model unified conversion module, an AGC control model and power grid model matching module, and an equivalent conversion module for each level of power grid boundary models.
[0046] The AGC control model unified conversion module reads the AGC control model of each level of the power grid. The AGC control model includes the AGC device model and the AGC measurement model. Figure 2 The unified conversion logic of the D5000 platform ID in the AGC equipment model includes the AGC plant, AGC controller (PLC), and AGC unit. The measurement model refers to the comparison relationship between the AGC equipment model and the data it needs to transmit. For example, the measurement model of the AGC unit includes the active value of the AGC unit, the assembly status of the AGC unit, and the commissioning and withdrawal status of the AGC unit. Based on each power grid area number, the AGC plant, PLC, and unit model IDs of each level of power grid and the equipment ID in the measurement model are regenerated. For the power grid whose dispatching automation system adopts the D5000 platform, the model ID is 8 bytes in total, which is split into 2 bytes of table number, 2 bytes of domain number, 1 byte of area number, and 1 byte of record number. Due to the general modeling rules inside the AGC software, the 1 byte of the area number of the original AGC equipment model ID is 0. When the multi-level power grid is jointly adjusted, the control instructions issued by each AGC are difficult to distinguish the control object of the specific power grid. Therefore, in the preparation stage of model construction, different areas are assigned to power grids at all levels, and the area number is replaced by the original area number through binary conversion to generate a unified conversion AGC model for the entire network. When receiving control instructions during the test, the RTU simulation service model provides the regional codes and instruction object IDs of each level of the power grid. The plant simulation service model generates a converted ID based on this rule, and then matches it with the unified conversion AGC model of the entire network during model construction, so as to quickly locate the equipment that needs to be adjusted and avoid the problem of multi-level power grid data interaction confusion caused by ID duplication.
[0047] Figure 3 The AGC control model and the power grid model matching module are based on the unified conversion of the AGC model and the whole network model data provided by the power grid simulation to establish the association between the AGC model and the power grid model.
[0048] For conventional units, the AGC control model is a one-to-one relationship. One grid-side unit corresponds to one AGC unit. In this case, an ID comparison relationship can be directly established. For new energy units, multiple new energy units on the grid side establish one AGC equivalent unit on the AGC side, which is a many-to-one relationship. Set the AGC equivalent unit flag and the equivalent unit group corresponding to each AGC unit.
[0049] As an example, in the model preparation stage, when there is a many-to-one relationship, this flag takes effect, and the AGC unit immediately creates an equivalent unit group and adds all units associated with it on the grid side.
[0050] As a further example, during the test phase, after the plant simulation service model receives the AGC control instruction, if the equivalent unit flag of the AGC unit obtained after matching the PLC is 0, it is a conventional unit instruction, and the PLC power is directly assigned to the corresponding AGC conventional unit, and then the one-to-one conventional units on the grid side are matched to interact with the grid simulation. If the equivalent unit flag of the AGC unit obtained after matching the PLC is 1, it is a new energy equivalent unit instruction, and the power is evenly distributed or allocated to each grid side unit according to the many-to-one relationship or according to the current power ratio, and transmitted to the grid simulation, and the equivalent unit group power is accumulated and uploaded when the grid measurement data is fed back, thereby realizing the integration of the AGC model and the grid model.
[0051] Furthermore, the equivalent conversion module of the boundary model of each level of power grid is to restore the data of the whole network power flow calculation result to the boundary model of each level of power grid for data transmission. Figure 4 As shown in FIG. 1 , it is a matching model between the AGC control model and the power grid model. When generating the whole network model data sample in step (2), the single-end equivalent devices of each level of power grid are converted into double-end devices to obtain the interconnected large power grid model of each level, and the unified power flow calculation is performed. Based on the matching model of single-end devices of each level of power grid and double-end devices of multi-level power grid, the equivalent conversion module of the boundary model of each level of power grid is constructed, including single-end device ID, double-end device ID and equivalent endpoint number. After the whole network power flow calculation of power grid simulation is completed in the test phase, the multi-level power grid double-end devices are subjected to hierarchical data processing. The plant simulation service model receives the whole network power flow data and replaces the double-end device ID with the equivalent single-end device model ID of each level of power grid boundary. The single-end device data value is taken as the negative or positive value of the double-end device data value according to whether the original single-end equivalent model is the first or the end of the double-end device, so as to ensure the integrity of the measurement data transmission of each level of power grid.
[0052] Step (4), build a test verification platform and test system, combine various services as needed, and build a multi-level power grid AGC joint closed-loop test scenario construction system, such as Figure 5 shown.
[0053] In the above steps, the test system is directly copied and transplanted from the actual power grid dispatching automation system to build a virtual image of the actual dispatching automation system. Therefore, there is no need to build complex data transmission logic inside the dispatching automation system to ensure the consistency of the data flow between the test system and the actual power grid dispatching automation system. Taking the grid-level and provincial-level AGC tests as an example, the internal AGC instructions of the dispatching automation system at all levels are issued through the output of the AGC software at all levels, SCADA at all levels, and FE devices at all levels, and the measurement information at all levels is also fed back to the AGC software in the reverse direction through this link; at the same time, the dispatching automation system at all levels directly exchanges the measurement information such as the calculation ACE, AGC status, and frequency modulation results at all levels through the 476 protocol.
[0054] Further, according to the multi-level power grid structure and test requirements to be tested, the required RTU simulation service model, power grid simulation service model and plant simulation service model are combined. According to the number of power grids in the multi-level power grid, an RTU simulation service model is created for each unit. The RTU simulation service model transmits data with the test system FE device through the 104 protocol through each power grid point table and channel model. A set of power grid simulation service models containing model data of multi-level power grids and a set of plant simulation service models containing models, data, point tables and channels of multi-level power grids are provided. These services are built in a microservice manner, and each service does not interfere with each other and can be deployed, maintained and upgraded separately. All data in the test verification platform are communicated by message bus. The message topic is agreed between each service for data sending and receiving. The message topic includes the service name and scenario number. Only two services that publish / subscribe to the same message topic can transmit data. By setting different scenario numbers to generate different message topics, multiple multi-level power grid joint AGC test scenarios can be supported for simultaneous parallel testing without affecting each other's data communication.
[0055] In step (5), each service obtains the scenario sample data in turn as needed. The power grid simulation first performs the whole network flow calculation and frequency calculation to simulate the power grid operation, and transmits the whole network flow data to the plant simulation service model through the message bus.
[0056] In the above steps, the multi-level power grid AGC joint closed-loop test data interaction method is as follows: Figure 6 The specific steps include: The plant simulation service model obtains the whole network flow data including the grid boundaries at all levels through the grid boundary model conversion module at all levels, and transmits it to all RTU simulation service models through the message bus. The RTU simulation service models at all levels compare the whole network flow data through the data transmission model, and only retain the measurement data that matches the grid point table at all levels and transmit it to the test system. The test system forwards it to the AGC software internally, and the AGC software at all levels jointly calculates and generates the AGC control instructions of the grid at all levels, which are transmitted to the RTU simulation service model through the FE device. The RTU simulation service model transmits the control instruction to the plant simulation service model and transmits the grid area code to which the control instruction belongs to the plant simulation service model. The plant simulation service model is based on the unified conversion module of the AGC control model, analyzes the control instruction to obtain the AGC unit corresponding to the control instruction, and then obtains the grid side unit corresponding to the AGC unit by the AGC control model and the grid model matching module. The plant simulation service model assigns the control instruction adjustment target value to each grid side unit according to the unit attributes such as the unit climbing speed, the upper and lower limits of the unit active power, and then sends the grid side unit adjustment instruction to the grid simulation through the message bus. After receiving the unit adjustment instructions, the power grid simulation performs power flow calculation and frequency calculation to verify the accuracy of the AGC instructions, and returns the power flow results of the entire network to the plant simulation service model, thereby realizing multi-level power grid AGC joint closed-loop testing.
[0057] like Figure 7 As shown, the second object of the present invention is to provide a multi-level power grid AGC joint closed-loop test scenario construction system, comprising: The RTU simulation service model construction module 701 is used to construct an RTU simulation service model for each power grid according to the level and characteristics of the interconnected multi-level power grid under test; The power grid simulation service model construction module 702 is used to perform power flow calculation and frequency calculation according to the whole network model data and simulation events, simulate the real power grid operation characteristics according to the calculation results, and obtain the power grid simulation service model; according to the composition of the multi-level power grid, the data of the power grid simulation service model is spliced to obtain the multi-level power grid simulation service model; The plant simulation service model building module 703 is used to build a plant simulation sample including a multi-level power grid model, data, point table, and channel, classify the whole network data through the multi-level power grid model data conversion engine, and build a plant simulation service model; The closed-loop test scenario construction module 704 is used to build a test verification platform and a test system, combine the RTU simulation service model, the multi-level power grid simulation service model and the plant simulation service model as needed, and build a multi-level power grid AGC joint closed-loop test scenario; The closed-loop test module 705 is used for each service to obtain scene sample data in sequence as needed. The multi-level power grid AGC issues control instructions. The power grid simulation and plant simulation service models process the control instructions and feedback the power grid currents at all levels to verify the accuracy of the AGC instructions and realize the joint closed-loop test of the multi-level power grid AGC.
[0058] The system is based on the above-mentioned multi-level power grid AGC joint closed-loop test scenario construction method.
[0059] like Figure 8 As shown, the third purpose of the embodiment of the present invention is to provide an electronic device, including a memory 801, a processor 802, and a computer program stored in the memory 801 and executable on the processor, wherein the processor implements the multi-level power grid AGC joint closed-loop test scenario construction method when executing the computer program. It also includes a communication interface 803 and a bus 804.
[0060] 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 method for constructing a multi-level power grid AGC joint closed-loop test scenario is implemented.
[0061] A fifth objective of an embodiment of the present invention is to provide a computer program product, wherein the computer program product comprises computer instructions, and the computer instructions instruct a computer to execute the method for constructing a multi-level power grid AGC joint closed-loop test scenario.
[0062] 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.
[0063] 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.
[0064] 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.
[0065] 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.
[0066] 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.
[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution 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, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the present invention.
Claims
1. A method for constructing a multi-level power grid AGC joint closed-loop test scenario, characterized in that: include: Build an RTU simulation service model for each power grid according to the level and characteristics of the interconnected multi-level power grid under test; Perform power flow calculation and frequency calculation based on the whole network model data and simulation events, simulate the real power grid operation characteristics based on the calculation results, and obtain the power grid simulation service model; according to the composition of the multi-level power grid, perform data splicing of the power grid simulation service model to obtain a multi-level power grid simulation service model; Construct a plant simulation sample that includes multi-level power grid models, data, point tables, and channels, classify the entire network data through a multi-level power grid model data conversion engine, and build a plant simulation service model; Build a test verification platform and test system, combine RTU simulation service models, multi-level power grid simulation service models and plant simulation service models as needed, and build a multi-level power grid AGC joint closed-loop test scenario; Each service obtains scenario sample data in turn as needed, the multi-level power grid AGC issues control instructions, the power grid simulation and plant simulation service models process the control instructions and feedback the power grid trends at all levels, verify the accuracy of the AGC instructions, and realize the joint closed-loop testing of the multi-level power grid AGC.
2. The method for constructing a multi-level power grid AGC joint closed-loop test scenario according to claim 1, characterized in that: The RTU simulation service model is constructed for each power grid according to the level and characteristics of the measured interconnected multi-level power grid, specifically including: each RTU simulation service model reads the corresponding power grid data point table and channel, obtains the matching relationship between each measurement data ID, data transmission channel, data name and data value, and then establishes a data transmission model; Among them, each RTU simulation service model is responsible for transmitting the control instructions and flow data required by the power grid at this level; when the AGC issues a control instruction, each RTU simulation service model corresponds to a FE device, and parses and transmits the control instructions issued by the AGC of the power grid at this level; when the simulated power grid calculates the power flow of the entire network, the RTU matches the power flow data of the entire network and the required transmission measurement data through the measurement ID, and uploads the measurement data of the power grid at this level.
3. The method for constructing a multi-level power grid AGC joint closed-loop test scenario according to claim 1, characterized in that: The data of the power grid simulation service model is spliced according to the composition of the multi-level power grid to obtain the power grid simulation service model, including: The grid model data of all levels of the actual power grid are obtained. Other grid models related to the dispatching grid at this level exist in the grid model at this level in the form of single-ended devices such as equivalent units or equivalent loads. Based on the network topology analysis method, the boundary plants, equipment and their jurisdiction units are identified, and the boundary equivalent equipment is restored to double-ended equipment. The dispatching data of all levels of the power grid simulation service model are spliced to obtain a complete multi-level grid data model; and the association relationship between equivalent equipment and restored equipment is established.
4. The method for constructing a multi-level power grid AGC joint closed-loop test scenario according to claim 1, characterized in that: The construction of a plant simulation sample including a multi-level power grid model, data, point tables, and channels includes: The plant simulation service model includes unit characteristic simulation, plant and master station closed-loop simulation, and plant abnormal event simulation; the unit characteristic simulation simulates the climbing process of various units following the master station instructions based on the unit climbing rate parameters in the AGC model; the plant and master station closed-loop simulation receives the master station AGC instructions in real time through the front-end and RTU, and sends the plant control signals and power grid measurement data in real time; Analyze the AGC units associated with the PLC, and then analyze and match the AGC units with the grid-side units for power regulation and interaction with the grid simulation; Exchange network-wide flow data and simulation events through the message bus; A plant simulation sample is constructed based on the models and data of the multi-level power grid generated by power grid simulation, the AGC control model provided by the AGC software of each level of power grid, and the full-point table and full-channel data transmission model involving data communication provided by the dispatching automation system of each level of power grid.
5. The method for constructing a multi-level power grid AGC joint closed-loop test scenario according to claim 1, characterized in that: The multi-level power grid model data conversion engine includes an AGC control model unified conversion module, an AGC control model and power grid model matching module, and a power grid boundary model equivalent conversion module at each level; AGC control model unified conversion module is used to read the AGC control model of each level of power grid. The AGC control model includes the AGC device model and the AGC measurement model. The AGC device model includes the AGC plant, AGC controller, and AGC unit. The measurement model refers to the relationship between the AGC device model and the data it needs to transmit. The AGC measurement model regenerates the AGC plant, PLC, and unit model IDs of each level of power grid and the device ID in the measurement model based on each power grid area number. AGC control model and power grid model matching module is used to establish the association between AGC model and power grid model based on the unified conversion of AGC model and the whole network model data provided by power grid simulation; set the AGC equivalent unit flag and the equivalent unit group corresponding to each AGC unit; The equivalent conversion module of the boundary models of power grids at all levels is used to restore the data of the power flow calculation results of the whole network to the boundary models of power grids at all levels for data transmission.
6. The method for constructing a multi-level power grid AGC joint closed-loop test scenario according to claim 5, characterized in that: The AGC control model unified conversion module is specifically used to allocate different regions to power grids at all levels in the preparation stage of model construction, and replace the original region code with the region code through binary conversion to generate a unified conversion AGC model for the entire network; when receiving control instructions during the test process, the RTU simulation service model provides the region code and instruction object ID of the power grid at all levels, and the plant simulation generates the converted ID, which is then matched with the unified conversion AGC model for the entire network during model construction to locate the equipment that needs to be adjusted.
7. The method for constructing a multi-level power grid AGC joint closed-loop test scenario according to claim 5, characterized in that: The AGC control model and power grid model matching module is specifically used in the model preparation stage. When there is a many-to-one relationship, this flag bit takes effect, and the AGC unit immediately creates an equivalent unit group and adds all units associated with it on the power grid side; in the testing stage, after the plant simulation receives the AGC control instruction, if the equivalent unit flag bit of the AGC unit obtained after matching the PLC is 0, it is a conventional unit instruction, and the PLC power is directly assigned to the corresponding AGC conventional unit, and then the one-to-one conventional units on the power grid side are matched to interact with the power grid simulation; if the equivalent unit flag bit of the AGC unit obtained after matching the PLC is 1, it is a new energy equivalent unit instruction, and the power is evenly distributed or allocated to each power grid side unit according to the many-to-one relationship or according to the current power ratio, and transmitted to the power grid simulation, and the power of the equivalent unit group is accumulated and uploaded when the power grid measurement data is fed back, thereby realizing the fusion of the AGC model and the power grid model.
8. The method for constructing a multi-level power grid AGC joint closed-loop test scenario according to claim 5, characterized in that: The equivalent conversion module for the boundary model of each level of the power grid is specifically used to convert the single-end equivalent devices of each level of the power grid into double-end devices when generating the whole network model data sample, thereby obtaining the interconnected large power grid model of each level, performing unified power flow calculation, and constructing the equivalent conversion module for the boundary model of each level of the power grid based on the matching model of the single-end devices of each level of the power grid and the double-end devices of the multi-level power grid, including the single-end device ID, the double-end device ID and the equivalent endpoint number; after the whole network power flow calculation of the power grid simulation is completed in the test phase, the multi-level power grid double-end devices are subjected to hierarchical data processing, the plant simulation service model receives the whole network power flow data and replaces the ID of the double-end device with the ID of the equivalent single-end device model of the boundary of each level of the power grid, and the single-end device data value takes the negative or positive value of the double-end device data value according to whether the original single-end equivalent model is the first or the end of the double-end device.
9. The method for constructing a multi-level power grid AGC joint closed-loop test scenario according to claim 1, characterized in that: The test verification platform and test system are built, various services are combined as needed, and a multi-level power grid AGC joint closed-loop test scenario construction system is constructed, including: The test system is directly copied and transplanted from the actual power grid dispatching automation system to build a virtual image of the actual dispatching automation system; According to the multi-level power grid structure and test requirements to be tested, the required RTU simulation service model, multi-level power grid simulation service model and plant simulation service model are combined; specifically including: According to the number of power grids in the multi-level power grid, an RTU simulation service model is created for each unit. The RTU simulation service model transmits data with the test system FE device through each power grid point table and channel model; Providing a power grid simulation service model including model data of multi-level power grids, and a plant simulation service model including models, data, point tables, and channels of multi-level power grids; All service models are built in a microservice manner, do not interfere with each other, and can be deployed, maintained, and upgraded separately; all data within the test verification platform use message bus communication, and each service agrees on a message topic to send and receive data. The message topic includes the service name and scenario number, and data can only be transmitted between two services that publish / subscribe to the same message topic.
10. The method for constructing a multi-level power grid AGC joint closed-loop test scenario according to claim 1, characterized in that: Each service obtains scene sample data in turn as needed. The power grid simulation first performs power flow calculation and frequency calculation of the entire network to simulate the operation of the power grid, and transmits the power flow data of the entire network to the plant simulation service model through the message bus, including: The plant simulation service model obtains the whole network flow data including the boundaries of each level of power grid through the power grid boundary model conversion module at each level, and transmits it to all RTU simulation service models through the message bus; the RTU simulation service model at each level compares the whole network flow data through the data transmission model, and only retains the measurement data that matches the point table of each level of power grid and transmits it to the test system; The test system forwards the data to the AGC software. The AGC software at all levels jointly calculates and generates the AGC control instructions for the power grid at all levels. The instructions are passed to the RTU simulation service model via the FE device. The RTU simulation service model passes the control instructions to the plant simulation service model and also passes the power grid area code to which the control instructions belong to to the plant simulation service model. The plant simulation service model is based on the unified conversion module of the AGC control model, which analyzes the control instructions to obtain the AGC units corresponding to the control instructions, and then obtains the grid-side units corresponding to the AGC units through the AGC control model and the grid model matching module; the plant simulation service model distributes the control instruction adjustment target value to each grid-side unit according to the unit attributes such as the unit climbing speed, the upper and lower limits of the unit active power, and then sends the grid-side unit adjustment instructions to the grid simulation service model through the message bus; After receiving the unit adjustment instructions, the power grid simulation service model performs power flow calculation and frequency calculation, verifies the accuracy of the AGC instructions, and returns the power flow results of the entire network to the plant simulation service model, thereby realizing multi-level power grid AGC joint closed-loop testing.
11. A multi-level power grid AGC joint closed-loop test scenario construction system, characterized in that: include: The RTU simulation service model building module is used to build an RTU simulation service model for each power grid according to the level and characteristics of the interconnected multi-level power grid under test; The power grid simulation service model construction module is used to perform power flow calculation and frequency calculation based on the whole network model data and simulation events, simulate the real power grid operation characteristics according to the calculation results, and obtain the power grid simulation service model; according to the composition of the multi-level power grid, the data of the power grid simulation service model is spliced to obtain a multi-level power grid simulation service model; The plant simulation service model building module is used to build plant simulation samples that include multi-level power grid models, data, point tables, and channels. The multi-level power grid model data conversion engine is used to classify the data of the entire network and build a plant simulation service model. Closed-loop test scenario construction module, used to build test verification platform and test system, combine RTU simulation service model, multi-level power grid simulation service model and plant simulation service model as needed, and build multi-level power grid AGC joint closed-loop test scenario; The closed-loop test module is used for each service to obtain scenario sample data in sequence as needed. The multi-level power grid AGC issues control instructions. The power grid simulation and plant simulation service models process the control instructions and feedback the power grid trends at all levels to verify the accuracy of the AGC instructions and realize the joint closed-loop test of the multi-level power grid AGC.
12. 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, wherein when the processor executes the computer program, the method for constructing a multi-level power grid AGC joint closed-loop test scenario as described in any one of claims 1 to 10 is implemented.
13. 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 method for constructing a multi-level power grid AGC joint closed-loop test scenario as described in any one of claims 1-10 is implemented.
14. A computer program product, comprising computer instructions, characterized in that: The computer instructions instruct the computer to execute the multi-level power grid AGC joint closed-loop test scenario construction method described in any one of claims 1-10.
Citation Information
Patent Citations
Automatic power generating control target command receiving system of grid combined power generator set
CN103701154A
Hydropower station AGC combined output model and combined operation region calculation method
CN106056236A
AGC closed-loop test method and device
CN108539800A
Real-time simulation network-level and provincial-level AGC combined closed-loop test method and device
CN110516899A
Electric power simulation system, and multi-source automatic power generation control joint simulation system and method
CN111193294A
Cited By
Simulation fusion modeling method and system for information physical multi-heterogeneous system
CN121325647A
New energy-containing AGC test verification scene library construction method and system
CN122287151A
AGC test verification scene library construction method and system containing new energy
CN122287151B