Simulation test system

By adopting a simulation test system in the source network load storage system, and using the combination of the power grid and equipment simulation model and physical controller, the problem of difficulty in realizing the simulation test of the source network load storage system in the existing technology is solved, and simultaneous verification of the system model and controller performance is achieved, improving the authenticity of the simulation test.

CN120178846APending Publication Date: 2025-06-20SUNGROW POWER SUPPLY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510377141.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

The prior art is difficult to effectively implement simulation testing of the source network load storage system, cannot simulate device interaction scenarios, and cannot verify the model and controller performance in the system at the same time.

Method used

A simulation test system is adopted, including a first controller, a second controller and a simulation model. Through the communication connection between the power grid simulation model and the equipment simulation model, control instructions are generated to adjust the operating status of components in the equipment simulation model and verify the performance of the controller and model.

Benefits of technology

The simulation test of the source network load storage system is realized, and the model and controller performance in the system can be verified at the same time, making the simulation test closer to the actual operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120178846A_ABST
    Figure CN120178846A_ABST
Patent Text Reader

Abstract

The invention provides a simulation test system, and relates to the field of power system simulation. Components in a power grid and power electronic equipment are simulated to obtain corresponding models, the first controller and the second controller adopt entity equipment, and the simulation test system of the source grid load storage system can be constructed in a mode of combining the models and the entity controllers. The simulation test system is used for realizing the simulation test of the source network load storage system. In specific simulation testing, the performance of the first controller is verified based on a control instruction output by the first controller. And verifying the performance of the second controller by using the operation adjustment information determined by the second controller. And verifying the performance of the model through instruction response conditions of the equipment simulation model and the power grid simulation model. Therefore, simultaneous verification of the model and the controller in the source network load storage system can be realized through one-time simulation, and the simulation test system in the embodiment of the invention is closer to the real operation condition of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power system simulation, and more specifically, to a simulation test system. Background Art

[0002] A source-grid-load-storage system is a new type of power system composed of distributed power sources, energy storage devices, electrical loads, monitoring and management systems, etc. It can achieve flexible and efficient utilization of distributed energy, has complete functions such as power generation, power distribution, and power consumption, and can self-control, manage, and protect. It can either operate in parallel with the external power grid or operate off-grid.

[0003] In order to ensure the normal operation of the source-grid-load-storage system, it is necessary to conduct simulation tests on it. Therefore, how to implement the simulation test of the source-grid-load-storage system is a technical problem that needs to be urgently solved by those skilled in the art. Summary of the Invention

[0004] In view of this, the present application provides a simulation test system to solve the problem of urgently needing to implement the simulation test of the source-grid-load-storage system.

[0005] To solve the above technical problems, the present application adopts the following technical solutions:

[0006] In a first aspect, the present application discloses a simulation test system, including:

[0007] A first controller, a second controller, and a simulation model; the simulation model includes a power grid simulation model and a device simulation model; the device simulation model is used to simulate the operation logic of the components in the power electronic device corresponding to the second controller; the power grid simulation model is communicatively connected to the device simulation model;

[0008] The first controller is configured to generate at least one of a first control instruction and a second control instruction based on the first type of operation information of the power grid simulation model and the operation information of the device simulation model; the first control instruction is used to control the second controller; the second control instruction is used to control the power grid simulation model;

[0009] The second controller is configured to, when receiving the first control instruction issued by the first controller, determine the operation adjustment information corresponding to the first control instruction, and adjust the operation state of the components in the device simulation model based on the operation adjustment information;

[0010] The power grid simulation model is configured to, when receiving the second control instruction issued by the first controller, perform an operation corresponding to the second control instruction.

[0011] The present application provides a simulation test system. In the present application, components in the power grid and power electronic devices are simulated to obtain corresponding models, and the first controller and the second controller adopt physical devices. Thus, a simulation test system for the source-grid-load-storage system can be constructed by combining the models and physical controllers, and the simulation test of the source-grid-load-storage system can be realized by using this simulation test system. During specific simulation tests, the first controller generates at least one of a first control instruction and a second control instruction based on the first type of operation information of the power grid simulation model and the operation information of the device simulation model, and thus the performance of the first controller can be verified based on the control instruction output by the first controller. In addition, when the second controller receives the first control instruction issued by the first controller, the operation adjustment information corresponding to the first control instruction is determined, and the operation states of the components in the device simulation model are adjusted based on the operation adjustment information. Thus, the performance of the second controller can be verified by using the operation adjustment information determined by the second controller. In addition, the performance of the model is verified through the instruction response conditions of the device simulation model and the power grid simulation model. That is, the present application can simultaneously verify the models and controllers in the source-grid-load-storage system through one simulation, and make the simulation test system in the embodiments of the present application closer to the actual operation conditions of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without creative efforts.

[0013] Figure 1 FIG. is a schematic structural diagram of a simulation test system provided by an embodiment of the present application;

[0014] Figure 2 FIG. is a schematic structural diagram of a power grid simulation model provided by an embodiment of the present application;

[0015] Figure 3 FIG. is a schematic structural diagram of a device simulation model provided by an embodiment of the present application;

