Disclosure of Invention
In order to solve the above problems, the present invention provides a tracking closed-loop control method for power grid security aid decision, comprising:
acquiring real-time data of a power grid in a preset period, determining whether equipment in the power grid is out of limit or not, determining the out-of-limit equipment in the power grid as a control object, generating a control object set and recording the initial state of each control object in the set;
screening devices except for a control object in the power grid device, determining the screened devices in the power grid as adjusting devices, and generating an adjusting device set and recording the initial state of each adjusting device in the set;
determining a mapping relation between an adjusting equipment set and a control object set and an adjusting measure subset of each control object in the control object set;
tracking each adjusting device in the adjusting measure subset, determining an adjusting target value of the adjusting device, adjusting, and recording an adjusting execution condition;
acquiring the current state of each control object in the control object set according to the adjustment execution condition, and determining whether each control object is controlled in place according to a preset threshold;
and acquiring the load rate of each control object which is controlled in place, not performing tracking control when the load rate of the control object is less than or equal to a preset value, performing control tracking when the load rate of the control object is greater than the preset value, marking each control object which is not controlled in place, and performing tracking closed-loop control in the next period of the current period.
Optionally, the initial state includes: current power, power limit, load rate, and determining a control time.
Optionally, the method further includes:
and determining whether each adjusting device is adjusted in place, and marking the adjusting devices which are adjusted in place and cannot be adjusted in place respectively.
Optionally, adjusting the execution condition includes: an adjustment value, a current time and an adjustment time.
Optionally, the method further includes:
an execution state of each of the adjustment devices of the subset of adjustment measures for each of the control objects that are not controlled in place;
if the execution is finished, adjusting the adjustment measure subset to perform the tracking closed-loop control of the next period;
and if not, determining whether the adjustment is overtime or not, if not, performing the tracking closed-loop control of the next period, and if so, adjusting the adjustment measure subset to perform the tracking closed-loop control of the next period.
The invention also provides a tracking closed-loop control system for power grid safety aid decision, which comprises:
the first classification module is used for acquiring real-time data of the power grid in a preset period, determining whether equipment in the power grid is out of limit or not, determining the out-of-limit equipment in the power grid as a control object, generating a control object set and recording the initial state of each control object in the set;
the second classification module is used for screening equipment except for a control object in the power grid equipment, determining the screened equipment in the power grid as adjusting equipment, and generating an adjusting equipment set and recording the initial state of each adjusting equipment in the set;
the third classification module is used for determining the mapping relation between the adjustment equipment set and the control object set and the adjustment measure subset of each control object in the control object set;
the adjusting module tracks each adjusting device in the adjusting measure subset, determines an adjusting target value of the adjusting device, adjusts the adjusting target value and records the adjusting execution condition;
the first judgment module is used for acquiring the current state of each control object in the control object set according to the adjustment execution condition and determining whether each control object is controlled in place according to a preset threshold value;
and the second judgment module is used for acquiring the load rate of each control object which is controlled in place, not performing tracking control when the load rate of the control object is less than or equal to a preset value, performing control tracking when the load rate of the control object is greater than the preset value, marking each control object which is not controlled in place, and performing tracking closed-loop control in the next period of the current period.
Optionally, the initial state includes: current power, power limit, load rate, and determining a control time.
Optionally, the adjusting module is further configured to: and determining whether each adjusting device is adjusted in place, and marking the adjusting devices which are adjusted in place and cannot be adjusted in place respectively.
Optionally, adjusting the execution condition includes: an adjustment value, a current time and an adjustment time.
Optionally, the second determining module is further configured to: an execution state of each of the adjustment devices of the subset of adjustment measures for each of the control objects that are not controlled in place;
if the execution is finished, adjusting the adjustment measure subset to perform the tracking closed-loop control of the next period;
and if not, determining whether the adjustment is overtime or not, if not, performing the tracking closed-loop control of the next period, and if so, adjusting the adjustment measure subset to perform the tracking closed-loop control of the next period.
The method comprises the steps of periodically acquiring the online operation state of the power grid, judging the equipment out-of-limit condition, determining a control object, calculating an adjusting measure aiming at the control object, tracking and evaluating the execution condition of the adjusting measure and whether the control object is controlled in place, and then circularly carrying out-of-limit judgment and tracking control in the next period, thereby realizing the tracking closed-loop control of the power grid safety auxiliary decision and realizing the tracking evaluation of the power grid control object.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
The invention provides a tracking closed-loop control method for power grid safety aid decision, as shown in fig. 1, comprising the following steps:
acquiring real-time data of a power grid in a preset period, determining whether equipment in the power grid is out of limit or not, determining the out-of-limit equipment in the power grid as a control object, generating a control object set and recording the initial state of each control object in the set;
screening devices except for a control object in the power grid device, determining the screened devices in the power grid as adjusting devices, and generating an adjusting device set and recording the initial state of each adjusting device in the set;
determining a mapping relation between an adjusting equipment set and a control object set and an adjusting measure subset of each control object in the control object set;
tracking each adjusting device in the adjusting measure subset, determining an adjusting target value of the adjusting device, adjusting, and recording an adjusting execution condition;
determining whether each adjusting device is adjusted in place, and marking the adjusting devices which are adjusted in place and cannot be adjusted in place respectively;
acquiring the current state of each control object in the control object set according to the adjustment execution condition, and determining whether each control object is controlled in place according to a preset threshold;
acquiring the load rate of each control object which is controlled in place, when the load rate of the control object is smaller than or equal to a preset value, not performing tracking control, when the load rate of the control object is larger than the preset value, performing control tracking, marking each control object which is not controlled in place, and performing tracking closed-loop control in the next period of the current period;
an execution state of each of the adjustment devices of the subset of adjustment measures for each of the control objects that are not controlled in place;
if the execution is finished, adjusting the adjustment measure subset to perform the tracking closed-loop control of the next period;
and if not, determining whether the adjustment is overtime or not, if not, performing the tracking closed-loop control of the next period, and if so, adjusting the adjustment measure subset to perform the tracking closed-loop control of the next period.
The initial state includes: current power, power limit, load rate, and determining a control time.
Adjusting the execution condition, including: an adjustment value, a current time and an adjustment time.
The present invention will be further illustrated with reference to the following examples.
And periodically acquiring real-time data of the power grid every 5 minutes, and judging whether the power of lines, transformers and transmission sections in the power grid is out of limit or not, wherein out-of-limit equipment is brought into a control object set Cset.
For each control object i in the set of control objects Cset, its current power PC is calculated and recordedi 0Power limit LimCiLoad factor PercCiDetermining a control time TimeCiThe object i state is marked 0, indicating an initial state.
An adjustment measure is calculated for the control object. In order to make the power of the controlled object not exceed the limit value, the power of the related equipment in the power grid needs to be adjusted so as to achieve the purpose of reducing the power of the controlled object. And determining the set Aset of the devices needing to be adjusted through calculation.
a) For each adjusting device j of the set of adjusting devices Aset, its current power PA is calculated and recordedj 0Power regulation target value PAobj jDetermining an adjustment time TimeAjThe adjust device j state is labeled 0, indicating an initial state.
b) And simultaneously establishing a mapping relation between the control object and the adjusting equipment, and determining an adjusting measure subset Aseti of each control object i in the control object set Cset. The union of all subsets of adjustment measures Aseti is the set of adjusted devices Aset, and different subsets Aseti may contain the same adjusted devices.
Tracking and evaluating the execution condition of the adjustment measures, and evaluating the execution condition of the adjustment measures for each device in the adjustment device set Aset according to the power adjustment target value, the adjustment time and the current time.
a) And judging whether the adjusting device j is adjusted in place.
Obtain its current power PAj nowJudging whether it reaches the power adjustment target value PAobj jCalculate | PAj now-PAobj jIf it is less than the set threshold PAadj ok. If yes, adjusting the adjusting device j in place, and marking the state as 1, otherwise, going to step b) for further judgment.
b) It is determined whether the adjustment device j failed in adjustment.
Recording the current time TimeAnowCalculating the distance thereof to determine the adjustment time TimeAjTime length of time, calculate | TimeAnow-TimeAjIf it is greater than the set threshold value TimeAadj. If so, the adjustment device j is not adjusted in place within the set time, the adjustment is judged to be failed, and the state is marked as-1. Otherwise, the next loop continues to judge, and the state is marked as 0.
Tracking and evaluating whether the control object is controlled in place, and for each control object i in the control object set Cset, according to the current power PC of each control object ii nowPower limit LimCiDetermining a control time TimeCiAnd the current time TimeCnowAnd judging whether the control object i is controlled in place or not.
a) And judging whether the control object i is controlled in place or not.
Obtaining the current power PC of the control object ii nowDetermine whether it reaches the power limit value LimCiJudgment of PCi nowWhether or not it is less than or equal to LimCi. If yes, controlling the object i to be controlled in place, and entering the step b) for further judgment; otherwise, the control object i is not controlled in place, and the step c) is carried out for further judgment.
b) And judging whether the control object i in place needs to be tracked continuously or not.
For the control object i which is controlled in place, PC is carried out according to the current power of the control object ii nowAnd power limit value LimCiCalculating the current load rate PercCi now。
And judging whether the current load rate is less than or equal to a set threshold value 0.8, if so, marking the state of the control object i as 1, indicating that the load rate is reduced to the set threshold value and the tracking is not required to be continued. And simultaneously canceling the control monitoring and tracking of all the adjusting devices in the adjusting device subset Aseti, namely processing all the adjusting devices in the adjusting device set Aset one by one, and for an adjusting device j in the Aset, if j belongs to the adjusting device subset Aseti and does not belong to any other adjusting device subset of the control object of which the state is not 1, deleting j from the adjusting device set Aset.
If the current load rate of the control object i is greater than the set threshold value 0.8, the state of the control object i is marked as 2, which indicates that the control object i is in place, but the tracking is still needed to be carried out.
c) And judging the state of the adjusting equipment in the adjusting equipment subset of the control object which is not controlled in place.
And for the control object i which is not controlled in place, acquiring the subset Aseti of the adjusting equipment, acquiring the state of each adjusting equipment, if the state of the adjusting equipment is 0, indicating that the adjusting measures of the control object i are not completely executed, marking the state of the control object i as 3, indicating that the control object i is not controlled in place and the adjusting measures are not executed in place, and turning to the step d) to continuously judge.
If the states of all the adjusting devices in the Aseti are 0, that is, all the adjusting devices are 1 or-1, it indicates that all the adjusting measures of the control object i are performed, and the state of the control object i is marked as 0, which indicates that the control object i needs to determine the adjusting measures again.
Firstly, the control monitoring and tracking of all the adjusting devices in the adjusting device subset Aseti of the adjusting device subset Aset are cancelled, namely all the adjusting devices in the adjusting device set Aset are processed one by one, and for an adjusting device j in the Aset, if j belongs to the adjusting device subset Aseti, and j does not belong to any other adjusting device subset of the control object of which the state is not 1, j is deleted from the adjusting device set Aset.
Then according to the current power PC of the control object ii nowPower limit LimCiCurrent load rate PercCi nowRecalculating the adjusting equipment set Aseti by adopting the method in the step 2), and merging the Aseti into the adjusting equipment set Aset.
d) And judging whether the control object which is not controlled in place is controlled overtime or not.
Recording the current time TimeCnowCalculating the distance thereof to determine the control time TimeCiTime length of time, calculate | TimeCnow-TimeCiIf it is greater than the set threshold value TimeCadj。
If not, the state of the control object i is still marked as 3, the control object i is continuously tracked, and the next period is continuously judged.
If yes, the control object i does not control in place within the set time length, and the state of the control object i is marked as 0, which indicates that the control object i needs to determine the adjustment measures again.
Firstly, the control monitoring and tracking of all the adjusting devices in the adjusting device subset Aseti of the adjusting device subset Aset are cancelled, namely all the adjusting devices in the adjusting device set Aset are processed one by one, and for an adjusting device j in the Aset, if j belongs to the adjusting device subset Aseti, and j does not belong to any other adjusting device subset of the control object of which the state is not 1, j is deleted from the adjusting device set Aset.
Then according to the current power PC of the control object ii nowPower limit LimCiCurrent load rate PercCi nowRecalculating the adjusting equipment set Aseti by adopting the method in the step 2), and merging the Aseti into the adjusting equipment set Aset.
And continuously judging in the next period, acquiring real-time data of the power grid after 5 minutes, and judging whether the power of other lines, transformers and transmission sections except the control object set Cset in the power grid is out of limit or not, wherein the out-of-limit equipment is brought into the control object set Cset. And calculating an adjusting measure for the newly added control object in the control object set Cset to form an adjusting equipment set Asetnow, and combining the adjusting equipment set Asetnow into the original adjusting equipment set Aset.
The invention relates to a tracking closed-loop control system 200 for power grid safety aid decision, as shown in fig. 2, comprising:
the first classification module 201 acquires real-time data of a power grid in a preset period, determines whether equipment in the power grid is out of limit, determines the out-of-limit equipment in the power grid as a control object, generates a control object set and records the initial state of each control object in the set;
the second classification module 202 is configured to screen devices other than the control object in the power grid device, determine the screened devices in the power grid as adjustment devices, and generate an adjustment device set and record an initial state of each adjustment device in the adjustment device set;
the third classification module 203 determines the mapping relationship between the adjustment device set and the control object set, and the adjustment measure subset of each control object in the control object set;
the adjusting module 204 tracks each adjusting device in the adjusting measure subset, determines an adjusting target value of the adjusting device, adjusts the adjusting target value, and records an adjusting execution condition;
determining whether each adjusting device is adjusted in place, and marking the adjusting devices which are adjusted in place and cannot be adjusted in place respectively;
the first judging module 205 is configured to obtain a current state of each control object in the control object set according to an adjustment execution condition, and determine whether each control object is controlled in place according to a preset threshold;
the second judging module 206, which obtains the load rate of each control object in place, does not perform tracking control when the load rate of the control object is less than or equal to a preset value, performs control tracking when the load rate of the control object is greater than the preset value, marks each control object which is not in place, and performs tracking closed-loop control in the next period of the current period;
an execution state of each of the adjustment devices of the subset of adjustment measures for each of the control objects that are not controlled in place;
if the execution is finished, adjusting the adjustment measure subset to perform the tracking closed-loop control of the next period;
and if not, determining whether the adjustment is overtime or not, if not, performing the tracking closed-loop control of the next period, and if so, adjusting the adjustment measure subset to perform the tracking closed-loop control of the next period.
The initial state includes: current power, power limit, load rate, and determining a control time.
Adjusting the execution condition, including: an adjustment value, a current time and an adjustment time.
The power grid online dynamic safety evaluation system realizes the functions of static safety analysis, transient stability calculation, small interference stability calculation, voltage stability calculation, section limit calculation and the like by utilizing online data, has accurate calculation results, improves the precision of system simulation calculation analysis, and completes the technical leap from offline calculation to online calculation. The system can master the current system operation condition, can analyze potential risks of the power grid, anticipates accidents, finds potential risks for dispatching operators, masters the power grid operation trend and provides powerful help for effectively dealing with sudden accidents. The auxiliary decision making function accords with the actual operation condition of the power grid, the strategy is scientific and reasonable, and the method has an important guiding function on scheduling operation. But does not enable assisted decision closed loop execution based on online dynamic security assessment.
The method judges the out-of-limit of the equipment in the power grid on line, determines the object to be controlled and calculates and determines the adjustment measures. The tracking evaluation of the execution condition of the adjustment measure is realized, and the tracking evaluation is divided into 3 conditions of in-place adjustment execution, failed adjustment execution and continuous tracking of the adjustment equipment according to the power adjustment target value, the adjustment time and the current time.
The invention realizes the tracking evaluation of the power grid control object, and determines the control time and the current time according to the current power and the power limit value of the control object, and is divided into 5 conditions that the tracking is not needed when the control is in place, the tracking is needed when the control is in place, the adjustment measures are recalculated when the control is not in place and the adjustment is not performed, the tracking is needed when the control is not in place and the adjustment is not performed, the control is not in place and the adjustment measures are recalculated when the control is overtime.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.