CN114924545A - Test method, device, test equipment and medium for primary frequency modulation device - Google Patents

Test method, device, test equipment and medium for primary frequency modulation device Download PDF

Info

Publication number
CN114924545A
CN114924545A CN202210393526.5A CN202210393526A CN114924545A CN 114924545 A CN114924545 A CN 114924545A CN 202210393526 A CN202210393526 A CN 202210393526A CN 114924545 A CN114924545 A CN 114924545A
Authority
CN
China
Prior art keywords
test
frequency modulation
primary frequency
modulation device
simulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210393526.5A
Other languages
Chinese (zh)
Inventor
南东亮
张陵
谢镜池
张路
龙治杰
赵启
王畅
刘厚瑞
黄胜
雷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Research Institute of State Grid Xinjiang Electric Power Co Ltd
CYG Sunri Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Xinjiang Electric Power Co Ltd
CYG Sunri Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Electric Power Research Institute of State Grid Xinjiang Electric Power Co Ltd, CYG Sunri Co Ltd filed Critical Electric Power Research Institute of State Grid Xinjiang Electric Power Co Ltd
Priority to CN202210393526.5A priority Critical patent/CN114924545A/en
Publication of CN114924545A publication Critical patent/CN114924545A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/24Arrangements for preventing or reducing oscillations of power in networks
    • H02J3/241The oscillation concerning frequency

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The embodiment of the application is applicable to the technical field of electric power, and provides a test method, a test device, test equipment and a medium for a primary frequency modulation device, wherein the method can be applied to the test equipment and comprises the following steps: establishing a plurality of simulation objects, wherein the simulation objects jointly form test equipment, and the test equipment is connected with a power source; connecting a plurality of simulation objects with a primary frequency modulation device respectively; determining at least one test item of a primary frequency modulation device; acquiring a test case corresponding to at least one test item according to the at least one test item; controlling a power source to output power with a target size, wherein the power is used for simulating the alternating current quantity of a grid-connected point of a power generation facility; and testing the primary frequency modulation device by adopting at least one test item and a corresponding test case based on the alternating current quantity. By adopting the method, the primary frequency modulation device can be comprehensively tested, and the testing precision can be improved, thereby being beneficial to improving the safety of the power system.

Description