[0016] Figure 4 FIG. is a schematic structural diagram of another simulation test system provided by an embodiment of the present application;

[0017] Figure 5 FIG. is a flowchart for determining a control instruction provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0018] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0019] With the proposal of the "dual carbon" goal, the power system has entered a new development stage. In the future, the system in the form of "source-grid-load-storage" integration, that is, the source-grid-load-storage system, can provide support for the power system.

[0020] The source-grid-load-storage system is a new type of power system composed of distributed power sources, energy storage devices, electrical loads, monitoring and management systems, etc. It can realize the flexible and efficient utilization of distributed energy, has complete functions such as power generation, power distribution, and power consumption, and can self-control, manage, and protect. It can either operate in parallel with the external power grid or operate off-grid.

[0021] In order to ensure the normal operation of the source-grid-load-storage system, before algorithm debugging or grid connection testing of the source-grid-load-storage system, it is necessary to conduct hardware-in-the-loop simulation testing on it.

[0022] Currently, when conducting hardware-in-the-loop simulation testing, a pure digital offline simulation method can be used for testing. However, due to the existence of various types of monitoring devices, protection devices, and controllers in the power grid, only using the pure digital offline simulation method cannot simulate scenarios such as the interaction between devices, the simulation effect is poor, the actual operation situation of the power grid cannot be reproduced, and the functions and performance of the controller cannot be reflected.

[0023] In addition, a simulation testing method such as a digital simulation model + source-grid-load-storage controller can also be adopted. At this time, the source-grid-load-storage controller in the source-grid-load-storage system uses actual devices, and other controllers and other components use digital simulation models. Due to the deviation between the digital simulation model and other controllers, specifically, scenarios such as the above-mentioned device interaction cannot be simulated. Therefore, this method can only verify the capabilities of the source-grid-load-storage controller, but cannot verify the capabilities of other controllers in the source-grid-load-storage system.

[0024] Therefore, in the embodiments of the present application, taking RTLAB as an example to build a system architecture and adopting hierarchical control can not only meet the verification of the capabilities and performance of the source-grid-load-storage controller, but also retain the characteristics of each controlled device as much as possible, and can be closer to the actual operation situation of the power system through hardware-in-the-loop simulation.

[0025] Specifically, in order to better reproduce the power grid environment and call resource characteristics, the embodiment of the present application provides a simulation test system. In the present application, components in the power grid and power electronic devices are simulated to obtain corresponding models, and the first controller and the second controller adopt physical devices. Thus, a simulation test system for the source-grid-load-storage system can be constructed by combining the models and physical controllers, and the simulation test of the source-grid-load-storage system can be realized by using this simulation test system. During specific simulation tests, the first controller generates at least one of the first control instruction and the second control instruction based on the first type of operation information of the power grid simulation model and the operation information of the device simulation model, and thus the performance of the first controller can be verified based on the control instruction output by the first controller. In addition, when the second controller receives the first control instruction issued by the first controller, it determines the operation adjustment information corresponding to the first control instruction, and adjusts the operation state of the components in the device simulation model based on the operation adjustment information. Thus, the performance of the second controller can be verified by using the operation adjustment information determined by the second controller. In addition, the performance of the model is verified through the instruction response of the device simulation model and the power grid simulation model. That is, the present application can realize the simultaneous verification of the models and controllers in the source-grid-load-storage system through one simulation, and makes the simulation test system in the embodiment of the present application closer to the actual operation of the system.

[0026] On the basis of the above content, an embodiment of the present application provides a simulation test system, which refers to the simulation test system of the source-grid-load-storage system.

[0027] In the embodiment of the present application, each resource in the source-grid-load-storage system needs to be regulated by a controller, and the control objects are various types of source-grid-load-storage devices such as wind power, photovoltaic, energy storage, hydrogen production equipment, and adjustable load (i.e., controlled devices) to realize functions such as frequency modulation, voltage regulation, grid connection and disconnection conversion, and emergency control of the source-grid-load-storage system.

[0028] In one implementation manner, the controller in the present application includes two layers of controllers. One type of controller is the master controller, that is, the source-grid-load-storage controller, which is used to realize the overall control of the source-grid-load-storage system. By collecting all electrical parameters of the system, it collects and monitors the operation state of the entire network, and based on this, conducts logical operations to obtain a control strategy to implement adjustment control on the entire system, realizes the real-time dynamic adjustment function of the power supply, energy storage, and load of the entire system, and ensures the safe and stable operation of the entire system.

[0029] Another type of controller refers to the controller in a power electronic device (i.e., the controlled device mentioned above). Among them, the power electronic device can be devices such as a photovoltaic inverter, an energy storage converter, a wind power converter, etc. The controller in the power electronic device can respond to the control instructions of the source-network-load-storage controller and perform corresponding control operations on the components in power electronic devices such as photovoltaic inverters, energy storage converters, and wind power converters. Among them, the components in the power electronic device can be, for example, IGBT (Insulate-Gate Bipolar Transistor), MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor), thyristors (such as SCR (Silicon Controlled Rectifier) thyristors), inductors, capacitors, GTO (Gate-Turn-Off Thyristor), diodes (such as silicon carbide diodes, gallium nitride diodes, etc.).

