The content of the invention
It is an object of the invention to overcome deficiency of the prior art, there is provided a kind of secondary equipment in power system CIM-G marksQuasi- main wiring diagram generation method, solve secondary equipment in power system main wiring diagram in the prior art and engineering be present by manual creationThe technical problem that amount is big, error rate is high.
In order to solve the above technical problems, the technical solution adopted in the present invention is:Secondary equipment in power system CIM-G standardsMain wiring diagram generation method, comprises the following steps:
CIM-G standard main wiring diagrams are created according to the main wiring diagram of secondary equipment in power system and describe file;
Secondary equipment in power system, which loads and parses CIM-G standard main wiring diagrams, describes file, obtains the figure of main wiring diagram pelShape and Resource Properties information;
Secondary equipment in power system draws main wiring diagram according to the figure and Resource Properties information of pel.
The specific method that establishment CIM-G standard main wiring diagrams describe file is as follows:
The visualization main wiring diagram of secondary equipment in power system is drawn, by the figure element in main wiring diagram to practical power systemsSecondary device side resource, the main wiring diagram that establishment meets CIM-G standards describe file.
User Defined pel is supported when drawing the main wiring diagram of secondary equipment in power system by display plotting instrumentForm, User Defined pel refer to the pel of the different shape customized by any combination of basic drawing element;
The basic drawing element refers to basic drawing element specified in CIM-G standards.
Painted when secondary equipment in power system draws main wiring diagram according to the figure and Resource Properties information of pel using pagingThe method of system is drawn, and secondary equipment in power system, which provides, to be cut page, browses main wiring diagram mechanism to main wiring diagram progress pagingDisplaying.
The CIM-G standards main wiring diagram is described in file added with page figure segmentation picture extended attributes, power systemSecondary device carries out paging drafting according to picture extended attributes.
The CIM-G standards main wiring diagram describes to be added with resource associations Uid extended attributes in file, and power system is secondaryEquipment is according to Uid extended attribute real-time update pels state, management pel related resource.
Compared with prior art, the beneficial effect that is reached of the present invention is:By loading and parsing CIM-G standard main electrical schemesFigure description file carries out main wiring diagram drafting, reduces the workload of manual creation, reduces error rate;It is secondary in power systemCIM-G standards are introduced in equipment main wiring diagram, support efficiently access electric power graphs and model interaction data, support different system itBetween electric power graphs and model interaction data interaction;Main wiring diagram is drawn in paging, and page and Tabbed browsing are cut in support, not by man-machineInterface screen size limits, and can become apparent from comprehensively showing main wiring diagram overall picture;Support real-time update pel state, can managePel related resource is managed, renewal rate is high, and pel can accurately map with real resource object, resource can be entered by pelLine access.
Embodiment
Secondary equipment in power system of the present invention includes:Human machine interface plate, it is defeated for showing and receiving userEnter;Optional polylith CPU board:Including CPU protections module, CPU observing and controlling modules, to running protection and observing and controlling algorithm, supervise in real timeSurvey and protect etc.;CC plates, i.e. Control on Communication module, to monitor plurality of voltages current signal, to GOOSE(Towards general objectTransformer substation case)And SMV(Sampled value)Data are forwarded;ION plates, i.e. input and output module, for monitoring multichannel input,Produce signals output by multi-circuit relay.
The invention will be further described below in conjunction with the accompanying drawings.Following examples are only used for clearly illustrating the present inventionTechnical scheme, and can not be limited the scope of the invention with this.
As shown in figure 1, be the present invention flow chart, secondary equipment in power system CIM-G standard main wiring diagram generation methods,Comprise the following steps:
CIM-G standard main wiring diagrams are created according to the main wiring diagram of secondary equipment in power system and describe file, specific method is as follows:
The visualization main wiring diagram of secondary equipment in power system is drawn, by the figure element in main wiring diagram to practical power systemsSecondary device side resource,
According to《Q/GDW624-2011《Power system figure Description standard》And explanation of compilation(Rower revised edition)_2013》And《QGDW-11162-2014- monitoring system of electric substation graphical interfaces specifications》Professional standard create and meet the masters of CIM-G standards and connectLine chart describes file.
CIM-G standard main wiring diagrams describe the text that file is actually an xml form, and xml texts are onlyThe data for having main wiring diagram describe, and equipment carries out parsing data to this xml document, then draws out main electrical scheme according to dataFigure.CIM-G standard main wiring diagrams, which describe file, can also be created automatically on PC by writing code with manual creationBuild.
Except《Q/GDW624-2011《Power system figure Description standard》And explanation of compilation(Rower revised edition)_2013》Outside defined standard power systems figure, the present invention supports User Defined pel form, in CIM-G standards, all pelsOutward appearance basic drawing element all specified in CIM-G standards forms, and pel outward appearance has been described in detail in pel template fileForm information.User can customize the pel of different shape by any combination of basic drawing element, device in parsing andUsing basic drawing element as least unit when drawing pel, to reach the effect for supporting User Defined pel.
Secondary equipment in power system, which loads and parses CIM-G standard main wiring diagrams, describes file, obtains main wiring diagram pelFigure and Resource Properties information;
Secondary equipment in power system draws main wiring diagram according to the figure and Resource Properties information of pel.
Because human-computer interaction interface size is limited, complete main wiring diagram generally can not be shown, therefore the present invention is used and dividedThe method that page is drawn is drawn, and secondary equipment in power system, which provides, to be cut page, browses main wiring diagram mechanism to main wiring diagram progressPaging is shown.
Paging draw specific method be:Page figure segmentation picture is added in CIM-G standard main wiring diagrams describe fileExtended attribute, whole main wiring diagram is split, every width figure is adapted to the screen size of human-computer interaction interface, power trainSecondary device of uniting carries out paging drafting according to picture extended attributes, and main wiring diagram overall picture is shown finally by Pagination Display.
The resource that pel in main wiring diagram must be associated in secondary equipment in power system just possesses actual physical significance,The present invention, with reference to specific resource characteristic, file is described in CIM-G standard main wiring diagrams on the basis of CIM-G standards are followedMiddle addition resource associations Uid extended attributes, pel can accurately map with real resource object, resource can be entered by pelLine access;Secondary equipment in power system is according to Uid extended attribute real-time update pels state, management pel related resource.
Parsing CIM-G standard main wiring diagrams can record the Uid of each pel when describing file, go to find pair according to the UidThe resource points answered, then go to update pel state according to the state of resource to show.It equally can also be operated and connect by interface buttonsPel on line chart operates resource associated with it.Such as:One switch pel associates secondary equipment in power system by UidSome switch of management, if switch is the state of closure, switch pel just shows the state of closure, if switch is opened, thisShi Kaiguan pels just show the state of opening;By the dispaly state of this switch pel of interface operation, it can similarly change passThe opening and closing of the actual switch resource of connection.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the artFor member, without departing from the technical principles of the invention, some improvement and deformation can also be made, these are improved and deformationAlso it should be regarded as protection scope of the present invention.