Automatic testing method for automatic power generation control function test of photovoltaic power station
Technical Field
The invention relates to a testing device for an automatic power generation control function test of a photovoltaic power station, in particular to an automatic testing device and a testing method for the automatic power generation control function test of the photovoltaic power station.
Background
In recent years, photovoltaic power stations are built on a large scale, the photovoltaic grid-connected capacity is increased rapidly, and the influence of randomness and volatility on the safe operation of a power grid is increased along with the continuous improvement of photovoltaic permeability; in order to ensure the stable operation of the power grid, the standards of GB/T19964-2012 'technical Specification for photovoltaic power station access to electric power system', DL/T1870-; when the photovoltaic power station is connected to the grid, an AGC test is carried out on the photovoltaic power station, and the AGC test is an important means for judging whether the automatic generation control function (AGC) control performance of the photovoltaic power station meets the standard requirements, the test process comprises the steps that a dispatching mechanism issues a power station load change instruction to the photovoltaic power station, the set value of the power station load instruction is changed, a photovoltaic inverter is controlled to track the change of the load instruction, and the active power control of the photovoltaic power station in the full load range is realized within the rated power and zero output range of the photovoltaic power station.
At present, most of testing devices used for carrying out photovoltaic power station AGC tests on site are data acquisition devices, and only have a basic test data collection function, and testers derive data from the data acquisition devices after completing the tests, although the test mode is widely adopted, the testing devices inevitably have the following problems in the practical application process: (1) the AGC test of the photovoltaic power station is limited in time, namely, the AGC test of the photovoltaic power station needs to be completed within a scheduling and approving construction period according to a plan, as the influence of weather factors on photovoltaic power generation is large, most of the existing test methods are manual field tests, and the situation that the test cannot be completed on schedule often occurs in practical application, so that the photovoltaic power station is subjected to power grid check and the benefit of the power station is influenced; (2) most of the existing testing devices can only collect test data, cannot automatically judge test conditions according to weather conditions, does not have the functions of automatically issuing instructions, calculating performance indexes and the like, still needs testers or a dispatching master station to manually set AGC instructions, and needs to wait on site all the time when the weather conditions are not met, so that the technical strength waste and high labor cost of the testers are caused, and the working efficiency is low; (3) in the existing testing device and method, whether the performed test is effective or not cannot be automatically judged after the test is interrupted due to weather reasons in the testing period, and whether the whole-process test is performed again or only the test in the incomplete test stage is performed after the weather is improved, so that a large amount of manual calculation is needed, and the test fails.
Disclosure of Invention
The invention provides an automatic test method for an automatic power generation control function test of a photovoltaic power station, which realizes automatic instruction issuing, test data acquisition and performance index calculation during an AGC (automatic gain control) test of the photovoltaic power station, automatically judges whether a test condition is met or not according to a weather condition under the condition of no need of manual intervention, and completes a complete test process.
The invention solves the technical problems by the following technical scheme:
an automatic test method for an automatic power generation control function test of a photovoltaic power station comprises the following steps:
firstly, establishing an automatic test system: the device comprises a data acquisition unit, a logic control unit, an instruction output unit, a calculation storage unit and a result display unit, wherein the data acquisition unit is used for acquiring data of the photovoltaic power station in real time, preprocessing the data and transmitting the preprocessed data to the logic control unit, and the logic control unit is used for calculating an active power target instruction of the AGC test process of the photovoltaic power station and transmitting an instruction signal to the instruction output unit; the instruction output unit is used for receiving the active power target instruction signal transmitted by the logic control unit and transmitting an active power target instruction in an AGC test process to the photovoltaic power station; the calculation storage unit is used for storing and calculating data of the AGC test of the photovoltaic power station to obtain various performance indexes of the AGC test; the result display unit is used for displaying data of the photovoltaic power station AGC test in an image form;
secondly, the test system starts to collect data such as actual power, predicted power and the like of the photovoltaic power station in real time;
thirdly, the test system calculates and judges whether the test starting condition is met or not in real time, if yes, automatic test is started according to the test steps, step change AGC commands are sequentially issued to the photovoltaic power station according to a preset output curve, and data such as actual power, target commands and the like required by the test are collected;
step four, judging whether the test is interrupted, if the interruption time exceeds the preset time, returning to the step two, and if the test is not interrupted or the interruption time is less than the preset time, performing the next step;
fifthly, continuing to perform unfinished tests;
sixthly, completing the test, and calculating various test indexes according to the collected test data;
and step seven, displaying the test data in the form of images and providing a derivation function.
The data acquisition unit also comprises a communication protocol conversion module and an analog input and output module, wherein the communication protocol conversion module can enable the automatic test device to be connected with a photovoltaic power station AGC system, a photovoltaic power prediction system and a booster station monitoring system through different interface types; the data acquired by the data acquisition unit comprise active power of grid-connected power points of the photovoltaic power station, active power target instructions, active power of a collection line, active power of a sample plate inverter and ultra-short-term power prediction data of 16 points in 4 hours in the future; the instruction output unit is provided with a communication interface and a communication protocol which are consistent with those of the dispatching system, and can communicate with the AGC system of the photovoltaic power station according to the grid-connected dispatching information exchange specification and send an active power target instruction; the logic control unit can automatically judge whether a test condition is met or not through calculation based on the data acquired by the data acquisition unit, if so, an active power target instruction is sent to the photovoltaic power station according to a preset instruction curve, the test condition refers to that the illumination condition of the photovoltaic power station meets the active power output range required by the test, the duration time is longer than the shortest time required by the test, and the judgment is specifically carried out according to the active power of a grid-connected point of the photovoltaic power station and the ultra-short-term predicted power; the AGC test performance indexes obtained by calculation of the calculation storage unit comprise response time, overshoot, regulation rate and regulation precision.
The response time refers to the time for reliably spanning a response dead zone consistent with the instruction direction on the basis of the current active power by the output of the photovoltaic power station after the automatic testing device sends an instruction; the overshoot refers to the deviation of the active power of the photovoltaic power station from the maximum value of an AGC instruction; the adjusting speed is the speed of the photovoltaic power station in the AGC instruction direction, wherein the output force exceeds the response dead zone to enter the adjusting dead zone; the adjusting precision refers to a difference value between actual output and set point output in a period from the photovoltaic power station entering an adjusting dead zone to the beginning of a next instruction.
If the test condition does not meet the test requirement of the subsequent stage in the process of carrying out automatic test, the automatic test device waits for the interruption of the test, stops issuing instructions to the photovoltaic power station, and calculates the subsequent test condition according to the completed test condition, wherein the subsequent test condition means that the current actual active power of the photovoltaic power station is not less than the maximum output value required by the test of the incomplete stage, and the time for predicting and maintaining the output is not less than the minimum time required for completing the test of the subsequent stage;
if the required test conditions are restored within a certain time (which can be manually configured), continuing the test from the previously interrupted test phase; if the interruption time exceeds the preset time and the test condition is not met, the test device judges the test starting condition again, and complete test is carried out again after the test starting condition is met.
The automatic testing method for the AGC test of the photovoltaic power station can realize automatic judgment of test conditions, automatic instruction issuing, test data acquisition and performance index calculation in the AGC test of the photovoltaic power station, has high automation degree, can improve the completion efficiency of the test, avoids the photovoltaic power station from being checked by more power grid departments, effectively reduces the labor intensity and workload of testing personnel, and reduces the labor cost; whether the weather condition meets the test condition can be automatically judged according to the data of the photovoltaic power station, the interference of external factors such as cloud layer shielding or rain shower on the test in the test process can be effectively avoided, manual intervention is not needed in the whole process, and a complete test is automatically completed; the data transmission with the photovoltaic power station can be realized through two modes of a communication protocol and an analog quantity signal, the photovoltaic power station can be used after a small amount of configuration is modified and connection is established with the photovoltaic power station, and the photovoltaic power station has strong universality and wide application range.
Drawings
FIG. 1 is a flow diagram of an automatic test system of the present invention;
FIG. 2 is a block diagram of the automatic test system of the present invention.
Detailed Description
The invention is described in detail below with reference to the accompanying drawings:
an automatic test method for an automatic power generation control function test of a photovoltaic power station comprises the following steps:
firstly, establishing an automatic test system: the device comprises a data acquisition unit, a logic control unit, an instruction output unit, a calculation storage unit and a result display unit, wherein the data acquisition unit is used for acquiring data of the photovoltaic power station in real time, preprocessing the data and transmitting the preprocessed data to the logic control unit, and the logic control unit is used for calculating an active power target instruction of the AGC test process of the photovoltaic power station and transmitting an instruction signal to the instruction output unit; the instruction output unit is used for receiving the active power target instruction signal transmitted by the logic control unit and transmitting an active power target instruction in an AGC test process to the photovoltaic power station; the calculation storage unit is used for storing and calculating data of the AGC test of the photovoltaic power station to obtain various performance indexes of the AGC test; the result display unit is used for displaying data of the photovoltaic power station AGC test in an image form;
secondly, the test system starts to collect data such as actual power, predicted power and the like of the photovoltaic power station in real time;
thirdly, the test system calculates and judges whether the test starting condition is met or not in real time, if yes, automatic test is started according to the test steps, step change AGC commands are sequentially issued to the photovoltaic power station according to a preset output curve, and data such as actual power, target commands and the like required by the test are collected;
step four, judging whether the test is interrupted, if the interruption time exceeds the preset time, returning to the step two, and if the test is not interrupted or the interruption time is less than the preset time, performing the next step;
fifthly, continuing to perform unfinished tests;
sixthly, completing the test, and calculating various test indexes according to the collected test data;
and step seven, displaying the test data in the form of images and providing a derivation function.
The data acquisition unit also comprises a communication protocol conversion module and an analog input and output module, wherein the communication protocol conversion module can enable the automatic test device to be connected with a photovoltaic power station AGC system, a photovoltaic power prediction system and a booster station monitoring system through different interface types; the data acquired by the data acquisition unit comprise active power of grid-connected power points of the photovoltaic power station, active power target instructions, active power of a collection line, active power of a sample plate inverter and ultra-short-term power prediction data of 16 points in 4 hours in the future; the instruction output unit is provided with a communication interface and a communication protocol which are consistent with those of the dispatching system, and can communicate with the AGC system of the photovoltaic power station according to the grid-connected dispatching information exchange specification and send an active power target instruction; the logic control unit can automatically judge whether a test condition is met or not through calculation based on the data acquired by the data acquisition unit, if so, an active power target instruction is sent to the photovoltaic power station according to a preset instruction curve, the test condition refers to that the illumination condition of the photovoltaic power station meets the active power output range required by the test, the duration time is longer than the shortest time required by the test, and the judgment is specifically carried out according to the active power of a grid-connected point of the photovoltaic power station and the ultra-short-term predicted power; the AGC test performance indexes obtained by calculation of the calculation storage unit comprise response time, overshoot, regulation rate and regulation precision.
The response time refers to the time for reliably spanning a response dead zone consistent with the instruction direction on the basis of the current active power by the output of the photovoltaic power station after the automatic testing device sends an instruction; the overshoot refers to the deviation of the active power of the photovoltaic power station from the maximum value of an AGC instruction; the adjusting speed is the speed of the photovoltaic power station in the AGC instruction direction, wherein the output force exceeds the response dead zone to enter the adjusting dead zone; the adjusting precision refers to a difference value between actual output and set point output in a period from the photovoltaic power station entering an adjusting dead zone to the beginning of a next instruction.
If the test condition does not meet the test requirement of the subsequent stage in the process of carrying out automatic test, the automatic test device waits for the interruption of the test, stops issuing instructions to the photovoltaic power station, and calculates the subsequent test condition according to the completed test condition, wherein the subsequent test condition means that the current actual active power of the photovoltaic power station is not less than the maximum output value required by the test of the incomplete stage, and the time for predicting and maintaining the output is not less than the minimum time required for completing the test of the subsequent stage;
if the required test conditions are restored within a certain time (which can be manually configured), continuing the test from the previously interrupted test phase; if the interruption time exceeds the preset time and the test condition is not met, the test device judges the test starting condition again, and complete test is carried out again after the test starting condition is met.
The automatic testing device is used for the AGC test of the photovoltaic power station, and has two modes of manual test and automatic test; in the automatic test mode, whether the required test conditions are met can be automatically judged through calculation; in the automatic test process, when the test is interrupted due to weather and other reasons, the device can automatically wait for the recovery of the test condition and judge to continue the unfinished test or restart a new test according to the condition; the system can be connected with the photovoltaic power station in two modes of communication protocol and analog quantity hard wiring, and the communication mode is flexible.