[0030] As Figure 1 shown, the simulation test system in the implementation manner of this application may include:

[0031] A first controller 11, a second controller 12, and a simulation model 13.

[0032] Among them, the first controller 11 refers to the above-mentioned master controller, that is, the source-network-load-storage controller.

[0033] In one implementation manner, the first controller 11 is mainly responsible for the monitoring and scheduling of the source-network-load-storage system. When the first controller 11 specifically performs monitoring and scheduling, the functions implemented at least include the following points:

[0034] Function 1: Implement primary frequency regulation of the source-network-load-storage system.

[0035] When the first controller 11 performs primary frequency regulation control, it can collect the grid connection point frequency of the source-network-load-storage system. In the case where this frequency crosses the dead zone, it adjusts the operating state of the device to be adjusted to adjust the grid connection point frequency back into the frequency dead zone.

[0036] Function 2: Implement voltage regulation of the source-network-load-storage system.

[0037] Specifically, the first controller 11 collects the voltage of the grid connection point of the source-network-load-storage system. When the voltage of this grid connection point deviates from the rated voltage, it adjusts the operating state of the device to be adjusted to adjust the grid connection point voltage back to the rated voltage.

[0038] In addition, the first controller 11 has other functions, and the specific functions of the first controller 11 are not limited in the embodiments of this application.

[0039] The second controller 12 in the embodiments of the present application refers to the controller in the above-mentioned power electronic device. In one implementation, the power electronic device can be a photovoltaic inverter, an energy storage converter, a wind power converter, an adjustable load device, etc. In this embodiment, the second controller 12 is at least one of an energy storage controller, a wind power controller, a photovoltaic controller, an adjustable load controller, etc. In one embodiment, when the power electronic device is a photovoltaic inverter, the second controller 12 is a photovoltaic controller; when the power electronic device is an energy storage converter, the second controller 12 is an energy storage controller; when the power electronic device is a wind power converter, the second controller 12 is a wind power controller.

[0040] The second controller 12 mainly participates in the steady-state operation and transient regulation of the system, such as the steady-state operation and transient regulation of the source-grid-load-storage system. When specifically performing steady-state operation and transient regulation, the second controller 12 can receive the instructions issued by the first controller 11, respond to the instructions, and adjust the operating states of the components of the power electronic device, such as controlling a certain IGBT to turn off to ensure the steady-state operation and transient regulation of the source-grid-load-storage system.

[0041] The first controller 11 controls power electronic devices such as photovoltaic inverters, energy storage converters, and wind power converters by controlling the second controllers 12 such as energy storage controllers, wind power controllers, and photovoltaic controllers.

[0042] In this embodiment, the operation control of the source-grid-load-storage system is realized through the coordinated control of each layer of controllers in the source-grid-load-storage system.

[0043] According to the above discussion, the first controller 11 can realize the off-grid and on-grid control of the power grid. Therefore, the real operating conditions of the power grid can be simulated to obtain a power grid simulation model 131, and the power grid operation mode can be adjusted in real time by controlling the power grid simulation model 131 subsequently.

[0044] Such as Figure 2As shown, the power grid simulation model 131 mainly includes at least one of common thermal power units, a first transformer, overhead lines, a second transformer, cables, switches, etc. in the power grid. The power grid can be connected to photovoltaic devices, energy storage devices, wind power devices, etc. Among them, when connecting to a photovoltaic device, the power grid is connected to a photovoltaic inverter; when connecting to an energy storage device, the power grid is connected to an energy storage converter; when connecting to a wind power device, the power grid is connected to a wind power converter. Taking the power grid connecting to an energy storage device as an example, the electric energy generated by the thermal power unit is stepped up by the first transformer on the thermal power unit side (for example, in the flow direction from the thermal power unit to the energy storage device, the first transformer is a step-up transformer), and then passes through the overhead line and the second transformer on the energy storage side (in the flow direction from the thermal power unit to the energy storage device, the second transformer is a step-up transformer), and the electric energy is input into the energy storage converter in the energy storage device. The energy storage converter will deliver the electric energy to the battery in the energy storage device to achieve the charging operation of the battery. In addition, the electric energy in the overhead line can also be delivered to the load for use. When there is more electric energy in the energy storage device, the electric energy in the battery can also pass through the energy storage converter and the second transformer on the energy storage side (in the flow direction from the energy storage device to the thermal power unit, the first transformer is a step-down transformer), deliver the electric energy to the overhead line, and the overhead line delivers the electric energy to the load for use.

[0045] In the embodiment of the present application, the above-mentioned first controller 11 can adjust the power grid operation mode in real time, such as power grid frequency change, voltage change, load connection and disconnection, grid connection and disconnection switching, etc.

[0046] In addition, the simulation model 13 can also include a device simulation model 132, which is used to simulate the operation logic of the components in the power electronic device corresponding to the second controller 12. The device simulation model 132 can be connected to the second controller 12, receive the control of the second controller 12, and adjust the operation power of the power electronic device in real time. In the embodiment of the present application, for the above-mentioned power electronic device, the controller in the power electronic device can be separately configured on a circuit board (to realize the function of the control board) to realize the test of the controller. The other components in the power electronic device except the controller are simulated to obtain the device simulation model 132 of the component. The device simulation model 132 simulates the operation logic of the components in the power electronic device corresponding to the second controller 12, and can adjust the operation state of the power electronic device through components such as IGBTs and thyristors.

