Distributed energy primary frequency modulation auxiliary service hardware-in-loop test method and system

By obtaining the theoretical value and calculated value of the frequency modulation response of a distributed energy station in the ring test method and system, calculating the measurement deviation value, and evaluating the test and evaluation results of the distributed energy control module, the problem of low accuracy in the testing and evaluation of the distributed energy participation in the auxiliary service scenario of the power market in the existing technology is solved, and a higher accuracy in testing and evaluation is achieved.

CN120044932APending Publication Date: 2025-05-27南方电网能源发展研究院有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510242567.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The existing distributed energy primary frequency modulation testing technology fails to effectively consider distributed energy participation in the auxiliary service scenarios of the power market, resulting in low accuracy of test evaluation.

Method used

A distributed energy primary frequency modulation auxiliary service hardware in-ring testing method and system is provided. By obtaining the theoretical value and calculated value of the primary frequency modulation response of a distributed energy station, the calculation deviation value is calculated, and the test evaluation results of the distributed energy control module are evaluated.

Benefits of technology

The accuracy of the distributed energy control module's test and evaluation of the frequency modulation of the primary frequency is improved, and the accuracy of power, power and compensation cost calculations can be more accurately evaluated, and the testing capabilities of auxiliary services in the power market are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120044932A_ABST
    Figure CN120044932A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a distributed energy primary frequency modulation auxiliary service hardware-in-the-loop test method, system and device and computer equipment, and relates to the technical field of power test. The method comprises the following steps: acquiring a primary frequency modulation response theoretical value for the distributed energy station; acquiring a primary frequency modulation response measurement value for the distributed energy station; and according to the primary frequency modulation response theoretical value and the frequency modulation response measurement and calculation value, obtaining a test evaluation result of the distributed energy control module for primary frequency modulation. According to the method, the hardware-in-the-loop test for the distributed energy primary frequency modulation auxiliary service scene is realized, and the test evaluation accuracy for the distributed energy control module can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power testing, and particularly to a method, system, device, and computer equipment for hardware-in-the-loop testing of primary frequency regulation auxiliary services of distributed energy. Background Art

[0002] For a distributed energy system, the power sources therein include new energy sources, such as wind power and photovoltaic power, etc. Generally, the energy of new energy comes from the wind and light in nature, with randomness and volatility. The output of distributed energy also has randomness, resulting in unbalanced fluctuations in power generation and power consumption in the power system, indirectly increasing the frequency regulation burden on thermal power units or hydro turbine units in the power system. Therefore, primary frequency regulation can be introduced into the distributed energy system. In primary frequency regulation, it is necessary to measure the primary frequency regulation response value of the distributed energy system, such as the primary frequency regulation response power value. In order to achieve precise frequency regulation, it is necessary to test and evaluate the accuracy of the measured value of the primary frequency regulation response of the distributed energy control system (distributed energy control system).

[0003] The current distributed energy primary frequency regulation testing technology considers the distributed energy scenario rather one-sidedly, without considering scenarios such as distributed energy participating in power market auxiliary services, and there is a problem of low accuracy in test evaluation. Summary of the Invention

[0004] Based on this, in view of the above technical problems, it is necessary to provide a method, system, device, and computer equipment for hardware-in-the-loop testing of primary frequency regulation auxiliary services of distributed energy.

[0005] In a first aspect, the present application provides a method for hardware-in-the-loop testing of primary frequency regulation auxiliary services of distributed energy, which is applied to the main control module of a hardware-in-the-loop testing system for primary frequency regulation auxiliary services of distributed energy. The method includes:

[0006] Obtain the theoretical value of the primary frequency regulation response for a distributed energy station;

[0007] Obtain the measured value of the primary frequency regulation response for the distributed energy station;

[0008] According to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response, obtain the test evaluation result of the distributed energy control module for the primary frequency regulation.

[0009] In one embodiment, obtaining the test evaluation result of the distributed energy control module for the primary frequency regulation according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response includes: obtaining the measurement deviation value of the distributed energy control module for the primary frequency regulation according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response; and obtaining the test evaluation result of the distributed energy control module for the primary frequency regulation according to the measurement deviation value.

[0010] In one embodiment, the theoretical value of the primary frequency regulation response includes the theoretical value of the primary frequency regulation response power; the measured value of the primary frequency regulation response includes the measured value of the primary frequency regulation response power; the measurement deviation value includes the power measurement deviation value; and obtaining the test evaluation result of the distributed energy control module for the primary frequency regulation according to the measurement deviation value includes: if the power measurement deviation value is not within the first preset deviation range, determining that the power test evaluation result of the distributed energy control module for the primary frequency regulation is abnormal power measurement.

[0011] In one embodiment, the theoretical value of the primary frequency regulation response includes the theoretical value of the primary frequency regulation response power and the theoretical value of the primary frequency regulation response power consumption; the measured value of the primary frequency regulation response includes the measured value of the primary frequency regulation response power and the measured value of the primary frequency regulation response power consumption; the measurement deviation value includes the power measurement deviation value and the power consumption measurement deviation value; and obtaining the test evaluation result of the distributed energy control module for the primary frequency regulation according to the measurement deviation value includes: if the power measurement deviation value is within the first preset deviation range, obtaining the power consumption test evaluation result of the distributed energy control module for the primary frequency regulation according to the power consumption measurement deviation value; and obtaining the compensation cost test evaluation result of the distributed energy control module for the primary frequency regulation according to the power consumption test evaluation result.

[0012] In one embodiment, obtaining the power consumption test evaluation result of the distributed energy control module for the primary frequency regulation according to the power consumption measurement deviation value includes: if the power consumption measurement deviation value is not within the second preset deviation range, determining that the power consumption test evaluation result of the distributed energy control module for the primary frequency regulation is abnormal power consumption measurement; if the power consumption measurement deviation value is within the second preset deviation range, determining that the power consumption test evaluation result of the distributed energy control module for the primary frequency regulation is normal power consumption measurement.

[0013] In one embodiment, the theoretical value of the primary frequency regulation response includes the theoretical value of the primary frequency regulation response compensation cost; the measured value of the primary frequency regulation response includes the measured value of the primary frequency regulation response compensation cost; the measurement deviation value includes the measurement deviation value of the compensation cost; obtaining the test evaluation result of the compensation cost of the distributed energy control module for the primary frequency regulation according to the power measurement evaluation result includes: if the power measurement evaluation result is that the power measurement is normal, obtaining the measurement deviation value of the compensation cost of the distributed energy control module for the primary frequency regulation; and obtaining the test evaluation result of the compensation cost of the distributed energy control module for the primary frequency regulation according to the measurement deviation value of the compensation cost.

[0014] In one embodiment, obtaining the test evaluation result of the compensation cost of the distributed energy control module for the primary frequency regulation according to the measurement deviation value of the compensation cost includes: if the measurement deviation value of the compensation cost is not within the third preset deviation range, determining that the test evaluation result of the compensation cost of the distributed energy control module for the primary frequency regulation is abnormal compensation cost measurement; if the measurement deviation value of the compensation cost is within the third preset deviation range, determining that the test evaluation result of the compensation cost of the distributed energy control module for the primary frequency regulation is normal compensation cost measurement.

[0015] In a second aspect, the present application provides a hardware-in-the-loop test device for distributed energy primary frequency regulation ancillary services, which is applied to the main control module of a hardware-in-the-loop test system for distributed energy primary frequency regulation ancillary services. The device includes:

[0016] A first acquisition module, configured to acquire the theoretical value of the primary frequency regulation response for a distributed energy station;

[0017] A second acquisition module, configured to acquire the measured value of the primary frequency regulation response for the distributed energy station;

[0018] An evaluation module, configured to obtain the test evaluation result of the distributed energy control module for the primary frequency regulation according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response.

[0019] In a third aspect, the present application provides a hardware-in-the-loop test system for distributed energy primary frequency regulation ancillary services. The system includes:

[0020] A main control module, a distributed energy control module, and a power ancillary service module; where:

[0021] The power ancillary service module is configured to acquire the theoretical value of the primary frequency regulation response for a distributed energy station;

[0022] The distributed energy control module is used to obtain the measured value of the primary frequency regulation response for the distributed energy station;

[0023] The main control module is used to obtain the test evaluation result of the distributed energy control module for the primary frequency regulation according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response.

[0024] In a fourth aspect, the present application also provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0025] Obtain the theoretical value of the primary frequency regulation response for the distributed energy station;

[0026] Obtain the measured value of the primary frequency regulation response for the distributed energy station;

[0027] According to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response, obtain the test evaluation result of the distributed energy control module for the primary frequency regulation.

[0028] In the above-mentioned hardware-in-the-loop test method, system, device and computer device for distributed energy primary frequency regulation auxiliary service, the method may include: obtaining the theoretical value of the primary frequency regulation response for the distributed energy station; obtaining the measured value of the primary frequency regulation response for the distributed energy station; according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response, obtaining the test evaluation result of the distributed energy control module for the primary frequency regulation. In the system provided by the embodiments of the present application, the distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test system can be formed by the main control module, the distributed energy control module and the power auxiliary service module. In the hardware-in-the-loop test method for distributed energy primary frequency regulation auxiliary service, a distributed energy station is built by simulation software, and the distributed energy station may include one or more types of distributed energy, realizing the semi-physical hardware-in-the-loop simulation test of the primary frequency regulation of the distributed energy control module, and conducting multi-dimensional evaluation on the distributed energy control module, which can improve the accuracy of the test evaluation for the distributed energy control module. Description of the Drawings

[0029] 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 of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other related drawings can be obtained without creative efforts based on these drawings.

[0030] Figure 1Schematic structural diagram of a hardware-in-the-loop test system for primary frequency regulation auxiliary service of distributed energy provided by an embodiment of the present application;

[0031] Figure 2 Schematic flow diagram of a hardware-in-the-loop test method for primary frequency regulation auxiliary service of distributed energy provided by an embodiment of the present application;

[0032] Figure 3 Schematic flow diagram of obtaining the test evaluation result of the distributed energy control module for primary frequency regulation provided by an embodiment of the present application;

[0033] Figure 4 Reference curve graph of primary frequency regulation droop characteristic provided by an embodiment of the present application;

[0034] Figure 5 Schematic flow diagram of another hardware-in-the-loop test method for primary frequency regulation auxiliary service of distributed energy provided by an embodiment of the present application;

[0035] Figure 6 Schematic block diagram of a hardware-in-the-loop test device for primary frequency regulation auxiliary service of distributed energy provided by an embodiment of the present application;

[0036] Figure 7 Internal structure diagram of a computer device provided by an embodiment of the present application. Specific implementation manners

[0037] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0038] The spatial information processing method provided by the embodiment of the present application can be applied to an application environment as shown in Figure 1 The application environment may include a hardware-in-the-loop test system for primary frequency regulation auxiliary service of distributed energy. The hardware-in-the-loop test system for primary frequency regulation auxiliary service of distributed energy can be used to implement the hardware-in-the-loop test of the primary frequency regulation auxiliary service of distributed energy. The hardware-in-the-loop test system for primary frequency regulation auxiliary service of distributed energy can be built by Real-Time Laboratory (Rt-lab) software. In the field of power systems, the Rt-lab software can be used to simulate the operation of distributed energy stations, grid scenarios, and implement hardware-in-the-loop tests. The Rt-lab semi-physical simulation software may include distributed wind power, photovoltaic modules, photovoltaic inverters, electrochemical energy storage, energy storage converters, power charges, cables, grid-connected circuit breakers, grid models, and statistical modules.

[0039] The hardware-in-the-loop test system for primary frequency regulation auxiliary service of distributed energy can include a main control module, a distributed energy control module, and a power auxiliary service module. Among them, the distributed energy control module in the hardware-in-the-loop test system for primary frequency regulation auxiliary service of distributed energy can be Figure 1 the distributed energy control system shown (which can also be described as a distributed energy power control system); the main control module in the hardware-in-the-loop test system for primary frequency regulation auxiliary service of distributed energy can be a hardware-in-the-loop test platform based on Rt-lab semi-physical simulation software, and can include decentralized wind power, photovoltaic modules, photovoltaic inverters, electrochemical energy storage, energy storage converters, power charges, cables, grid-connected circuit breakers, grid models, and statistical modules; the power auxiliary service module can be built by a host computer, and the host computer can include an auxiliary service invitation module, a response power calculation module, a compensation electricity price setting module, and a compensation cost accounting module; as Figure 1 shown, communication can be carried out between the Rt-lab semi-physical simulation software, the host computer (power service auxiliary module), and the distributed energy power control system (distributed energy control module) through a communication switch.

[0040] Among them, the power auxiliary service module is used to obtain the theoretical value of the primary frequency regulation response for the distributed energy station; the distributed energy control module is used to obtain the measured value of the primary frequency regulation response for the distributed energy station; the main control module is used to obtain the test evaluation result of the distributed energy control module for primary frequency regulation according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response.

[0041] Specifically, first, the distributed energy control system can be interconnected with the hardware-in-the-loop test platform. The distributed energy control system is the distributed energy control module in the hardware-in-the-loop test system for distributed energy primary frequency regulation auxiliary services. The hardware-in-the-loop test platform can be the main control module in the hardware-in-the-loop test system for distributed energy primary frequency regulation auxiliary services. Furthermore, a distributed energy station model can be built based on the Rt-lab software. Next, a power auxiliary service model, that is, the power auxiliary service module in the hardware-in-the-loop test system for distributed energy primary frequency regulation auxiliary services, can be built based on the host computer. This power auxiliary service module can be used to obtain the theoretical value of the primary frequency regulation response for the distributed energy station. For example, it can be used for auxiliary service invitations, response electricity quantity calculation, compensation electricity price setting, and compensation cost accounting, etc. Further, a power grid frequency deviation scenario can be set in the Rt-lab software. Then, the hardware-in-the-loop test of the primary frequency regulation auxiliary services for the distributed energy control system can be carried out using the distributed energy station and this power grid frequency deviation scenario. Among them, the hardware-in-the-loop test of the primary frequency regulation for the distributed energy control system can include: The first step is to monitor whether the distributed energy control system can detect the frequency deviation of the distributed energy station in the Rt-lab simulation environment. If the human-machine interface of the distributed energy control system does not display a frequency response action, then feedback "the control system frequency limit is exceeded and not responded" on the human-machine interface of the power auxiliary service module of the host computer, and terminate the test. If the human-machine interface of the distributed energy control system displays a frequency response action, then monitor whether the distributed energy control system receives a primary frequency regulation invitation signal from the power auxiliary service module of the host computer, make a response to the invitation signal, and give a prompt in the human-machine interface of the control system. If the human-machine interface of the distributed energy control system does not display a primary frequency regulation response invitation signal, then feedback "the primary frequency regulation auxiliary service response action of the control system is not responded" on the human-machine interface of the power auxiliary service module of the host computer, and terminate the test. If the human-machine interface of the distributed energy control system displays a primary frequency regulation response invitation signal, then carry out the primary frequency regulation calculation test for the distributed energy control system. The distributed energy control module can obtain the calculated value of the primary frequency regulation response for the distributed energy station. For example, the calculated value of the primary frequency regulation response power, the calculated value of the primary frequency regulation response electricity quantity, and the calculated value of the primary frequency regulation response compensation cost. The power auxiliary service module can obtain the theoretical value of the primary frequency regulation response for the distributed energy station. For example, the theoretical value of the primary frequency regulation response power, the theoretical value of the primary frequency regulation response electricity quantity, and the theoretical value of the primary frequency regulation response compensation cost. Furthermore, the main control module can obtain the test evaluation result of the distributed energy control module for primary frequency regulation according to the theoretical value of the primary frequency regulation response and the calculated value of the frequency regulation response.

[0042] In an exemplary embodiment, the primary frequency regulation response theoretical value includes the primary frequency regulation response power theoretical value; the primary frequency regulation response measurement value includes the primary frequency regulation response power measurement value; the main control module is further configured to: obtain the power measurement deviation value of the distributed energy control module for primary frequency regulation according to the primary frequency regulation response power theoretical value and the primary frequency regulation response power measurement value; if the power measurement deviation value is not within the first preset deviation interval, determine that the power measurement evaluation result of the distributed energy control module for primary frequency regulation is abnormal power measurement.

[0043] In an exemplary embodiment, the power auxiliary service module is further configured to: obtain the current frequency and rated power of the distributed energy station corresponding to primary frequency regulation; obtain the primary frequency regulation response power theoretical value for the distributed energy station according to the current frequency and rated power.

[0044] In an exemplary embodiment, the primary frequency regulation response theoretical value includes the primary frequency regulation response electricity quantity theoretical value and the primary frequency regulation response compensation cost theoretical value; the primary frequency regulation response measurement value includes the primary frequency regulation response electricity quantity measurement value and the primary frequency regulation response compensation cost measurement value; if the power measurement deviation value is within the first preset deviation interval, the power auxiliary service module is further configured to: obtain the primary frequency regulation response electricity quantity theoretical value and the primary frequency regulation response compensation cost theoretical value according to the primary frequency regulation response power theoretical value; obtain the primary frequency regulation response electricity quantity measurement value and the primary frequency regulation response compensation cost measurement value according to the primary frequency regulation response power measurement value.

[0045] In an exemplary embodiment, the main control module is further configured to: obtain the electricity quantity measurement deviation value of the distributed energy control module for primary frequency regulation according to the primary frequency regulation response electricity quantity theoretical value and the primary frequency regulation response electricity quantity measurement value; if the electricity quantity measurement deviation value is not within the second preset deviation interval, determine that the electricity quantity measurement evaluation result of the distributed energy control module for primary frequency regulation is abnormal electricity quantity measurement.

[0046] In an exemplary embodiment, if the electricity quantity measurement deviation value is within the second preset deviation interval, the main control module is further configured to: obtain the compensation cost measurement deviation value of the distributed energy control module for primary frequency regulation according to the primary frequency regulation response compensation cost theoretical value and the primary frequency regulation response compensation cost measurement value; obtain the compensation cost measurement evaluation result of the distributed energy control module for primary frequency regulation according to the compensation cost measurement deviation value.

[0047] In an exemplary embodiment, if the electricity quantity measurement deviation value is not within the third preset deviation interval, the main control module is further configured to: determine that the compensation cost measurement evaluation result of the distributed energy control module for primary frequency regulation is abnormal compensation cost measurement.

[0048] In an exemplary embodiment, if the power measurement deviation value is not within the third preset deviation range, the main control module is further configured to: determine that the compensation cost test evaluation result of the distributed energy control module for primary frequency regulation is abnormal compensation cost measurement.

[0049] In an exemplary embodiment, as Figure 2 shown, a hardware-in-the-loop test method for distributed energy primary frequency regulation auxiliary service is provided, and the method may include:

[0050] Step 202, obtain the theoretical value of the primary frequency regulation response for the distributed energy station.

[0051] Step 204, obtain the measured value of the primary frequency regulation response for the distributed energy station.

[0052] Step 206, obtain the test evaluation result of the distributed energy control module for primary frequency regulation according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response.

[0053] Among them, the hardware-in-the-loop test method for distributed energy primary frequency regulation auxiliary service recommended in the embodiments of the present application can be applied to the hardware-in-the-loop test system for distributed energy primary frequency regulation auxiliary service. Specifically, first, the distributed energy control system can be interconnected with the hardware-in-the-loop test platform. The distributed energy control system is the distributed energy control module in the hardware-in-the-loop test system for distributed energy primary frequency regulation auxiliary service, and the hardware-in-the-loop test platform can be the main control module in the hardware-in-the-loop test system for distributed energy primary frequency regulation auxiliary service.

[0054] Furthermore, based on the Rt-lab software, a distributed energy station model can be built. The distributed energy station model may include, but is not limited to, decentralized wind turbines, photovoltaic modules, photovoltaic inverters, electrochemical energy storage, energy storage converters, power loads, grid connection breakers, grid models, and statistical modules, etc. The distributed energy station model highly simulates the operating characteristics of the distributed energy station in the real scenario. Among them, by setting different parameters, the decentralized wind turbine model can output corresponding electric energy according to the wind speed change, and the photovoltaic module model can generate electric energy according to the light intensity, realizing the simulation of the randomness and volatility of new energy power generation, and providing support for studying the operating conditions of distributed energy under different working conditions.

[0055] Next, based on the upper computer, a power auxiliary service model can be built, that is, the power auxiliary service module in the hardware-in-the-loop test system for distributed energy primary frequency regulation auxiliary service. The power auxiliary service module can be used to obtain the theoretical value of the primary frequency regulation response for the distributed energy station. For example, auxiliary service invitation, response power measurement, compensation electricity price setting, and compensation cost accounting, etc.

[0056] Furthermore, the grid frequency deviation scenario can be set in the Rt-lab software. Then, the distributed energy control system can be tested for primary frequency regulation auxiliary service hardware-in-the-loop using the distributed energy station and this grid frequency deviation scenario. Among them, the relevant grid parameters can be flexibly set in the Rt-lab software to simulate various grid scenarios. For example, the rated grid frequency can be set to 50 Hz in Rt-lab, the dead zone range of primary frequency regulation action can be set to ±0.05 Hz, and the grid real-time frequency over-limit scenario (i.e., f≥50.05 Hz) and the grid real-time frequency under-limit scenario (i.e., f≤49.05 Hz) can be set. By simulating these frequency deviation scenarios, the response ability of the distributed energy control system to grid frequency changes can be tested to determine whether it can accurately detect frequency deviations and make corresponding adjustments.

[0057] Among them, the hardware-in-the-loop test of the primary frequency regulation for the distributed energy control system can include: The first step is to monitor whether the distributed energy control system can detect the frequency deviation of the distributed energy station in the Rt-lab simulation environment. If the human-machine interface of the distributed energy control system does not display a frequency response action, then feedback "The control system frequency over-limit is not responsive" on the human-machine interface of the upper computer power auxiliary service module and terminate the test; if the human-machine interface of the distributed energy control system displays a frequency response action, then monitor whether the distributed energy control system receives a primary frequency regulation invitation signal from the upper computer power auxiliary service module, make a response to the invitation signal, and give a prompt in the control system human-machine interface. If the human-machine interface of the distributed energy control system does not display a primary frequency regulation response invitation signal, then feedback "The control system primary frequency regulation auxiliary service invitation action is not responsive" on the human-machine interface of the upper computer power auxiliary service module and terminate the test; if the human-machine interface of the distributed energy control system displays a primary frequency regulation response invitation signal, then conduct a primary frequency regulation calculation test for the distributed energy control system. The distributed energy control module can obtain the primary frequency regulation response calculation values for the distributed energy station, for example, the primary frequency regulation response power calculation value, the primary frequency regulation response power consumption calculation value, and the primary frequency regulation response compensation cost calculation value; the power auxiliary service module can obtain the primary frequency regulation response theoretical values for the distributed energy station, for example, the primary frequency regulation response power theoretical value, the primary frequency regulation response power consumption theoretical value, and the primary frequency regulation response compensation cost theoretical value; furthermore, the main control module can obtain the test evaluation result of the distributed energy control module for primary frequency regulation according to the primary frequency regulation response theoretical value and the frequency regulation response calculation value.

[0058] In the method of this embodiment, obtain the theoretical value of the primary frequency regulation response for the distributed energy station; obtain the measured value of the primary frequency regulation response for the distributed energy station; according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response, obtain the test evaluation result of the distributed energy control module for primary frequency regulation. In the system provided by the embodiment of the present application, the distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test system can be formed by the main control module, the distributed energy control module, and the power auxiliary service module. In this distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test method, a distributed energy station is built by simulation software. The distributed energy station can include one or more types of distributed energy, realizing the semi-physical hardware-in-the-loop simulation test of the primary frequency regulation of the distributed energy control module, and performing multi-dimensional evaluation on the distributed energy control module, which can improve the accuracy of the test evaluation of the distributed energy control module.

