CN110334385B - Test method, device and equipment for central controller of comprehensive energy system - Google Patents

Test method, device and equipment for central controller of comprehensive energy system Download PDF

Info

Publication number
CN110334385B
CN110334385B CN201910385531.XA CN201910385531A CN110334385B CN 110334385 B CN110334385 B CN 110334385B CN 201910385531 A CN201910385531 A CN 201910385531A CN 110334385 B CN110334385 B CN 110334385B
Authority
CN
China
Prior art keywords
energy system
central controller
target
comprehensive energy
control instruction
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.)
Active
Application number
CN201910385531.XA
Other languages
Chinese (zh)
Other versions
CN110334385A (en
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.)
CSG Electric Power Research Institute
China Southern Power Grid Co Ltd
Original Assignee
CSG Electric Power Research Institute
China Southern Power Grid 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 CSG Electric Power Research Institute, China Southern Power Grid Co Ltd filed Critical CSG Electric Power Research Institute
Priority to CN201910385531.XA priority Critical patent/CN110334385B/en
Publication of CN110334385A publication Critical patent/CN110334385A/en
Application granted granted Critical
Publication of CN110334385B publication Critical patent/CN110334385B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0243Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults model based detection method, e.g. first-principles knowledge model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a test method of a central controller of a comprehensive energy system, which comprises the following steps: acquiring a target control instruction issued by a central controller of the comprehensive energy system to an Rt-Lab simulator; acquiring target model running state data corresponding to a target control instruction of the Rt-Lab simulator; searching a target running state threshold corresponding to the target control instruction from a preset database; and verifying the target model operation state data by using the target operation state threshold value to obtain a test result of the central controller of the comprehensive energy system. By applying the technical scheme provided by the embodiment of the invention, the probability of damage to equipment in the testing process is greatly reduced, the safety of testers is improved, and the time cost is greatly saved. The invention also discloses a testing device, equipment and storage medium of the central controller of the comprehensive energy system, and the testing device and the storage medium have corresponding technical effects.

Description

Test method, device and equipment for central controller of comprehensive energy system
Technical Field
The present invention relates to the technical field of integrated energy systems, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for testing a central controller of an integrated energy system.
Background
Because of different natural resources and geographic environments, the types of distributed power sources in the comprehensive energy system are various, and the construction targets and main functional requirements of the comprehensive energy system are different. At present, the integrated energy system mostly adopts a central controller integrated by utilizing functions to meet the customization demands of various types of integrated energy systems. However, the central controller of the comprehensive energy system is lack of a system inspection and detection scheme and related standards, the conventional secondary equipment detection method is used as a reference for functional test and verification, and the implementation of the functional test and verification is performed in a field debugging and test mode at present.
The existing comprehensive energy system central controller is tested in a field debugging and testing mode, damage is caused to equipment, the functions of the comprehensive energy system central controller under special working conditions such as overload operation and short circuit of the comprehensive energy system cannot be completely verified, the personal safety of testers is threatened by field high voltage, and time cost is wasted easily due to complex field environment.
In summary, how to effectively solve the problem that the equipment is damaged in the testing process, the personal safety of the testers is threatened by the field high voltage, and the time cost is wasted easily is an urgent need of those skilled in the art at present.
Disclosure of Invention
The invention aims to provide a test method of a central controller of a comprehensive energy system, which greatly reduces the probability of damage to equipment in the test process, improves the safety of testers and greatly saves the time cost; another object of the present invention is to provide a test device, apparatus and computer readable storage medium for a central controller of an integrated energy system.
In order to solve the technical problems, the invention provides the following technical scheme:
a test method of a central controller of an integrated energy system comprises the following steps:
acquiring a target control instruction issued by a central controller of the comprehensive energy system to an Rt-Lab simulator;
acquiring target model running state data corresponding to the target control instruction of the Rt-Lab simulator; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system;
searching a target running state threshold corresponding to the target control instruction from a preset database; wherein, the preset database is pre-stored with the corresponding relation between each control instruction and each running state threshold value;
and verifying the target model running state data by using the target running state threshold value to obtain a test result of the central controller of the comprehensive energy system.
In one embodiment of the present invention, the method further comprises:
receiving an operation control parameter modification instruction of the Rt-Lab simulator;
analyzing the operation control parameter modification instruction of the Rt-Lab simulator to obtain operation control parameters of a target model;
and configuring corresponding model operation control parameters of the Rt-Lab simulator into the target model operation control parameters.
In one specific embodiment of the present invention, before the target control instruction issued by the central controller of the integrated energy system to the Rt-Lab simulator is obtained, the method further comprises:
and sending an initialization command to the Rt-Lab simulator and the central controller of the comprehensive energy system.
In one specific embodiment of the invention, the method for acquiring the target control instruction issued by the central controller of the comprehensive energy system to the Rt-Lab simulator comprises the following steps:
acquiring a target control instruction issued by the comprehensive energy system central controller to the Rt-Lab simulator from the comprehensive energy system central controller through a Modbus communication protocol;
obtaining the running state data of the target model corresponding to the target control instruction by the Rt-Lab simulator comprises the following steps:
and acquiring target model running state data corresponding to the target control instruction by the Rt-Lab simulator through the Modbus communication protocol.
A test device for a central controller of an integrated energy system, comprising:
the control instruction acquisition module is used for acquiring a target control instruction issued by the central controller of the comprehensive energy system to the Rt-Lab simulator;
the data acquisition module is used for acquiring the running state data of the target model corresponding to the target control instruction of the Rt-Lab simulator; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system;
the threshold searching module is used for searching a target running state threshold corresponding to the target control instruction from a preset database; the preset instructions and the corresponding relations between the control instructions and the running state thresholds are pre-stored in the running state database;
and the test result obtaining module is used for verifying the target model running state data by utilizing the target running state threshold value to obtain a test result of the central controller of the comprehensive energy system.
In one embodiment of the present invention, the method further comprises:
the modification instruction receiving module is used for receiving an operation control parameter modification instruction of the Rt-Lab simulator;
the parameter obtaining module is used for analyzing the operation control parameter modification instruction of the Rt-Lab simulator to obtain the operation control parameter of the target model;
and the parameter configuration module is used for configuring the corresponding model operation control parameters of the Rt-Lab simulator into the target model operation control parameters.
In one embodiment of the present invention, the method further comprises:
the initialization command transmitting module is used for transmitting an initialization command to the Rt-Lab simulator and the comprehensive energy system central controller before acquiring a target control command issued by the comprehensive energy system central controller to the Rt-Lab simulator.
In a specific embodiment of the present invention, the control instruction obtaining module is specifically a module for obtaining, from the integrated energy system central controller through a Modbus communication protocol, a target control instruction issued by the integrated energy system central controller to the Rt-Lab simulator;
the data acquisition module is specifically a module for acquiring the running state data of the target model corresponding to the target control instruction of the Rt-Lab simulator through the Modbus communication protocol.
A test device for a central controller of an integrated energy system, comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the testing method of the central controller of the integrated energy system when executing the computer program.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of a method of testing a central controller of an integrated energy system as described above.
By applying the method provided by the embodiment of the invention, the target control instruction issued by the central controller of the comprehensive energy system to the Rt-Lab simulator is obtained; acquiring target model running state data corresponding to a target control instruction of the Rt-Lab simulator; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system; searching a target running state threshold corresponding to the target control instruction from a preset database; the corresponding relation between each control instruction and each running state threshold value is pre-stored in a preset database; and verifying the target model operation state data by using the target operation state threshold value to obtain a test result of the central controller of the comprehensive energy system. The comprehensive energy system mathematical model is pre-configured in the Rt-Lab simulator, and the Rt-Lab simulator is utilized to carry out simulation test on the central controller of the comprehensive energy system, so that the probability of damage to equipment in the test process is greatly reduced, the safety of testers is improved, and the time cost is greatly saved.
Correspondingly, the embodiment of the invention also provides a testing device, equipment and a computer readable storage medium of the integrated energy system central controller corresponding to the testing method of the integrated energy system central controller, which have the technical effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an embodiment of a method for testing a central controller of an integrated energy system;
FIG. 2 is a flowchart of another implementation of a method for testing a central controller of an integrated energy system according to an embodiment of the present invention;
FIG. 3 is a block diagram of a testing device for a central controller of an integrated energy system according to an embodiment of the present invention;
fig. 4 is a block diagram of a test apparatus for a central controller of an integrated energy system according to an embodiment of the present invention.
Detailed Description
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Embodiment one:
referring to fig. 1, fig. 1 is a flowchart showing a test method of a central controller of an integrated energy system according to an embodiment of the present invention, the method may include the following steps:
s101: and acquiring a target control instruction issued by the central controller of the comprehensive energy system to the Rt-Lab simulator.
When the central controller of the comprehensive energy system needs to be tested, a testing platform consisting of a workstation (console), an Rt-Lab simulator and the central controller of the comprehensive energy system which are in communication connection with each other can be built in advance. The central controller of the comprehensive energy system can send corresponding target control instructions to the Rt-Lab simulator according to the current test requirements.
The target control command may be an adjustment command for each device of the integrated energy system.
S102: and acquiring target model running state data corresponding to the target control instruction by the Rt-Lab simulator.
Wherein, the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system.
The Rt-Lab simulator can be pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system, the Matlab-Simulink software can be used for building the comprehensive energy system mathematical model, carrying out Rt-Lab adaptive adjustment, and the Rt-Lab software running in the workstation is used for building or importing the model to the simulator. The workstation can acquire the running state data of the target model corresponding to the target control instruction of the Rt-Lab simulator. The mathematical model of the comprehensive energy system is used for simulating the operation state data of the comprehensive energy system in real time according to the instruction issued by the workstation and the control command issued by the central controller of the comprehensive energy system, and the operation state data can be transmitted through the communication port of the Rt-Lab simulator and can be transmitted back to the workstation or other monitoring equipment.
The mathematical model of the comprehensive energy system can comprise mathematical models of conventional equipment and channels of comprehensive energy sources such as an external power grid, an external heat supply network, various internal power sources, internal heat sources, electric loads, heat loads, an internal power network, an internal heat pipe network and the like.
S103: searching a target running state threshold corresponding to the target control instruction from a preset database.
The corresponding relation between each control instruction and each running state threshold value is pre-stored in a preset database.
The corresponding relation between each control instruction and each running state threshold value can be stored in the database in advance, after the target control instruction issued by the central controller of the comprehensive energy system to the Rt-Lab simulator is obtained, and the running state data of the target model corresponding to the target control instruction of the Rt-Lab simulator is obtained, the target running state threshold value corresponding to the target control instruction can be searched from the preset database. As shown in table 1, 8 kinds of functions or performance indexes of the central controller of the integrated energy system were tested.
TABLE 1
Figure BDA0002054713530000061
/>
Figure BDA0002054713530000071
As shown in the above table, each detection item corresponds to a corresponding control instruction, and each specified value and standard (technical requirement) corresponds to a corresponding operation state threshold.
S104: and verifying the target model operation state data by using the target operation state threshold value to obtain a test result of the central controller of the comprehensive energy system.
After the target running state threshold corresponding to the target control instruction is obtained, the target running state threshold can be utilized to verify the running state data of the target model, so that a test result of the central controller of the comprehensive energy system is obtained, and the performance evaluation of the central controller of the comprehensive energy system is obtained. The workstation can monitor the model running state of the Rt-Lab simulator and the working condition of the central controller of the comprehensive energy system through the graphic interface of Rt-Lab software, and record and store relevant running state data.
For example, taking the 6 th item in table 1 as an example of performing function detection on the frequency stabilization module, the device should be able to execute a corresponding policy to maintain the frequency of the integrated energy system within the range of (50±1.5) Hz under different working conditions by presetting a target operation state threshold value stored in the database, and analyze the obtained frequency of the integrated energy system to determine whether the obtained frequency is within the range of (50±1.5) Hz, so as to obtain a function detection result of the frequency stabilization module of the central controller of the integrated energy system.
The hardware-in-loop test can reduce the time of equipment carrying, field communication debugging, real working condition waiting and the like in field debugging, and simultaneously can synchronously perform data analysis in the test process, so that the development and detection time is saved, and the test is more convenient. The calculation of a high-precision simulation model can be carried out by depending on the calculation force of the Rt-Lab simulator, different actual working conditions and extreme working conditions can be reproduced accurately, the simulation model is not interfered by the field test environment, the actual equipment is not damaged, and the reliability is high. The voltage level of the whole test platform is lower than that of the field, the risk of field debugging can be greatly reduced, and the safety of the test process is greatly improved.
By applying the method provided by the embodiment of the invention, the target control instruction issued by the central controller of the comprehensive energy system to the Rt-Lab simulator is obtained; acquiring target model running state data corresponding to a target control instruction of the Rt-Lab simulator; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system; searching a target running state threshold corresponding to the target control instruction from a preset database; the corresponding relation between each control instruction and each running state threshold value is pre-stored in a preset database; and verifying the target model operation state data by using the target operation state threshold value to obtain a test result of the central controller of the comprehensive energy system. The comprehensive energy system mathematical model is pre-configured in the Rt-Lab simulator, and the Rt-Lab simulator is utilized to carry out simulation test on the central controller of the comprehensive energy system, so that the probability of damage to equipment in the test process is greatly reduced, the safety of testers is improved, and the time cost is greatly saved.
It should be noted that, based on the first embodiment, the embodiment of the present invention further provides a corresponding improvement scheme. The following embodiments relate to the same steps as those in the first embodiment or the steps corresponding to the first embodiment, and the corresponding beneficial effects can also be referred to each other, so that the following modified embodiments will not be repeated.
Referring to fig. 2, fig. 2 is a flowchart showing another implementation of a testing method of a central controller of an integrated energy system according to an embodiment of the present invention, the method may include the following steps:
s201: and sending an initialization command to the Rt-Lab simulator and the central controller of the comprehensive energy system.
Before testing the central controller of the comprehensive energy system, the workstation can send an initialization command to the Rt-Lab simulator and the central controller of the comprehensive energy system, and initialize the Rt-Lab simulator and the central controller of the comprehensive energy system, so that the interference of running state data generated by the last test on the test is avoided.
S202: and acquiring a target control instruction issued by the central controller of the comprehensive energy system from the central controller of the comprehensive energy system through a Modbus communication protocol and issuing the target control instruction to the Rt-Lab simulator.
Communication connection among the workstation, the Rt-Lab simulator and the central controller of the comprehensive energy system can be established through a Modbus communication protocol. The workstation can acquire a target control instruction issued by the central controller of the comprehensive energy system from the central controller of the comprehensive energy system through a Modbus communication protocol and transmit the target control instruction to the Rt-Lab simulator.
The Modbus communication protocol is an industrial automation bus communication protocol, has the characteristics of standard, development, free and the like, supports data communication of thousands of industrial intelligent instrument manufacturers and meters, supports various communication interfaces RS232, RS85, TTL, optical fibers, wireless and other modes, is public and easily understood in format, and is widely applied to various industrial automation fields.
S203: and acquiring target model running state data corresponding to the target control instruction by the Rt-Lab simulator through a Modbus communication protocol.
The workstation can acquire the target model running state data corresponding to the target control instruction by the Rt-Lab simulator through the Modbus communication protocol.
S204: searching a target running state threshold corresponding to the target control instruction from a preset database.
The corresponding relation between each control instruction and each running state threshold value is pre-stored in a preset database.
S205: and verifying the target model operation state data by using the target operation state threshold value to obtain a test result of the central controller of the comprehensive energy system.
S206: and receiving an operation control parameter modification instruction of the Rt-Lab simulator.
Because the comprehensive energy system is a composite system containing various cold and hot electric energy sources, various devices exist, such as various power sources, heat sources, cold sources, power grids, pipelines and different loads, and each comprehensive energy system is customized from the aspects of the contained devices, capacity, network structure and the like. The operation control parameters of the mathematical model of the comprehensive energy system can be set or adjusted according to the test requirements, and the workstation receives the operation control parameter modification instruction of the Rt-Lab simulator.
S207: analyzing the operation control parameter modification instruction of the Rt-Lab simulator to obtain the operation control parameter of the target model.
After receiving the Rt-Lab simulator operation control parameter modification instruction, the Rt-Lab simulator operation control parameter modification instruction can be analyzed to obtain the target model operation control parameter.
S208: and configuring corresponding model operation control parameters of the Rt-Lab simulator into target model operation control parameters.
After the target model operation control parameters are obtained, the corresponding model operation control parameters of the Rt-Lab simulator can be configured as the target model operation control parameters, so that the free adjustment of the mathematical model of the comprehensive energy system in the Rt-Lab simulator is realized, the test platform has certain generalization capability, and the central controller of the comprehensive energy system customized for different customization needs can perform the same detection, and only part of parameters of the platform model need to be modified. And the identity information verification can be carried out on the sender of the running control parameter modification instruction of the Rt-Lab simulator, for example, the verification can be carried out by inputting a user name and a password, thereby ensuring the safety of the test process of the central controller of the comprehensive energy system.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a test device for a central controller of an integrated energy system, where the test device for the central controller of the integrated energy system described below and the test method for the central controller of the integrated energy system described above can be referred to correspondingly.
Referring to fig. 3, fig. 3 is a block diagram of a test apparatus for a central controller of an integrated energy system according to an embodiment of the present invention, where the test apparatus may include:
the control instruction acquisition module 31 is used for acquiring a target control instruction issued by the central controller of the comprehensive energy system to the Rt-Lab simulator;
the data acquisition module 32 is used for acquiring the running state data of the target model corresponding to the target control instruction of the Rt-Lab simulator; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system;
the threshold value searching module 33 is configured to search a target running state threshold value corresponding to the target control instruction from a preset database; the corresponding relation between each control instruction and each running state threshold value is pre-stored in a preset instruction and running state database;
and the test result obtaining module 34 is configured to verify the target model operation state data by using the target operation state threshold value, so as to obtain a test result of the central controller of the integrated energy system.
By applying the device provided by the embodiment of the invention, the target control instruction issued by the central controller of the comprehensive energy system to the Rt-Lab simulator is acquired; acquiring target model running state data corresponding to a target control instruction of the Rt-Lab simulator; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system; searching a target running state threshold corresponding to the target control instruction from a preset database; the corresponding relation between each control instruction and each running state threshold value is pre-stored in a preset database; and verifying the target model operation state data by using the target operation state threshold value to obtain a test result of the central controller of the comprehensive energy system. The comprehensive energy system mathematical model is pre-configured in the Rt-Lab simulator, and the Rt-Lab simulator is utilized to carry out simulation test on the central controller of the comprehensive energy system, so that the probability of damage to equipment in the test process is greatly reduced, the safety of testers is improved, and the time cost is greatly saved.
In one embodiment of the present invention, the apparatus may further include:
the modification instruction receiving module is used for receiving an operation control parameter modification instruction of the Rt-Lab simulator;
the parameter obtaining module is used for analyzing the operation control parameter modification instruction of the Rt-Lab simulator to obtain the operation control parameter of the target model;
the parameter configuration module is used for configuring corresponding model operation control parameters of the Rt-Lab simulator into target model operation control parameters.
In one embodiment of the present invention, the apparatus may further include:
the initialization command transmitting module is used for transmitting an initialization command to the Rt-Lab simulator and the central controller of the comprehensive energy system before acquiring a target control command issued by the central controller of the comprehensive energy system to the Rt-Lab simulator.
In one embodiment of the present invention, the control instruction obtaining module 31 is specifically a module for obtaining, from the central controller of the integrated energy system, a target control instruction issued by the central controller of the integrated energy system to the Rt-Lab simulator through a Modbus communication protocol;
the data acquisition module 32 is specifically a module for acquiring the running state data of the target model corresponding to the target control instruction by the Rt-Lab simulator through the Modbus communication protocol.
Corresponding to the above method embodiment, referring to fig. 4, fig. 4 is a schematic diagram of a test apparatus for a central controller of an integrated energy system according to the present invention, where the apparatus may include:
a memory 41 for storing a computer program;
the processor 42 is configured to execute the computer program stored in the memory 41, and implement the following steps:
acquiring a target control instruction issued by a central controller of the comprehensive energy system to an Rt-Lab simulator; acquiring target model running state data corresponding to a target control instruction of the Rt-Lab simulator; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system; searching a target running state threshold corresponding to the target control instruction from a preset database; the corresponding relation between each control instruction and each running state threshold value is pre-stored in a preset database; and verifying the target model operation state data by using the target operation state threshold value to obtain a test result of the central controller of the comprehensive energy system.
For the description of the apparatus provided by the present invention, please refer to the above method embodiment, and the description of the present invention is omitted herein.
Corresponding to the above method embodiments, the present invention also provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a target control instruction issued by a central controller of the comprehensive energy system to an Rt-Lab simulator; acquiring target model running state data corresponding to a target control instruction of the Rt-Lab simulator; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system; searching a target running state threshold corresponding to the target control instruction from a preset database; the corresponding relation between each control instruction and each running state threshold value is pre-stored in a preset database; and verifying the target model operation state data by using the target operation state threshold value to obtain a test result of the central controller of the comprehensive energy system.
The computer readable storage medium may include: a U-disk, a removable hard disk, a Read-only memory (ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
For the description of the computer-readable storage medium provided by the present invention, refer to the above method embodiments, and the disclosure is not repeated here.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. The apparatus, device and computer readable storage medium of the embodiments are described more simply because they correspond to the methods of the embodiments, and the description thereof will be given with reference to the method section.
The principles and embodiments of the present invention have been described herein with reference to specific examples, but the description of the examples above is only for aiding in understanding the technical solution of the present invention and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.

Claims (8)

1. The test method of the central controller of the comprehensive energy system is characterized by comprising the following steps of:
acquiring a target control instruction issued by a central controller of a comprehensive energy system from the central controller of the comprehensive energy system through a Modbus communication protocol and issuing the target control instruction to an Rt-Lab simulator;
acquiring target model running state data corresponding to the target control instruction by the Rt-Lab simulator through the Modbus communication protocol; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system;
searching a target running state threshold corresponding to the target control instruction from a preset database; wherein, the preset database is pre-stored with the corresponding relation between each control instruction and each running state threshold value;
and verifying the target model running state data by using the target running state threshold value to obtain a test result of the central controller of the comprehensive energy system.
2. The method for testing a central controller of an integrated energy system according to claim 1, further comprising:
receiving an operation control parameter modification instruction of the Rt-Lab simulator;
analyzing the operation control parameter modification instruction of the Rt-Lab simulator to obtain operation control parameters of a target model;
and configuring corresponding model operation control parameters of the Rt-Lab simulator into the target model operation control parameters.
3. The test method of the integrated energy system central controller according to claim 1 or 2, further comprising, before acquiring the target control command issued by the integrated energy system central controller to the Rt-Lab simulator:
and sending an initialization command to the Rt-Lab simulator and the central controller of the comprehensive energy system.
4. The utility model provides a testing arrangement of integrated energy system central controller which characterized in that includes:
the control instruction acquisition module is used for acquiring a target control instruction issued by the central controller of the comprehensive energy system from the central controller of the comprehensive energy system through a Modbus communication protocol;
the data acquisition module is used for acquiring target model running state data corresponding to the target control instruction of the Rt-Lab simulator through the Modbus communication protocol; the Rt-Lab simulator is pre-configured with a comprehensive energy system mathematical model for executing each control instruction issued by the central controller of the comprehensive energy system;
the threshold searching module is used for searching a target running state threshold corresponding to the target control instruction from a preset database; wherein, the preset database is pre-stored with the corresponding relation between each control instruction and each running state threshold value;
and the test result obtaining module is used for verifying the target model running state data by utilizing the target running state threshold value to obtain a test result of the central controller of the comprehensive energy system.
5. The test device for a central controller of an integrated energy system of claim 4, further comprising:
the modification instruction receiving module is used for receiving an operation control parameter modification instruction of the Rt-Lab simulator;
the parameter obtaining module is used for analyzing the operation control parameter modification instruction of the Rt-Lab simulator to obtain the operation control parameter of the target model;
and the parameter configuration module is used for configuring the corresponding model operation control parameters of the Rt-Lab simulator into the target model operation control parameters.
6. The test device for a central controller of an integrated energy system according to claim 4 or 5, further comprising:
the initialization command transmitting module is used for transmitting an initialization command to the Rt-Lab simulator and the comprehensive energy system central controller before acquiring a target control command issued by the comprehensive energy system central controller to the Rt-Lab simulator.
7. A test device for a central controller of an integrated energy system, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for testing the central controller of the integrated energy system according to any one of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the test method of the integrated energy system central controller according to any one of claims 1 to 3.
CN201910385531.XA 2019-05-09 2019-05-09 Test method, device and equipment for central controller of comprehensive energy system Active CN110334385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910385531.XA CN110334385B (en) 2019-05-09 2019-05-09 Test method, device and equipment for central controller of comprehensive energy system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910385531.XA CN110334385B (en) 2019-05-09 2019-05-09 Test method, device and equipment for central controller of comprehensive energy system

Publications (2)

Publication Number Publication Date
CN110334385A CN110334385A (en) 2019-10-15
CN110334385B true CN110334385B (en) 2023-05-16

Family

ID=68140030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910385531.XA Active CN110334385B (en) 2019-05-09 2019-05-09 Test method, device and equipment for central controller of comprehensive energy system

Country Status (1)

Country Link
CN (1) CN110334385B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110989403B (en) * 2019-12-30 2023-10-31 上海科梁信息科技股份有限公司 Comprehensive energy regulation and control system, control method thereof and server
CN111832161B (en) * 2020-06-29 2024-04-09 山东大学 Real-time simulation method and system for comprehensive energy system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106054672A (en) * 2016-07-20 2016-10-26 天津天大求实电力新技术股份有限公司 Real micro-grid operation dynamic simulation test platform based on RT-LAB

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2858015A1 (en) * 2013-10-04 2015-04-08 Building Research Establishment Ltd System and method for simulation, control and performance monitoring of energy systems
CN107643457A (en) * 2017-09-12 2018-01-30 上海电气分布式能源科技有限公司 A kind of method of testing and system for microgrid energy management system
CN108508360B (en) * 2018-03-26 2024-05-10 华北电力科学研究院有限责任公司 RT-Lab-based doubly-fed wind power virtual synchronous generator performance test method and system
CN109191017B (en) * 2018-10-26 2022-02-15 南方电网科学研究院有限责任公司 Simulation method, device, equipment and storage medium of comprehensive energy system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106054672A (en) * 2016-07-20 2016-10-26 天津天大求实电力新技术股份有限公司 Real micro-grid operation dynamic simulation test platform based on RT-LAB
WO2018014450A1 (en) * 2016-07-20 2018-01-25 天津天大求实电力新技术股份有限公司 Rt-lab-based real microgrid operation dynamic simulation testing platform

Also Published As

Publication number Publication date
CN110334385A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN103150238B (en) A kind of service request processing method, simulated performance method of testing and device
CN110334385B (en) Test method, device and equipment for central controller of comprehensive energy system
CN104698374A (en) Method for improving testing efficiency and accuracy of automatic relay protecting tester
CN104978262A (en) Terminal test method and terminal test device
EP4191905A1 (en) Test method and device
CN107977318B (en) Energy consumption and performance test method for Android application program
CN108595390B (en) Method for verifying parameter consistency of SCD and IED of intelligent substation
CN113590471B (en) Communication terminal equipment simulation system and application method thereof
CN111597083A (en) Test system of intelligent terminal
CN104717670A (en) Business quality testing method, device and system
CN109491702B (en) Optimization scheme determination method and device, terminal equipment and storage medium
CN111901155B (en) Internet of things debugging method, device and system and storage medium
RU2532714C2 (en) Method of acquiring data when evaluating network resources and apparatus therefor
CN112541841A (en) Method and device for simulating past and future data and terminal equipment
CN105840433B (en) Wind turbine generator system point inspection information management system and wind turbine generator system point inspection management system
CN105717472A (en) Electric energy quality monitoring terminal simulator
CN112015813A (en) Data sharing method, system and device of power distribution network and computer equipment
CN111541589B (en) Method, device and equipment for testing expansion module interface of intelligent terminal
CN103428745A (en) Test system and test method of Cu interface between UICC (Universal Integrated Circuit Card) and WCDMA (Wideband Code Division Multiple Access) mobile terminal
CN108873735B (en) Power distribution main station system component simulation test device and method
CN109633329B (en) Fault detection method and device for multi-loop energy storage equipment, terminal equipment and medium
CN111965587A (en) Automatic test method and automatic test platform for stability of electric energy meter
CN105279085A (en) Rule self-defining based smart substation configuration file test system and method
CN110688299A (en) Automatic test platform for application software of nuclear power plant
CN112953776B (en) Data verification method, device and storage medium

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
GR01 Patent grant
GR01 Patent grant