CN103678450B - Communication means in power system between on-line operation system and off-line emulation system - Google Patents

Communication means in power system between on-line operation system and off-line emulation system Download PDF

Info

Publication number
CN103678450B
CN103678450B CN201310410010.8A CN201310410010A CN103678450B CN 103678450 B CN103678450 B CN 103678450B CN 201310410010 A CN201310410010 A CN 201310410010A CN 103678450 B CN103678450 B CN 103678450B
Authority
CN
China
Prior art keywords
data
content
format
rule
file
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
CN201310410010.8A
Other languages
Chinese (zh)
Other versions
CN103678450A (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.)
Tsinghua University
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd
State Grid Fujian Electric Power Co Ltd
Original Assignee
Tsinghua University
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd
State Grid Fujian Electric Power 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 Tsinghua University, State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd, State Grid Fujian Electric Power Co Ltd filed Critical Tsinghua University
Priority to CN201310410010.8A priority Critical patent/CN103678450B/en
Publication of CN103678450A publication Critical patent/CN103678450A/en
Application granted granted Critical
Publication of CN103678450B publication Critical patent/CN103678450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to the communication means in a kind of power system between on-line operation system and off-line emulation system, belongs to the technical field of data processing of Automation of Electric Systems.The translation function of different-format is distinguished and realized to this method using the electric power system data conversion method configured based on transformational rule by the difference of transformational rule file.By generating the transformational rule file between different data format, general transformational rule analytic method is developed, multiplex data conversion plug-in unit realizes the conversion and data communication of different data format.This have the advantage that, it is to avoid the deficiency of existing manual maintenance, one-to-one conversion and signal procedure, automatic conversion and the communication of the data file of different-format are realized, conversion and versatility and the motility of communication work is improved.

Description

