Hardware-in-the-loop simulation platform for demand response strategy verification
Through the hardware-in-the-loop semi-physical simulation platform, real-time access to grid load and renewable energy output is achieved, and combined with software simulation to verify the demand response strategy, the idealization and high cost problems of simulation verification in existing technologies are solved, and a simulation effect with clear grid-side goals and clear user-side behaviors is achieved.
Patent Information
- Application Number
- CN202211483461.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-24
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-11-24
AI Technical Summary
The computer simulation verification of demand response strategies in existing technologies is relatively idealistic, and field pilot applications require large investments and long cycles, lacking real-time and cost-effectiveness.
Develop a hardware-in-the-loop semi-physical simulation platform, including hardware and software units, which is connected to the grid load and renewable energy output in real time, reflects the user-side equipment actions through hardware indications, and verifies the effectiveness of the demand response strategy by combining software simulation and algorithms.
It achieves clear visualization of grid-side demand response targets, clear user-side energy consumption behavior, flexible and adjustable software simulation, and replaceable algorithms, which improves the real-time and economic efficiency of simulation verification.
Smart Images

Figure CN115755644B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid demand response, and in particular to a hardware-in-the-loop semi-physical simulation platform for verifying demand response strategies. Background Art
[0002] The demand response strategy is a method that combines the historical and current electrical parameters and operating status parameters of the user's power system or equipment to convert the demand response event information issued by the demand response service system (aggregation system) into specific load adjustment demand information to guide the user's power system or equipment to participate in demand response.
[0003] Demand response strategy verification is an important part of demand response strategy research. Generally, demand response must first be verified for effectiveness through computer simulation, and then its social and economic significance must be verified through field pilot applications. However, the effectiveness verification of the former is relatively idealistic, and the latter also has problems such as large investment and long cycle. Hardware-in-the-loop simulation provides a new approach to such problems.
[0004] Therefore, it is necessary to develop a hardware-in-the-loop semi-physical simulation platform for demand response strategy verification, which can access key grid indicators such as grid load and renewable energy output in real time, and the grid-side demand response targets can be clearly visible; the operation of residential equipment participating in demand response can be reflected through hardware indications, and the energy consumption behavior and response status on the user side can be clearly understood; the software simulation part is flexible and adjustable, with a high degree of openness and access to multiple algorithms. Summary of the Invention
[0005] The present invention aims to solve one of the technical problems existing in the prior art or related art.
[0006] In view of this, the present invention proposes a hardware-in-the-loop semi-physical simulation platform for demand response strategy verification. The hardware-in-the-loop semi-physical simulation platform includes a hardware unit and a software unit. The hardware unit includes:
[0007] The dispatchable load hardware-in-the-loop module is used to receive the simulation results of the dispatchable load simulation module and the demand response results of the demand response strategy execution module;
[0008] A regional power grid feeder data acquisition module is connected to the power system monitoring network to obtain feeder data of the regional power system monitoring network;
[0009] The distributed energy output acquisition module monitors the distributed energy output based on the selected distributed energy configuration and sends the output data to the regional distributed energy output simulation module;
[0010] The software unit includes:
[0011] The dispatchable load simulation module uses mathematical methods to establish a single dispatchable load model and a cluster model based on the physical principles and application laws of the dispatchable load, obtains a software simulation of the dispatchable load within a cycle, determines an indication quantity for an electrical state indication, and sends the electrical state indication, i.e., the simulation result, to the dispatchable load hardware-in-the-loop module;
[0012] The regional distributed energy output simulation module reasonably selects distributed energy based on the selected power system range of the selected verification strategy and calculates the simulation results based on the output data;
[0013] A feeder simulation module, which superimposes the feeder data acquired by the regional power grid feeder data acquisition module, the simulation results of the regional distributed energy output simulation module, and the simulation results of the dispatchable load simulation module to simulate feeder fluctuations of the regional power grid;
[0014] a demand response strategy execution module, which obtains a demand response result, i.e., a load state of the dispatchable load when participating in the power system demand response, based on the single model and the cluster model of the dispatchable load, the simulation results of the regional distributed energy output simulation module, and the feeder fluctuation of the regional power grid;
[0015] The demand response effectiveness verification module obtains various types of power grid and user data before and after the execution of the demand response strategy, compares the load status before and after the execution of the demand response strategy, and completes the demand response target verification.
[0016] Furthermore, the dispatchable load hardware-in-the-loop module determines the hardware indication that can replace the dispatchable load based on the electrical status indication obtained by the dispatchable load simulation module, and uses multiple communication methods to receive the simulation results in the dispatchable load simulation module or the demand response results of the demand response strategy execution module, thereby realizing the conversion of the software simulation quantity of the dispatchable load to the hardware switching quantity.
[0017] Furthermore, the dispatchable load hardware-in-the-loop module includes a control chip and an I / O port. The control chip drives the I / O port and can receive the demand response result (dispatchable load switch status quantity) calculated by the demand response strategy execution module through a communication protocol. At the same time, the control chip can control the LED lamp beads or real devices connected to the contactor to indicate whether the dispatchable load participates in the demand response. The control chip is provided with a communication interface for connecting to the dispatchable load simulation module.
[0018] Furthermore, the regional power grid feeder data acquisition module obtains the regional power grid feeder data of the regional power system monitoring network from the power company.
[0019] Furthermore, the distributed energy output collection module can collect distributed energy output through the set collection device to obtain output data. The distributed energy output collection module is communicatively connected with the regional distributed energy output simulation module and can output the output data for distributed energy output simulation of different scales in the region.
[0020] Furthermore, the software unit uses programming software to respectively build and encapsulate the dispatchable load simulation module, the regional distributed energy output simulation module, the feeder simulation module, the demand response strategy execution module and the demand response validity verification module, and executes the functions of the corresponding simulation modules through the GUI interface. The corresponding software unit has an interface for communicating with the hardware unit.
[0021] Furthermore, the dispatchable load simulation module simulates the equipment usage rules and cluster load characteristics based on the single model and the cluster model, outputs the switching state quantity of the dispatchable load, simulates the cluster load state and outputs the fluctuation curve.
[0022] Furthermore, the regional distributed energy output simulation module is established. The regional distributed energy output simulation module receives the output data obtained by the distributed energy output acquisition module, converts it according to the regional distributed energy installed capacity ratio, and completes the simulation of the distributed energy output of the regional power grid feeder.
[0023] Furthermore, the regional power grid feeder fluctuation, the simulation results of the regional distributed energy output simulation module and the simulation results of the dispatchable load simulation module are superimposed, the regional power grid feeder fluctuation results are obtained through the feeder simulation module, and the fluctuation curve of the regional power grid feeder is output.
[0024] Furthermore, the demand response strategy validity verification module collects data before and after the execution of the demand response strategy execution module, and calculates and outputs the regional power grid power quality optimization, user economy, and user comfort targets according to the set minute-level step size in the programming software for verification of the validity of the demand response strategy.
[0025] The technical solutions provided by the embodiments of the present invention may have the following beneficial effects:
[0026] Real-time access to key grid indicators such as grid load and renewable energy output can output the grid-side demand response target achievement status through the demand response strategy verification module; the hardware action status of the dispatchable load hardware-in-the-loop module can directly reflect the action status of residential equipment participating in the demand response, making the user-side energy consumption behavior and response results clear; the software part is highly open, and each software module can replace different algorithms that encapsulate the same function, which is very flexible.
[0027] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0030] Figure 1 A schematic diagram of a hardware-in-the-loop semi-physical simulation platform for demand response strategy verification provided by the present invention is shown. DETAILED DESCRIPTION
[0031] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0032] Example 1
[0033] Figure 1 A schematic diagram of a hardware-in-the-loop semi-physical simulation platform for demand response strategy verification provided by the present invention is shown.
[0034] like Figure 1 As shown, this embodiment provides a hardware-in-the-loop semi-physical simulation platform for demand response strategy verification. The hardware-in-the-loop semi-physical simulation platform includes a hardware unit and a software unit. The hardware unit includes:
[0035] The dispatchable load hardware-in-the-loop module is used to receive the simulation results of the dispatchable load simulation module and the demand response results of the demand response strategy execution module;
[0036] A regional power grid feeder data acquisition module is connected to the power system monitoring network to obtain feeder data from the regional power system monitoring network;
[0037] The distributed energy output acquisition module monitors the distributed energy output based on the selected distributed energy configuration and sends the output data to the regional distributed energy output simulation module;
[0038] The software unit includes:
[0039] The dispatchable load simulation module, based on the physical principles and application laws of dispatchable loads, uses mathematical methods to establish dispatchable load single-unit models and cluster models, obtains software simulation of dispatchable loads within a cycle, can determine the indication quantity for electrical status indication, and sends the electrical status indication, i.e., the simulation result, to the dispatchable load hardware-in-the-loop module;
[0040] The regional distributed energy output simulation module reasonably selects distributed energy based on the selected verification strategy and the selected power system range, and calculates simulation results based on output data;
[0041] The feeder simulation module superimposes the feeder data acquired by the regional power grid feeder data acquisition module, the simulation results of the regional distributed energy output simulation module, and the simulation results of the dispatchable load simulation module to simulate the feeder fluctuations of the regional power grid;
[0042] The demand response strategy execution module obtains the demand response results based on the single model and cluster model of the dispatchable load, the simulation results of the regional distributed energy output simulation module, and the feeder fluctuations of the regional power grid, and can be used to determine the load status when the dispatchable load participates in the power system demand response;
[0043] The demand response effectiveness verification module obtains various types of power grid and user data before and after the execution of the demand response strategy, compares the load status before and after the execution of the demand response strategy, and completes the demand response target verification.
[0044] Among them, the states of the load before and after participating in the demand response process are different. The dispatchable load simulation module can simulate the state of the load before participating in the demand response, and the demand response strategy execution module can calculate the load state after participating in the demand response.
[0045] Real-time access to key grid indicators such as grid load and renewable energy output can output the grid-side demand response target achievement status through the demand response strategy verification module; the hardware action status of the dispatchable load hardware-in-the-loop module can directly reflect the action status of residential equipment participating in the demand response, making the user-side energy consumption behavior and response results clear; the software part is highly open, and each software module can replace different algorithms that encapsulate the same function, which is very flexible.
[0046] It should be noted that the distributed energy output acquisition module monitors the distributed energy output, and it mainly collects the active power of distributed energy; the simulation results of the regional distributed energy output simulation module simulate distributed energy with large installed capacity through existing hardware units, and can realize the simulation of multiple actual distributed energy sources through simple proportional conversion.
[0047] Furthermore, the dispatchable load hardware-in-the-loop module determines the hardware indication that can replace the dispatchable load based on the electrical status indication obtained by the dispatchable load simulation module, and uses multiple communication methods to receive the simulation results in the dispatchable load simulation module or the demand response results of the demand response strategy execution module, thereby realizing the conversion of the software simulation quantity of the dispatchable load to the hardware switching quantity.
[0048] Furthermore, the dispatchable load hardware-in-the-loop module includes a control chip and an I / O port. The control chip drives the I / O port and can receive the demand response results (dispatchable load switch status quantity) calculated by the demand response strategy execution module through a communication protocol. At the same time, it can control the real device through the control chip to indicate whether the dispatchable load participates in the demand response. Among them, a communication interface is provided on the control chip for connecting to the dispatchable load simulation module.
[0049] It should be noted that the verification of demand response strategies is generally carried out through software simulation, but adding a dispatchable load hardware-in-the-loop module to the simulation can materialize the control object, which is intuitive and effective.
[0050] Furthermore, the regional power grid feeder data acquisition module obtains regional power grid feeder data of the regional power system monitoring network from the power company.
[0051] Among them, the feeder data includes feeder active power fluctuations, voltage fluctuations, and frequency fluctuations, as well as the parameters of the connected power system and the power flow fluctuations of the power system at this level, thereby providing data support for the demand response strategy effectiveness verification module.
[0052] Furthermore, the distributed energy output collection module can collect distributed energy output through the set collection device to obtain output data. The distributed energy output collection module is communicated with the regional distributed energy output simulation module and can output output data for distributed energy output simulation of different scales in the region.
[0053] It should be noted that the distributed energy output acquisition module obtains the output of small-capacity distributed energy through the acquisition device, which is equivalent to monitoring the motive force of distributed energy. It can obtain the output of large-scale distributed energy without the need for large-scale installation of distributed energy, thereby improving the economy of the simulation.
[0054] Furthermore, the software unit uses programming software to build and encapsulate the dispatchable load simulation module, regional distributed energy output simulation module, feeder simulation module, demand response strategy execution module and demand response effectiveness verification module, and executes the functions of the corresponding simulation modules through the GUI interface. The corresponding software unit has an interface for communicating with the hardware unit.
[0055] Among them, the programming software in this embodiment adopts Matlab, which can encapsulate various functions, making it convenient to program and encapsulate the various modules separately. At the same time, it can call the hardware driver through the operating system and transmit data after communicating with the hardware. It is easy to use, effective and flexible.
[0056] Furthermore, the dispatchable load simulation module is based on the single-unit model and the cluster model, which simulates the equipment usage rules and cluster load characteristics respectively, outputs the switching state quantity of the dispatchable load, simulates the cluster load state and outputs the fluctuation curve.
[0057] Among them, the single-unit model includes the user's usage requirements, usage time, equipment energy consumption, and equipment energy conversion rules. The equipment's on state is represented by the equipment's on / off state quantity, which can be simplified and represented by a 0-1 state. Combined with the power consumption of the single unit, the energy consumption state of the cluster load can be calculated.
[0058] It should be noted that in this application example, the electric water heater is used as the dispatchable load. The model includes user usage time, user hot water usage, user water temperature, water heater heating speed, water heater volume, water heater heating power, insulation power, and water inlet temperature. A mathematical model is established by combining the physical connection between each variable, and then the Monte Carlo simulation method is used to simulate the cluster load status.
[0059] Furthermore, a regional distributed energy output simulation module is established. The regional distributed energy output simulation module receives the output data obtained by the distributed energy output acquisition module, converts it according to the regional distributed energy installed capacity ratio, and completes the simulation of the distributed energy output of the regional power grid feeder.
[0060] It's important to note that this example uses 300W solar photovoltaic panels, whose output is measured daily. This allows for a simple simulation of a 120kW installed photovoltaic panel in a region, simply by multiplying the data. This example also accounts for related randomness, fitting multiple sets of measured data to derive a mathematical relationship between output and installed capacity. This also allows for simulation of the output of large-scale distributed energy resources.
[0061] Among them, if the renewable energy output simulation data is to be imported into the feeder data, the reliability of the renewable energy simulation results can be greatly improved by dynamically linking the feeder simulation module after multiplying the actual output measurement results of small-capacity renewable energy.
[0062] Furthermore, the simulation results of the regional power grid feeder fluctuation, the regional distributed energy output simulation module and the dispatchable load simulation module are superimposed, and the regional power grid feeder fluctuation results are obtained through the feeder simulation module, and the fluctuation curve of the regional power grid feeder is output.
[0063] Among them, the fluctuation results of the regional power grid feeder are generated by superimposing the simulation results of the regional power grid feeder fluctuation, the regional distributed energy output simulation module and the dispatchable load simulation module, which enhances the impact of demand response dispatchable load in the regional power grid and takes into account the current situation of large-scale access of renewable energy to the grid. Therefore, the power grid feeder simulation results are more effective when used to verify the demand response strategy.
[0064] Furthermore, the demand response strategy effectiveness verification module collects data before and after the execution of the demand response strategy execution module, and calculates and outputs the regional power grid power quality optimization, user economy, and user comfort goals according to the set minute-level step size in the programming software for verification of the effectiveness of the demand response strategy.
[0065] It should be noted that in the demand response effectiveness verification module, by calculating and comparing the user energy consumption results obtained by the demand response strategy execution module with the user's energy consumption needs, the execution results of the user's economic and comfort goals in the demand response can be obtained. Then, by performing a flow analysis on the power system, the relevant power quality parameters can be obtained to verify the execution results of the grid-side economic and stability indicators.
[0066] Among them, the effectiveness verification of demand response can target the economic indicators of the power grid in a small range, and the stability indicators of the power grid in a large range, taking into account the economic efficiency of stable regulation, and then playing the regulatory role of demand response on a larger scale and at a higher level.
[0067] Other embodiments of the present invention will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
[0068] It should be understood that the present invention is not limited to the above description and that various modifications and changes can be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A hardware-in-the-loop semi-physical simulation platform for demand response strategy verification, characterized in that: The hardware-in-the-loop semi-physical simulation platform includes a hardware unit and a software unit, and the hardware unit includes: The dispatchable load hardware-in-the-loop module is used to receive the simulation results of the dispatchable load simulation module and the demand response results of the demand response strategy execution module; A regional power grid feeder data acquisition module is connected to the power system monitoring network to obtain feeder data of the regional power system monitoring network; The distributed energy output acquisition module monitors the distributed energy output based on the selected distributed energy configuration and sends the output data to the regional distributed energy output simulation module; The software unit includes: The dispatchable load simulation module uses mathematical methods to establish a single dispatchable load model and a cluster model based on the physical principles and application laws of the dispatchable load, obtains a software simulation of the dispatchable load within a cycle, determines an indication quantity for an electrical state indication, and sends the electrical state indication, i.e., the simulation result, to the dispatchable load hardware-in-the-loop module; The regional distributed energy output simulation module reasonably selects distributed energy based on the selected power system range of the selected verification strategy and calculates the simulation results based on the output data; A feeder simulation module, which superimposes the feeder data acquired by the regional power grid feeder data acquisition module, the simulation results of the regional distributed energy output simulation module, and the simulation results of the dispatchable load simulation module to simulate feeder fluctuations of the regional power grid; a demand response strategy execution module, which obtains a demand response result, i.e., a load state of the dispatchable load when participating in the power system demand response, based on the single model and the cluster model of the dispatchable load, the simulation results of the regional distributed energy output simulation module, and the feeder fluctuation of the regional power grid; The demand response effectiveness verification module obtains various types of power grid and user data before and after the execution of the demand response strategy, compares the load status before and after the execution of the demand response strategy, and completes the demand response target verification.
2. The hardware-in-the-loop semi-physical simulation platform for demand response strategy verification according to claim 1, characterized in that: The dispatchable load hardware-in-the-loop module determines the hardware indication that can replace the dispatchable load based on the electrical status indication obtained by the dispatchable load simulation module, and uses multiple communication methods to receive the simulation results in the dispatchable load simulation module or the demand response results of the demand response strategy execution module, thereby realizing the conversion of the software simulation quantity of the dispatchable load to the hardware switching quantity.
3. The hardware-in-the-loop semi-physical simulation platform for demand response strategy verification according to claim 2, characterized in that: The dispatchable load hardware-in-the-loop module includes a control chip and an I / O port. The control chip drives the I / O port and can receive the demand response result calculated by the demand response strategy execution module through a communication protocol, that is, the dispatchable load switch status quantity. At the same time, the control chip can control the LED lamp beads or real devices connected to the contactor to indicate whether the dispatchable load participates in the demand response. The control chip is provided with a communication interface for connecting to the dispatchable load simulation module.
4. The hardware-in-the-loop semi-physical simulation platform for demand response strategy verification according to claim 1, characterized in that: The regional power grid feeder data acquisition module obtains regional power grid feeder data of the regional power system monitoring network from the power company.
5. The hardware-in-the-loop semi-physical simulation platform for demand response strategy verification according to claim 1, characterized in that: The distributed energy output acquisition module can collect distributed energy output through a set acquisition device to obtain output data. The distributed energy output acquisition module is communicatively connected to the regional distributed energy output simulation module and can output the output data for distributed energy output simulation of different scales in the region.
6. The hardware-in-the-loop semi-physical simulation platform for demand response strategy verification according to claim 1, characterized in that: The software unit uses programming software to build and encapsulate the dispatchable load simulation module, the regional distributed energy output simulation module, the feeder simulation module, the demand response strategy execution module and the demand response validity verification module, and executes the functions of the corresponding simulation modules through the GUI interface. The corresponding software unit has an interface for communicating with the hardware unit.
7. The hardware-in-the-loop semi-physical simulation platform for demand response strategy verification according to claim 6, characterized in that: The dispatchable load simulation module is based on the single model and the cluster model, simulates the equipment usage rules and cluster load characteristics respectively, outputs the switching state quantity of the dispatchable load, simulates the cluster load state and outputs the fluctuation curve.
8. The hardware-in-the-loop semi-physical simulation platform for demand response strategy verification according to claim 6, characterized in that: Establish the regional distributed energy output simulation module, the regional distributed energy output simulation module receives the output data obtained by the distributed energy output acquisition module, converts it according to the regional distributed energy installed capacity ratio, and completes the distributed energy output simulation of the regional power grid feeder.
9. The hardware-in-the-loop semi-physical simulation platform for demand response strategy verification according to claim 6, characterized in that: The regional power grid feeder fluctuation, the simulation results of the regional distributed energy output simulation module and the simulation results of the dispatchable load simulation module are superimposed, the regional power grid feeder fluctuation results are obtained through the feeder simulation module, and the fluctuation curve of the regional power grid feeder is output.
10. The hardware-in-the-loop semi-physical simulation platform for demand response strategy verification according to claim 7, characterized in that: The demand response strategy validity verification module collects data before and after the execution of the demand response strategy execution module, and calculates and outputs the regional power grid power quality optimization, user economy, and user comfort targets according to the set minute-level step size in the programming software for verification of the validity of the demand response strategy.
Citation Information
Patent Citations
Co-simulation interface setting method
CN106919064A
Data path control system of avionics hardware-in-the-loop simulation
CN107390548A