[0047] In one implementation, taking the power electronic device as an energy storage converter as an example, the structure of the device simulation model 132 can refer to Figure 3 As shown. The device simulation model 132 includes:

[0048] IGBT models, LC (inductor (L) and capacitor (C)) filter circuits, voltage and current sampling circuits, grid connection point switches, and equipment grid connection points, etc. Among them, the LC filter circuit, voltage and current sampling circuits, grid connection point switches, etc. can be implemented by the above-mentioned components.

[0049] The energy storage device is connected to the power grid through the grid connection point switch and the equipment grid connection point. The electric energy output by the second transformer of the overhead line in the power grid passes through the circuit voltage sampling circuit and the LC filter circuit in sequence. By turning on and off the IGBT model, the alternating current is converted into direct current and stored in the energy storage battery. In addition, the electric energy in the energy storage battery can also be output to the power grid. At this time, the direction of the electric energy flow is opposite to the direction of the electric energy flow for storing the electric energy into the energy storage battery as described above.

[0050] In one implementation, the power grid simulation model 131 is communicatively connected to the equipment simulation model 132. For example, the equipment simulation model 132 can access the grid connection point in the power grid simulation model 131 through the equipment grid connection point, and the energy storage device in the power grid simulation model 131 can be communicatively connected to the grid connection point of the equipment simulation model 132 through the equipment connection point. Through these two grid connection points, information such as power, voltage, and current can be transmitted. For example, signals such as the voltage and current at the access point of the second controller are collected in the power grid simulation model and sent to the equipment simulation model, and then the output signals of the equipment simulation model are sent to the power grid simulation model to achieve synchronous response of the two models.

[0051] Based on any of the above embodiments, the first controller 11 can obtain the first type of operation information of the power grid simulation model 131 and the operation information of the equipment simulation model 132, and then generate at least one of the first control instruction and the second control instruction based on the first type of operation information of the power grid simulation model 131 and the operation information of the equipment simulation model 132.

[0052] Specifically, the first type of operation information of the power grid simulation model 131 can be information such as the frequency, voltage, phase angle, and grid connection point switch position of the power grid. The operation information of the equipment simulation model 132 can be information such as the grid connection point switch state and the operation states of each component.

[0053] After the first controller 11 obtains the first type of operation information of the power grid simulation model 131 and the operation information of the equipment simulation model 132, logical operations can be performed on the first type of operation information of the power grid simulation model 131 and the operation information of the equipment simulation model 132 to obtain at least one of the first control instruction and the second control instruction.

[0054] In specific implementation, there are three implementation methods to obtain at least one of the first control instruction and the second control instruction:

[0055] 1. Only the first control instruction is obtained. At this time, the first controller 11 only controls the second controller 12 to make corresponding operation adjustments.

[0056] 2. Only the second control instruction is obtained. At this time, the first controller 11 only controls the power grid simulation model 131 to make corresponding operation adjustments.

[0057] 3. The first control instruction and the second control instruction are obtained simultaneously. At this time, the first controller 11 simultaneously controls the operation adjustments of the second controller 12 and the power grid simulation model 131.

[0058] Among them, the first control instruction is used to control the second controller 12. That is to say, the first controller 11 issues the first control instruction to the second controller 12, so that the second controller 12 responds to the first control instruction and performs corresponding control operations.

[0059] In one implementation manner, when the second controller 12 receives the first control instruction issued by the first controller 11, first, it determines the operation adjustment information corresponding to the first control instruction, and then adjusts the operation states of the components in the device simulation model 132 based on the operation adjustment information.

[0060] Specifically, after the second controller 12 receives the first control instruction, since the second controller 12 can control the components in the power electronic device, the second controller 12 analyzes the first control instruction using its own internal processing strategy to determine the operation adjustment information corresponding to the first control instruction. Among them, the operation adjustment information can be, for example, the on / off change information of the components. Taking the IGBT as an example of the component, the operation adjustment information can be to adjust the IGBT from the on state to the off state.

[0061] After obtaining the operation adjustment information, the second controller 12 can issue the operation adjustment information to the device simulation model 132, and the device simulation model 132 adjusts the operation states of the corresponding components according to the operation adjustment information.

[0062] The second control instruction is used to control the power grid simulation model 131. That is to say, the first controller 11 issues the second control instruction to the power grid simulation model 131, so that the power grid simulation model 131 responds to the second control instruction and performs corresponding control operations.

[0063] In this embodiment, after the power grid simulation model 131 receives the second control instruction issued by the first controller 11, it performs operations corresponding to the second control instruction. For example, the second control instruction can be an off-grid control instruction, a grid-connection control instruction, etc., for controlling the power grid simulation model 131 to go off-grid or connect to the grid. In addition, the second control instruction can also be an instruction for adjusting operation information such as the operating frequency and current of the power grid, and the power grid simulation model 131 performs corresponding adjustment operations according to the second control instruction.

