The describing method of the IEC61850 model file based on CIM/E
Technical field
The present invention relates to power automation technical field, be specifically related to a kind of based on CIM/E'sThe describing method of IEC61850 model file.
Background technology
Along with the development of intelligent grid technology, electric substation automation system and dispatching patcherContact increasingly closely, both integral fusion are one of important directions of current power System Development.But current aspect the modeling of electric substation automation system and dispatching patcher, transformer station's end is generalAll over adopting IEC61850 model tormulation mode, the formalized description work of semantic model is by power transformationThe configuration language SCL that stands completes; And IEC61970 standard is followed in dispatching terminal modeling, adopt baseIn the model description method of CIM/XML or CIM/E. Therefore, transformer station's end and dispatching terminalModel the disunity set up, and indigestion each other, thus, bring model to be total toEnjoy, hindered both integral fusion, thereby suppressed technological progress and the intelligence of power systemThe development of electrical network.
Substation configuration description language SCL be IEC61850 ?be used in 6 standards describing and communicating by letterRelevant IED structure and parameter, communication system architecture, switch gap functional structure and they itBetween relation, in order to realize versatility, self-described, and the object that can expand arbitrarily, SCLThe grammatical norm of expandable mark language XML followed in language on grammer, by defining eightXMLSchema file, strict regulations the tree-shaped layers of all self-described documents taking it as standardThe full details of aggregated(particle) structure. In actual substation project application, the power transformation of SCL language descriptionThe model file of standing meets the actual demand of engineering application completely, but along with intelligent substation engineering is builtIf carry out in a deep going way, the transformer station model file of SCL language description is increasingly huge, thus, alsoThe system processing speed of bringing is slow, object granularity is too little, model file redundancy too much,Structure is too complicated, be not easy to the series of problems such as engineering staff's direct reading.
In recent years, transformer station's end and the skimble-scamble problem of dispatching terminal model obtain people's height graduallyDegree is paid attention to, and both at home and abroad research institution has proposed multiple solution, comprise direct unified model,Public semantic model, Model Mapping, System Seamless Communication Architecture etc. But, all exist separately notFoot, specific as follows,
(1) directly unified model is by formulating new unified standard, can meet IEC simultaneously61970 and IEC61850 modeling demand, its shortcoming is existing standard to change larger,Implement very difficult;
(2) public semantic model is to merge IEC61850 on IEC61970CIM/XML basisModel, new model can be understood IEC61970 and IEC61850 standard simultaneously, but still at presentIn conceptual phase, there are no practical application;
(3) Model Mapping is on the basis that existing standard is understood, and increases Model Mapping and joinsPut file, by " translation " function of this configuration file, realize the mutual of two kinds of master patternsConversion;
(4) System Seamless Communication Architecture is similar to Model Mapping, and this scheme " is turned over configuration fileTranslate " function is placed in middle-agent's gateway, transformer station's end and dispatching terminal by with middle-agent's netThe communication of closing, implementation model information mutual.
And (4) two schemes (3), though there are some pilots application, main or IEC61850Model conversion is IEC61970CIM/XML model, consider these two kinds of file formats all based onThe syntactic structure of XML, thus there is the efficiency not high problem described, along with intelligent substation notDisconnected development, transformer station model file is increasingly sophisticated, and the process of Model Mapping conversion also will constantly changeEnter perfectly, the workload of exploitation is huge, and follow-up maintenance work is also difficult to continue follow-up.
CIM/E language is the new main website end modeling language that Guo Tiao center is tried hard to recommend in recent years, at present,Domestic existing many dispatching patchers can be resolved this language institute's established model and generate system number separatelyAccording to storehouse, CIM/E language design is followed simply, efficiency, practicality, object, relation, name sixLarge principle, can be used for describing transformer station model in theory completely. Domestic, existing some mechanismsPropose relevant solution, mainly concentrate on Model Mapping, the aspects such as standard expansion. ConsiderTo IEC61850 ?in 6 standards, the description that XMLSchema file is detailed the grammer of SCL,Therefore, how based on CIM/E language, IEC61850SCLSchema file to be described again,Realize CIM/E language description transformer station model and transformer station's end and dispatching terminal model and merge, beThe current problem that needs solution.
Summary of the invention
The object of the invention is in order to overcome in prior art also not by CIM/E language pairThe method that IEC61850SCLSchema file is described again, has hindered the automation of transformation substationsThe problem of system and dispatching patcher integral fusion. The present invention set forth based on CIM/E'sThe describing method of IEC61850 model file, CIM/E language description efficiency is higher, its descriptionTransformer station model IEC61850 model file can effectively dwindle file volume, thereby furtherImprove the treatment effeciency of computer, and, be convenient to user and understand, be electric substation automation systemProvide new approaches with dispatching patcher integral fusion, have a good application prospect.
To achieve the above object, the technical solution adopted in the present invention is:
A describing method for IEC61850 model file based on CIM/E, is characterized in that:Adopt the class template of CIM/E language to carry out the SCLSchema file in IEC61850 modelDescribe again, comprise the following steps,
Step (1), obtains the interior information communication class defining of SCLSchema file, once establishesStandby class, intelligent electronic device class, all kinds of uml class figure of data type template class;
Whether step (2), contain entity class in each uml class figure that judgement is obtained respectively, ifDo not contain, finish describing again this uml class figure; Otherwise, find out in this uml class figureEntity class, determine the structural hierarchical relation between entity class, generate relevant structured flowchart,And execution step (3);
Step (3), the structured flowchart obtaining according to step (2), to the son in structured flowchartEntity class increases parentRID properties point his father entity class;
Step (4), analysis entities class in its corresponding uml class figure with the relation of base class,Judge entity class inherit base class in whether contain attribute, if contain attribute, the genus of base classProperty is added in entity class, and uses the class template definition format of CIM/E language to carry out it againDescribe; Otherwise, analysis entities class self whether contain attribute, execution step (5);
Step (5), if entity class self contains attribute, is used the class template of CIM/E languageDefinition format adds description to its attribute; If entity class self does not contain attribute, and it continuesThe base class holding does not contain attribute yet, does not pass through the class template definition format of CIM/E language to thisEntity class is described again;
Step (6), by step (2) ?step (5) all kinds of uml class figure are retouched againState, form the SCLSchema file in the IEC61850 model based on CIM/E language description.
The describing method of the aforesaid IEC61850 model file based on CIM/E, its feature existsIn: all kinds of uml class figure that step (1) is obtained can reflect the various types of of SCL language descriptionRelevant information, comprise class title, generic attribute information, class inheritance, class syntagmatic,Class members's number.
The describing method of the aforesaid IEC61850 model file based on CIM/E, its feature existsIn: step (2), in each uml class figure that judgement is obtained respectively, whether contain entity class, sentenceRule is not that the class of pointing at uml class figure hollow core triangle is base class, otherwise is entity class.
The describing method of the aforesaid IEC61850 model file based on CIM/E, its feature existsIn: step (4) adds the attribute of base class in entity class to, and uses CIM/E languageClass template definition format is described it again.
In described definition format, className is the title of described SCL entity class, and adoptsEach attribute of SCL entity language class is described by horizontal table mode, comprise Property Name,Chinese name, data type, whether must use, five labels of default value;
In described definition format, first attribute is mRID, has global uniqueness, in order to generationShow whole entity class, all the other attributes, by the order defining in SCL language, in self-defined realityIn body class description form, adopt a line to represent, for the object member of entity class, underIn the class template of one level, represent, and represent its parent by definite parentRID attribute.
The invention has the beneficial effects as follows: 1) CIM/E language description efficiency is higher, its descriptionTransformer station model IEC61850 model file can effectively dwindle file volume, thereby furtherImprove the treatment effeciency of computer;
2) CIM/E language description mode is more simple and meet people's reading habit, solvesComplicated, elusive the asking of SCLSchema file in original IEC61850 model statementTopic;
3) adopt CIM/E language description IEC61850SCLSchema file, for realizing CIM/ELanguage description transformer station model provides relevant template file, and then realizes transformer station's end and schedulingEnd model merges creates a kind of new thinking.
Brief description of the drawings
Fig. 1 is the describing method of the IEC61850 model file based on CIM/E of the present inventionOverall flow figure.
Fig. 2 is the describing method of the IEC61850 model file based on CIM/E of the present inventionOperation logic flow chart.
Fig. 3 be IEC61850 of the present invention ?the UML structure of communication class part in 6 master patternsFigure.
Fig. 4 be IEC61850 of the present invention ?the structured flowchart of communication class part in 6 master patterns.
Detailed description of the invention
Below in conjunction with Figure of description, the present invention is further illustrated.
In prior art, SCLSchema file in IEC61850 model, fixed by SCL languageJustice tetrameric information, communication class (Communication), primary equipment class(Substation), intelligent electronic device class (IED), data type template class(DataTypeTemplate), as shown in Figure 1, the present invention is based on the IEC61850 of CIM/EThe describing method of model file, and utilize the class template form of CIM/E language definition to carry out itDescribe again, thus the IEC61850SCLSchema class template literary composition of generation CIM/E language performancePart, as shown in Figure 2, specifically comprises the following steps,
Step (1), obtains the interior information communication class defining of SCLSchema file, once establishesStandby class, intelligent electronic device class, all kinds of uml class figure of data type template class, that obtains is eachClass uml class figure can reflect the various types of relevant information of SCL language description, comprises class nameTitle, generic attribute information, class inheritance, class syntagmatic, class members's number;
Whether step (2), contain entity class in each uml class figure that judgement is obtained respectively, ifDo not contain, finish describing again this uml class figure; Otherwise, find out in this uml class figureEntity class, determine the structural hierarchical relation between entity class, generate relevant structured flowchart,And execution step (3), decision rule is that the class of pointing at uml class figure hollow core triangle isBase class, otherwise be entity class;
Step (3), the structured flowchart obtaining according to step (2), to the son in structured flowchartEntity class increases parentRID properties point his father entity class;
Step (4), analysis entities class in its corresponding uml class figure with the relation of base class,Judge entity class inherit base class in whether contain attribute, if contain attribute, the genus of base classProperty is added in entity class, and uses the class template definition format of CIM/E language to carry out it againDescribe; Otherwise, analysis entities class self whether contain attribute, execution step (5);
The attribute of base class is added in entity class, and use the class template definition of CIM/E languageForm is described it again, and concrete form is as follows:
In described definition format, className is the title of described SCL entity class, and adoptsEach attribute of SCL entity language class is described by horizontal table mode, comprise Property Name,Chinese name, data type, whether must use, five labels of default value;
In described definition format, first attribute is mRID, has global uniqueness, in order to generationShow whole entity class, all the other attributes, by the order defining in SCL language, in self-defined realityIn body class description form, adopt a line to represent, for the object member of entity class, underIn the class template of one level, represent, and represent its parent by definite parentRID attribute;
Step (5), if entity class self contains attribute, is used the class template of CIM/E languageDefinition format adds description to its attribute; If entity class self does not contain attribute, and it continuesThe base class holding does not contain attribute yet, does not pass through the class template definition format of CIM/E language to thisEntity class is described again;
Step (6), by step (2) ?step (5) all kinds of uml class figure are retouched againState, form the SCLSchema file in the IEC61850 model based on CIM/E language description.
Be illustrated in figure 3 communication class in IEC61850-6 standard (Communication) portionPoint UML structure chart, all class objects definition that communication class contains and they have been described in figureBetween hierarchical structure relation, below taking this figure as example, adopt the present invention describe method, rightIts class template based on CIM/E language is described again, is illustrated in figure 4 communication class(Communication) structured flowchart of part, the method that adopts the present invention to describe, to figure3 carry out entity class analysis, thereby obtain this structured flowchart.
Obtain the class template form of communication class based on CIM/E language description calmly in conjunction with Fig. 3 and Fig. 4It is adopted as shown in table 1-table 10,
Table 1tCommunication class template
Table 2tSubNetwork class template
Table 3tConnectedAP class template
Table 4tAddress class template
Because Address class does not have attribute, and there is no the base class attribute of inheriting, so it is not set up to template class.
Table 5tGSE class
Table 6tSMV class
Table 7tP class
Table 8tPhysConn class
Table 9tBitRateInMbPerSec class
Table 10tDurationInMilliSec class
In sum, retouching of the IEC61850 model file based on CIM/E that the present invention sets forthState method, have the following advantages,
1) CIM/E language description efficiency is higher, the transformer station model IEC61850 mould of its descriptionType file can effectively dwindle file volume, thereby further improves the treatment effeciency of computer;
2) CIM/E language description mode is more simple and meet people's reading habit, solvesComplicated, elusive the asking of SCLSchema file in original IEC61850 model statementTopic;
3) adopt CIM/E language description IEC61850SCLSchema file, for realizing CIM/ELanguage description transformer station model provides relevant template file, and then realizes transformer station's end and schedulingEnd model merges creates a kind of new thinking.
More than show and described general principle of the present invention, principal character and advantage. The industryTechnical staff should understand, the present invention is not restricted to the described embodiments, above-described embodiment andThat in description, describes just illustrates principle of the present invention, is not departing from spirit and scope of the inventionPrerequisite under, the present invention also has various changes and modifications, these changes and improvements all fall into wantAsk in the scope of the invention of protection. The claimed scope of the present invention by appending claims andIts equivalent defines.