Test method, device, test equipment and medium for primary frequency modulation device
Technical Field
The present application belongs to the field of power technologies, and in particular, to a method and an apparatus for testing a primary frequency modulation device, a testing device, and a medium.
Background
The primary frequency modulation refers to an automatic control process that once the frequency of the power grid deviates from a rated value, a control system of a unit in the power grid automatically controls the increase and decrease of the active power of the unit, limits the change of the power grid frequency and enables the power grid frequency to be stable. In the power system, a primary frequency modulation device can be adopted to realize primary frequency modulation.
The primary frequency modulation device needs to be tested before being put into use. At present, the test for the primary frequency modulation device is mainly realized manually, and the dispatching master station, the primary frequency modulation device, the AGC device, the energy control system and the power source cannot be precisely controlled and matched, so that the test result has larger deviation.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, an apparatus, a device and a medium for testing a primary frequency modulation apparatus, so as to improve the testing accuracy of the primary frequency modulation apparatus.
A first aspect of the embodiments of the present application provides a method for testing a primary frequency modulation apparatus, where the method is applied to a test device, and the method includes:
establishing a plurality of simulation objects, wherein the simulation objects jointly form the test equipment, and the test equipment is connected with a power source;
respectively connecting a plurality of simulation objects with the primary frequency modulation device;
determining at least one test item of the primary frequency modulation device;
acquiring a test case corresponding to at least one test item according to the at least one test item;
controlling the power source to output power with a target size, wherein the power is used for simulating the alternating current quantity of a grid-connected point of a power generation facility;
and testing the primary frequency modulation device by adopting at least one test item and the test case corresponding to the test item based on the traffic flow.
A second aspect of the embodiments of the present application provides a test apparatus for a primary frequency modulation apparatus, which is applied to a test device, the apparatus includes:
the device comprises an establishing module, a testing module and a power source, wherein the establishing module is used for establishing a plurality of simulation objects which jointly form the testing equipment;
the connecting module is used for connecting the plurality of analog objects with the primary frequency modulation device respectively;
a determination module for determining at least one test item of the primary frequency modulation device;
the acquisition module is used for acquiring a test case corresponding to at least one test item according to the at least one test item;
the control module is used for controlling the power source to output power with a target size, and the power is used for simulating the alternating current quantity of a grid-connected point of a power generation facility;
and the test module is used for testing the primary frequency modulation device by adopting at least one test item and the test case corresponding to the test item based on the traffic flow.
A third aspect of embodiments of the present application provides a test apparatus, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the method according to the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the method according to the first aspect as described above.
A fifth aspect of embodiments of the present application provides a computer program product, which, when run on a test device, causes the test device to perform the method of the first aspect.
Compared with the prior art, the embodiment of the application has the following advantages:
according to the embodiment of the application, a plurality of simulation objects can be established on the test equipment, the simulation objects are used for simulating the use environment of the primary frequency modulation device, and the test equipment is connected with the power source; connecting a plurality of simulation objects with a primary frequency modulation device respectively; then determining at least one test item of the primary frequency modulation device, wherein each test item can comprise at least one test case; then controlling a power source to output power with a target size, wherein the power is used for simulating the alternating current quantity of a grid-connected point of the power generation facility; and testing the primary frequency modulation device by adopting at least one test item and a corresponding test case based on the alternating current quantity. In the embodiment of the application, the using environment of the primary frequency modulation device is simulated through a simulation object; through a plurality of simulation objects, can carry out automatic comprehensive inspection to primary frequency modulation device to improve primary frequency modulation device's measuring accuracy.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flowchart illustrating steps of a method for testing a primary frequency modulation device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart illustrating steps of another method for testing a primary frequency modulation device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a test system of a primary frequency modulation apparatus according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating an operation of a test system of a primary frequency modulation apparatus according to an embodiment of the present application;
fig. 5 is a schematic diagram of a testing apparatus of a primary frequency modulation apparatus according to an embodiment of the present application;
fig. 6 is a schematic diagram of a test apparatus according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing a relative importance or importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
With the continuous expansion of the installation scale of new energy, the power system faces structural dilemmas such as reduction of rotational inertia, difficulty in frequency control and the like, and the safety of the power system is difficult to guarantee. In order to prevent the power grid from sudden high-power shortage to cause low-frequency load shedding action and large-area power failure events, and ensure safe and stable operation of the power grid, a new energy power plant needs to be provided with primary frequency modulation control equipment in a design stage to realize primary frequency modulation control. However, the primary frequency modulation device has the following problems: the regulation precision is not ideal, and the response time and the regulation time are overtime; the test system is difficult to match, and the dispatching master station, the primary frequency modulation device, the AGC device, the energy control system and the power source cannot be manually and accurately controlled and matched, so that the test result deviation is large; the calculation of the response time, the response lag time and the adjustment time needs manual checking and calculation through wave recording, and the workload is large and the accuracy is poor;
based on this, this application provides a test method of primary frequency modulation device.
The technical solution of the present application will be described below by way of specific examples.
Referring to fig. 1, a schematic flow chart illustrating steps of a method for testing a primary frequency modulation device provided in an embodiment of the present application is shown, which may specifically include the following steps:
s101, establishing a plurality of simulation objects, wherein the simulation objects jointly form the test equipment, and the test equipment is connected with a power source.
The execution subject of this embodiment is a test device, and the test device may be a system host. The test device may include an internal port that may be used to connect to a power source, and the test device and the power source may communicate via a particular protocol. The power source is used for outputting current and can output the alternating current of a grid-connected point. An analog quantity channel of the power source can be connected to an alternating current sampling channel corresponding to the primary frequency modulation device. In one embodiment of the present application, the test equipment may control the output of the power source, thereby controlling the test process.
The simulation objects may include 104 simulation of a master station, an ability system simulation test device, and/or an AGC system simulation client. The 104 simulation master station can simulate a network shutdown and a scheduling master station in a primary frequency modulation control system and is communicated with a primary frequency modulation device to be tested through an IEC104 protocol, and the 104 simulation master station has the function of sending various test instructions to the primary frequency modulation device and receiving various operation data of the primary frequency modulation device. The energy control system simulation test equipment can simulate an energy control system in a primary frequency modulation control system and is communicated with the primary frequency modulation device to be tested through an IEC61850 protocol, and the energy control system simulation test equipment has the function of receiving a total load instruction sent by the primary frequency modulation device to be tested. The AGC system simulation client can simulate an AGC system in a primary frequency modulation control system and is communicated with a primary frequency modulation device to be tested through an IEC61850 protocol or an IEC104 protocol, and the AGC system simulation client has the function of sending a total load instruction to the primary frequency modulation device.
When a simulation object is established, a simulation master station model file, a simulation test equipment model file of an energy control system and/or a simulation client model file of an AGC system can be obtained 104; and then analyzing the 104 simulation master station model file, the energy control system simulation test equipment model file and/or the AGC system simulation client model file to obtain a communication program model of the 104 simulation master station, the energy control system simulation test equipment and/or the AGC system simulation client which run on the test equipment.
In an embodiment of the present application, the simulation object may further include a logic control module, a human-computer interaction module, a test case management module, and the like.
And S102, connecting the plurality of analog objects with the primary frequency modulation device respectively.
Specifically, the test device may configure communication parameters for the 104 analog master station, the energy control system analog test device, and/or the AGC system analog client, so as to start connection of the 104 analog master station, the energy control system analog test device, and/or the AGC system analog client to the primary frequency modulation device.
After the simulation object is connected with the primary frequency modulation device, the test equipment can configure test parameters and system parameters according to test requirements. The test parameters and system parameters may be derived from user-entered data or documents.
According to data or documents input by a user, the test equipment can configure system parameters, wherein the system parameters comprise the type of a power plant, rated power and/or rated voltage and current; the test may configure test parameters for the primary frequency modulation device, and the test parameters may include a primary frequency modulation frequency difference, a response time, a deviation coefficient, a state quantity verification time, and/or an analog quantity verification time.
S103, determining at least one test item of the primary frequency modulation device.
In particular, the test items may include signal tests, precision tests, functional tests, coordination tests, and the like, each test item having a corresponding test purpose. For example, the purpose of signal testing is to verify that the device under test is able to properly communicate with the dispatch station. The primary frequency modulation device can select the corresponding test item according to the test requirement. When the test is carried out, the test items of the primary frequency modulation device can be determined according to the test requirements. For example, for a newly produced primary frequency modulation device, all test items need to be adopted to test the primary frequency modulation device; for the primary frequency modulation device for secondary detection, only the test items which do not pass the primary frequency modulation device in the last test process need to be tested.
Table 1 shows the test items provided in this embodiment, and the test purposes corresponding to the test items.
Table 1:
Figure BDA0003598009620000061
in one embodiment, the primary frequency modulation device may have a corresponding test requirement table, and the test equipment may read the test requirement of the primary frequency modulation device from the test requirement table. The test requirements of the primary frequency modulation device may include test items, test parameters, system parameters, and the like.
S104, according to the at least one test item, obtaining a test case corresponding to the at least one test item.
Each test item may correspond to at least one test case. The database of the test equipment can store the test case corresponding to each test item; when testing, the testing device can read out the test case corresponding to the test item from the database.
The user can also directly input the test case to the test equipment, and the test equipment can perform subsequent tests according to the test case input by the user.
And S105, controlling the power source to output power with a target size, wherein the power is used for simulating the alternating current quantity of a grid-connected point of the power generation facility.
Specifically, the test equipment is connected with the power source, and can control the power source to output corresponding power according to the test parameters so as to simulate the alternating current quantity of the grid-connected point of the power generation facility. The power source can realize synchronous output of the multiphase alternating voltage and the multiphase alternating current so as to meet different test requirements.
And S106, based on the traffic flow, testing the primary frequency modulation device by adopting at least one test item and the test case corresponding to the test item.
Specifically, the test case may include corresponding analog quantities and state quantities, the test equipment may send the test case to a plurality of analog objects, and the plurality of analog objects may apply the corresponding analog quantities and state quantities to the primary frequency modulation device according to the contents in the test case, and collect data output by the primary frequency modulation device, thereby determining a test result of the primary frequency modulation device according to the data output by the primary frequency modulation device; and outputting a test report of the primary frequency modulation device according to the test result of the primary frequency modulation device.
Take an automatic test of a certain test item as an example: after the test items start to be executed, the test equipment arranges the test cases in the test items according to time sequence and issues the test cases to the standard source module, and after the standard source module receives signals, the standard source module outputs analog quantity and state quantity according to the time sequence relation strictly; after the primary frequency modulation device collects the analog quantity and the state quantity, action behavior information is respectively reported; after receiving the action behavior information sent by the primary frequency modulation device, the testing equipment compares the action behavior information with a standard value and an error value set in the testing item for analysis; if the error is within the error range, the test is passed; otherwise, the test fails.
In one embodiment, the test items may be arranged in a time sequence, and the test device may issue the step-change addition sequence to the corresponding simulation object, so as to simulate the test environment corresponding to the test item, so as to acquire the test index of the primary frequency modulation device in the corresponding test environment.
Table 2 shows the test indexes of the primary frequency modulation device that can be collected during the test.
Table 2:
Figure BDA0003598009620000081
in the embodiment, the working environment of the primary frequency modulation device can be simulated through a plurality of established simulation objects; the simulation object is controlled by the test equipment, so that automatic test and data acquisition can be realized, and a test report is generated according to the acquired and generated data, so that the labor amount of the test process is reduced by the method in the embodiment; a plurality of test items are set for testing the primary frequency modulation device, so that the comprehensive test of the primary frequency modulation device can be realized; according to the test requirements, the corresponding test items can be selected, the requirement on the primary frequency modulation device is met, and the computing resources are saved.
Referring to fig. 2, a schematic flow chart illustrating steps of another method for testing a primary frequency modulation device provided in the embodiment of the present application is shown, and specifically, the method may include the following steps:
s201, establishing a plurality of simulation objects, wherein the simulation objects jointly form the test equipment, and the test equipment is connected with a power source.
The execution subject of the present embodiment is a test apparatus.
In one embodiment, the test equipment may first obtain a test requirement of the primary frequency modulation device, and then determine a required simulation object according to the test requirement; and then establishing a required simulation object in the test equipment.
Because the simulation object is established in the test equipment, corresponding computing resources need to be consumed; therefore, in the application, the simulation object required by one-time test can be established, so that the excessive simulation object is prevented from occupying the space of the test equipment, and the computing resource is saved.
And S202, respectively connecting the plurality of analog objects with the primary frequency modulation device.
S203, determining at least one test item of the primary frequency modulation device.
S204, obtaining a test case corresponding to at least one test item according to the at least one test item.
And S205, controlling the power source to output power with a target size, wherein the power is used for simulating the alternating current quantity of a grid-connected point of the power generation facility.
S201 to S205 in this embodiment may refer to S101 to S105 in the foregoing embodiment, which is not described herein again.
S206, determining a target simulation object for testing the test item from the plurality of simulation objects.
In particular, each test item may have a different simulation object. For example, when a primary frequency modulation characteristic parameter test is performed, the simulation master station needs to be started 104; when the primary frequency modulation load test simulation frequency is carried out, the energy control system needs to be started to simulate the test equipment.
Therefore, the test equipment can determine the corresponding target simulation object according to different test requirements.
In one embodiment, each simulation object may be in an idle state when not being tested, that is, not occupying any resources; when the simulation object needs to be changed, loading the simulation object in the test equipment, so that only the currently used simulation object is operated in the test equipment; and the process is finished on the simulation object which is not needed to be used in time, so that the computing resource in the test equipment can be fully utilized, and the test speed is improved.
And S207, controlling the target simulation object to apply analog quantity and state quantity to the primary frequency modulation device according to the test case corresponding to the test item.
Specifically, one test item may correspond to a plurality of test cases, and the test cases may be arranged in a certain order, for example, in a time sequence; the test sequence of each test case can be determined; and sending the test cases to the target simulation object according to the test sequence to indicate the target simulation object to apply the analog quantity and the state quantity to the primary frequency modulation device according to the test sequence.
And S208, collecting the action behavior information reported by the primary frequency modulation device aiming at the analog quantity and the state quantity.
Specifically, the test equipment is connected with the primary frequency modulation device, and can acquire action behavior information of the primary frequency modulation device under analog quantity and state quantity. The action behavior information may be a plurality of preset test indexes or test parameters.
S209, determining the test result of the test item according to the action behavior information.
Specifically, one test item may correspond to a plurality of test cases, and each test case corresponds to one piece of action behavior information; therefore, one test item can correspond to a plurality of action behavior information. Calculating an error value of each action behavior information and a preset standard value; then calculating the average value and the variance value of a plurality of error values corresponding to one test item; and if the average value is within a preset average value range and the square error value is within a preset square error value range, determining that the primary frequency modulation device passes the test of the test item.
The primary frequency modulation device can test at least one test item, so that a test result of the at least one test item can be obtained; generating a test report of the primary frequency modulation device according to the test result corresponding to each test item; from the test report, failure information of the primary frequency modulation device can be determined.
In an embodiment of the application, conditions required by various tests such as functions, performance, communication and the like of the primary frequency modulation device can be simulated by establishing a plurality of simulation objects, an automatic test can be started, a test expected result can be edited for judgment, an actual result and the expected result are automatically compared after the automatic test is completed, and whether the test passes or not is judged accordingly. And after the test item test is finished, a complete set of test report can be output.
It should be noted that, the sequence numbers of the steps in the foregoing embodiments do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 3 is a schematic diagram of a test system of a primary frequency modulation apparatus according to an embodiment of the present application; as shown in fig. 3, the system may include: the system comprises a power source module, a 104 simulation master station, an energy control system simulation server, an AGC system simulation client, a test case management module, a logic control module, a report generation module and a human-computer interaction module. The system can also comprise a system host which is a carrier for controlling the running of software and realizes the control of the whole system.
And the power source module is used for realizing synchronous output of 6 alternating current voltage and 6 alternating current under the control of the system host, and the output mainly simulates the alternating current of a grid-connected point of a new energy power plant.
104 simulation master station, a network shutdown and scheduling master station in the simulation primary frequency modulation control system and a tested primary frequency modulation device communicate through an IEC104 protocol, and the simulation primary frequency modulation control system has the functions of sending various test instructions to the primary frequency modulation device and receiving various operation data of the primary frequency modulation device.
The simulation server of the energy control system simulates the energy control system in the primary frequency modulation control system, and the tested primary frequency modulation device is communicated with the tested primary frequency modulation device through an IEC61850 protocol, and the simulation server of the energy control system has the function of receiving a total load instruction sent by the tested primary frequency modulation device.
The AGC system simulates a client, simulates an AGC system in a primary frequency modulation control system, communicates with a primary frequency modulation device to be tested through an IEC61850 protocol or an IEC104 protocol, and has the function of sending a total load instruction to the primary frequency modulation device.
And the test case management module is used for managing the archiving of the standard test cases and the test tasks based on the application of the database.
The logic control module comprises functional components and functions mainly used for monitoring the current test module and the current test state and controlling the test task (including starting, suspending and stopping), and the functions mainly used for controlling the test system to complete the closed-loop test to be completed according to the configured parameters and the set test case.
And the report generating module is used for automatically generating a test report in the Word format according to the test result.
The human-computer interaction module comprises a human-computer interaction part and a parameter setting part, and has the functions of providing a good, easy-to-use and visual human-computer interaction interface and necessary parameter setting for a user.
In this embodiment, the test takes the test item as the basic execution unit. The test items include time-series analog quantity and the like, as well as an incentive item required to be applied to the primary frequency modulation device to be tested, an expected output of the primary frequency modulation device or an uploaded verification item. The test case management module can be used for archiving different test items, and can edit the test items according to the test requirements in addition to the preset test items. The man-machine interaction realizes basic functions of a man-machine interaction interface, parameter setting and the like; after the test case design is finished and confirmed to be correct, the test flow is started, the logic control module automatically applies state quantity and analog quantity to the primary frequency modulation device according to the time sequence of the test item, monitors the returned state value of the primary frequency modulation device in real time, counts and calculates indexes such as primary frequency modulation response time, adjustment time, control deviation and the like according to the indexes, and compares the indexes with the verification conditions in the test item to give a test result. The logic control module comprises: the system comprises a power source module, a 104 simulation master station, an energy control system simulation server and an AGC system simulation client.
Fig. 4 is a flowchart illustrating an operation of a test system of a primary frequency modulation device according to an embodiment of the present application, and as shown in fig. 4, the test system may be the test system in fig. 3.
Entering a test system interface, connecting a system host with a power source module through an internal port, and communicating the system host and the power source module through a specific protocol; the system host is connected with a primary frequency modulation device through a network port; and an analog channel of the power source is connected to an alternating current sampling channel corresponding to the primary frequency modulation device.
The set-up 104 simulates a master station. And selecting a TXT format scheduling model file on a human-computer interface, constructing an IEC104 communication model by analyzing the file by the 104 simulation master station module, and operating by taking the model as a communication program model of the 104 simulation master station. Then, the human-computer interface configuration 104 simulates the communication parameters of the master station, and starts the communication connection with the module corresponding to the primary frequency modulation device. And after the connection is successful, the 104 analog master station performs data interaction with the primary frequency modulation device through an IEC104 protocol.
And establishing an energy control system simulation test device. An ICD model information file of the energy control system is selected on the human-computer interface, the simulation test equipment module of the energy control system constructs an MMS communication model by analyzing the file, and the model is used as a communication program model of the simulation test equipment of the energy control system to operate. And then, configuring the communication parameters of the simulation test equipment by the energy control system on the human-computer interface, and starting the communication connection with the module corresponding to the primary frequency modulation device. After the connection is successful, the energy control system simulates the test equipment to perform data interaction with the primary frequency modulation device through an IEC61850 protocol.
And establishing an AGC system simulation client. And selecting an ICD model information file of the AGC system on a human-computer interface, constructing an MMS communication model by the AGC system simulation client module through analyzing the file, and operating by taking the model as a communication program model of the AGC system simulation client. Then, an AGC system is configured on a human-computer interface to simulate client communication parameters, and communication connection with a module corresponding to the primary frequency modulation device is started. After the connection is successful, the AGC system simulation client performs data interaction with the primary frequency modulation device through an IEC61850 protocol. The module can also be used for IEC104 communication, and the establishment process of the AGC system simulation client communication model is consistent with that of the 104 simulation master station.
The method comprises the steps that system parameters and test parameters are configured through a human-computer interface, the system parameters comprise the type of a power plant, rated power, rated voltage and current and the like, and the test parameters comprise primary frequency modulation frequency difference, response time, deviation, difference adjustment coefficients, state quantity verification time, analog quantity verification time and the like.
And connecting the database, and editing the test case according to the test requirement. The storage of the test cases is carried out through the database, and a user can manually establish or modify the test items to meet the test requirements of the user.
After the steps are completed, the automatic test of the primary frequency modulation device can be carried out. The user can select one or more test cases for testing, and in the testing process, the system can execute the set testing scheme in sequence according to the edited contents in the test cases; and meanwhile, the action behavior information of the primary frequency modulation device is collected and is used for comparing with the expected behavior information in the test case, and the data of the test result can be stored in a database.
The test examples in this application can be shown in table 3:
table 3:
Figure BDA0003598009620000121
Figure BDA0003598009620000131
take an automatic test of a certain test item as an example: after the test item begins to be executed, the test system issues a step-change addition sequence arranged according to a time sequence in the test item to a standard source module, the standard source module outputs an analog quantity and a state quantity strictly according to a time sequence relation after receiving a signal, a primary frequency modulation device collects the analog quantity and the state quantity and respectively uploads action behavior information, and after the system receives the action behavior information uploaded by the primary frequency modulation device, the action behavior information is compared with a standard value and an error value set in the test item for analysis; if the error is within the error range, the test is passed; otherwise, the test fails.
Referring to fig. 5, a schematic diagram of a testing apparatus of a primary frequency modulation apparatus provided in the embodiment of the present application is shown, and specifically, the testing apparatus may include a setup module 51, a connection module 52, a determination module 53, an acquisition module 54, and a control module 55, where:
the establishing module 51 is configured to establish a plurality of simulation objects, where the simulation objects together form the testing device, and the testing device is connected to a power source;
a connection module 52, configured to connect the plurality of analog objects to the primary frequency modulation device respectively;
a determining module 53, configured to determine at least one test item of the primary frequency modulation apparatus;
an obtaining module 54, configured to obtain, according to at least one of the test items, a test case corresponding to the at least one test item;
the control module 55 is used for controlling the power source to output power with a target size, wherein the power is used for simulating the alternating current quantity of a grid-connected point of a power generation facility;
and the test module 56 is configured to test the primary frequency modulation device by using at least one test item and the test case corresponding to the test item based on the traffic flow.
In a possible implementation manner, the simulation object includes 104 a simulation master station, an energy control system simulation test device, and/or an AGC system simulation client, and the creating module 51 includes:
the file acquisition submodule is used for acquiring 104 a simulation master station model file, a simulation test equipment model file of an energy control system and/or an AGC system simulation client model file;
and the analysis submodule is used for analyzing the 104 simulation master station model file, the energy control system simulation test equipment model file and/or the AGC system simulation client model file to obtain a communication program model of the 104 simulation master station, the energy control system simulation test equipment and/or the AGC system simulation client running on the test equipment.
In a possible implementation manner, the apparatus further includes:
the first configuration module is used for configuring system parameters for the test equipment, wherein the system parameters comprise a power plant type, rated power and/or rated voltage and current;
and the second configuration module is used for configuring test parameters for the primary frequency modulation device, wherein the test parameters comprise primary frequency modulation frequency difference, response time, deviation, a difference modulation coefficient, state quantity verification time and/or analog quantity verification time.
In one possible implementation, the test module 56 includes:
a target simulation object determination submodule for determining a target simulation object for testing the test item from among the plurality of simulation objects;
the application submodule is used for controlling the target simulation object to apply analog quantity and state quantity to the primary frequency modulation device according to the test case corresponding to the test item;
the acquisition submodule is used for acquiring action behavior information reported by the primary frequency modulation device aiming at the analog quantity and the state quantity;
and the test result determining submodule is used for determining the test result of the test item according to the action behavior information.
In a possible implementation manner, the number of the test cases includes a plurality of test cases, and the applying submodule includes:
the test sequence determining unit is used for determining the test sequence of a plurality of test cases corresponding to the test items;
and the sending unit is used for sending the test cases to the target simulation object according to the test sequence so as to instruct the target simulation object to apply the analog quantity and the state quantity to the primary frequency modulation device according to the test sequence.
In a possible implementation manner, the number of the action behavior information includes a plurality of action behavior information, each of the action behavior information corresponds to one of the test cases, and the test result determining sub-module includes:
the first calculating subunit is used for calculating an error value between each piece of action behavior information and a preset standard value;
the second calculating subunit is used for calculating the average value and the variance value of a plurality of error values corresponding to the test item;
and the judging subunit is configured to determine that the primary frequency modulation device passes the test of the test item if the average value is within a preset average value range and the square deviation value is within a preset square deviation value range.
In a possible implementation manner, the apparatus further includes:
the generating module is used for generating a test report of the primary frequency modulation device according to the test result corresponding to each test item;
and the fault determining module is used for determining the fault information of the primary frequency modulation device according to the test report.
For the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the description of the method embodiment for relevant points.
Fig. 6 is a schematic structural diagram of a testing apparatus according to an embodiment of the present application. As shown in fig. 6, the test apparatus 6 of this embodiment includes: at least one processor 60 (only one shown in fig. 6), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, the processor 60 implementing the steps in any of the various method embodiments described above when executing the computer program 62.
The test device 6 may be a desktop computer, a notebook, a palm computer, a server, or other computing devices. The test equipment may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of the testing device 6, and does not constitute a limitation of the testing device 6, and may include more or less components than those shown, or some components may be combined, or different components may be included, such as input and output devices, network access devices, and the like.
The Processor 60 may be a Central Processing Unit (CPU), and the Processor 60 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may in some embodiments be an internal storage unit of the test device 6, such as a hard disk or a memory of the test device 6. The memory 61 may also be an external storage device of the test device 6 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the test device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the test device 6. The memory 61 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 61 may also be used to temporarily store data that has been output or is to be output.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
Embodiments of the present application provide a computer program product, which when running on a testing device, enables the testing device to implement the steps in the above method embodiments when executed.
The integrated system/apparatus, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to the test equipment, recording medium, computer Memory, Read-Only Memory (ROM), Random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In some jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and proprietary practices.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/test device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/test device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A test method of a primary frequency modulation device is characterized by being applied to test equipment, and the method comprises the following steps:
establishing a plurality of simulation objects, wherein the simulation objects jointly form the test equipment, and the test equipment is connected with a power source;
respectively connecting a plurality of simulation objects with the primary frequency modulation device;
determining at least one test item of the primary frequency modulation device;
acquiring a test case corresponding to at least one test item according to the at least one test item;
controlling the power source to output power with a target size, wherein the power is used for simulating the alternating current quantity of a grid-connected point of a power generation facility;
and testing the primary frequency modulation device by adopting at least one test item and the test case corresponding to the test item based on the traffic flow.
2. The method of claim 1, wherein the simulation object comprises 104 a simulation master station, an energy control system simulation test equipment, and/or an AGC system simulation client, the creating a plurality of simulation objects comprising:
acquiring 104 a simulation master station model file, an energy control system simulation test equipment model file and/or an AGC system simulation client model file;
analyzing the 104 simulation master station model file, the energy control system simulation test equipment model file and/or the AGC system simulation client model file to obtain a communication program model of the 104 simulation master station, the energy control system simulation test equipment and/or the AGC system simulation client running on the test equipment.
3. The method of claim 1, wherein after connecting a plurality of the analog objects to the respective chirps, the method further comprises:
configuring system parameters for the test equipment, wherein the system parameters comprise a power plant type, a rated power and/or a rated voltage and current;
and configuring test parameters for the primary frequency modulation device, wherein the test parameters comprise primary frequency modulation frequency difference, response time, deviation, a difference adjustment coefficient, state quantity verification time and/or analog quantity verification time.
4. The method according to any one of claims 1 to 3, wherein the testing the primary frequency modulation device by using at least one test item and the corresponding test case thereof based on the traffic volume comprises:
determining a target simulation object for testing the test item from a plurality of the simulation objects;
according to the test case corresponding to the test item, controlling the target simulation object to apply analog quantity and state quantity to the primary frequency modulation device;
collecting action behavior information reported by the primary frequency modulation device aiming at the analog quantity and the state quantity;
and determining the test result of the test item according to the action behavior information.
5. The method of claim 4, wherein the number of the test cases comprises a plurality of test cases, and the controlling the target simulation object to apply the analog quantity and the state quantity to the primary frequency modulation device according to the test case corresponding to the test item comprises:
determining a test sequence of a plurality of test cases corresponding to the test items;
and sending the test cases to the target simulation object according to the test sequence to indicate the target simulation object to apply the analog quantity and the state quantity to the primary frequency modulation device according to the test sequence.
6. The method of claim 4, wherein the quantity of the action behavior information includes a plurality of action behavior information, each action behavior information corresponds to one test case, and determining the test result of the primary frequency modulation device on the test item according to the action behavior information corresponding to the test item includes:
calculating an error value between each piece of action behavior information and a preset standard value;
calculating the average value and the variance value of a plurality of error values corresponding to the test item;
and if the average value is within a preset average value range and the square difference value is within a preset square difference value range, determining that the primary frequency modulation device passes the test of the test item.
7. The method of claim 5 or 6, further comprising:
generating a test report of the primary frequency modulation device according to the test result corresponding to each test item;
and determining the fault information of the primary frequency modulation device according to the test report.
8. A test device for a primary frequency modulation device is applied to test equipment, and the device comprises:
the device comprises an establishing module, a testing module and a power source, wherein the establishing module is used for establishing a plurality of simulation objects which jointly form the testing equipment;
the connecting module is used for connecting the plurality of analog objects with the primary frequency modulation device respectively;
a determining module for determining at least one test item of the primary frequency modulation device;
the acquisition module is used for acquiring a test case corresponding to at least one test item according to the at least one test item;
the control module is used for controlling the power source to output power with a target size, and the power is used for simulating the alternating current quantity of a grid-connected point of a power generation facility;
and the test module is used for testing the primary frequency modulation device by adopting at least one test item and the test case corresponding to the test item based on the traffic flow.
9. A test apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202210393526.5A 2022-04-15 2022-04-15 Test method, device, test equipment and medium for primary frequency modulation device Pending CN114924545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210393526.5A CN114924545A (en) 2022-04-15 2022-04-15 Test method, device, test equipment and medium for primary frequency modulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210393526.5A CN114924545A (en) 2022-04-15 2022-04-15 Test method, device, test equipment and medium for primary frequency modulation device