[0064] After the above-mentioned device simulation model 132 and power grid simulation model 131 perform corresponding adjustments, the first controller 11 can obtain the first type of operating information of the power grid simulation model 131 and the operating information of the device simulation model 132 again, and perform subsequent control operations again. In one implementation, the first controller 11 can periodically obtain data and perform corresponding control, or obtain data and perform corresponding control when the operating conditions of the power grid change, or obtain data and perform corresponding control during a power grid fault, to ensure the reliable operation of the two models.

[0065] After performing corresponding device control through the above control logic, the first controller 11 can output the first control instruction and the second control instruction, and manually or automatically analyze whether the first control instruction and the second control instruction are correct based on the first type of operating information of the power grid simulation model 131 and the operating information of the device simulation model 132, so as to determine whether the first controller 11 is operating normally, so as to implement the test of the first controller 11.

[0066] Similarly, for the second controller 12, the second controller 12 can output the operation adjustment information, and manually or automatically analyze whether the operation adjustment information is correct based on the first control instruction, so as to determine whether the second controller 12 is operating normally, so as to implement the test of the second controller 12.

[0067] For the power grid simulation model 131, it is possible to determine whether the power grid simulation model 131 is operating normally based on the situation of the power grid simulation model 131 responding to the operation adjustment information, so as to implement the test of the power grid simulation model 131.

[0068] For the device simulation model 132, it is possible to determine whether the device simulation model 132 is operating normally based on the situation of the device simulation model 132 responding to the operation adjustment information, so as to implement the test of the device simulation model 132.

[0069] In this embodiment, components in the power grid and power electronic devices are simulated to obtain corresponding models. The first controller and the second controller adopt physical devices. Thus, a simulation test system for the source-grid-load-storage system can be constructed by combining the models and physical controllers, and the simulation test of the source-grid-load-storage system can be realized by using this simulation test system. During specific simulation tests, the first controller generates at least one of a first control instruction and a second control instruction based on the first type of operation information of the power grid simulation model and the operation information of the device simulation model. Thus, the performance of the first controller can be verified based on the control instruction output by the first controller. In addition, when the second controller receives the first control instruction issued by the first controller, it determines the operation adjustment information corresponding to the first control instruction, and adjusts the operation states of the components in the device simulation model based on the operation adjustment information. Thus, the performance of the second controller can be verified by using the operation adjustment information determined by the second controller. In addition, the performance of the model is verified through the instruction response conditions of the device simulation model and the power grid simulation model. That is, in this application, the models and controllers in the source-grid-load-storage system can be verified simultaneously through one simulation, and the simulation test system in the embodiments of this application is closer to the actual operation conditions of the system.

[0070] Based on any of the above embodiments, there is at least one second controller. That is to say, the first controller can control one or more second controllers.

[0071] In one implementation, the second controller can be implemented through Figure 4 the controller control board. The second controller is at least one of an energy storage controller, a wind power controller, and a photovoltaic controller, and the number of the energy storage controller, the wind power controller, and the photovoltaic controller is at least one. In one embodiment, the second controller includes an energy storage controller, a wind power controller, and a photovoltaic controller at the same time, and the number of the energy storage controller, the wind power controller, and the photovoltaic controller is multiple. In this way, the control of more controllers can be realized.

[0072] When there are multiple second controllers, each second controller is implemented through a controller control board, and different controller control boards are independent of each other.

[0073] When there is at least one second controller, different second controllers are respectively connected to the first controller, and the first controller can control any second controller. Among them, when the first controller issues the first control instruction, it can only adjust the operation states of some controllers among all the second controllers, or can also adjust the operation states of all the controllers at the same time. How to configure specifically can be determined according to the first type of operation information of the power grid simulation model and the operation information of the device simulation model.

[0074] When there are multiple second controllers, each second controller corresponds to a device simulation model, and each second controller and the corresponding device simulation model form a power electronic device. Different device simulation models are independent of each other, and each second controller controls the device simulation model configured by itself.

[0075] The device simulation models corresponding to the second controllers are respectively communicatively connected to the power grid simulation model through a power grid connection point and a device connection point.

[0076] In this embodiment, by setting the second controller to be at least one, independent control or cooperative control of multiple different types of controllers can be achieved, which better ensures the operation reliability of the power grid simulation model and the device simulation model.

[0077] Based on any of the above embodiments, the power grid simulation model is built in the central processing unit of the preset simulation device.

[0078] In specific implementation, the preset simulation device can be any simulation device. In one embodiment, the preset simulation device is RTLAB (Real Time Laboratory, a real-time digital simulation experiment platform for the field of power and electrical engineering), RTDS (Real Time Digital Simulation System, real-time digital simulation system) or other hardware-in-the-loop simulation software. The following embodiments will take the preset simulation device as RTLAB as an example for illustration. When using other hardware-in-the-loop simulation software, there are corresponding simulation processes.

[0079] RTLAB consists of two simulation components, namely CPU (Central Processing Unit, central processing unit) and FPGA (Field Programmable Gate Array, field programmable gate array).

[0080] Compared with the FPGA, the simulation step of the CPU is much longer than that of the FPGA. The simulation step of the CPU is generally dozens to hundreds of times that of the FPGA. In addition, the simulation accuracy of the CPU is weak, and the simulation accuracy of the FPGA is high. In addition, the simulation resources of the CPU are more, and the simulation resources of the FPGA are less.

[0081] In order to utilize the above characteristics of the CPU and the FPGA, the power grid simulation model is built in the central processing unit of the preset simulation device, and the device simulation model is built in the field programmable gate array of the preset simulation device. The reason for such a setting is:

[0082] The components of power electronic devices require high simulation accuracy and few simulation resources. If the components of power electronic devices are simulated in the CPU, the simulation accuracy will be greatly reduced, and even simulation errors may occur. While the FPGA has high simulation accuracy and few simulation resources. If the components of power electronic devices are simulated in the FPGA, the simulation effect of the components can be better realized, ensuring the accuracy and success rate of the simulation. Therefore, the device simulation model is built in the FPGA of RTLAB.

[0083] The power grid requires low simulation accuracy and a large amount of simulation resources. If the power grid model is simulated in the FPGA, there will be a waste of simulation resources. In addition, the simulation resources of the FPGA (more than a dozen IGBTs) are relatively limited, and the power grid model that requires a large amount of simulation resources cannot be simulated in the FPGA. Therefore, the power grid simulation model is built in the CPU of RTLAB.

[0084] Among them, the structural schematic of the power grid simulation model can be referred to Figure 2 as shown, and the structural schematic of the device simulation model can be referred to Figure 3 as shown. It should be noted that Figure 2 and Figure 3 The model structure diagrams are only for illustration, and the specific structure can be adjusted accordingly according to the actual situation.

[0085] After successfully building the power grid simulation model and the device simulation model in RTLAB, the second controller connection point of the power grid simulation model communicates with the power grid connection point of the device simulation model.

[0086] Among them, the second controller connection point refers to the above-mentioned device connection point. For the specific explanations of the device connection point and the power grid connection point, please refer to the above embodiments.

[0087] In this embodiment, when building the models in the embodiments of the present application, the actual characteristics of the power grid simulation model and the device simulation model are considered, so that the success rate of model building can be improved during model building.

[0088] On the basis of any of the above embodiments, referring to Figure 4 , when the first controller specifically implements generating at least one of the first control instruction and the second control instruction based on the first type of operation information of the power grid simulation model and the operation information of the device simulation model, it includes the following steps:

[0089] S101. Obtain the first type of operation information of the power grid simulation model and the operation information of the device simulation model.

[0090] As Figure 4As shown in the figure, when the embodiment of the present application conducts simulation tests, a hierarchical architecture is adopted. In architecture layer 1, a centralized or distributed first controller, such as a source-network-load-storage controller, is arranged to collect the operation conditions of the power grid and regulate control resources. In architecture layer 2, a power grid simulation model that uses the equivalent digital simulation method and is used to simulate various power grid operation conditions is arranged. In architecture layer 3, controllers for power electronic devices such as wind power, photovoltaic, energy storage, SVG, and hydrogen production equipment (i.e., the above-mentioned second controllers) and equipment simulation models for simulating the components in the power electronic devices are provided. It should be noted that the power grid simulation model in architecture layer 2 and the equipment simulation model in architecture layer 3 are set in the same preset simulation device.

[0091] Through the cooperation of the above three-layer architecture, when the first controller detects a change in the operation conditions of the power grid, periodically conducts power grid operation condition detection, or detects a relevant fault in the power grid, it outputs corresponding instructions using an internal algorithm to adjust the second controller and / or the power grid simulation model. The second controller controls the on / off of the switching devices of the power electronic devices in the equipment simulation model in the FPGA to achieve power regulation. In this embodiment, the first controller and the second controller adopt actual devices, and the power grid and the components of the power electronic devices adopt model simulation. This method can equivalently simulate the first controller, the power grid, and the equipment controller to the greatest extent and verify the integrated control function of the source-network-load-storage. In addition, by physically connecting the first controller and the second controller respectively, the overall closed-loop hardware-in-the-loop simulation is realized, which can improve the accuracy of each link compared with the related technology.

[0092] The communication protocol between the first controller (such as the source-network-load-storage controller) and the power grid simulation model is different, or the input voltage of the first controller is different from the output voltage of the power grid simulation model, resulting in the inability of the first controller and the power grid simulation model to communicate directly.

[0093] Therefore, in the embodiment of the present application, the first controller and the power grid simulation model are communicatively connected through a protocol conversion device or a power conversion device. Generally, since the data communication method between the first controller and the power grid simulation model is unique and determined, only one of the protocol conversion device and the power conversion device will be set between the first controller and the power grid simulation model, and the protocol conversion device and the power conversion device will not be set simultaneously.

[0094] Among them, when the communication protocols between the first controller and the power grid simulation model are different, the first controller and the power grid simulation model are connected through a protocol conversion device. The protocol conversion device performs protocol conversion on the data output by the power grid simulation model and converts it into communication data that the first controller can recognize.

