CN104578424A - Power distribution automation terminal implementation method based on virtual protocol monitoring point synthesis - Google Patents
Power distribution automation terminal implementation method based on virtual protocol monitoring point synthesis Download PDFInfo
- Publication number
- CN104578424A CN104578424A CN201510032974.2A CN201510032974A CN104578424A CN 104578424 A CN104578424 A CN 104578424A CN 201510032974 A CN201510032974 A CN 201510032974A CN 104578424 A CN104578424 A CN 104578424A
- Authority
- CN
- China
- Prior art keywords
- virtual
- measuring point
- expression formula
- lua
- distribution
- 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.)
- Pending
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an implementation method for virtual protocol monitoring point synthesis. Synthetic calculation of a virtual monitoring point is achieved through a virtual protocol module based on script calculation. What is important is that conversion between an actual monitoring point and the virtual monitoring point is conducted through a virtual protocol, and a measuring point actually required by a distribution network master station or local monitoring is synthesized at a distribution network automation terminal according to the value or status of the actual monitoring point. The method at least includes the steps of synthesis, calculation and logical judgment of the virtual monitoring point. By means of the method, the demand of the distribution network master station for special complex data can be met; after data change, the value or status of a synthesized monitoring point is immediately calculated, so timeliness of the synthesized monitoring point can be guaranteed; meanwhile, because of introduction of the virtual protocol, systematic design is made to be simpler and more consistent.
Description
Technical field
The present invention relates to a kind of distribution power automation terminal data capture method, particularly a kind of in the electric power supervisory control implementation method of virtual stipulations measuring point synthesis.
Background technology
Along with improving constantly of distribution automation degree, the function of distribution main website becomes increasingly complex.In some application scenario, main station system requires the value of actual for some in distribution automation terminal measuring point to synthesize, and is used further to monitoring or the control of distribution automation system.Conventional method is the data first being gathered actual monitoring point by distribution automation terminal, also calculate required logic-state value or numerical value by hard coded synthesis in real time or realize this composite calulation function by main website, be then used for monitoring according to this logic-state value or numerical value or control.Conventional method, owing to being realized by hard coded, for the value needed for different detections or control, need carry out different codings, and very inconvenient during Update Table synthesis expression formula.
Summary of the invention
Goal of the invention: for above-mentioned prior art, a kind of distribution automation terminal implementation method based on virtual stipulations measuring point synthesis is proposed, can easily according to distribution main website actual monitored demand, by the real data collected of distribution automation terminal on request joint account obtain real time value or Real-time Logic state.
Technical scheme: a kind of distribution power automation terminal implementation method based on virtual stipulations measuring point synthesis, comprises the steps:
Step 1), the design of virtual measuring point calculation expression: first according to distribution main website in electric power system need set virtual measuring point, then set the graphics calculations expression formula of described virtual measuring point by the mode of figure, the variable of described graphics calculations expression formula is the collection value of corresponding monitoring point signal and/or control appliance signal in electric power system;
Step 2), virtual specification server utilize logic diagram instrument generate the Lua expression formula of described graphics calculations expression formula;
Step 3), the Lua script computing engines in virtual specification server calculates described Lua expression formula in real time, obtains real time value or the Real-time Logic state of virtual test point;
Step 4), the real time value that distribution power automation terminal calculates virtual measuring point by described or Real-time Logic state send to local monitor or distant place distribution main website.
Further, when virtual specification server detects that the variable of described graphics calculations expression formula changes, recalculate described Lua expression formula, upgrade real time value or the Real-time Logic state of virtual test point.
Further, described virtual specification server calculates all virtual measuring point real time value or Real-time Logic state by predetermined period.
Further, also comprise the actual needs according to distribution main station monitoring, by again downloading to described virtual specification server, according to the step that new calculation expression recalculates after graphical interfaces amendment calculation expression.
Further, before the Lua script computing engines in virtual specification server calculates described Lua expression formula in real time, also comprise and utilize Lua script engine to carry out the step of grammer checking to the calculation expression that graphical interfaces generates.Also comprise the grammer verification step of measuring point expression formula.
Beneficial effect: in electric power system, the information that distribution main website needs cannot directly provide itself, often needs just can obtain these data by certain computing.A kind of distribution automation terminal implementation method based on virtual stipulations measuring point synthesis that the present invention proposes, first according to distribution main website demand, the measuring point of distribution main station monitoring actual needs is substituted by setting virtual measuring point, adopt the graphics calculations expression formula graphically setting virtual measuring point, namely the expression formula of multiple image data joint account is set according to the actual requirements, then on virtual specification server, utilize logic diagram instrument to generate the Lua expression formula of graphics calculations expression formula, described Lua expression formula is calculated in real time finally by Lua script computing engines on virtual specification server, real time value or the Real-time Logic state of virtual test point can be obtained.
The mode that the calculation expression of virtual measuring point is defined by figure sets, signals collecting value on electric device can be selected in graphical interfaces as the variable in calculation expression, the method of the calculation expression of off-line definition synthesis measuring point has very high intuitive relative to hard coded, when according to actual needs when synthesizing in measuring point the new measuring point needing to add existence contact, the staff that can make completes the amendment of calculation expression faster, eliminates in conventional method the tedious steps revising code.Meanwhile, the calculation expression of synthesis can not only complete simple addition subtraction multiplication and division and logical operation, also wants to complete complicated mathematical functional operation.Virtual specification server utilizes logic diagram instrument generate the Lua expression formula of graphics calculations expression formula, and adopt Lua script computing engines to calculate described Lua expression formula in real time.Lua script is a small and exquisite script, has expansion and customization function flexibly, its not only can test simply add, subtract, multiplication and division, with or, non-and xor operation, also can perform complicated function operation.Lua is write by standard C and forms, thus the inventive method almost can be compiled and run in all operations system and platform.
Virtual stipulations can periodically calculate the expression formula of virtual measuring point, the real-time value of virtual measuring point can be calculated immediately after the data participating in calculating in virtual measuring point expression formula change, allow local monitor or distant place main station monitoring obtain rapidly numerical value or the logic state of virtual measuring point.Virtual stipulations can the value of all virtual measuring points of computation of Period or state, ensures the correctness of virtual measuring point.
Accompanying drawing explanation
Fig. 1 is fundamental diagram of the present invention;
Fig. 2 is the graphics calculations expression formula of the embodiment of the present invention 1;
Fig. 3 is the graphics calculations expression formula of the embodiment of the present invention 2;
Fig. 4 is the graphics calculations expression formula of the embodiment of the present invention 3.
Embodiment
Below in conjunction with accompanying drawing the present invention done and further explain.
Embodiment 1: in some cases, distribution automation terminal passes through the real time information of remote measurement or state-signal collection many circuits simultaneously, when after certain circuit or a few line failures, distribution main website only needs the line conditions going to understand the management of current distribution network terminal with the measuring point of a total line fault.Suppose there are four circuits, so total line fault by four line faults by or computing calculate.First the present embodiment sets the graphics calculations expression formula of virtual measuring point by the mode of figure, as shown in Figure 2, and wherein virtual test point and above-mentioned total line fault test point.The calculation expression that Fig. 2 is corresponding is: total line fault=line fault 1| line fault 2| line fault 3| line fault 4.Then, virtual specification server utilizes logic diagram instrument generate the Lua expression formula of graphics calculations expression formula, and utilize Lua script engine to carry out grammer checking to the calculation expression that graphical interfaces generates.Lua script computing engines in virtual specification server calculates Lua expression formula in real time, and obtain the Real-time Logic state of virtual test point, namely this Real-time Logic state reacts the state of total line fault.The Real-time Logic state obtaining virtual measuring point is sent to local monitor or distant place distribution main website by the virtual specification server be based upon on distribution power automation terminal.
In the present embodiment, when after arbitrary line fault generation in four circuits or failure vanishes, virtual specification server all can recalculate described Lua expression formula, namely the state value of total line fault is recalculated, when the total line malfunction after calculating changes, virtual stipulations can notify system in time, and the state of total line fault is sent to distribution main website by by telecontrol communication stipulations by virtual specification server namely on distribution automation terminal in time.Virtual specification server calculates all virtual measuring point real time value or Real-time Logic state by predetermined period.
Embodiment 2: in electrical power distribution automatization system, sometimes in order to obtain the state of a switch more accurately, need point position state and the co-bit state that gather this switch simultaneously, determined the virtual condition of a switch by point position state and co-bit state, this state generally represents by two point information.The value of two point information can be 0,1,2 and 3,0 expression Status unknown, and 1 represents a point position, and 2 represent co-bits, and 3 represent mistakes.When switch divides, a state is 1, switch co-bit state represents that switch is in a point state when being 0; When switch divides a state to be 0, when switch co-bit state is 1, represent that switch is in and state.In the present embodiment, first arrange virtual test point on off state, set the graphics calculations expression formula of virtual measuring point by the mode of figure, as shown in Figure 3, this expression formula can complete the synthesis of dibit remote signalling.The calculation expression that Fig. 3 is corresponding is: switch dibit remote signalling=switch divides a state+(switch co-bit state > > 1).Then, virtual specification server utilizes logic diagram instrument generate the Lua expression formula of graphics calculations expression formula, and utilize Lua script engine to carry out grammer checking to the calculation expression that graphical interfaces generates.Lua script computing engines in virtual specification server calculates Lua expression formula in real time, obtains the Real-time Logic state of virtual test point, the virtual condition of this Real-time Logic state and anti-switch.The real time value or Real-time Logic state that obtain virtual measuring point are sent to local monitor or distant place distribution main website by the virtual specification server be based upon on distribution power automation terminal.The virtual specification server be based upon on distribution power automation terminal calculates all this virtual measuring point real time value or Real-time Logic state by predetermined period, thus realizes the effect of monitoring in real time.
Wherein, logic diagram instrument is IDAS Intelligent power distribution terminal maintaining-managing system.The virtual amount definition module defining virtual amount switch shape of IDAS Intelligent power distribution terminal maintaining-managing system logic diagram as shown in Figure 3.Going to generate Lua expression formula by the mode of recurrence when synthesizing Lua expression formula, being specially:
1) on off state is the output of operator (+);
2) first input switch of operator (+) divides position (DI);
3) second input of operator (+) is shift operation (> >), and therefore the output of operator (> >) will as the input of operator (+);
4) therefore the expression formula of on off state can be expressed as: switch point position (DI)+(shift operation (> >) exports expression formula);
5) first input of operator (> >) is switch co-bit (DI);
6) second input of operator (> >) is constant (1);
7) the output expression formula of shift operation (> >) is: switch co-bit > > 1;
8) the output expression formula of shift operation (> >) is updated to expression formula: switch point position+(shift operation (> >) exports expression formula);
9) watchband type obtaining two point remote signalling on off state is: (switch point position)+((switch co-bit) > > 1).
Embodiment 3: the inventive method utilizes Lua as the calculating script of virtual measuring point, and Lua is a small and exquisite script, is write form by standard C, almost can compile and run in all operations system and platform.Therefore the calculating of virtual measuring point not only can test simply add, subtract, multiplication and division, with or, non-and xor operation, also can perform complicated function operation.In the present embodiment, first set the graphics calculations expression formula of virtual measuring point by the mode of figure, as shown in Figure 4; Wherein the Lua expression formula of virtual test point V is V=Sin (A+B)
| C|.Lua script computing engines in virtual specification server calculates Lua expression formula in real time, obtain the real time value of virtual test point, the real time value obtaining virtual measuring point is sent to local monitor or distant place distribution main website by the virtual specification server be based upon on distribution power automation terminal.
In addition, according to the actual needs of distribution main station monitoring, again download to virtual specification server after the calculation expression of test point V can also being revised by graphical interfaces, recalculate according to new Lua expression formula.
The calculating of the virtual measuring point that the present invention relates to not only can, with actual measuring point as input parameter, also can use virtual measuring point as input parameter, for the synthesis of new virtual measuring point.When certain virtual measuring point value or state change, virtual stipulations can check that whether this virtual measuring point is the input parameter of other virtual measuring points synthesis, the virtual measuring point described in the value if any then after this virtual measuring point change of profit calculates.
The above is only the preferred embodiment of the present invention; it should be pointed out that 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 also should be considered as protection scope of the present invention.
Claims (5)
1., based on a distribution power automation terminal implementation method for virtual stipulations measuring point synthesis, it is characterized in that: comprise the steps:
Step 1), the design of virtual measuring point calculation expression: first according to distribution main website in electric power system need set virtual measuring point, then set the graphics calculations expression formula of described virtual measuring point by the mode of figure, the variable of described graphics calculations expression formula is the collection value of corresponding monitoring point signal and/or control appliance signal in electric power system;
Step 2), virtual specification server utilize logic diagram instrument generate the Lua expression formula of described graphics calculations expression formula;
Step 3), the Lua script computing engines in virtual specification server calculates described Lua expression formula in real time, obtains real time value or the Real-time Logic state of virtual test point;
Step 4), the real time value that distribution power automation terminal calculates virtual measuring point by described or Real-time Logic state send to local monitor or distant place distribution main website.
2. a kind of distribution automation implementation method based on virtual stipulations measuring point synthesis according to claim 1, it is characterized in that: when virtual specification server detects that the variable of described graphics calculations expression formula changes, recalculate described Lua expression formula, upgrade real time value or the Real-time Logic state of virtual test point.
3. a kind of distribution automation terminal implementation method based on virtual stipulations measuring point synthesis according to claim 1, is characterized in that: described virtual specification server calculates all virtual measuring point real time value or Real-time Logic state by predetermined period.
4. according to the arbitrary described a kind of distribution power automation terminal implementation method based on virtual stipulations measuring point synthesis of claim 1-3, it is characterized in that: also comprise the actual needs according to distribution main station monitoring, by again downloading to described virtual specification server, according to the step that new calculation expression recalculates after graphical interfaces amendment calculation expression.
5. according to the arbitrary described a kind of distribution power automation terminal implementation method based on virtual stipulations measuring point synthesis of claim 1-3, it is characterized in that: before the Lua script computing engines in virtual specification server calculates described Lua expression formula in real time, also comprise and utilize Lua script engine to carry out the step of grammer checking to the calculation expression that graphical interfaces generates.Also comprise the grammer verification step of measuring point expression formula.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510032974.2A CN104578424A (en) | 2015-01-22 | 2015-01-22 | Power distribution automation terminal implementation method based on virtual protocol monitoring point synthesis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510032974.2A CN104578424A (en) | 2015-01-22 | 2015-01-22 | Power distribution automation terminal implementation method based on virtual protocol monitoring point synthesis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104578424A true CN104578424A (en) | 2015-04-29 |
Family
ID=53093868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510032974.2A Pending CN104578424A (en) | 2015-01-22 | 2015-01-22 | Power distribution automation terminal implementation method based on virtual protocol monitoring point synthesis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104578424A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101257224A (en) * | 2008-04-17 | 2008-09-03 | 国电南瑞科技股份有限公司 | Technique for realizing transforming plant anti mis-closedown function in transforming plant observe and control apparatus |
CN101414293A (en) * | 2008-11-28 | 2009-04-22 | 无敌科技(西安)有限公司 | Method and apparatus for syntactic analysis of CYK algorithm capable of reducing operand |
CN102290864A (en) * | 2011-08-17 | 2011-12-21 | 航天科工深圳(集团)有限公司 | Method and device for implementing virtual load management terminal |
CN102346671A (en) * | 2011-09-29 | 2012-02-08 | 南京国电南自轨道交通工程有限公司 | Calculation method based on expansible script language |
CN103488609A (en) * | 2013-09-03 | 2014-01-01 | 南京国电南自美卓控制***有限公司 | Compound expression intelligent analytic method based on operator variable recursion recognition technology |
-
2015
- 2015-01-22 CN CN201510032974.2A patent/CN104578424A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101257224A (en) * | 2008-04-17 | 2008-09-03 | 国电南瑞科技股份有限公司 | Technique for realizing transforming plant anti mis-closedown function in transforming plant observe and control apparatus |
CN101414293A (en) * | 2008-11-28 | 2009-04-22 | 无敌科技(西安)有限公司 | Method and apparatus for syntactic analysis of CYK algorithm capable of reducing operand |
CN102290864A (en) * | 2011-08-17 | 2011-12-21 | 航天科工深圳(集团)有限公司 | Method and device for implementing virtual load management terminal |
CN102346671A (en) * | 2011-09-29 | 2012-02-08 | 南京国电南自轨道交通工程有限公司 | Calculation method based on expansible script language |
CN103488609A (en) * | 2013-09-03 | 2014-01-01 | 南京国电南自美卓控制***有限公司 | Compound expression intelligent analytic method based on operator variable recursion recognition technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103744422B (en) | A kind of to the protective relaying device automatic test approach based on IEC61850 standard | |
CN103176084B (en) | Intelligent substation simulation system in panoramic replace mode and integration testing method for intelligent substation simulation system | |
CN108306753B (en) | Simulation device, test method and system for shutdown of I-zone data communication network | |
CN102510131B (en) | Method and device for testing overall performance of intelligent transformer substation | |
JP2018055665A (en) | Software definition realization method based on protection control system of smart substation | |
CN104699801A (en) | Method and device of secondary equipment associating configuration | |
CN109541353A (en) | Power distribution automation detection system | |
US9280505B2 (en) | System on a module for smart grid nodes | |
EP2490376A1 (en) | System for testing roundtrip time between intelligent electronic devices | |
CN110535236B (en) | Intelligent substation bay level simulation self-acceptance system and method | |
KR20130019228A (en) | Apparatus and method for automating digital substation | |
CN105093017A (en) | Integrated GOOSE tester of intelligent transformer station and test method of tester | |
CN105162252A (en) | CID file-based method for achieving automatic mapping of plug-and-play power distribution terminal information | |
CN106371869B (en) | IEC61850 configuration software implementation method for bay level equipment of intelligent substation | |
WO2019198041A1 (en) | Method for engineering and configuring equipment in substation and device thereof | |
CN104701979A (en) | Protective measurement and control integrated device and protective measurement and control method | |
CN104485748A (en) | System and method for monitoring UPS of transformer substation | |
CN104267283A (en) | Platform and method for testing process layer to spacer layer of digital substation | |
US20220052552A1 (en) | System for designing a low-voltage distribution network at a secondary unit substation | |
CN103455678B (en) | Quadratic Imaginary loop chart collaborative design method based on the empty terminal of standardization | |
CN103309779A (en) | Method for detecting states of secondary equipment in intelligent transformer substation | |
AU2013387635A1 (en) | Apparatus and method for interfacing with supervisory monitoring and control arrangements | |
CN102044914B (en) | Method and device capable of realizing simulation feeder terminal unit | |
CN105204485A (en) | Digital electric power stability control system tester | |
US20170115645A1 (en) | Apparatus and method for interfacing with supervisory monitoring and control arrangements |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150429 |
|
WD01 | Invention patent application deemed withdrawn after publication |