Communication means in power system between on-line operation system and off-line emulation system
Technical field
The present invention relates to the communication means in a kind of power system between on-line operation system and off-line emulation system, belongs to The technical field of data processing of Automation of Electric Systems.
Background technology
Power system is one and its huge complication system, is related to various data such as model data, service data, then plus The variation of upper different application systems, simulation calculation software to data format requirement so that the document format data of power system It is varied.Spy since so, when carrying out calculating analysis using different application systems, simulation software, needed for needing to generate The data file of the formula that fixes, needs data communication.As data source is obtained from other software system, form difficulty or ease ensure to meet to be wanted Ask, so need existing specific format data file to be converted into the data file of calculation analysis tools desirable format, then The system is forwarded to again.In the past, or selecting the data of manual maintenance different-format, safeguard that the data of different-format are appointed by hand Loaded down with trivial details, the easy error of business.Man-to-man converse routine is designed according to specific conversion requirements carries out Data Format Transform, but Can be only done the unidirectional conversion between specific format.And need manual copy and the maintenance of file.
In sum, the present invention is needed to propose in a kind of power system between on-line operation system and off-line emulation system Communication means, it is to avoid the past safeguards by hand, the deficiency of one-to-one converse routine and communication, realizes the data file of different-format Automatic conversion and communication, improve conversion and communication work versatility and motility.
The content of the invention
It is an object of the invention to logical between on-line operation system and off-line emulation system in proposing a kind of power system Letter method, using a kind of electric power system data conversion method configured based on transformational rule, realizes the data file of different-format Automatic conversion and communication, improve conversion and communication work versatility and motility.
Communication means in power system proposed by the present invention between on-line operation system and off-line emulation system, including with Lower step:
(1) in real time the state estimation result file of power system is obtained from the data center of on-line operation system, and by shape State estimated result file is stored in internal memory, obtains state estimation result data;
(2) state estimation result data are converted to the data of conformance with standard IEEE format;
(3) according to above-mentioned conformance with standard IEEE format data and format into object format data, formulate a transformational rule configuration text Part, process are as follows:
(3-1) n content tab title of format into object format data is filled under the structure label of transformational rule configuration file;
(3-2) the structure label in transformational rule configuration file terminates place, with the content of above-mentioned each format into object format data Bookmark name is title, set up first, second respectively successively ..., n-th content tab, first, second ..., n-th Fill in the Rule content corresponding with the content tab title under individual content tab respectively;
(4) first content tab name of the format into object format data from transformational rule configuration file under reading structure label Claim;
(5) following process is carried out to first content tab title of above-mentioned reading:
(5-1) content tab corresponding with first content tab title is retrieved in transformational rule configuration file, And do following process:
A () sequentially reads the first rule content from the content tab for retrieving;
(b) according to the tag attribute values in above-mentioned first rule content, from above-mentioned conformance with standard IEEE format data The first data content under the label corresponding with the tag attribute values is retrieved, by the condition in the first data content Property value is compared with the conditional attribute value in above-mentioned first rule content, if the conditional attribute in the first data content Value is different from the conditional attribute value in the first rule content, then travel through all under the label corresponding with the tag attribute values Data content, repeats this step, until a data content is found, in conditional attribute value therein and the first rule content Conditional attribute value it is identical, carry out step (c), if in the conditional attribute value in the first data content and the first rule content Conditional attribute value it is identical, then carry out step (c);
C () leads to according to the independent variable property value in above-mentioned first rule content and format into object format data name attribute value The transformed representation property value crossed in the first rule content, calculates the data attribute value of format into object format data, repeat step B () and (c), travels through all data contents under the label corresponding with the tag attribute values in the first rule content, obtains To all data attribute values corresponding with format into object format data title, step (d) is carried out;
D () repeat step (a)~step (c), travels through the institute under first corresponding content tab of content tab title Regular content, obtains corresponding with format into object format data title all data attribute values in strictly all rules content;
(5-2) content tab corresponding with all the elements bookmark name in traversal transformational rule configuration file, repeats to walk Suddenly (5-1), the data attribute value of all labels of format into object format data is obtained, all data attribute values constitute format into object format data Content, completes Data Format Transform;
(6) above-mentioned format into object format data content is exported to file from internal memory, and file is forwarded to into off-line emulation system.
Communication means in power system proposed by the present invention between on-line operation system and off-line emulation system, its feature With advantage be, using based on transformational rule configure electric power system data conversion method, by the difference of transformational rule file come Distinguish and realize the translation function of different-format.By generating the transformational rule file between different data format, develop general Transformational rule analytic method, multiplex data conversion plug-in unit, realize the conversion of different data format, realize different application systems Data communication, it is to avoid the deficiency of existing manual maintenance, one-to-one conversion and signal procedure, realizes the data file of different-format Automatic conversion and communication, improve conversion and communication work versatility and motility.
Description of the drawings
Fig. 1 is the FB(flow block) of the inventive method.
Specific embodiment
Communication means in power system proposed by the present invention between on-line operation system and off-line emulation system, its flow process Block diagram is as shown in figure 1, comprise the following steps:
(1) in real time the state estimation result file of power system is obtained from the data center of on-line operation system, and by shape State estimated result file is stored in internal memory, obtains state estimation result data;
(2) state estimation result data are converted to the data of conformance with standard IEEE format;
(3) according to above-mentioned conformance with standard IEEE format data and format into object format data, formulate a transformational rule configuration text Part, process are as follows:
(3-1) n content tab title of format into object format data is filled under the structure label of transformational rule configuration file;
(3-2) the structure label in transformational rule configuration file terminates place, with the content of above-mentioned each format into object format data Bookmark name is title, set up first, second respectively successively ..., n-th content tab, first, second ..., n-th Fill in the Rule content corresponding with the content tab title under individual content tab respectively;
(4) first content tab name of the format into object format data from transformational rule configuration file under reading structure label Claim;
(5) following process is carried out to first content tab title of above-mentioned reading:
(5-1) content tab corresponding with first content tab title is retrieved in transformational rule configuration file, And do following process:
A () sequentially reads the first rule content from the content tab for retrieving;
(b) according to the tag attribute values in above-mentioned first rule content, from above-mentioned conformance with standard IEEE format data The first data content under the label corresponding with the tag attribute values is retrieved, by the condition in the first data content Property value is compared with the conditional attribute value in above-mentioned first rule content, if the conditional attribute in the first data content Value is different from the conditional attribute value in the first rule content, then travel through all under the label corresponding with the tag attribute values Data content, repeats this step, until a data content is found, in conditional attribute value therein and the first rule content Conditional attribute value it is identical, carry out step (c), if in the conditional attribute value in the first data content and the first rule content Conditional attribute value it is identical, then carry out step (c);
C () leads to according to the independent variable property value in above-mentioned first rule content and format into object format data name attribute value The transformed representation property value crossed in the first rule content, calculates the data attribute value of format into object format data, repeat step B () and (c), travels through all data contents under the label corresponding with the tag attribute values in the first rule content, obtains To all data attribute values corresponding with format into object format data title, step (d) is carried out;
D () repeat step (a)~step (c), travels through the institute under first corresponding content tab of content tab title Regular content, obtains corresponding with format into object format data title all data attribute values in strictly all rules content;
(5-2) content tab corresponding with all the elements bookmark name in traversal transformational rule configuration file, repeats to walk Suddenly (5-1), the data attribute value of all labels of format into object format data is obtained, all data attribute values constitute format into object format data Content, completes Data Format Transform;
(6) above-mentioned format into object format data content is exported to file from internal memory, and file is forwarded to into off-line emulation system.