[0095] When the input voltage of the first controller is different from the output voltage of the power grid simulation model, the first controller and the power grid simulation model are connected through a power conversion device. The power conversion device can adjust the output voltage of the power grid simulation model, converting a small voltage signal into a voltage-current signal with power, so that the adjusted voltage can enable the first controller to receive and identify normally.

[0096] In specific implementation, generally, the output voltage of the power grid simulation model is small, while the input voltage of the first controller is large. Therefore, the power conversion device in the embodiments of the present application is generally a power amplification device. The first controller can be connected to one end of the power amplification device through the AO (Analog Output) interface of the preset simulation device, and the other end of the power amplification device is connected to the corresponding interface on the power grid simulation model.

[0097] After a protocol conversion device or a power conversion device is arranged between the first controller and the power grid simulation model, the first controller obtains the first type of operation information of the power grid simulation model based on the protocol conversion device or the power conversion device.

[0098] More specifically, as Figure 4 shown, a controller, such as a source-grid-load-storage controller, collects information such as frequency, voltage, phase angle, and grid connection point switch position in the power grid simulation model in architecture layer 2 through a protocol conversion device, or through the AO of the simulator via a power conversion device, and collects information such as the grid connection point switch state and the operation states of each component in the device simulation model.

[0099] Among them, information such as frequency, voltage, phase angle, and grid connection point switch position in the power grid simulation model is the first type of operation information of the power grid simulation model in the embodiments of the present application, and information such as the grid connection point switch state and the operation states of each component in the device simulation model is the operation information of the device simulation model in the embodiments of the present application.

[0100] S102. Perform an operation of analyzing the operation state on the first type of operation information and the operation information of the device simulation model to determine the controlled target.

[0101] Specifically, a control logic is set inside the first controller. The control logic can be implemented through an algorithm. The algorithm can perform an operation of analyzing the operation state on the first type of operation information and the operation information of the device simulation model, so as to obtain the controlled target that needs to be adjusted in the operation state. There are three implementation manners for the controlled target. One implementation manner is that the controlled target includes a target controller and a power grid simulation model. Another implementation manner is that the controlled target includes a target controller. Still another implementation manner is that the controlled target includes a power grid simulation model.

[0102] In one embodiment, when the first controller executes the relevant algorithm, if it detects that the grid frequency deviates from the primary frequency regulation dead zone, it will execute the primary frequency regulation algorithm to adjust the controlled target. If it detects that the grid voltage is lower than 0.9 pu, it will execute the voltage regulation algorithm to adjust the controlled target.

[0103] S103. When the controlled target includes the target controller and the power grid simulation model, determine the first control instruction of the target controller and the second control instruction of the power grid simulation model.

[0104] Among them, the target controller is a controller determined from at least one second controller.

[0105] Specifically, if the controlled target determined by the first controller is at least one target controller in the second controller and the power grid simulation model, it is divided into generating the first control instruction corresponding to the target controller and the second control instruction corresponding to the power grid simulation model. The specific contents of the first control instruction and the second control instruction are determined by the internal algorithm in the first controller.

[0106] S104. When the controlled target includes the target controller, determine the first control instruction of the target controller.

[0107] Among them, the controlled target in this embodiment including the target controller may only include the target controller. At this time, determine the first control instruction of the target controller. The specific content of the first control instruction is determined by the internal algorithm in the first controller.

[0108] S105. When the controlled target includes the power grid simulation model, determine the second control instruction of the power grid simulation model.

[0109] Among them, the controlled target in this embodiment including the power grid simulation model may only include the power grid simulation model. At this time, determine the second control instruction of the power grid simulation model. The specific content of the second control instruction is determined by the internal algorithm in the first controller.

[0110] It should be noted that in the actual scenario, since the controlled target is determined and can only be one of the above steps S102 - S104, therefore, in this embodiment, it is not necessary to execute steps S102 - S104 simultaneously, and only one of steps S102 - S104 needs to be executed.

[0111] In this embodiment, through the internal algorithm of the first controller, data can be collected and corresponding instructions can be issued, so as to analyze whether there is an abnormality in the first controller based on the instructions issued by the first controller and obtain the test result.

[0112] In one implementation, based on any of the above embodiments, after the first controller obtains the first control instruction, the first controller issues the first control instruction to the second controller through a protocol conversion device or a hard contact method.

[0113] Specifically, there may also be a situation where the communication protocols between the first controller and the second controller are different. Therefore, a protocol conversion device can be set between the first controller and the second controller for protocol conversion so that the first controller and the second controller can communicate normally. For example, if the first control instruction is a power adjustment instruction, this instruction can be issued through the protocol conversion device. It should be noted that the protocol conversion device in the embodiments of the present application has the same function as the protocol conversion device set between the first controller and the power grid simulation model. In specific implementation, the same protocol conversion device can be used, or different protocol conversion devices can be used.

[0114] In addition, the first control instruction issued by the first controller can also be a switch instruction. The switch instruction is directly issued through a digital quantity, and the digital quantity can be a voltage signal, such as a 5V voltage signal. At this time, the first controller and the second controller are connected by a hard contact method. The hard contact method realizes data transmission through physical connection. In one embodiment, the hard contact method can be DO (Digital Output, digital output point), etc.

[0115] It should be noted that the switch instruction in this embodiment can also be issued through the above-mentioned protocol conversion device. Generally, if the first controller issues both a switch instruction and a power adjustment instruction, at this time, only a protocol conversion device can be set between the first controller and the second controller, or a protocol conversion device and a hard contact method can be set at the same time. Which method to use for issuance can be determined according to the algorithm inside the first controller.

[0116] In this embodiment, multiple communication methods between the first controller and the second controller are given. In an actual scenario, an appropriate method can be selected according to requirements to realize the communication connection between the first controller and the second controller.

[0117] In one implementation, when the second controller determines the operation adjustment information corresponding to the first control instruction, specifically:

[0118] Obtain the second type of operation information of the power grid simulation model, and obtain the operation adjustment information based on the second type of operation information and the first control instruction.

[0119] Among them, the second type of operating information of the power grid simulation model specifically refers to the frequency, phase, and amplitude of the voltage of the power grid simulation model, the amplitude of the current, etc. The power grid simulation model can send the relevant second type of operating information to the second controller through a protocol conversion device or through the AO of a preset simulation device.

[0120] After collecting the second type of operating information of the power grid simulation model, analyze the second type of operating information and the first control instruction to obtain corresponding operation adjustment information.

[0121] For example, after the second controller control board receives the first control instruction, it uses an internal algorithm to analyze the second type of operating information and the first control instruction. The obtained operation adjustment information is a PWM (Pulse Width Modulation) wave, which is used to control the on / off of the power electronic device switching device in the device simulation model in the FPGA to control the output current of the device simulation model, and further achieve the purpose of real-time adjusting the operating power of each power electronic device.

[0122] In one implementation, the second controller outputs operation adjustment information to the device simulation model through a digital quantity input method.

[0123] Among them, the digital quantity input method can refer to DI (Digital Input). The second controller sends the generated PWM wave to the DI of RTLAB through DI to control the on / off of the diode in the device simulation model, and further achieve power regulation in the device simulation model.

[0124] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A simulation test system, characterized in that: include: A first controller, a second controller and a simulation model; the simulation model includes a power grid simulation model and a device simulation model; The device simulation model is used to simulate the operation logic of components in the power electronic device corresponding to the second controller; the power grid simulation model is communicatively connected with the device simulation model; The first controller is used to generate at least one of a first control instruction and a second control instruction based on the first type of operation information of the power grid simulation model and the operation information of the device simulation model; The first control instruction is used to control the second controller; The second control instruction is used to control the power grid simulation model; The second controller is used to, upon receiving the first control instruction sent by the first controller, determine operation adjustment information corresponding to the first control instruction, and adjust the operation status of components in the device simulation model based on the operation adjustment information; The power grid simulation model is used to execute an operation corresponding to the second control instruction when receiving the second control instruction sent by the first controller.

2. The simulation test system according to claim 1, characterized in that: There is at least one second controller; different second controllers are connected to the first controllers respectively; and the device simulation models corresponding to the second controllers are communicatively connected to the power grid simulation models respectively.

3. The simulation test system according to claim 2, characterized in that: The first controller is used to generate at least one of a first control instruction and a second control instruction based on the first type of operation information of the power grid simulation model and the operation information of the device simulation model, including: Acquire the first type of operation information of the power grid simulation model and the operation information of the device simulation model; Performing an operation status analysis operation on the first type of operation information and the operation information of the equipment simulation model to determine a controlled target; In the case where the controlled target includes a target controller and the power grid simulation model, determining a first control instruction of the target controller and a second control instruction of the power grid simulation model; the target controller is a controller determined from at least one of the second controllers; In a case where the controlled target includes a target controller, determining a first control instruction of the target controller; In a case where the controlled object includes the power grid simulation model, a second control instruction of the power grid simulation model is determined.

4. The simulation test system according to claim 1, characterized in that: The first controller and the power grid simulation model are communicatively connected via a protocol conversion device or a power conversion device, so that the first controller obtains the first type of operation information of the power grid simulation model based on the protocol conversion device or the power conversion device.

5. The simulation test system according to claim 1, characterized in that: The power grid simulation model is built in the central processing unit of a preset simulation device; the device simulation model is built in the field programmable logic gate array of the preset simulation device; the second controller connection point of the power grid simulation model communicates with the power grid connection point of the device simulation model.

6. The simulation test system according to claim 1, characterized in that: The first controller sends the first control instruction to the second controller through a protocol conversion device or a hard connection method.

7. The simulation test system according to claim 1, characterized in that: The second controller is used to determine the operation adjustment information corresponding to the first control instruction, including: Acquiring second type of operation information of the power grid simulation model; Based on the second type of operation information and the first control instruction, operation adjustment information is obtained.

8. The simulation test system according to claim 1, characterized in that: The second controller outputs the operation adjustment information to the device simulation model via a digital quantity input.

9. The simulation test system according to claim 1, characterized in that: The first controller is used to implement monitoring and scheduling of the system, and the second controller is used to implement steady-state operation and transient regulation of the system.

10. The simulation test system according to claim 1, characterized in that: The second controller is at least one of an energy storage controller, a wind power controller and a photovoltaic controller.