[0059] In an exemplary embodiment, as Figure 3 shown, step 206 may include steps 302 to 304. Among them:

[0060] Step 302, according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response, obtain the measured deviation value of the distributed energy control module for primary frequency regulation.

[0061] Step 304, according to the measured deviation value, obtain the test evaluation result of the distributed energy control module for primary frequency regulation.

[0062] In an exemplary embodiment, step 304 may include:

[0063] The theoretical value of the primary frequency regulation response includes the theoretical value of the primary frequency regulation response power; the measured value of the primary frequency regulation response includes the measured value of the primary frequency regulation response power; the measured deviation value includes the power measured deviation value; if the power measured deviation value is not within the first preset deviation interval, it is determined that the power test evaluation result of the distributed energy control module for primary frequency regulation is abnormal power measurement.

[0064] Specifically, the power auxiliary service module can obtain the theoretical value of the primary frequency regulation response power of the distributed energy station according to the current frequency at the connection point of the distributed energy station at the current time. Refer to formulas (1) and (2), and the corresponding primary frequency regulation droop characteristic reference curve can be seen Figure 4 :

[0065]

[0066]

[0067] Among them, is the theoretical value of the primary frequency regulation response power; is the primary frequency regulation active frequency modulation coefficient within different frequency deviation ranges; f is the frequency detected in real time at the grid connection point; is the rated frequency of the power system; is the rated power of the distributed energy station; is the rated power of all decentralized wind turbines within the distributed energy station; is the rated power of all distributed photovoltaics within the distributed energy station; is the rated power of all electrochemical energy storages within the distributed energy station.

[0068] Rated power calculation: The rated power of the distributed energy station is one of the basic parameters for calculating the theoretical value of the primary frequency regulation response power. can be obtained by adding the rated power of all decentralized wind turbines within the energy station , the rated power of all distributed photovoltaics , and the rated power of all electrochemical energy storages , that is . For example, in an actual distributed energy station, assuming the total rated power of decentralized wind turbines is , the total rated power of distributed photovoltaics is , and the rated power of the electrochemical energy storage is , then the rated power of this distributed energy station .

[0069] Frequency parameter setting: The rated frequency of the power system

[0070] is usually a fixed value, set to 50Hz in the document. The frequency f detected in real time at the grid connection point will change with the operating state of the power system and is a dynamic parameter. In actual operation, real-time frequency data is obtained through frequency monitoring equipment installed at the grid connection point. The dead zone range of primary frequency regulation action and the setting of different frequency intervals are also crucial. For example, the dead zone range of primary frequency regulation action is set to ±0.05Hz, and different frequency intervals are divided, such as and etc. Different intervals correspond to different calculation methods, and the setting of these intervals will be adjusted according to the characteristics and operating requirements of the power system.

[0071] Frequency modulation coefficient determination: The primary frequency regulation active frequency modulation coefficients within different frequency deviation ranges , , this primary frequency regulation active frequency modulation coefficient can be preset according to the stable operation requirements of the power system and equipment characteristics. In actual applications, it can be determined according to specific power system and equipment parameters. Generally, reference values are given by power industry standards or relevant technical specifications, and then adjusted in combination with actual operation experience.

[0072] The distributed energy control system can obtain the measured value of the primary frequency regulation response power of the distributed energy station according to the current frequency at the grid connection point of the distributed energy station at the current time, as shown in Equation (3):

[0073]

[0074]

[0075] Wherein, is the measured value of the primary frequency regulation response power in the test environment measured by the Rt-lab software statistical module; are the power commands sent by the control system to the decentralized wind power model, the distributed photovoltaic model, and the electrochemical energy storage model and finally executed respectively, are the power commands of the decentralized wind power model, the distributed photovoltaic model, and the electrochemical energy storage model recorded at the starting moment of frequency over-limit respectively. m is the primary frequency regulation response adjustment coefficient. When the frequency exceeds the upper limit, -1 is taken; when the frequency exceeds the lower limit, 1 is taken.

[0076] Furthermore, the main control module can obtain the power measurement deviation value of the distributed energy control module for primary frequency regulation according to the theoretical value of the primary frequency regulation response power and the measured value of the primary frequency regulation response power. And the main control module can obtain the power test evaluation result of the distributed energy control system for primary frequency regulation according to the power measurement deviation value and the first preset deviation interval. The power test evaluation result can be used to measure the accuracy of the power measurement of the distributed energy control system. The first preset deviation interval can be seen in Equation (4):

[0077]

[0078] Wherein, δ is the error coefficient.

[0079] If the power measurement deviation value is not within the first preset deviation interval, it is determined that the power test evaluation result of the distributed energy control module for primary frequency regulation is abnormal power measurement, and "the calculation of the primary frequency regulation response power of the control system is incorrect" is feedback on the human-computer interaction interface of the upper computer power auxiliary service module, and the test is terminated; if the power measurement deviation value is within the first preset deviation interval, it is determined that the power test evaluation result of the distributed energy control module for primary frequency regulation is normal power measurement.

[0080] In the method of this embodiment, combined with the simulation environment built by the Rt-lab software, the main control module can test and evaluate the primary frequency regulation response power measurement of the distributed energy control system according to the theoretical value of the primary frequency regulation response power and the measured value of the primary frequency regulation response power, improving the efficiency and accuracy of the primary frequency regulation response power measurement.

[0081] In another exemplary embodiment, step 304 may include:

[0082] The theoretical value of the primary frequency regulation response includes the theoretical value of the primary frequency regulation response power and the theoretical value of the primary frequency regulation response energy; the measured value of the primary frequency regulation response includes the measured value of the primary frequency regulation response power and the measured value of the primary frequency regulation response energy; the measurement deviation value includes the power measurement deviation value and the energy measurement deviation value; if the power measurement deviation value is within the first preset deviation interval, according to the energy measurement deviation value, obtain the energy test evaluation result of the distributed energy control module for primary frequency regulation; according to the energy test evaluation result, obtain the compensation cost test evaluation result of the distributed energy control module for primary frequency regulation.

[0083] Among them, the upper computer power auxiliary service module can obtain the energy measurement deviation value according to the difference between the theoretical value of the primary frequency regulation response energy and the measured value of the primary frequency regulation response energy. In this embodiment, the theoretical value of the primary frequency regulation response energy can be calculated according to the theoretical value of the primary frequency regulation response power, and reference can be made to formula (5); the measured value of the primary frequency regulation response energy can be calculated according to the measured value of the primary frequency regulation response power, and reference can be made to formula (6); the theoretical value of the primary frequency regulation compensation cost can be calculated according to the theoretical value of the primary frequency regulation response energy, and reference can be made to formula (7); the measured value of the primary frequency regulation compensation cost can be calculated according to the measured value of the primary frequency regulation response energy, and reference can be made to formula (8).

[0084]

[0085] Among them, is the measured value of the primary frequency regulation response energy calculated by the distributed energy control system according to the Rt-lab measurement data; is the theoretical value of the primary frequency regulation response energy calculated by the upper computer power auxiliary service module according to the theoretical response power; is the measured value of the actual primary frequency regulation response power measured by the Rt-lab software, and this data will also be transmitted to the distributed energy control system in real time for its energy measurement; is the theoretical value of the primary frequency regulation response power measured by the upper computer power auxiliary service module itself; t 1 、t 2 are the start time and end time of the frequency overlimit.

[0086]

[0087] Among them, is the measured value of the primary frequency regulation compensation cost calculated by the distributed energy control system according to the Rt-lab measurement data; is the theoretical value of the primary frequency regulation response compensation cost calculated by the host computer power auxiliary service module; only the part exceeding the set ratio of the theoretical action integral power consumption participates in the frequency modulation compensation. c is the set ratio, and the recommended value is 70%. R is the compensation unit price, with the unit of yuan / MWh; is the measured value of the primary frequency regulation response power consumption calculated by the distributed energy control system based on the Rt-lab measurement data; is the theoretical value of the primary frequency regulation response power consumption calculated by the host computer power auxiliary service module based on the theoretical response power. This data will also be transmitted to the distributed energy control system in real time for its electricity cost calculation.

[0088] In the method of this embodiment, according to the theoretical value of the primary frequency regulation response power, the theoretical value of the primary frequency regulation response power consumption and the theoretical value of the primary frequency regulation response compensation cost are obtained, and according to the measured value of the primary frequency regulation response power, the measured value of the primary frequency regulation response power consumption and the measured value of the primary frequency regulation response compensation cost are obtained, so as to realize multi-dimensional evaluation of the distributed energy control module, which can improve the accuracy of the test and evaluation of the distributed energy control module.

[0089] In an exemplary embodiment, the step of obtaining the power consumption test evaluation result of the distributed energy control module for primary frequency regulation according to the power consumption measurement deviation value includes: if the power consumption measurement deviation value is not within the second preset deviation interval, it is determined that the power consumption test evaluation result of the distributed energy control module for primary frequency regulation is abnormal power consumption measurement; if the power consumption measurement deviation value is within the second preset deviation interval, it is determined that the power consumption test evaluation result of the distributed energy control module for primary frequency regulation is normal power consumption measurement.

[0090] Among them, the main control module can obtain the power consumption measurement deviation value of the distributed energy control module for primary frequency regulation according to the theoretical value of the primary frequency regulation response power consumption and the measured value of the primary frequency regulation response power consumption. This power consumption measurement deviation value can be used to measure the calculation accuracy of the primary frequency regulation response power consumption of the distributed energy control system. Furthermore, according to this power consumption measurement deviation value and the second preset deviation interval, the power consumption test evaluation result of the distributed energy control module for primary frequency regulation can be obtained. The second preset deviation interval can be seen in formula (9):

[0091]

[0092] Among them, is the error coefficient; is the measured value of the primary frequency regulation response power consumption calculated by the distributed energy control system based on the Rt-lab measurement data; is the theoretical value of the primary frequency regulation response power consumption calculated by the host computer power auxiliary service module based on the theoretical response power.

[0093] If the power measurement deviation value is not within the second preset deviation range, it is determined that the power measurement evaluation result of the distributed energy control module for primary frequency modulation is abnormal power measurement, and "the calculation of the primary frequency modulation response power of the control system is incorrect" is fed back on the man-machine interface of the upper computer power auxiliary service module, and the test is terminated; if the power measurement deviation value is within the second preset deviation range, it is determined that the power measurement evaluation result of the distributed energy control module for primary frequency modulation is normal power measurement.

[0094] In an exemplary embodiment, the step of obtaining the compensation cost test evaluation result of the distributed energy control module for primary frequency modulation according to the power test evaluation result may include:

[0095] The theoretical value of the primary frequency modulation response includes the theoretical value of the primary frequency modulation response compensation cost; the measured value of the primary frequency modulation response includes the measured value of the primary frequency modulation response compensation cost; the measurement deviation value includes the compensation cost measurement deviation value; if the power test evaluation result is normal power measurement, obtain the compensation cost measurement deviation value of the distributed energy control module for primary frequency modulation; according to the compensation cost measurement deviation value, obtain the compensation cost test evaluation result of the distributed energy control module for primary frequency modulation.

[0096] Among them, the main control module is further configured to: obtain the compensation cost measurement deviation value of the distributed energy control module for primary frequency modulation according to the theoretical value of the primary frequency modulation response compensation cost and the measured value of the primary frequency modulation response compensation cost; according to the compensation cost measurement deviation value, obtain the compensation cost test evaluation result of the distributed energy control module for primary frequency modulation.

[0097] The compensation cost measurement deviation value can be used to measure the calculation accuracy of the primary frequency modulation response compensation cost of the distributed energy control system. The third preset deviation range can be referred to in formula (10):

[0098]

[0099] Among them, is the error coefficient; is the measured value of the primary frequency modulation response compensation cost calculated by the distributed energy control system according to the Rt-lab measurement data; is the theoretical value of the primary frequency modulation response compensation cost calculated by the upper computer power auxiliary service module according to the theoretical response power.

[0100] If the deviation value of the compensation cost measurement is not within the third preset deviation range, it is determined that the test evaluation result of the compensation cost for primary frequency regulation by the distributed energy control module is abnormal compensation cost measurement, and "the calculation of the primary frequency regulation response power of the control system is incorrect" is fed back on the man-machine interaction interface of the upper computer power auxiliary service module, and the test is terminated; if the deviation value of the compensation cost measurement is within the third preset deviation range, it is determined that the test evaluation result of the compensation cost for primary frequency regulation by the distributed energy control module is normal compensation cost measurement, and the response indexes of the distributed energy control system are recorded, for example, response time, regulation time, overshoot, etc.

[0101] In the method of this embodiment, combined with the simulation environment built by the Rt-lab software, the main control module can test and evaluate the measurement of the primary frequency regulation response power of the distributed energy control system according to the theoretical value and the measured value of the primary frequency regulation response power, improving the efficiency and accuracy of the measurement of the primary frequency regulation response power; and can test and evaluate the measurement of the primary frequency regulation compensation cost of the distributed energy control system according to the theoretical value and the measured value of the primary frequency regulation compensation cost, improving the efficiency and accuracy of the measurement of the primary frequency regulation compensation cost. Furthermore, multi-dimensional evaluation of the distributed energy control system can be realized, and the test evaluation accuracy for the distributed energy control module can be improved.

[0102] In an exemplary embodiment, as Figure 5 shown, a hardware-in-the-loop test method for distributed energy primary frequency regulation auxiliary service is provided, and the method may include:

[0103] Step 502, set a grid real-time frequency over-limit scenario in the Rt-lab grid module.

[0104] Step 504, determine whether the control system detects a frequency deviation in the simulation environment.

[0105] Wherein, the control system is a distributed energy control system. If the distributed energy control system does not detect a frequency deviation in the simulation environment, step 506 is executed; if the distributed energy control system detects a frequency deviation in the simulation environment, step 508 is executed.

[0106] Step 506, feedback that the control system frequency crosses the line without response.

[0107] Step 508, the upper computer power auxiliary service module sends a primary frequency regulation invitation signal.

[0108] Step 510, determine whether the control system responds to the invitation signal.

[0109] If the distributed energy control system does not respond to the invitation signal, step 512 is executed; if the distributed energy control system responds to the invitation signal, step 515 is executed.

[0110] Step 512, the feedback control system's auxiliary service primary frequency regulation response action did not respond.

[0111] Step 514, the upper computer power auxiliary service module conducts a calculation of the theoretical response power of primary frequency regulation.

[0112] Step 516, the control system issues a control instruction to the controllable resources in RI-Lab, and Rt-lab statistically analyzes the actual test response power.

[0113] Step 518, determine whether the deviation between the theoretical value of the response power and the measured power is within the error range.

[0114] Among them, if the deviation between the theoretical value of the response power and the measured power is not within the error range, step 520 is executed; if the deviation between the theoretical value of the response power and the measured power is within the error range, step 522 is executed.

[0115] Step 520, the calculation of the primary frequency regulation response power of the feedback control system is incorrect.

[0116] Step 522, the upper computer power auxiliary service module calculates the response power consumption and theoretical compensation cost of primary frequency regulation.

[0117] Step 524, the distributed energy control system calculates the response power consumption and compensation cost of primary frequency regulation.

[0118] Step 526, calculate the deviation between the measured power consumption of primary frequency regulation and the power consumption calculated by the control system.

[0119] Step 528, determine whether the deviation is within the error range.

[0120] Among them, if the deviation between the measured power consumption of primary frequency regulation and the power consumption calculated by the control system is not within the error range, step 530 is executed; if the deviation between the measured power consumption of primary frequency regulation and the power consumption calculated by the control system is within the error range, step 532 is executed.

[0121] Step 530, the calculation of the response power consumption of primary frequency regulation by the feedback control system is incorrect.

[0122] Step 532, calculate the deviation between the primary frequency regulation compensation cost calculated by the upper computer and the compensation cost calculated by the control system.

[0123] Step 534, determine whether the deviation is within the error range.

[0124] Among them, if the deviation between the primary frequency regulation compensation cost and the compensation cost measured by the control system is not within the error range, step 536 is executed; if the deviation between the primary frequency regulation compensation cost and the compensation cost measured by the control system is within the error range, step 538 is executed.

[0125] Step 536: Feedback that the calculation of the primary frequency regulation response compensation cost of the control system is incorrect.

[0126] Step 538: Record indicators such as the response time, adjustment time, and overshoot of the distributed energy source.

[0127] In the method of this embodiment, the method may include: obtaining the theoretical value of the primary frequency regulation response for the distributed energy station; obtaining the measured value of the primary frequency regulation response for the distributed energy station; and obtaining the test evaluation result of the distributed energy control module for primary frequency regulation according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response. In the method provided by the embodiments of the present application, the distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test system may be formed by the main control module, the distributed energy control module, and the power auxiliary service module. In this distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test system, a distributed energy station is built by simulation software, and the distributed energy station may include one or more types of distributed energy sources, realizing the semi-physical hardware-in-the-loop simulation test of the primary frequency regulation of the distributed energy control module, and performing multi-dimensional evaluation on the distributed energy control module, which can improve the test evaluation accuracy of the distributed energy control module.

[0128] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps do not necessarily have to be executed in the order indicated by the arrows. Unless clearly stated in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages do not necessarily have to be executed at the same time, but can be executed at different times. The execution order of these steps or stages does not necessarily have to be sequential, but can be executed alternately or alternately with at least a part of other steps or steps or stages in other steps.

[0129] Based on the same inventive concept, an embodiment of the present application further provides a distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test device for implementing the above-mentioned distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test method. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test device provided below can refer to the limitations on the distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test method in the above text, and will not be repeated here.

[0130] In one embodiment, as Figure 6 shown, a distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test device is provided, including: a first acquisition module 602, a second acquisition module 604, and an evaluation module 606, where:

[0131] The first acquisition module 602 is configured to acquire the theoretical value of the primary frequency regulation response for the distributed energy station;

[0132] The second acquisition module 604 is configured to acquire the measured value of the primary frequency regulation response for the distributed energy station;

[0133] The evaluation module 606 is configured to obtain the test evaluation result of the distributed energy control module for the primary frequency regulation according to the theoretical value of the primary frequency regulation response and the measured value of the frequency regulation response.

[0134] Each module in the above-mentioned distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test device can be implemented in whole or in part by software, hardware, and their combination. The above-mentioned modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above-mentioned modules.

[0135] In one embodiment, a computer device is provided. This computer device can be a server, and its internal structure diagram can be as Figure 7 shown. This computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of this computer device is used to provide computing and control capabilities. The memory of this computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of this computer device is used to store data related to the distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test. The network interface of this computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test method.

[0136] Those skilled in the art can understand that Figure 7 the structure shown in is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0137] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.

[0138] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties.

[0139] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0140] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0141] The above-described embodiments merely represent several implementation manners of the present application. Their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the patent of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A distributed energy primary frequency regulation auxiliary service hardware-in-the-loop testing method, characterized in that: A main control module applied to a distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test system, the method comprising: Obtain theoretical value of primary frequency modulation response for distributed energy stations; Obtaining a primary frequency modulation response measurement value for the distributed energy station; According to the primary frequency modulation response theoretical value and the frequency modulation response measured value, a test evaluation result of the distributed energy control module for the primary frequency modulation is obtained.

2. The method according to claim 1, characterized in that: The step of obtaining a test evaluation result of the distributed energy control module for the primary frequency modulation according to the primary frequency modulation response theoretical value and the frequency modulation response measured value includes: According to the primary frequency modulation response theoretical value and the frequency modulation response measured value, obtaining a measured deviation value of the distributed energy control module for the primary frequency modulation; According to the calculated deviation value, the test evaluation result of the distributed energy control module for the primary frequency modulation is obtained.

3. The method according to claim 2, characterized in that The primary frequency modulation response theoretical value includes the primary frequency modulation response power theoretical value; the primary frequency modulation response measured value includes the primary frequency modulation response power measured value; the measured deviation value includes the power measured deviation value; The step of obtaining the test evaluation result of the distributed energy control module for the primary frequency modulation according to the calculated deviation value includes: If the power calculation deviation value is not within the first preset deviation interval, it is determined that the power test evaluation result of the distributed energy control module for the primary frequency modulation is a power calculation abnormality.

4. The method according to claim 2, characterized in that: The primary frequency modulation response theoretical value includes the primary frequency modulation response power theoretical value and the primary frequency modulation response electric quantity theoretical value; the primary frequency modulation response measured value includes the primary frequency modulation response power measured value and the primary frequency modulation response electric quantity measured value; the measured deviation value includes the power measured deviation value and the electric quantity measured deviation value; The step of obtaining the test evaluation result of the distributed energy control module for the primary frequency modulation according to the calculated deviation value includes: If the power calculation deviation value is within the first preset deviation interval, obtaining the power measurement evaluation result of the distributed energy control module for the primary frequency modulation according to the power calculation deviation value; According to the electric quantity test evaluation result, the compensation cost test evaluation result of the distributed energy control module for the primary frequency regulation is obtained.

5. The method according to claim 4, characterized in that The obtaining, according to the power measurement deviation value, a power test evaluation result of the distributed energy control module for the primary frequency modulation includes: If the power measurement deviation value is not within the second preset deviation interval, determining that the power test evaluation result of the distributed energy control module for the primary frequency modulation is power measurement abnormality; If the power measurement deviation value is within the second preset deviation interval, it is determined that the power measurement evaluation result of the distributed energy control module for the primary frequency modulation is that the power measurement is normal.

6. The method according to claim 5, characterized in that The primary frequency modulation response theoretical value includes the primary frequency modulation response compensation fee theoretical value; the primary frequency modulation response calculated value includes the primary frequency modulation response compensation fee calculated value; the calculated deviation value includes the compensation fee calculated deviation value; The step of obtaining the compensation cost test evaluation result of the distributed energy control module for the primary frequency modulation according to the electric quantity test evaluation result includes: If the power test evaluation result is that the power calculation is normal, obtaining the compensation cost calculation deviation value of the distributed energy control module for the primary frequency regulation; According to the compensation cost calculation deviation value, the compensation cost test evaluation result of the distributed energy control module for the primary frequency regulation is obtained.

7. The method according to claim 6, characterized in that The step of calculating the compensation cost deviation value according to the compensation cost and obtaining the compensation cost test evaluation result of the distributed energy control module for the primary frequency modulation includes: If the compensation cost calculation deviation value is not within the third preset deviation interval, it is determined that the compensation cost test evaluation result of the distributed energy control module for the primary frequency modulation is abnormal compensation cost calculation; If the compensation cost calculation deviation value is within the third preset deviation interval, it is determined that the compensation cost test evaluation result of the distributed energy control module for the primary frequency modulation is that the compensation cost calculation is normal.

8. A distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test device, characterized in that: A main control module applied to a distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test system, the device comprising: The first acquisition module is used to obtain a theoretical value of a primary frequency modulation response for a distributed energy station; A second acquisition module is used to obtain a primary frequency modulation response measurement value for the distributed energy station; An evaluation module is used to obtain a test evaluation result of a distributed energy control module for primary frequency modulation based on the primary frequency modulation response theoretical value and the frequency modulation response measured value.

9. A distributed energy primary frequency regulation auxiliary service hardware-in-the-loop test system, characterized in that: The system includes: a main control module, a distributed energy control module and a power auxiliary service module; wherein: The power auxiliary service module is used to obtain a theoretical value of a primary frequency regulation response for a distributed energy station; The distributed energy control module is used to obtain a primary frequency modulation response measurement value for the distributed energy station; The main control module is used to obtain the test evaluation result of the distributed energy control module on the primary frequency modulation according to the primary frequency modulation response theoretical value and the frequency modulation response measured value.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.