Claims (1)

1. the communication means in power system between on-line operation system and off-line emulation system, it is characterised in that the method includes Following steps:
(1) the state estimation result file of power system is obtained from the data center of on-line operation system in real time, and state is estimated Meter destination file is stored in internal memory, obtains state estimation result data;
(2) state estimation result data are converted to the data of conformance with standard IEEE format;
(3) according to above-mentioned conformance with standard IEEE format data and format into object format data, a transformational rule configuration file, mistake are formulated Journey is as follows:
(3-1) n content tab title of format into object format data is filled under the structure label of transformational rule configuration file;
(3-2) the structure label in transformational rule configuration file terminates place, with the content tab of above-mentioned each format into object format data Entitled title, set up first, second respectively successively ..., n-th content tab, first, second ..., in n-th Hold the Rule content corresponding with the content tab title is filled in respectively under label;
(4) first content tab title of the format into object format data from transformational rule configuration file under reading structure label;
(5) following process is carried out to first content tab title of above-mentioned reading:
(5-1) content tab corresponding with first content tab title is retrieved in transformational rule configuration file, and is done Hereinafter process:
A () sequentially reads the first rule content from the content tab for retrieving;
B () is retrieved from above-mentioned conformance with standard IEEE format data according to the tag attribute values in above-mentioned first rule content The first data content under the label corresponding with the tag attribute values, by the conditional attribute in the first data content Value is compared with the conditional attribute value in above-mentioned first rule content, if the conditional attribute value in the first data content with Conditional attribute value in first rule content is different, then travel through all numbers under the label corresponding with the tag attribute values According to content, repeat this step, until a data content is found, the bar in conditional attribute value therein and the first rule content Part property value is identical, carries out step (c), if the conditional attribute value in the first data content and the bar in the first rule content Part property value is identical, then carry out step (c);
(c) according to the independent variable property value in above-mentioned first rule content and format into object format data name attribute value, by Transformed representation property value in one rule content, calculates the data attribute value of format into object format data, repeat step (b) and C (), travels through all data contents under the label corresponding with the tag attribute values in the first rule content, obtains and mesh The corresponding all data attribute values of style formula data name, carry out step (d);
D () repeat step (a)~step (c), travels through all rule under first corresponding content tab of content tab title Then content, obtains corresponding with format into object format data title all data attribute values in strictly all rules content;
(5-2) content tab corresponding with all the elements bookmark name in traversal transformational rule configuration file, repeat step (5- 1) the data attribute value of all labels of format into object format data, is obtained, all data attribute values constitute format into object format data content, Complete Data Format Transform;
(6) above-mentioned format into object format data content is exported to file from internal memory, and file is forwarded to into off-line emulation system.
CN201310410010.8A 2013-09-10 2013-09-10 Communication means in power system between on-line operation system and off-line emulation system Active CN103678450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310410010.8A CN103678450B (en) 2013-09-10 2013-09-10 Communication means in power system between on-line operation system and off-line emulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310410010.8A CN103678450B (en) 2013-09-10 2013-09-10 Communication means in power system between on-line operation system and off-line emulation system

Publications (2)

Publication Number Publication Date
CN103678450A CN103678450A (en) 2014-03-26
CN103678450B true CN103678450B (en) 2017-04-05

Family

ID=50316017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310410010.8A Active CN103678450B (en) 2013-09-10 2013-09-10 Communication means in power system between on-line operation system and off-line emulation system

Country Status (1)

Country Link
CN (1) CN103678450B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193791B (en) * 2017-05-16 2020-07-10 云南电网有限责任公司保山供电局 Action report visual display method based on transient data exchange general format

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1965316A (en) * 2004-04-09 2007-05-16 甲骨文国际公司 Index for accessing XML data
CN101452450A (en) * 2007-11-30 2009-06-10 上海市电力公司 Multiple source data conversion service method and apparatus thereof
CN101571863A (en) * 2008-04-29 2009-11-04 国际商业机器公司 XML query method and XML query system for variable-model XML documents
CN101634982A (en) * 2008-07-24 2010-01-27 国际商业机器公司 Method and system used for verifying XML document
CN102402556A (en) * 2010-09-16 2012-04-04 深圳市金蝶中间件有限公司 XML (extensive makeup language) file checking method and device
CN102486787A (en) * 2010-12-02 2012-06-06 北大方正集团有限公司 Method and device for extracting document structure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1965316A (en) * 2004-04-09 2007-05-16 甲骨文国际公司 Index for accessing XML data
CN101452450A (en) * 2007-11-30 2009-06-10 上海市电力公司 Multiple source data conversion service method and apparatus thereof
CN101571863A (en) * 2008-04-29 2009-11-04 国际商业机器公司 XML query method and XML query system for variable-model XML documents
CN101634982A (en) * 2008-07-24 2010-01-27 国际商业机器公司 Method and system used for verifying XML document
CN102402556A (en) * 2010-09-16 2012-04-04 深圳市金蝶中间件有限公司 XML (extensive makeup language) file checking method and device
CN102486787A (en) * 2010-12-02 2012-06-06 北大方正集团有限公司 Method and device for extracting document structure

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
NECP FNL资料解码及数据格式转换;李葳;《气象与减灾研究》;20110331;第34卷(第1期);全文 *
基于ADO的XML与DATABASE的数据交换技术;田富鹏;《西北民族大学学报(自然科学版)》;20041231;第25卷(第55期);全文 *
基于XML的数据集成研究;雷刚跃等;《中国科技信息》;20051231;第2卷(第23期);全文 *

Also Published As

Publication number Publication date
CN103678450A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN105612466B (en) System and method for being virtualized to programmable logic controller (PLC)
CN106970820A (en) Code storage method and code storage
Stork et al. Enabling virtual assembly training in and beyond the automotive industry
CN111241349A (en) Wiring diagram data display method and system based on graph conversion
CN103905410A (en) Multi-channel communication protocol converter capable of converting user-defined protocol to Modbus protocol
CN104732001B (en) The Photographing On-line of electronic device is verified
CN105252533A (en) Robot interactive system, cloud computing platform, user terminal and robot
CN107704239A (en) Configuration generating method, device and electronic equipment
CN110769002A (en) LabVIEW-based message analysis method, system, electronic device and medium
CN110209802A (en) A kind of method and device for extracting summary texts
CN110489118A (en) Webpage generating method, device, system and computer readable storage medium
CN110348109A (en) The method and terminal device of three-dimensional artificial training data processing
CN103678450B (en) Communication means in power system between on-line operation system and off-line emulation system
Nam et al. Construction of standardised data structure for simulation of mid-term scheduling of shipbuilding process
CN106708764A (en) Universal IO processing system for airborne avionic system
CN106844900B (en) Method for setting up electromagnetic transient simulation system
JP2016057920A (en) Drawing display device, drawing display method, and drawing display program
CN203219328U (en) Multiplex communication protocol converter
CN103699737A (en) Multi-discipline simulation software data exchange method
CN116436791A (en) Industrial Internet scene construction method, system, equipment and storage medium
CN109446146A (en) A kind of state transition sequence generation method of application layer communication protocol
CN107633219A (en) Integrated optical character identifying method and system
CN110324280A (en) Protocol configuration systems, devices and methods in industrial cloud
Jeng et al. Extension of UML and its conversion to Petri nets for semiconductor manufacturing modeling
KR20140034350A (en) Method of personalized detailed clinical model for clinical concept

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant