Summary of the invention
For overcoming the deficiency that above-mentioned prior art exists, the invention provides the correlating method of a kind of intelligent substation primary connection figure and electrical secondary system logic connectivity diagram, it can solve the allocation problem of measurement parameter and switch parameter in main wiring diagram, set up first and second device data technology of closed loop system, and realize the high visual association analysis debug function of intelligent station based on this.
The present invention solves the technical scheme that its technical problem takes:
The correlating method of intelligent substation primary connection figure and electrical secondary system logic connectivity diagram, is characterized in that, comprises following process:
Set up the electrical secondary system model of transformer station: resolve the electrical secondary system Back ground Information that SCD configuration file obtains transformer station, and set up the electrical secondary system model of transformer station;
Set up the primary system model of transformer station: the primary system model setting up the transformer station corresponding with described electrical secondary system model;
Primary system model is associated with electrical secondary system model: IED equipment is carried out level division, and the data set in primary system parameter and electrical secondary system IED is carried out man-to-man parameter and passage configures;
Show the Substation Bus Arrangement figure after association: on the basis that primary system model is set up, carry out simulation operations, show the Substation Bus Arrangement figure after association electrical secondary system model.
Further, the process of the electrical secondary system Back ground Information of described acquisition transformer station is: utilize VTD-XML technology to resolve SCD configuration file, by logical device relevant with information flow in SCD configuration file, logical node, data object and data attribute parameter be the IEC61850 model extraction of representative out, and all the elements of parsing are stored in interim memory database, be put in different list structures, as the basic data analyzed according to the element category after resolving.
Further, the described process setting up the electrical secondary system model of transformer station comprises the following steps:
1) SCD configuration file is read: read in internal memory in a binary fashion by SCD configuration file by VTD technology, and record the positional information of each node;
2) SCD configuration file is resolved: by VTD technology, the different types of information in SCD configuration file is resolved, read out content according to positional information, be finally saved in interim memory database;
3) intellectual analysis is carried out to analysis result: first all resolve complete by all the elements of configuration file and be stored into after in memory database, then by the data in multithreading traversal memory database, and find related information according to analytic attribute, finally by analyze after outcome record in Service Database;
4) electrical secondary system model is carried out visual presenting: be finally presented on the page by electrical secondary system model by visualization tool, show that network diagram and JUNG show that logic diagram shows correlation attribute information and the incidence relation of electrical secondary system by SVG.
Further, the described process setting up the primary system model of transformer station comprises the following steps:
1) draw primary system winding diagram: adopt SVG substantially to become figure principle, carry out reduction to primary equipment by interval division and draw, described primary equipment at least comprises switch, bus, disconnecting link and circuit breaker;
2) primary equipment parameter is configured: the parameter of substation's once equipment is configured;
3) associated configuration file is generated: with order from small to large, calculated data file .DID is generated to board number and channel number, to supply a model support and basis to electrical network real-time simulation ADPSS system, ADPSS system can generate information about power under the normal or failure condition of all kinds of primary equipment of analogue simulation and status information of equipment;
4) primary system model is carried out visual presentation: on-the-spot primary equipment main wiring diagram drawn by the drawing instrument that use system provides, and contrast transforming plant primary system wiring figure, draw certain interval, expand network configuration by bus and main wiring diagram and Unified Model are got up.
Further, the process of described drafting primary system winding diagram comprises the following steps:
11) spacer structure is set in editing interface, this interval is named according to actual name, and create interval information account in a database;
12) in interval, draw primary equipment pel, these pels are named according to actual name, and create the information account of respective electric primary equipment in a database.
Further, described primary equipment comprises:
(1) switchgear (Switch): one is used for disconnecting or the common apparatus of closed (or both possessing) one or more circuit, attribute typeName is used to indicate database switch and does not represent a corresponding actual device, and the demand being only used to modeling is introduced;
(2) circuit breaker (Breaker): a kind of mechanical switch equipment, can connect under normal circuit condition, carry and cut off electric current, also can under the abnormal circuit condition of specifying, attribute typeName is the type of circuit breaker, as oil switch, air switch, vacuum switch, sulphur hexafloride circuit breaker;
(3) isolating switch (Disconnector): a kind of manual or electronic mechanical switching devices, for changing circuit connection or from certain circuit of isolated from power or equipment, requiring when disconnection or closed circuit its only to disconnect or closed insignificant electric current;
(4) bus section, busbar section (BusbarSection): bus section, busbar section is the conductor that or a group can ignore impedance, for connecting other conductive equipment in a transformer station, voltage measurement is normally obtained by the voltage transformer being connected to bus section, busbar section, a bus section, busbar section can have a lot of physical endpoint, but only simulate by a logical endpoints when analyzing, attribute typeName indicates the type of bus section, busbar section, as main bus bar, hospital bus bar;
(5) remote control (Command): remote control is used for the control of remote signalling amount, base class: Control;
(6) remote signalling (Discrete): remote signalling represents that remote signalling measures, base class: Measurment.
Further, the process of the on-the-spot primary equipment main wiring diagram of described drafting comprises the following steps:
1) adopt the pel that primary equipment is provided in electric primitive, certain primary equipment is connected with other primary equipment, then the interval ownership of this kind of primary equipment is set;
2) carry out setup of attribute to this kind of primary equipment, setup of attribute comprises the setting of title, parameter type and parameter;
3) generate the associated configuration file of this kind of primary equipment, ADPSS system calculates primary system model, and secondary device data and this kind of primary equipment degree of depth are merged formation entirety.
Further, the process of IED equipment being carried out level division is divided IED equipment by the level of similar tree structure " IED-accessing points (AP)-logical device (LD)-data set (DataSet) ".
Further, primary system model is associated with electrical secondary system model with the configuration of switch parameter by measurement parameter, the configuration of described measurement parameter is associated the electric current of switch, passage that voltage is corresponding with merge cells, namely associates the carrying out of measuring amount; The configuration of described switch parameter is associated by GOOSE terminal corresponding with intelligent terminal to the corresponding GOOSE terminal of the GOOSE input variable of switch and proterctive equipment, GOOSE output variable, and namely the carrying out of switch amount associates.
Further, the association process of described primary system model and electrical secondary system model comprises the following steps:
1) associate the measurement parameter of primary system and electrical secondary system: the relation configuring the output variable of merge cells and primary equipment, the electric current of switch, passage that voltage is corresponding with merge cells are associated;
The measurement parameter of described association primary system and electrical secondary system comprises specified time delay, zero-sequence current, three-phase current voltage, synchronous voltage and gap current, and the specified time delay in merge cells, zero-sequence current can depart from model element, indirect assignment; Output parameter value in merge cells reading model element, the three-phase output current instantaneous value taking away pass is as current value, and the instantaneous voltage taking away the connected bus in pass, as magnitude of voltage, gets the phase sequence of Switch Three-Phase, phase place, magnitude of voltage as synchronous voltage value; From the angle of transformer merge cells, directly to gap current assignment;
2) switch parameter of primary system and electrical secondary system is associated: the GOOSE terminal of configuration protection equipment or intelligent terminal and the GOOSE of switch inputs, the relation of output variable.
Beneficial effect of the present invention is as follows:
The present invention is by carrying out intelligently parsing to SCD configuration file, according to electric pressure, the division at interval has been carried out to secondary model, for in the corresponding interval of primary connection circuit figure, first and second system relationship carries out providing convenient when IED selects, in SCD configuration file, the model of each IED is described in strict accordance with the definition about model content in IEC61850 simultaneously, ensure that in model the full detail comprised completely required for corresponding primary equipment.
The existing model set up then is used for reference in the drafting of the present invention's model and main wiring diagram, draw each element in main wiring diagram process to divide according to interval, in convenient and same interval, secondary model mates, when carrying out optimum configurations selection IED equipment in interval, primary connection figure interface, system lists the IED equipment relevant with this interval automatically.In primary connection circuit figure drawing process, the division at interval and secondary IED model carry out the division at interval according to electric pressure, reduce the scope of the selected IED equipment of association pairing greatly, substantially increase the speed of first and second system relationship, what association process was become is more efficient and succinct.
The present invention adopts intelligent substation primary connection figure to combine and the technology associated with electrical secondary system logic connectivity diagram, be intended to the allocation problem solving measurement parameter and switch parameter in main wiring diagram, by the model interaction technology of distinctive modeling configuring technical and an electrical secondary system, set up the passage that a pel and secondary model carry out information interaction, the switching value of primary equipment, digital quantity, show in electric simulation amount and the seamless electrical secondary system logic connectivity diagram included in based on IEC61850 model configuration SCD file in station of non-electrical analog signals, thus set up a secondary device data technology of closed loop system, and realize the high visual association analysis debug function of intelligent station based on this.The present invention describes by adopting standardized IEC61850 model and system the contact determined between physical unit, make full use of the advantage that IEC61850 model brings, and need not be that loaded down with trivial details terminal connects puzzlement, the integrated configuration effort of simplified intelligent substation project, reduces the workload of system configuration.
The present invention obtains whole transformer station secondary system Back ground Information by resolving SCD configuration file, corresponding intelligent substation primary system model is set up in specific emulation platform, divided by the level of IED equipment being carried out similar tree structure " IED-accessing points (AP)-logical device (LD)-data set (DataSet) ", the data set in corresponding for primary equipment electric parameters, switching value and other parameters and secondary device IED is carried out man-to-man parameter and passage configures.On the renewal basis realizing process primary equipment data in real time, equally real-time calculating, transmission and display are carried out to the data of network simulation function.User to be carried out point switch on network connection figure by network simulation, closing operation.Change the parameter of the electric equipment such as circuit, transformer, change service data (pivot point voltage, payload, reactive power compensation are exerted oneself), simulate various network running mode.After adopting first and second model interaction technology implementation model association, system carries out fault simulation simulation to primary system, carry out the conversion of secondary message by IEC61850 stipulations, switching value, electric parameters and warning information can show refreshing in real time on primary system model.
Embodiment
For clearly demonstrating the technical characterstic of this programme, below by embodiment, and in conjunction with its accompanying drawing, the present invention will be described in detail.Disclosing hereafter provides many different embodiments or example is used for realizing different structure of the present invention.Of the present invention open in order to simplify, hereinafter the parts of specific examples and setting are described.In addition, the present invention can in different example repeat reference numerals and/or letter.This repetition is to simplify and clearly object, itself does not indicate the relation between discussed various embodiment and/or setting.It should be noted that parts illustrated in the accompanying drawings are not necessarily drawn in proportion.Present invention omits the description of known assemblies and treatment technology and process to avoid unnecessarily limiting the present invention.
As shown in Figure 1, the correlating method of a kind of intelligent substation primary connection figure of the present invention and electrical secondary system logic connectivity diagram, it comprises following process:
Set up the electrical secondary system model of transformer station: resolve the electrical secondary system Back ground Information that SCD configuration file obtains transformer station, and set up the electrical secondary system model of transformer station;
Set up the primary system model of transformer station: the primary system model setting up the transformer station corresponding with described electrical secondary system model;
Primary system model is associated with electrical secondary system model: by the level of similar tree structure " IED-accessing points (AP)-logical device (LD)-data set (DataSet) ", IED equipment is carried out level division, and the data set in primary system parameter and electrical secondary system IED is carried out man-to-man parameter and passage configures;
Show the Substation Bus Arrangement figure after association: on the basis that primary system model is set up, carry out simulation operations, show the Substation Bus Arrangement figure after association electrical secondary system model.
The process of the electrical secondary system Back ground Information of described acquisition transformer station is: utilize VTD-XML technology to resolve SCD configuration file, by logical device relevant with information flow in SCD configuration file, logical node, data object and data attribute parameter be the IEC61850 model extraction of representative out, and all the elements of parsing are stored in interim memory database, be put in different list structures, as the basic data analyzed according to the element category after resolving.
As shown in Figure 2, the process setting up the electrical secondary system model of transformer station of the present invention comprises the following steps:
1) SCD configuration file is read: read in internal memory in a binary fashion by SCD configuration file by VTD technology, and record the positional information of each node;
2) SCD configuration file is resolved: by VTD technology, the different types of information in SCD configuration file is resolved, read out content according to positional information, be finally saved in interim memory database;
3) intellectual analysis is carried out to analysis result: first all resolve complete by all the elements of configuration file and be stored into after in memory database, then by the data in multithreading traversal memory database, and find related information according to analytic attribute, finally by analyze after outcome record in Service Database;
4) electrical secondary system model is carried out visual presenting: be finally presented on the page by electrical secondary system model by visualization tool, show that network diagram and JUNG show that logic diagram shows correlation attribute information and the incidence relation of electrical secondary system by SVG.
As shown in Figure 3, the process setting up the primary system model of transformer station of the present invention comprises the following steps:
1) draw primary system winding diagram: adopt SVG substantially to become figure principle, carry out reduction to primary equipment by interval division and draw, described primary equipment at least comprises switch, bus, disconnecting link and circuit breaker; The process of described drafting primary system winding diagram comprises the following steps:
11) spacer structure is set in editing interface, this interval is named according to actual name, and create interval information account in a database;
12) in interval, draw primary equipment pel, these pels are named according to actual name, and create the information account of respective electric primary equipment in a database.
2) primary equipment parameter is configured: the parameter of substation's once equipment is configured; Described primary equipment comprises:
(1) switchgear (Switch): one is used for disconnecting or the common apparatus of closed (or both possessing) one or more circuit, attribute typeName is used to indicate database switch and does not represent a corresponding actual device, and the demand being only used to modeling is introduced;
(2) circuit breaker (Breaker): a kind of mechanical switch equipment, can connect under normal circuit condition, carry and cut off electric current, also can under the abnormal circuit condition of specifying, attribute typeName is the type of circuit breaker, as oil switch, air switch, vacuum switch, sulphur hexafloride circuit breaker;
(3) isolating switch (Disconnector): a kind of manual or electronic mechanical switching devices, for changing circuit connection or from certain circuit of isolated from power or equipment, requiring when disconnection or closed circuit its only to disconnect or closed insignificant electric current;
(4) bus section, busbar section (BusbarSection): bus section, busbar section is the conductor that or a group can ignore impedance, for connecting other conductive equipment in a transformer station, voltage measurement is normally obtained by the voltage transformer being connected to bus section, busbar section, a bus section, busbar section can have a lot of physical endpoint, but only simulate by a logical endpoints when analyzing, attribute typeName indicates the type of bus section, busbar section, as main bus bar, hospital bus bar;
(5) remote control (Command): remote control is used for the control of remote signalling amount, base class: Control;
(6) remote signalling (Discrete): remote signalling represents that remote signalling measures, base class: Measurment.
3) associated configuration file is generated: with order from small to large, calculated data file .DID is generated to board number and channel number; to supply a model support and basis to electrical network real-time simulation ADPSS system, ADPSS system can generate information about power under the normal or failure condition of all kinds of primary equipment of analogue simulation and status information of equipment.The genesis sequence of calculated data file .DID follows following rule: first select minimum plate card number: with the minimum-> longer spread of channel number; Select larger board number again: with the minimum-> longer spread of channel number; Calculated data file .DID for calproc and didproc program, for describing the variable corresponding relation between calproc and didproc.This file is global profile, and namely all calproc and didproc read in same file.For calproc, under this file is placed on WholeNet catalogue; For didproc, under this file is placed on DID catalogue.
4) primary system model is carried out visual presentation: on-the-spot primary equipment main wiring diagram drawn by the drawing instrument that use system provides, and contrast transforming plant primary system wiring figure, draw certain interval, expand network configuration by bus and main wiring diagram and Unified Model are got up.
As shown in Figure 4, the process of the on-the-spot primary equipment main wiring diagram of drafting of the present invention comprises the following steps:
1) adopt the pel that primary equipment is provided in electric primitive, certain primary equipment is connected with other primary equipment, then the interval ownership of this kind of primary equipment is set;
2) carry out setup of attribute to this kind of primary equipment, setup of attribute comprises the setting of title, parameter type and parameter;
3) generate the associated configuration file of this kind of primary equipment, ADPSS system calculates primary system model, and secondary device data and this kind of primary equipment degree of depth are merged formation entirety.
For switch _ ML2205A, then the detailed process of drawing on-the-spot primary equipment main wiring diagram is: first: the pel electrically providing primary equipment in primitive, and supports self-defined.This switch is connected with rlc circuit assembly and bus 220 assembly, then the interval ownership of switch is set, i.e. interval 220kV siding 219; Second: setup of attribute is carried out to switch _ ML2205A, comprise switch names, parameter type, optimum configurations (reference capacity, reference voltage, internal resistance, initial condition, disconnect mode etc.); 3rd: after modeling completes, system generates associated configuration file, and ADPSS system calculates model, and secondary device data and the breaker body degree of depth merge formation entirety, make circuit breaker possess the function of comprehensive on-line monitoring and automatic alarm.
Associated with electrical secondary system model by primary system model with the configuration of switch parameter by measurement parameter, the configuration of described measurement parameter is associated the electric current of switch, passage that voltage is corresponding with merge cells, namely associates the carrying out of measuring amount; The configuration of described switch parameter is associated by GOOSE terminal corresponding with intelligent terminal to the corresponding GOOSE terminal of the GOOSE input variable of switch and proterctive equipment, GOOSE output variable, and namely the carrying out of switch amount associates.
The association process of described primary system model and electrical secondary system model comprises the following steps:
1) associate the measurement parameter of primary system and electrical secondary system: the relation configuring the output variable of merge cells and primary equipment, the electric current of switch, passage that voltage is corresponding with merge cells are associated;
The measurement parameter of described association primary system and electrical secondary system comprises specified time delay, zero-sequence current, three-phase current voltage, synchronous voltage and gap current, and the specified time delay in merge cells, zero-sequence current can depart from model element, indirect assignment; Output parameter value in merge cells reading model element, the three-phase output current instantaneous value taking away pass is as current value, and the instantaneous voltage taking away the connected bus in pass, as magnitude of voltage, gets the phase sequence of Switch Three-Phase, phase place, magnitude of voltage as synchronous voltage value; From the angle of transformer merge cells, directly to gap current assignment;
2) switch parameter of primary system and electrical secondary system is associated: the GOOSE terminal of configuration protection equipment or intelligent terminal and the GOOSE of switch inputs, the relation of output variable.
First the present invention carries out resolving the electrical secondary system logic connectivity diagram obtaining dividing according to interval for intelligent substation IEC61850SCD configuration file, set up transforming plant primary system model based on SVG technology, this model is set up according to interval equally; Next carries out measurement parameter configuration, the electric current of switch, passage that voltage is corresponding with merge cells is associated; Then carry out switch parameter configuration, GOOSE terminal corresponding with intelligent terminal to the corresponding GOOSE terminal of the GOOSE input variable of switch and proterctive equipment, GOOSE output variable is associated; Finally generate main wiring diagram in the station after association.
Below measuring amount is described in detail with associating of switching value.
One, the association of measuring amount:
Analyze existing SCD, by the Data induction that merge cells sends be: specified time delay, zero-sequence current, three-phase current voltage, synchronous voltage, gap current.
Specified time delay in merge cells, zero-sequence current can depart from model element, indirect assignment;
Output parameter value in merge cells reading model element, the three-phase output current instantaneous value taking away pass is as current value, and the instantaneous voltage taking away the connected bus in pass, as magnitude of voltage, gets the phase sequence of Switch Three-Phase, phase place, magnitude of voltage as synchronous voltage value;
From the angle of transformer merge cells, directly to gap current assignment.
The relation of output variable of configuration merge cells and primary equipment, associates the electric current of switch, passage that voltage is corresponding with merge cells.Its cardinal principle is as follows:
From smv_base, filter out the DA (except daName=t/q) under this merge cells, show in lists according to smv_id, seq ascending order.
Power taking flow valuve from the switch in interval.Judge the corresponding relation of three-phase current according to merge cells SV data centralization DA description and DO title, take away pass A phase i and hold output current to associate with current value DA.Use electric current and voltage phase-splitting interpretation algorithm herein.What start with " Amp " containing " electric current " printed words or doName in description is electric current, and what start with " Vol " containing " voltage " printed words or doName is voltage; Describe and DO name in, the corresponding A containing A/B/C letter/B/C phase.
According to the topological relation of a model, search it and hold with i the bus be connected, get this bus A phase and export transient voltage and associate with magnitude of voltage DA.
After the measurement parameter information of configuration being associated with primary equipment output variable optional in present interval, sampled value parameter is saved in jaxb_smv_baseda table, and switch parameter is saved in jaxb_gse_baseda table, and interval information is saved in jaxb_bay table.
Two, the association of switching value:
Position of the switch information is gathered by intelligent terminal, sends to the protection and measurement and control device in present interval.An intelligent terminal gathers the positional information of a switch or multiple disconnecting link, and the information of these switches, disconnecting link is sent by the data set of non-quantitative.
Primary system obtains position of the switch information, need to subscribe to the GOOSE data set of resolving the on off state that intelligent terminal sends, and data centralization DA is associated with the upper of switch, switch is supported single-phase when separately controlling, different DA is associated with switch ABC each single-phase on.
The description of switch and disconnecting link two model logic nodes (LN) is the data set of XCBR and XSWI respectively.By logical node in each mounted cast in parsing SCD, and screen logical node, extract the logical node of switch and disconnecting link and show with tabular form, the parameter of a corresponding switch is mated.
The present invention is by first and second system model association, get through the information channel of a pel and secondary model, and lay the foundation for system emulation, XML super large document analysis and SCD fast can be realized by JAXB and VTD-XML technology to resolve simultaneously, and realize high visual automatic mapping function based on the software algorithm of the association search of graph theory simultaneously.High visual intelligent transformer station secondary system can be shown in conjunction with two kinds of technology, automatically system diagram, logic connectivity diagram is presented, the actual conditions at combined with intelligent station are modified to automatic mapping content, are adjusted, meet on-site actual situations and friendly be presented to user, achieving figure, storehouse, mould integration.Can take over seamlessly between each layer, be presented by invisible between IED, impalpable communication process with the form of " virtual secondary circuit ", critical event simultaneously dynamically represents with the visual form of height.
The above is the preferred embodiment of the present invention, and for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications are also regarded as protection scope of the present invention.