Publications (1)

Publication Number Publication Date
CN114924545A true CN114924545A (en) 2022-08-19

Family

ID=82805941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210393526.5A Pending CN114924545A (en) 2022-04-15 2022-04-15 Test method, device, test equipment and medium for primary frequency modulation device

Country Status (1)

Country Link
CN (1) CN114924545A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116109208A (en) * 2023-04-10 2023-05-12 成都大汇物联科技有限公司 Primary frequency modulation test method, system, equipment and medium for hydropower station speed regulator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116109208A (en) * 2023-04-10 2023-05-12 成都大汇物联科技有限公司 Primary frequency modulation test method, system, equipment and medium for hydropower station speed regulator

Similar Documents

Publication Publication Date Title
CN109444566B (en) Electric automobile charging facility detection equipment and method
EP2869144A1 (en) Simulation testing platform for wind power plant and testing method thereof
US11176028B2 (en) System, method and storage device for CIM/E model standard compliance test
CN106405286B (en) The automatic test approach and system of quality monitoring device of electrical energy
CN104198860A (en) Electric automobile charging and discharging facility testing method and system
CN110457732B (en) Hybrid simulation method and device for AC/DC power system and storage medium
CN106405294B (en) Portable power distribution product transmission calibrator and implementation test method thereof
CN102156227A (en) Detecting system and detecting method for non-vehicular charging machine
CN112083242A (en) On-site calibrating device and method for alternating current charging pile
CN110766263A (en) Automatic acceptance method for secondary equipment of transformer substation and terminal equipment
CN114924545A (en) Test method, device, test equipment and medium for primary frequency modulation device
Johnson et al. Automating the Sandia advanced interoperability test protocols
CN107247827B (en) Virtual terminal model modeling and automatic wiring method based on machine learning
CN107843870B (en) Method and system for detecting correctness of metering load curve of electric meter
CN112346990A (en) Automatic testing method and system for stability control device
CN112799373A (en) New energy power station power control system test platform and method
CN112162232A (en) Remote verification device and method for alternating-current charging pile
CN1632783A (en) Actual measurement based load modeling system
CN116698446A (en) Whole vehicle electrostatic current testing method, device, system and storage medium
CN116073340A (en) Relay protection constant value list generation method and device under source-load interaction scene
CN110516899B (en) Real-time simulation network-level and provincial-level AGC combined closed-loop test method and device
CN113541126A (en) Power distribution network simulation system suitable for verifying advanced algorithm and algorithm verification method
Guo et al. Research on online detection method of power quality monitoring device and system design
CN103248301A (en) Microcomputer excitation regulator capable of automatically setting control parameter
CN112348698A (en) Nuclear power plant group pile management method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination