A virtual power plant simulation test system, method, and storage medium
By building a virtual power plant power system simulation model and transmitting data in real time, the problem of inaccurate test results of virtual power plant controllers and algorithms is solved, and the accuracy and cost savings of test results are achieved.
Patent Information
- Application Number
- CN202011581199.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-28
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2040-12-28
AI Technical Summary
In the prior art, due to the randomness and fluctuation of power generation and power consumption, the test results of controllers and algorithms of different manufacturers are inaccurate.
By building a virtual power plant power system simulation model, including a new energy power generation simulation model and a power load simulation model, and transmitting the operating data of these models to the controller of the virtual power plant to be tested in real time, so that it can generate a real-time updated operating strategy.
It ensures the accuracy of the test results of virtual power plant controllers and algorithms, saves test time and testing costs, and allows it to comprehensively consider the power supply and power consumption in the entire grid-connected system.
Smart Images

Figure CN112684719B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of testing, and particularly to a virtual power plant simulation test system, method and storage medium. Background Technique
[0002] A virtual power plant is a power coordination management system that realizes the aggregation and coordinated optimization of DGs (Distributed Generation), energy storage systems, controllable loads, electric vehicles, etc. (Distributed Energy Resource) through advanced information and communication technologies and software systems, and participates in the power market and grid operation as a special power plant. The key technologies of virtual power plants mainly include coordination control technology, intelligent metering technology, information and communication technology, etc. The most attractive function of virtual power plants is their ability to aggregate DERs to participate in the operation of power markets and ancillary service markets, providing management and ancillary services for distribution networks and transmission networks. The solution idea of "virtual power plant" has great market potential in China. For China, which is facing the contradiction of "power shortage and low energy efficiency", it is undoubtedly a good choice.
[0003] Since the virtual power plant emphasizes the overall function and effect presented by the controlled area to the outside, the aggregation of diverse DERs to achieve high-quality power output required by the system is the focus of virtual power plant control research. It requires the reasonable cooperation of energy storage systems, dispatchable generating units, and controllable loads to ensure power quality and improve power generation economy.
[0004] The virtual power plant is still in the initial stage of research. The system will include controllers or optimization scheduling platforms from different manufacturers, and the control algorithms of controllers from different manufacturers are also different. There is a large amount of communication and cooperation between different control devices. Coupled with the randomness and volatility of power generation and consumption in the system, the overall system becomes more complex, resulting in inaccurate test results for the controllers and algorithms of different virtual manufacturers. Summary of the Invention
[0005] The purpose of the embodiments of the present invention is to provide a virtual power plant simulation test system, method and storage medium, which solves the problem that in the prior art, due to the randomness and volatility of power generation and consumption, the test results of controllers and algorithms of different manufacturers are inaccurate.
[0006] To solve the above technical problems, in a first aspect, an embodiment of the present invention provides a virtual power plant simulation test system, including a host computer and a real-time simulator;
[0007] The host computer and the real-time simulator are communicatively connected;
[0008] A host computer, which is used to construct a simulation model of a virtual power plant power system. The simulation model of the virtual power plant power system includes a new energy power generation simulation model and an electrical load simulation model;
[0009] A real-time simulator, which is used to run the simulation model of the virtual power plant power system and transmit the operation data of the new energy power generation simulation model and the electrical load simulation model to the controller of the virtual power plant to be tested in real time, so that the controller of the virtual power plant to be tested generates a real-time updated operation strategy according to the operation data.
[0010] In a second aspect, an embodiment of the present invention provides a virtual power plant simulation test method, including:
[0011] Construct a simulation model of a virtual power plant power system. The simulation model of the virtual power plant power system includes a new energy power generation simulation model and an electrical load simulation model;
[0012] Run the new energy power generation simulation model and the electrical load simulation model, and transmit the operation data of the new energy power generation simulation model and the electrical load simulation model to the controller of the virtual power plant to be tested in real time, so that the controller of the virtual power plant to be tested updates the operation strategy in real time according to the operation data.
[0013] In a third aspect, an embodiment of the present invention provides an electronic device, including:
[0014] At least one processor; and,
[0015] A memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores instructions executable by the at least one processor. The instructions are executed by the at least one processor so that the at least one processor can execute the steps of the virtual power plant simulation test method described in the second aspect embodiment of the present invention.
[0017] In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the virtual power plant simulation test method described in the second aspect embodiment of the present invention are implemented.
[0018] Compared with the prior art, the embodiment of the present invention simulates and emulates a power supply system (new energy power generation) and an electrical load with randomness and intermittency in the power system, constructs a new energy power generation simulation model and an electrical load simulation model, and transmits the operation data of the new energy power generation simulation model and the electrical load simulation model to the virtual power plant controller to be tested in real time, so as to effectively test the controller and algorithm of the virtual power plant, enabling it to comprehensively consider the power supply and power consumption in the entire grid-connected system, ensuring the accuracy of the test results, and saving test time and test costs.
[0019] In addition, the new energy power generation simulation model includes one or any combination of the following: a photovoltaic power generation simulation model, a wind turbine power generation simulation model, an energy storage simulation model, and a combined heat and power simulation model; the electrical load simulation model includes one or any combination of the following: a commercial electricity consumption simulation model, an industrial electricity consumption simulation model, a residential electricity consumption simulation model, and an electric vehicle electricity consumption simulation model.
[0020] In addition, the real-time simulator includes a central processing unit CPU simulator and a field programmable gate array FPGA simulator connected to each other;
[0021] The CPU simulator is used to receive and run the new energy power generation simulation model and the electrical load simulation model transmitted by the upper computer, configure a first type of communication port, and communicate with the corresponding controller in the virtual power plant to be tested according to the first type of communication port;
[0022] The FPGA simulator is used to configure a second type of communication port and communicate with the corresponding controller in the virtual power plant to be tested according to the second type of communication port.
[0023] In addition, the first type of communication port includes a communication board card, and the communication board card is a multi-channel expandable communication board card;
[0024] The CPU simulator is also used to configure the communication protocol of the communication board card;
[0025] The communication protocol includes one or any combination of the following: IEC-60870-5-104 protocol, IEC-61850 communication protocol, Modbus protocol, TCP / IP protocol.
[0026] In addition, the second type of communication port includes a fiber optic interface and an IO interface;
[0027] The FPGA simulator is also used to configure the fiber optic channel protocol of the fiber optic interface and configure the IO interface board card.
[0028] In addition, the CPU emulator includes a main board, a Peripheral Component Interconnect Express (PCIe) card, and at least one CPU unit;
[0029] The CPU unit is plugged into the main board;
[0030] The main board is provided with a PCIe card slot, and the PCIe card is connected to the PCIe card slot through a PCIe extension cable;
[0031] The main board is provided with a clock synchronization interface TX / RX;
[0032] The communication board card is connected to the main board through a PCIe extension cable.
[0033] In addition, the FPGA emulator includes an FPGA board, a carrier board, and a PCIe card;
[0034] The FPGA board and the carrier board are provided with a clock synchronization interface TX / RX;
[0035] The FPGA board and the carrier board are connected to the PCIe card through a PCIe extension cable;
[0036] The IO interface is connected to the FPGA board and the carrier board. Description of the Drawings
[0037] One or more embodiments are exemplarily illustrated by the pictures in the corresponding drawings. These exemplary illustrations do not limit the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements, unless otherwise stated, and the drawings in the figures do not constitute a scale limitation.
[0038] Figure 1 is a flowchart of a virtual power plant simulation test method according to the first embodiment of the present invention;
[0039] Figure 2 is a flowchart of a virtual power plant simulation test method according to the second embodiment of the present invention;
[0040] Figure 3 is a structural diagram of a CPU emulator according to the third embodiment of the present invention;
[0041] Figure 4 is a structural diagram of an FPGA emulator according to the third embodiment of the present invention;
[0042] Figure 5 is a schematic diagram of the connection method between the CPU emulator and the FPGA emulator according to the third embodiment of the present invention;
[0043] Figure 6 is a block diagram of a server structure according to the fifth embodiment of the present invention. Detailed Implementation Modes
[0044] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will elaborate on the various implementation modes of the present invention in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that in the various implementation modes of the present invention, many technical details are presented to help readers better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solutions claimed in the present application can still be implemented. The division of the following embodiments is for convenience of description and should not constitute any limitation to the specific implementation mode of the present invention. The various embodiments can be combined and cross-referenced with each other on the premise of no contradiction.
[0045] The terms "first" and "second" in the embodiments of the present application are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" can explicitly or implicitly include at least one of such features. In the description of the present application, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a system, product, or device that includes a series of components or units is not limited to the listed components or units, but optionally further includes components or units not listed, or optionally further includes other components or units inherent to these products or devices. In the description of the present application, the meaning of "a plurality of" is at least two, such as two, three, etc., unless otherwise specifically defined.
[0046] After the power grid is interconnected, the power generation and power consumption in the system are random and volatile, making the overall system more complex and resulting in inaccurate test results for the controllers and algorithms of the virtual power plant.
[0047] Therefore, the embodiments of the present invention provide a virtual power plant simulation test system, method, and storage medium, which transmit the operation data of the new energy power generation simulation model and the power consumption load simulation model to the virtual power plant to be tested in real time, so as to effectively test the controllers and algorithms of the virtual power plant, enabling it to comprehensively consider the power supply and consumption conditions in the entire power grid interconnection system, ensuring the accuracy of the test results, and saving test time and test costs. The following will be elaborated and introduced through multiple embodiments.
[0048] The first embodiment of the present invention relates to a virtual power plant simulation test system. As Figure 1 shown in, the virtual power plant simulation test system includes a host computer 10 and a real-time simulator 20;
[0049] The host computer 10 is communicatively connected to the real-time simulator 20;
[0050] The host computer 10 is used to construct a virtual power plant power system simulation model, and the virtual power plant power system simulation model includes a new energy power generation simulation model and an electricity load simulation model;
[0051] Specifically, the host computer 10 is used to build a flexible adjustable simulation model including new energy power generation and user loads. The virtual power plant power system simulation model is built by the general software MATLAB. After the model is built, the host computer 10 transmits the virtual power plant power system simulation model to the real-time simulator 20 for real-time operation; the host computer 10 is also used to control the simulation operation, observe the simulation data in real time, monitor the operation status of the simulator, etc.
[0052] The real-time simulator 20 is used to run the new energy power generation simulation model and the electricity load simulation model, and transmit the operation data of the new energy power generation simulation model and the electricity load simulation model to the controller of the virtual power plant to be tested in real time, so that the controller of the virtual power plant to be tested generates a real-time updated operation strategy according to the operation data.
[0053] The real-time simulator 20 is mainly used to run the model built by the host computer 10 in real time, and also exchanges data with each regional controller through a pre-established communication protocol, or communicates with the controller through analog signals, digital signals or high-speed communication protocols.
[0054] Specifically, the virtual power plant control structure receives the operation data and performs analysis and processing. The virtual power plant control structure 30 includes centralized control and decentralized control. In this embodiment, the virtual power plant control structure 30 includes: a power generation unit, a regional power generation unit controller 301, and a virtual power plant control center 302. According to the virtual power plant control structure, the virtual power plant simulation test system and working process in this embodiment are as follows:
[0055] Build a virtual power plant power system simulation model including various power generation units and loads, that is, a new energy power generation simulation model and an electricity load simulation model, and run it on the real-time simulator 20; the real-time simulator 20 is connected to multiple regional power generation unit controllers 301 through a communication protocol and performs data interaction; the regional power generation unit controller 301 is connected to the virtual power plant control center 302 through wireless (WiFi, Bluetooth, etc.) signals.
[0056] When the system is operating, the virtual power plant simulation test system transmits the operation data of the new energy power generation simulation model and the power consumption load simulation model to each regional power generation unit controller 301 in real time. After simply integrating and processing the operation data, each regional power generation unit controller 301 finally sends the operation data to the virtual power plant control center 302. The virtual power plant control center 302 comprehensively considers factors such as the current power generation status and data, historical power generation data, market electricity price, and weather, obtains the optimal operation strategy or power curve, and sends it back to each regional power generation unit controller 301. Each regional power generation unit controller 301 distributes the power generation instructions to each power generation unit within the control area in the real-time simulator according to the corresponding status of each power generation unit, so that the entire virtual power plant power generation system operates under the optimal working conditions under the current conditions. During the real-time operation of the virtual power plant power system, the above process is continuously carried out. Therefore, the grid data and status of the virtual power plant power system are also continuously updated in a cycle.
[0057] By simulating and emulating the power supply system (new energy power generation) and power consumption load with randomness and intermittency in the power system, a new energy power generation simulation model and a power consumption load simulation model are constructed, and the operation data of the new energy power generation simulation model and the power consumption load simulation model are transmitted to the virtual power plant controller to be tested in real time, so as to effectively test the controller and algorithm of the virtual power plant, enabling it to comprehensively consider the power supply and power consumption conditions in the entire grid connection system, ensuring the accuracy of the test results, and saving the test time and test cost.
[0058] The second embodiment of the present invention relates to a virtual power plant simulation test system. The second embodiment is a refinement of the first embodiment. In the second embodiment of the present invention, the new energy power generation simulation model includes a photovoltaic power generation simulation model, a wind power generation simulation model, an energy storage simulation model, and a combined heat and power simulation model; the power consumption load simulation model includes a commercial power consumption simulation model, an industrial power consumption simulation model, a residential power consumption simulation model, and an electric vehicle power consumption simulation model. As Figure 2 shown, the virtual power plant simulation test system to be tested includes:
[0059] A host computer 10 and a real-time simulator 20;
[0060] The host computer 10 and the real-time simulator 20 are communicatively connected;
[0061] The host computer 10 is used to construct a virtual power plant power system simulation model, and the virtual power plant power system simulation model includes a new energy power generation simulation model and a power consumption load simulation model;
[0062] Due to the uncertainty of natural resources affecting photovoltaic power generation and wind power generation, such as photovoltaic power generation being unable to operate at night and being affected by climate, and wind power being greatly affected by weather factors, combined heat and power generation and energy storage are also affected by the user side and storage capacity. Therefore, these power supply ends are intermittent or random, and a photovoltaic power generation simulation model, a wind turbine power generation simulation model, an energy storage simulation model, and a combined heat and power generation simulation model need to be established to simulate their power supply states in real time; the electricity load simulation model includes a commercial electricity simulation model, an industrial electricity simulation model, a residential electricity simulation model, and an electric vehicle electricity simulation model;
[0063] A real-time simulator 20, configured to run the new energy power generation simulation model and the electricity load simulation model, and transmit the operation data of the new energy power generation simulation model and the electricity load simulation model to the controller of the virtual power plant to be tested in real time, so that the controller of the virtual power plant to be tested generates a real-time updated operation strategy according to the operation data.
[0064] The real-time simulator 20 is mainly used to run the models built by the host computer 10 in real time, and also exchanges data with each area controller through a pre-established communication protocol, or communicates with the controller through analog signals, digital signals or high-speed communication protocols.
[0065] Specifically, the virtual power plant control structure receives the operation data and performs analysis and processing. The virtual power plant control structure generally includes centralized control and decentralized control. In this embodiment, the virtual power plant control structure includes: a power generation unit, an area power generation unit controller 301, and a virtual power plant control center 302; wherein, each area power generation unit controller 301 controls a plurality of power generation units in the corresponding area. According to the virtual power plant structure, the virtual power plant simulation test system and working process in this embodiment are as follows:
[0066] Build a virtual power plant power system simulation model including various power generation units and loads, that is, a new energy power generation simulation model and an electricity load simulation model, and run it on the real-time simulator 20; the real-time simulator 20 is connected to a plurality of area power generation unit controllers 301 through a communication protocol and performs data interaction; the area power generation unit controller 301 is connected to the virtual power plant control center 302 through wireless (WiFi, Bluetooth, etc.) signals.
[0067] When the system is operating, the virtual power plant power system simulation test model transmits the operation data of the new energy power generation simulation model and the power consumption load simulation model to each regional power generation unit controller 301 in real time. After simply integrating and processing the operation data, each regional power generation unit controller 301 finally sends the operation data to the virtual power plant control center 302. The virtual power plant control center 302 comprehensively considers factors such as the current power generation status and data, historical power generation data, market electricity price, weather, etc., obtains the optimal operation strategy or power curve, and sends it back to each regional power generation unit controller 301. Each regional power generation unit controller 301 distributes the power generation instructions to each power generation unit within the control area in the real-time simulator according to the corresponding status of each power generation unit, so that the power generation system operates under the optimal working conditions under the current conditions. During the real-time operation of the virtual power plant power system, the above process is continuously carried out. Therefore, the grid data and status of the virtual power plant power system are also continuously updated in a cycle.
[0068] By simulating and emulating the power supply system (new energy power generation) and power consumption load with randomness and intermittency in the power system, a new energy power generation simulation model and a power consumption load simulation model are constructed, and the operation data of the new energy power generation simulation model and the power consumption load simulation model are transmitted to the virtual power plant to be tested in real time, so as to effectively test the controller and algorithm of the virtual power plant. By simulating and emulating the power supply end with intermittency and randomness in the power system, that is, new energy power generation, new energy power supplies such as wind energy and solar energy can be added to the existing virtual power plant controller and algorithm. At the same time, the power consumption load is simulated, so that it can comprehensively consider the power supply and power consumption conditions in the entire grid-connected system, ensuring the accuracy of the test results and saving test time and test costs.
[0069] The third embodiment of the present invention relates to a virtual power plant simulation test system. The third embodiment is a refinement of the first embodiment or the second embodiment. In the third embodiment of the present invention, the real-time simulator 20 includes a CPU (Central Processing Unit) simulator 201 and an FPGA (Field Programmable Gate Array) simulator 202 that are connected to each other. The virtual power plant simulation test system specifically includes:
[0070] A host computer 10 and a real-time simulator 20, and the real-time simulator 20 includes a CPU simulator 201 and an FPGA simulator 202;
[0071] The host computer 10, the CPU simulator 201, and the FPGA simulator 202 are connected in sequence;
[0072] The host computer 10 is used to construct a simulation model of the virtual power plant power system. The simulation model of the virtual power plant power system includes a new energy power generation simulation model and an electricity load simulation model. The host computer 10 is used to build a flexible adjustable simulation model including new energy power generation and user loads. The simulation model is built by the general software MATLAB. After the model is built, the software of the host computer 10 transmits the system simulation model to the CPU emulator for real-time operation.
[0073] Due to the uncertainty of natural resources affecting photovoltaic power generation and wind power generation, such as photovoltaic power generation being unable to operate at night and being affected by climate, and wind power also being greatly affected by weather factors, combined heat and power supply and energy storage are also affected by the user side and storage capacity. Therefore, these power supply ends are intermittent or random, and a photovoltaic power generation simulation model, a wind turbine power generation simulation model, an energy storage simulation model, and a combined heat and power supply simulation model need to be established to simulate their power supply status in real time. The electricity load simulation model includes a commercial electricity simulation model, an industrial electricity simulation model, a residential electricity simulation model, and an electric vehicle electricity simulation model.
[0074] The real-time emulator 20 is used to run the new energy power generation simulation model and the electricity load simulation model, and transmit the operation data of the new energy power generation simulation model and the electricity load simulation model to the controller of the virtual power plant to be tested in real time, so that the controller of the virtual power plant to be tested generates a real-time updated operation strategy according to the operation data.
[0075] The CPU emulator 201 is mainly used to run the new energy power generation simulation model and the electricity load simulation model built by the host computer 10 in real time. At the same time, it also exchanges data with each regional controller in the virtual power plant through a predefined communication protocol. The FPGA emulator 202 is used to communicate with each regional controller in the virtual power plant through analog signals, digital signals, or high-speed communication protocols.
[0076] As Figure 3 shown, the CPU emulator 201 includes a main board, a high-speed serial computer expansion bus standard PCIe card, a clock synchronization interface TX / RX, a communication board card, network interfaces (such as network interface 1 and network interface 2 in the figure), and at least one CPU unit.
[0077] The communication board is a multi-channel expandable communication board. Each communication board is connected to the main board through a PCIe extension cable. The CPU emulator 201 is also used to configure the communication protocol of the communication board, and the protocol includes IEC-60870-5-104 protocol, IEC-61850 communication protocol, Modbus protocol, TCP / IP protocol (Transmission Control Protocol / Internet Protocol); the number of the communication boards corresponds to the number of models in the virtual power plant power system simulation model, so as to be able to transmit the operation data of the new energy power generation simulation model and the power consumption load simulation model to the controller of the virtual power plant to be tested;
[0078] The CPU unit is plugged into the main board;
[0079] The main board is provided with a PCIe (Peripheral Component Interconnect express, high-speed serial computer expansion bus standard) card slot, and the PCIe card is connected to the PCIe card slot through a PCIe extension cable;
[0080] The clock synchronization interface TX / RX is connected to the main board;
[0081] The communication board is connected to the main board through a PCIe extension cable.
[0082] Specifically, as Figure 4 shown in, the FPGA emulator 202 includes an FPGA board and a carrier board, an optical and electrical interface, an IO interface, a PCIe card, and a clock synchronization interface TX / RX;
[0083] The FPGA emulator 202 is also used to configure the optical fiber interface to configure the optical fiber channel protocol and configure the IO interface board;
[0084] The TX / RX clock synchronization interface is connected to the FPGA board and the carrier board;
[0085] The FPGA board and the carrier board are connected to the PCIe card through a PCIe extension cable;
[0086] The IO interface is connected to the FPGA board and the carrier board.
[0087] Specifically, as Figure 5 shown in, the PCIe cards of the CPU emulator 201 and the FPGA emulator 202 are connected through a PCIe extension cable. The TX port of the CPU emulator 201 is connected to the RX port of the FPGA, and the host computer 10 is connected to the CPU emulator 201 through the TCP / IP protocol.
[0088] Specifically, the virtual power plant control structure includes centralized control and decentralized control. In this embodiment, the virtual power plant control structure includes: a power generation unit, a regional power generation unit controller 301, and a virtual power plant control center 302. According to the virtual power plant controller structure, the virtual power plant simulation test system and working process in this embodiment are as follows:
[0089] Build a simulation model including various power generation units and loads, namely a new energy power generation simulation model and an electricity load simulation model, and run it on the real-time simulator 20; the real-time simulator 20 is connected to multiple regional power generation unit controllers 301 through a communication protocol and conducts data interaction; the regional power generation unit controllers 301 are connected to the virtual power plant control center 302 through wireless (WiFi, Bluetooth, etc.) signals.
[0090] When the system is working, the virtual power plant simulation test system transmits the operation data of the new energy power generation simulation model and the electricity load simulation model to each regional power generation unit controller 301 in real time. After each regional power generation unit controller 301 simply integrates and processes the operation data, it finally sends the operation data to the virtual power plant control center 302. The virtual power plant control center 302 comprehensively considers factors such as the current power generation status and data, historical power generation data, market electricity price, weather, etc., obtains the optimal operation strategy or power curve, and sends it back to each regional power generation unit controller 301. Each regional power generation unit controller 301 distributes the power generation instructions to each power generation unit within the control area in the real-time simulator according to the corresponding status of each power generation unit, so that the power generation system operates under the optimal working conditions under the current conditions. During the real-time operation of the virtual power plant power system, the above process is continuously carried out. Therefore, the power grid data and status of the virtual power plant power system are also continuously updated in a cycle.
[0091] By simulating and emulating the power supply system (new energy power generation) and electricity load with randomness and intermittency in the power system, building a new energy power generation simulation model and an electricity load simulation model, and transmitting the operation data of the new energy power generation simulation model and the electricity load simulation model to the virtual power plant to be tested in real time, the controllers and algorithms of the virtual power plant can be effectively tested. By simulating and emulating the power supply end with intermittency and randomness in the power system, that is, new energy power generation, new energy power supplies such as wind energy and solar energy can be added to the existing virtual power plant controllers and algorithms. At the same time, the electricity load is simulated, enabling it to comprehensively consider the power supply and consumption conditions in the entire power grid grid-connected system, ensuring the accuracy of the test results, and saving test time and test costs.
[0092] The step division of the above various methods is only for clear description. When implemented, they can be combined into one step or some steps can be split into multiple steps. As long as the same logical relationship is included, it is within the protection scope of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs, but without changing the core design of the algorithm and process, is within the protection scope of this patent.
[0093] The fourth embodiment of the present invention relates to a virtual power plant simulation test method, including:
[0094] Constructing a virtual power plant power system simulation model, where the virtual power plant power system simulation model includes a new energy power generation simulation model and an electrical load simulation model;
[0095] Running the new energy power generation simulation model and the electrical load simulation model, and transmitting the operation data of the new energy power generation simulation model and the electrical load simulation model to the controller of the virtual power plant to be tested in real time, so that the controller of the virtual power plant to be tested generates a real-time updated operation strategy according to the operation data.
[0096] The fifth embodiment of the present invention relates to a server, as Figure 6 shown, including a processor 810, a communications interface 820, a memory 830, and a communication bus 840. Among them, the processor 810, the communications interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 can call the logical instructions in the memory 830 to execute the steps of the virtual power plant simulation test method described in the above embodiments.
[0097] Among them, the memory and the processor are connected by a communication bus. The communication bus can include any number of interconnected buses and bridges. The communication bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits. These are well known in the art, so they will not be further described herein. The bus interface provides an interface between the communication bus and the transceiver. The transceiver can be an element or multiple elements, such as multiple receivers and transmitters, and provides a unit for communicating with various other devices on the transmission medium. The data processed by the processor is transmitted on the wireless medium through the antenna. Further, the antenna also receives the data and transmits the data to the processor.
[0098] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory can be used to store data used by the processor during operation.
[0099] The sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the steps of the virtual power plant simulation test method described in the above embodiments are implemented.
[0100] That is, those skilled in the art can understand that all or part of the steps in implementing the methods of the above embodiments can be completed by instructing relevant hardware through a program. The program is stored in a storage medium, including several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0101] Those of ordinary skill in the art can understand that the above embodiments are specific embodiments for implementing the present invention, and in practical applications, various changes can be made in form and details without departing from the spirit and scope of the present invention.
Claims
1. A virtual power plant simulation test system, characterized in that, It includes a host computer and a real-time simulator; The host computer and the real-time simulator are communicatively connected; The host computer is used to build a virtual power plant power system simulation model, and the virtual power plant power system simulation model includes a new energy power generation simulation model and an electricity load simulation model; The real-time simulator is used to run the virtual power plant power system simulation model in real time, and transmit the operation data of the new energy power generation simulation model and the electricity load simulation model to the controller of the virtual power plant to be tested in real time, so that the controller of the virtual power plant to be tested can update the operation strategy in real time according to the operation data; A virtual power plant control structure, the virtual power plant control structure includes a virtual power plant control center and a plurality of regional power generation unit controllers, and the controller of the virtual power plant to be tested is the regional power generation unit controller; Wherein, each of the regional power generation unit controllers is used to receive the operation data of the new energy power generation simulation model and the electricity load simulation model, integrate and process the operation data, and transmit the operation data after the integration processing to the virtual power plant control center; the virtual power plant control center is used to receive the operation data after the integration processing, obtain the optimal operation strategy or power curve, and send the optimal operation strategy or the power curve back to each of the regional power generation unit controllers; each of the regional power generation unit controllers is also used to control each power generation unit based on the optimal operation strategy or the power curve; The real-time simulator is connected to a plurality of the regional power generation unit controllers through a communication protocol and performs data interaction; The real-time simulator includes a central processing unit CPU simulator and a field programmable gate array FPGA simulator connected to each other; The CPU simulator is used to receive and run the new energy power generation simulation model and the electricity load simulation model transmitted by the host computer, configure a first type of communication port, and communicate with the corresponding controller in the virtual power plant to be tested according to the first type of communication port; The FPGA simulator is used to configure a second type of communication port and communicate with the corresponding controller in the virtual power plant to be tested according to the second type of communication port; The first type of communication port includes a communication board, and the communication board is a multi-channel expandable communication board.
2. The virtual power plant simulation test system according to claim 1, characterized in that, The new energy power generation simulation model includes one or any combination of the following: a photovoltaic power generation simulation model, a wind power generation simulation model, an energy storage simulation model, and a combined heat and power simulation model; the electricity load simulation model includes one or any combination of the following: a commercial electricity consumption simulation model, an industrial electricity consumption simulation model, a residential electricity consumption simulation model, and an electric vehicle electricity consumption simulation model.
3. The virtual power plant simulation test system according to claim 1, characterized in that, The CPU simulator is also used to configure the communication protocol of the communication board; The communication protocol includes one or any combination of the following: IEC-60870-5-104 protocol, IEC-61850 communication protocol, Modbus protocol, TCP / IP protocol.
4. The virtual power plant simulation test system according to claim 1, characterized in that, The second type of communication port includes an optical fiber interface and an IO interface; The FPGA emulator is also used to configure the fiber channel protocol of the fiber optic interface and configure the IO interface board.
5. The virtual power plant simulation test system according to claim 3, characterized in that, The CPU emulator includes a main board, a Peripheral Component Interconnect Express (PCIe) card, and at least one CPU unit; The CPU unit is plugged into the main board; The main board is provided with a PCIe card slot, and the PCIe card is connected to the PCIe card slot through a PCIe extension cable; The main board is provided with a clock synchronization interface TX / RX for clock synchronization when multiple real-time simulators are interconnected; The communication board is connected to the main board through a PCIe extension cable.
6. The virtual power plant simulation test system according to claim 4, characterized in that, The FPGA emulator includes an FPGA board, a carrier board, and a PCIe card; The FPGA board and the carrier board are provided with a clock synchronization interface TX / RX; The FPGA board and the carrier board are connected to the PCIe card through a PCIe extension cable; The IO interface is connected to the FPGA board and the carrier board.
7. A virtual power plant simulation test method, characterized in that, Including: Constructing a virtual power plant power system simulation model, where the virtual power plant power system simulation model includes a new energy power generation simulation model and an electricity load simulation model; Running the new energy power generation simulation model and the electricity load simulation model, and transmitting the operation data of the new energy power generation simulation model and the electricity load simulation model to the controller of the virtual power plant to be tested in real time, so that the controller of the virtual power plant to be tested generates a real-time updated operation strategy according to the operation data; Among them, the controller of the virtual power plant to be tested is a regional power generation unit controller, and the virtual power plant control structure includes a virtual power plant control center and multiple regional power generation unit controllers; The step of transmitting the operation data of the new energy power generation simulation model and the electricity load simulation model to the controller of the virtual power plant to be tested includes: transmitting the operation data of the new energy power generation simulation model and the electricity load simulation model to each of the regional power generation unit controllers, and the regional power generation unit controllers also perform integration processing on the operation data, and transmit the operation data after the integration processing to the virtual power plant control center; The step of enabling the controller of the virtual power plant to be tested to generate a real-time updated operation strategy according to the operation data includes: the virtual power plant control center receives the operation data after the integration processing, and obtains an optimal operation strategy or a power curve, and sends the optimal operation strategy or the power curve back to each of the regional power generation unit controllers; each of the regional power generation unit controllers controls each power generation unit based on the optimal operation strategy or the power curve; The real-time simulator is connected to multiple regional power generation unit controllers through a communication protocol and performs data interaction; The real-time simulator includes a Central Processing Unit (CPU) emulator and a Field Programmable Gate Array (FPGA) emulator that are connected to each other; The CPU emulator receives and runs the new energy power generation simulation model and the electricity load simulation model transmitted by the upper computer, configures a first type of communication port, and communicates with the corresponding controller in the virtual power plant to be tested according to the first type of communication port; The FPGA emulator configures a second type of communication port and communicates with the corresponding controller in the virtual power plant to be tested according to the second type of communication port. The first type of communication port includes a communication board, and the communication board is a multi-channel expandable communication board.
8. An electronic device, characterized in that, It includes: At least one processor; And, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the steps of the virtual power plant simulation test method as claimed in claim 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the virtual power plant simulation test method as claimed in claim 7.
Citation Information
Patent Citations
A packaging system
IE61850B1
Smart management system for energy management and electricity transaction in virtual power plant and method for optimizing operation thereof
CN105761109A
Large power grid information physical real-time simulation platform
CN106202722A
Grid-connected photovoltaic power system in-loop real-time simulation platform based on virtual synchronizer
CN108134407A
Test method and test system for comprehensive energy management system
CN111008468A