CN112559963A - Power distribution network dynamic parameter identification method and device - Google Patents
Power distribution network dynamic parameter identification method and device Download PDFInfo
- Publication number
- CN112559963A CN112559963A CN202011309392.1A CN202011309392A CN112559963A CN 112559963 A CN112559963 A CN 112559963A CN 202011309392 A CN202011309392 A CN 202011309392A CN 112559963 A CN112559963 A CN 112559963A
- Authority
- CN
- China
- Prior art keywords
- probability
- power distribution
- data
- distribution network
- variable
- 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.)
- Granted
Links
- 238000009826 distribution Methods 0.000 title claims abstract description 158
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 24
- 238000007781 pre-processing Methods 0.000 claims abstract description 11
- 230000001364 causal effect Effects 0.000 claims description 12
- 230000007704 transition Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000003068 static effect Effects 0.000 claims description 4
- 238000012546 transfer Methods 0.000 claims description 4
- 238000005381 potential energy Methods 0.000 claims description 3
- 238000012549 training Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 230000008859 change Effects 0.000 abstract description 3
- 238000005259 measurement Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 4
- 208000025174 PANDAS Diseases 0.000 description 3
- 208000021155 Paediatric autoimmune neuropsychiatric disorders associated with streptococcal infection Diseases 0.000 description 3
- 240000004718 Panda Species 0.000 description 3
- 235000016496 Panda oleosa Nutrition 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 238000007476 Maximum Likelihood Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000003012 network analysis Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/067—Enterprise or organisation modelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Analysis (AREA)
- Operations Research (AREA)
- Computational Mathematics (AREA)
- Tourism & Hospitality (AREA)
- Mathematical Physics (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Mathematical Optimization (AREA)
- Health & Medical Sciences (AREA)
- Entrepreneurship & Innovation (AREA)
- Pure & Applied Mathematics (AREA)
- Public Health (AREA)
- Primary Health Care (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Health & Medical Sciences (AREA)
- Water Supply & Treatment (AREA)
- Evolutionary Biology (AREA)
- Quality & Reliability (AREA)
- Game Theory and Decision Science (AREA)
- Probability & Statistics with Applications (AREA)
- Educational Administration (AREA)
- Algebra (AREA)
- Development Economics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention discloses a method and a device for identifying dynamic parameters of a power distribution network. The method comprises the following steps: carrying out data preprocessing on the collected power distribution network operation data and the collected external environment data to generate a power distribution network dynamic parameter identification sample; discretizing a dynamic parameter identification sample of the power distribution network to obtain a discretization sample; based on a pre-established probability map model, obtaining parameters of the probability map model according to the discretization sample; the probability map model is a two-time slice probability map model; and acquiring dynamic parameters of the power distribution network based on a confidence coefficient propagation algorithm according to the observation variables and the probability map model after the parameters are acquired. The method can deduce the dynamic parameters of the power distribution network by using the probability map model under the condition of partial measurement data or external environment data loss, and is beneficial to improving the parameter identification precision under the condition of sudden change of partial power distribution region operation modes or sudden change of external environments.
Description
Technical Field
The invention belongs to the field of data-driven power distribution network parameter identification, and particularly relates to a power distribution network dynamic parameter identification method and device.
Background
The key points of energy conservation and loss reduction are in a power distribution network, and physical parameters of a distribution line are the basis of power grid loss calculation. Due to the fact that the power distribution network is large in scale, power distribution automation levels of all areas are different, and accurate physical parameters of the power distribution lines are difficult to obtain in partial power supply areas. In actual operation, the physical parameters of the power distribution network line are closely related to factors such as ambient temperature and line current-carrying capacity, and dynamic characteristics are presented along with changes of an operating environment, so that the physical parameters of the static power distribution network line stored in a Production Management System (PMS) are inaccurate. The power distribution network dispatching part in part of regions cannot accurately master the operation state of the power distribution network, and the possibility of power failure accidents caused by improper manual operation is increased. The mode of manually checking the dynamic parameters is low in efficiency and high in cost, and the key for realizing situation awareness of the smart power grid is how to utilize advanced measurement system data to identify the dynamic parameters of the power distribution network driven by data.
Disclosure of Invention
The purpose of the invention is as follows: aiming at the problems in the prior art, the invention provides a method and a device for identifying dynamic parameters of a power distribution network based on a probability graph model, which are used for analyzing the influence of the running state of the power distribution network and external environmental factors on the dynamic characteristics of the parameters of the power distribution network, deducing the probability distribution of the dynamic parameters of the power distribution network by using the probability graph model and realizing the accurate identification of the dynamic parameters of the power distribution network.
The technical scheme is as follows: in order to achieve the above object, in one aspect, the present invention provides a method for identifying dynamic parameters of a power distribution network, including the following steps:
carrying out data preprocessing on the collected power distribution network operation data and the collected external environment data to generate a power distribution network dynamic parameter identification sample;
discretizing a dynamic parameter identification sample of the power distribution network to obtain a discretization sample;
acquiring parameters of a probability map model according to a discretization sample based on a pre-established probability map model, wherein the probability map model is a two-time slice probability map model;
and acquiring dynamic parameters of the power distribution network based on a confidence coefficient propagation algorithm according to the observation variables and the probability map model after the parameters are acquired.
Further, the establishing step of the probability map model comprises:
selecting temperature, humidity, feeder line section voltage drop and feeder line section transmission power at a moment as observation variables in a probability map model, and selecting impedance of a line at the moment as an implicit variable of the probability map model;
adding each variable into a probability graph model one by one according to the causal relationship between each observation variable and each hidden variable under a single time slice to construct a static Bayesian network;
setting an initial time slice, and appointing prior probability distribution of each variable under the time slice;
and specifying the causal relationship of each state between adjacent time slices to construct a transfer model.
Further, the generating a distribution network dynamic parameter identification sample comprises:
performing secondary spline interpolation on the external environment data to enable the frequencies of the external environment data of different data sources to be identical;
merging data of different data sources, and eliminating redundant fields in the data;
and removing repeated data in the operating data of the power distribution network and performing data null removal.
Further, discretizing the power distribution network dynamic parameter identification sample, wherein a calculation formula is as follows:
wherein Z is an implicit variable, m is the number of divided discrete intervals, Ncount(Z ═ s) is the number of samples of hidden variables in the data at state s; n is a radical ofamount(Z) is the total number of samples.
Further, the obtaining of the parameters of the probability map model includes:
based on the probability mass function, obtaining an initial probability distribution table of each variable according to the discretization sample;
calculating a conditional probability distribution table among all variables according to the discretization sample based on a maximum expectation algorithm;
counting a transition probability distribution table of each variable from t moment to t +1 moment from continuous data samples on a time axis;
and determining the correctness of the conditional probability distribution table by checking whether the sum of the probability distributions of each variable is 1 or not and whether the conditional probability distribution is consistent with the causal relationship in the Bayesian network or not.
Further, the expression of the probability mass function is:
whereinProbability of the hidden variable being initially in state s; n is a radical ofcount(Z ═ s) is the number of samples of hidden variables in the data at state s; n is a radical ofamount(Z) is the total number of samples.
Further, the calculating a conditional probability distribution table between variables according to the discretization sample based on the maximum expectation algorithm includes:
calculating the posterior probability of the hidden variable as the current expected value of the hidden variable according to the initial value of the conditional probability or the conditional probability obtained by the previous iteration, wherein the expression is as follows:
Pposterior(Z)=P(Z|X;θcpt)
wherein Z is an implicit variable, Pposterior(Z) posterior probability of hidden variable, θcptA conditional probability distribution table in a probability graph model, wherein X is an observation variable;
and (3) updating the conditional probability distribution table by taking the likelihood function maximization as a target, wherein the expression is as follows:
where m is the number of hidden variable states, P (X, Z; theta)cpt) (ii) a desire for a hidden variable obtained from the sample;
and when the probability of the training data sample is maximum according to the condition probability distribution table in the probability graph model, the iteration of the maximum expectation algorithm is finished.
Further, the expression of the transition probability distribution table is:
whereinRepresenting the probability of the hidden variable Z transitioning from state 1 to state 2 from t-1 to t; n is a radical ofcount(s1,s2) Representing the times of transferring the hidden variable Z from the state 1 to the state 2 from the t-1 to the t moment in the acquired historical data; n is a radical ofamount(s1) Representing the number of samples in the acquired historical data with the hidden variable Z in state 1.
Further, the obtaining of the dynamic parameters of the power distribution network based on the confidence propagation algorithm includes:
initializing the probability distribution of each variable according to the sample;
randomly selecting a certain state variable Y in the network, and replacing the confidence coefficient of the node with b (Y)t):
Wherein phi (Y)t,Xt) Representing the joint compatibility of the node Y at the time t for a likelihood function between the corresponding state variable Y and the observation variable X at the time t, G being a first-order neighborhood of the node Y, mxY(Yt) A message passed to node Y for node x;
updating information between variables:
wherein psi (Y)t,Yt-1) Is a section ofThe potential energy between the nodes from the t-1 moment to the t moment at the point Y;
until the convergence condition is satisfied:
b(n)(Yt)-b(n-1)(Yt)<10-5
the confidence b (Y) of the final hidden variablet) As the result of the estimation of the probability distribution of the hidden variables in each state interval.
In another aspect, the present invention provides a device for identifying dynamic parameters of a power distribution network, including:
the data preprocessing module is used for preprocessing the acquired running data and external environment data of the power distribution network to generate a dynamic parameter identification sample of the power distribution network;
the discretization processing module is used for discretizing the dynamic parameter identification sample of the power distribution network to obtain a discretization sample;
the model parameter determining module is used for acquiring parameters of the probability map model according to the discretization sample based on the pre-established probability map model; the probability map model is a two-time slice probability map model;
and the power distribution network dynamic parameter generation module is used for acquiring power distribution network dynamic parameters based on a confidence coefficient propagation algorithm according to the observation variables and the probability map model after the parameters are acquired.
Has the advantages that:
1. according to the method, the influence and the factor of the dynamic parameters of the power distribution network are analyzed according to data statistics and priori knowledge, the problem that the dynamic parameters cannot be obtained in a part of power distribution areas is solved, the parameter identification precision under the condition that the operation modes of the part of power distribution areas suddenly change or the external environment suddenly changes is improved, the operation state of the power distribution network is mastered and analyzed by power distribution network scheduling personnel, and the final identification result can provide a good basis for the upper-layer application of a power distribution automation system;
2. the invention carries out scientific analysis on the collected operation data and meteorological data of the power distribution network, provides a basis for power distribution network situation perception, is beneficial to realizing a panoramic visible and controllable power distribution network, and is beneficial to providing more reliable, safe and economic electric energy for power grid companies.
Drawings
Fig. 1 is a flowchart of a method for identifying dynamic parameters of a power distribution network according to an embodiment of the present invention;
FIG. 2 is a diagram of a dynamic Bayesian model for identifying physical parameters of a line according to an embodiment of the present invention;
FIG. 3 is a flow diagram of raw data pre-processing according to an embodiment of the invention;
FIG. 4 is a schematic diagram of reasoning dynamic parameters of a power distribution network based on a belief propagation algorithm, according to an embodiment of the invention;
fig. 5 is a simplified topology model of a medium voltage distribution network used in a simulation experiment according to an embodiment of the present invention.
Detailed Description
The invention is further described with reference to specific examples. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Fig. 1 is a flowchart of a method for identifying dynamic parameters of a power distribution network according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
According to one embodiment, the raw data may be preprocessed in DataFrame form using Pandas.
The data required for identifying the data-driven line physical parameters comprises power distribution network operation data and external environment data: the operation data of the power distribution network is acquired by the intelligent electric meter, and comprises node voltage, current, active power and reactive power which are acquired every 15 min; com, including regional temperature and humidity collected every 3 hours, external environmental data was from 58238 weather station data (provided by meteomanz. The method mainly has three problems that the original data come from different data sources, the data in the different data sources need to be merged and integrated in a data frame; secondly, the dimensionality of the data needs stipulation, and the original data has too many attributes, so that the data modeling is not facilitated; and thirdly, the data has missing values and outliers, and data cleaning is needed.
To address the above issues, in one embodiment, the following operations may be taken with respect to the raw data:
performing secondary spline interpolation on the external environment data to enable the frequencies of the external environment data of different data sources to be identical;
merging data of different data sources, and eliminating redundant fields in the data;
and removing repeated data in the operating data of the power distribution network and performing data null removal.
In a specific example, as shown in fig. 3, it can further adopt:
considering the mismatching of the acquisition frequency of two types of data from different data sources, inserting data point complete data into every two pieces of external environment data by using a spline interpolation method, specifically, interpolating a time sequence of temperature and humidity by using an interp1d function in a python script module package, and completing meteorological historical data to match the frequency of the two data sources;
merging data from different data sources through a merge function in a pandas module, and removing redundant fields in original data by using a drop function;
processing data vacancy and data repeatedly; removing repeated data in the running data by using a drop _ duplicates function; detecting the loss proportion of variables by using pandas, isnull and sum (), and using a dropna function to perform data emptying under the conditions of low loss rate (less than 95%) and low importance, thereby finally obtaining a cleaned dynamic parameter identification data sample of the power distribution network. The structure of the sample is shown in table 1 below.
TABLE 1 distribution line parameter identification data sample
And 2, discretizing the dynamic parameter identification sample of the power distribution network to obtain a discretization sample.
In one embodiment, the data sample may be discretized using a maximum entropy algorithm, which is calculated as follows:
wherein Z is an implicit variable, m is the number of divided discrete intervals, Ncount(Z ═ s) is the number of samples of variables in the data at state s; n is a radical ofamount(Z) is the total number of samples. Each variable in the network is distributed to a respective state space according to the condition that the mutual information entropy is maximum, and under the condition that no priori knowledge exists, the mutual information entropy between the states is maximum when the number of samples contained in each discrete interval is the same. The discretization granularity was chosen to be 10% of the number of samples, and the results of discretization for each variable are shown in table 2 below.
TABLE 2 discretization results for the variable at 10% discrete particle size
And 3, acquiring parameters of the probability map model according to the discretization sample based on the pre-established probability map model.
Wherein, the probability graph model is a two-time slice probability graph model.
The probabilistic graphical model is pre-established, and according to one embodiment, the step of establishing the probabilistic graphical model may include:
selecting the temperature T at time TtHumidity HtVoltage drop Δ V of feeder sectiontAnd feeder section transmission power StAs an observation variable in the probabilistic graphical model, the impedance Z of the line at that moment is selectedtAs hidden variables of the probabilistic graphical model;
adding each variable into a probability graph model one by one according to the causal relationship between each observation variable and each hidden variable under a single time slice to construct a static Bayesian network;
setting an initial time slice, and appointing prior probability distribution of each variable under the time slice;
and specifying the causal relationship of each state between adjacent time slices to construct a transfer model.
The model building process is further described below.
Specifically, considering that the dynamic parameters of the power distribution network are related to the external environment and the running state of the power distribution network, the temperature T at the moment T is selected according to the relation between the variables and the line impedance parameterstHumidity HtVoltage drop Δ V of feeder sectiontAnd feeder section transmission power StThe expression of an observed variable as a probabilistic graphical model, namely an observed variable X of the probabilistic graphical model at the time t is as follows:
Xt={Tt,Ht,ΔVt,St}
considering that the power distribution network line is relatively short, the ground capacitance of the line is ignored when the probability graph model is constructed. Therefore, the hidden variable Y of the probability map model at the time ttFor the impedance of the line at that moment, using ZtAnd (4) showing.
After the random variables of the model are determined, the order of the variables is selected according to the causal relationship. T representing an external environmenttAnd HtAre all factors affecting the line impedance, and thus the line impedance ZtAnd (4) a parent node. The expression for the line node voltage drop is as follows:
wherein V1,V2Representing the difference in voltage amplitudes at node 1 and node 2, P, Q being the active and reactive power respectively flowing between node 1 and node 2, R, X being the resistance and reactance of the line connecting nodes 1 and 2, respectively, IR,IXRespectively representing the corresponding active and reactive currents. In addition, StCharacterizing the apparent power; ztIs the line impedance. From the above equation, apparent power and line impedance are the factors that affect the voltage drop, and thus are the line voltage drop Δ VtThe parent node of (2). And finally, starting from a null graph, adding the variables into the probability graph model one by one according to the dependency relationship among the variables to form a directed acyclic graph.
And selecting an initial time slice on the basis, designating prior probability distribution of each variable under the time slice, designating causal relationship of each state between adjacent time slices, constructing a transfer model, and completing construction of a power distribution network dynamic parameter identification model based on a two-time slice probability graph model. And obtaining a two-time slice probability map model for identifying the dynamic parameters of the power distribution network in the figure 2.
According to one embodiment, the parameters of the probabilistic graphical model may be obtained by:
based on the probability mass function, obtaining an initial probability distribution table of each variable according to the discretization sample;
calculating a conditional probability distribution table among all variables according to the discretization sample based on a maximum expectation algorithm;
counting a transition probability distribution table of each variable from t moment to t +1 moment from continuous data samples on a time axis;
and determining the correctness of the conditional probability distribution table by checking whether the sum of the probability distributions of each variable is 1 or not and whether the conditional probability distribution is consistent with the causal relationship in the Bayesian network or not.
In one embodiment, the parameters of the probability map model, i.e., the initial probability distribution table, the conditional probability distribution table, and the transition probability distribution table, may be obtained as follows:
obtaining an initial probability distribution table of each variable from the discretized sample by calculating a probability mass function, wherein the structure of the initial probability distribution table is shown in the following table 3;
TABLE 3 initial probability distribution Table
The sum of all elements in the initial probability vector is 1, each element PiObtained by computing the Probability Mass Function (PMF):
whereinProbability of the hidden variable being initially in state s; n is a radical ofcount(Z ═ s) is the number of samples of hidden variables in the data at state s; n is a radical ofamount(Z) is the total number of samples.
The conditional probability distribution table for calculating the values of the variables from the discretized sample by the max-expectation algorithm is a matrix of m × (n × k × v × h) in the case where the number of states of the hidden variables is m and the number of states of the observed variables is n, k, v, and h, respectively, and has a structure as shown in table 4 below.
TABLE 4 conditional probability distribution Table
The conditional probability distribution may be obtained by an EM algorithm. The EM algorithm initializes the probability distribution first and then iterates in two steps until convergence. The two-step iteration process is as follows:
1) step E calculation (Expectation Step): calculating the posterior probability of the hidden variable according to the initial value of the conditional probability or the conditional probability obtained by the previous iteration, and taking the posterior probability as the current expected value of the hidden variable:
Pposterior(Z)=P(Z|X;θcpt)
wherein P isposterior(Z) posterior probability of hidden variable, θcptAs DBN (depth confidence)Network, Deep Belief Network) is a parameter of the conditional probability distribution table.
2) M Step calculation (Maximization Step): and (3) updating a conditional probability distribution table by taking the likelihood function maximization as a target:
where m is the number of hidden variable states, P (X, Z; theta)cpt) Is the expectation of the hidden variable obtained from the sample. And when the probability of the training data sample is maximum according to the condition probability distribution table in the probability graph model, the iteration of the maximum expectation algorithm is finished. The maximum expectation algorithm can carry out maximum likelihood estimation on parameters from the incomplete data set and is suitable for probability map model conditional probability distribution calculation under the condition of power distribution network data acquisition loss.
And counting a transition probability distribution table of each variable from t time to t +1 time from continuous data samples on a time axis. The transition probability distribution is a parameter for expressing variable timing transitions in the DBN and can be calculated by the following formula:
whereinRepresenting the probability of the hidden variable Z transitioning from state 1 to state 2 from t-1 to t; n is a radical ofcount(s1,s2) Representing the times of transferring the hidden variable Z from the state 1 to the state 2 from the t-1 to the t moment in the acquired historical data; n is a radical ofamount(s1) Representing the number of samples in the acquired historical data with the hidden variable Z in state 1.
Finally, the correctness of the obtained parameters can be checked by checking whether the sum of the probability distributions of each variable is 1 or not, and whether the conditional probability distribution is consistent with the causal relationship in the bayesian network or not.
And 4, acquiring dynamic parameters of the power distribution network based on a confidence coefficient propagation algorithm according to the observation variables and the probability map model after the parameters are acquired.
According to one embodiment, the belief propagation algorithm is used to infer power distribution network dynamic parameters when the observed variables are known, as shown in fig. 4, which includes:
1) initializing the probability distribution of each variable according to the sample;
2) randomly selecting a certain state variable Y in the network, the confidence of the node can be represented as b (Y)t) And the confidence level, the adjacent node and all the information m transmitted to the node through the adjacent edgexY(Yt) In direct proportion, the confidence of a node can be replaced by a probability:
wherein phi (Y)t,Xt) And G is a first-order neighborhood of the node, namely a set of all nodes adjacent to the node. m isxY(Yt) The message passed to node Y for node x indicates the effect of node x on node Y at time t.
3) Updating information between variables:
wherein psi (Y)t,Yt-1) And reflecting the compatibility between hidden variables for the potential energy between the nodes from the t-1 moment to the t moment at the node Y.
4) Continuously repeating the steps 2) and 3) to continuously iterate message propagation and confidence coefficient updating until a convergence condition is met:
b(n)(Yt)-b(n-1)(Yt)<10-5
5) and taking the confidence coefficient of the final hidden variable as an inference result of probability distribution of the hidden variable in each state interval. DBN Final reasoningThe result is a probability distribution that, compared to single point parameter identification, the DBN model can provide all the cases that may occur at that moment and their probabilities. For comparison with the conventional single-point line parameter identification model, the final line impedance parameter single-point identification result is obtained from the samples { Z ] in the state interval in the historical data1,Z2,…,ZNAnd (4) calculating, wherein the root mean square can be used as a point identification result of the line parameters.
Wherein N is the number of samples in the history data in the same state as the identification result, ZiIs the value of the impedance of the sample,the root mean square of these sample impedance values. The two 10kV feeder lines connected through the interconnection switch in fig. 5 are used as parameter identification objects, and the parameter identification results of 14 lines are shown in table 5 below.
TABLE 5 dynamic parameter identification results for distribution networks
Because the lengths of all lines are different, the average error rate of parameter identification of each line is taken as an evaluation standard, the average error rate of impedance parameter identification of the proposed probabilistic graphical model is 3.80%, and the average error rate of reactance parameter identification is 9.05%.
In another embodiment, the present invention provides a device for identifying dynamic parameters of a power distribution network, including:
the data preprocessing module is used for preprocessing the acquired running data and external environment data of the power distribution network to generate a dynamic parameter identification sample of the power distribution network;
the discretization processing module is used for discretizing the dynamic parameter identification sample of the power distribution network to obtain a discretization sample;
the model parameter determining module is used for acquiring parameters of the probability map model according to the discretization sample based on the pre-established probability map model; the probability map model is a two-time slice probability map model;
and the power distribution network dynamic parameter generation module is used for acquiring power distribution network dynamic parameters based on a confidence coefficient propagation algorithm according to the observation variables and the probability map model after the parameters are acquired.
In conclusion, the invention constructs a novel power distribution network dynamic parameter identification probability graph model to solve the problem of power distribution network parameter identification errors caused by operation condition changes and data errors. The problem of uncertainty in the process of identifying the parameters of the power distribution network is solved by using knowledge in the field of probability theory, and accurate line physical parameters are provided for power distribution network situation perception and line loss calculation. The model provided by the invention can improve the accuracy and robustness of distribution line impedance parameter identification, improves the intelligent degree of distribution network analysis and management, and provides a parameter basis for distribution network scheduling personnel to master, analyze and control the operation mode of the distribution network.
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.
The present invention has been disclosed in terms of the preferred embodiment, but is not intended to be limited to the embodiment, and all technical solutions obtained by substituting or converting equivalents thereof fall within the scope of the present invention.
Claims (10)
1. A method for identifying dynamic parameters of a power distribution network is characterized by comprising the following steps:
carrying out data preprocessing on the collected power distribution network operation data and the collected external environment data to generate a power distribution network dynamic parameter identification sample;
discretizing a dynamic parameter identification sample of the power distribution network to obtain a discretization sample;
acquiring parameters of a probability map model according to a discretization sample based on a pre-established probability map model, wherein the probability map model is a two-time slice probability map model;
and acquiring dynamic parameters of the power distribution network based on a confidence coefficient propagation algorithm according to the observation variables and the probability map model after the parameters are acquired.
2. The method of claim 1, wherein the step of building the probabilistic graphical model comprises:
selecting temperature, humidity, feeder line section voltage drop and feeder line section transmission power at a moment as observation variables in a probability map model, and selecting impedance of a line at the moment as an implicit variable of the probability map model;
adding each variable into a probability graph model one by one according to the causal relationship between each observation variable and each hidden variable under a single time slice to construct a static Bayesian network;
setting an initial time slice, and appointing prior probability distribution of each variable under the time slice;
and specifying the causal relationship of each state between adjacent time slices to construct a transfer model.
3. The method of claim 1, wherein generating the power distribution network dynamic parameter identification sample comprises:
performing secondary spline interpolation on the external environment data to enable the frequencies of the external environment data of different data sources to be identical;
merging data of different data sources, and eliminating redundant fields in the data;
and removing repeated data in the operating data of the power distribution network and performing data null removal.
4. The method of claim 1, wherein the discretizing of the power distribution network dynamic parameter identification sample is performed according to the following calculation formula:
where Z is an implicit variable and m is a partitionNumber of discrete intervals of (2), Ncount(Z ═ s) is the number of samples of hidden variables in the data at state s; n is a radical ofamount(Z) is the total number of samples.
5. The method of claim 1, wherein obtaining the parameters of the probabilistic graphical model comprises:
based on the probability mass function, obtaining an initial probability distribution table of each variable according to the discretization sample;
calculating a conditional probability distribution table among all variables according to the discretization sample based on a maximum expectation algorithm;
counting a transition probability distribution table of each variable from t moment to t +1 moment from continuous data samples on a time axis;
and determining the correctness of the conditional probability distribution table by checking whether the sum of the probability distributions of each variable is 1 or not and whether the conditional probability distribution is consistent with the causal relationship in the Bayesian network or not.
6. The method of claim 5, wherein the probability mass function is expressed as:
7. The method of claim 5, wherein the calculating a conditional probability distribution table between variables from discretized samples based on a maximum expected algorithm comprises:
calculating the posterior probability of the hidden variable as the current expected value of the hidden variable according to the initial value of the conditional probability or the conditional probability obtained by the previous iteration, wherein the expression is as follows:
Pposterior(Z)=P(Z|X;θcpt)
wherein Z is an implicit variable, Pposterior(Z) posterior probability of hidden variable, θcptA conditional probability distribution table in a probability graph model, wherein X is an observation variable;
and (3) updating the conditional probability distribution table by taking the likelihood function maximization as a target, wherein the expression is as follows:
where m is the number of hidden variable states, P (X, Z; theta)cpt) (ii) a desire for a hidden variable obtained from the sample;
and when the probability of the training data sample is maximum according to the condition probability distribution table in the probability graph model, the iteration of the maximum expectation algorithm is finished.
8. The method of claim 5, wherein the transition probability distribution table is expressed as:
whereinRepresenting the probability of the hidden variable Z transitioning from state 1 to state 2 from t-1 to t; n is a radical ofcount(s1,s2) Representing the times of transferring the hidden variable Z from the state 1 to the state 2 from the t-1 to the t moment in the acquired historical data; n is a radical ofamount(s1) Representing the number of samples in the acquired historical data with the hidden variable Z in state 1.
9. The method of claim 1, wherein the obtaining power distribution network dynamic parameters based on the belief propagation algorithm comprises:
initializing the probability distribution of each variable according to the sample;
randomly selecting a certain state variable Y in the network, and replacing the confidence coefficient of the node with b (Y)t):
Wherein phi (Y)t,Xt) Representing the joint compatibility of the node Y at the time t for a likelihood function between the corresponding state variable Y and the observation variable X at the time t, G being a first-order neighborhood of the node Y, mxY(Yt) A message passed to node Y for node x;
updating information between variables:
wherein psi (Y)t,Yt-1) The potential energy between the nodes from t-1 to t at the node Y;
until the convergence condition is satisfied:
b(n)(Yt)-b(n-1)(Yt)<10-5
the confidence b (Y) of the final hidden variablet) As the result of the estimation of the probability distribution of the hidden variables in each state interval.
10. The utility model provides a distribution network dynamic parameter discerns device which characterized in that includes:
the data preprocessing module is used for preprocessing the acquired running data and external environment data of the power distribution network to generate a dynamic parameter identification sample of the power distribution network;
the discretization processing module is used for discretizing the dynamic parameter identification sample of the power distribution network to obtain a discretization sample;
the model parameter determining module is used for acquiring parameters of the probability map model according to the discretization sample based on the pre-established probability map model; the probability map model is a two-time slice probability map model;
and the power distribution network dynamic parameter generation module is used for acquiring power distribution network dynamic parameters based on a confidence coefficient propagation algorithm according to the observation variables and the probability map model after the parameters are acquired.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011309392.1A CN112559963B (en) | 2020-11-20 | 2020-11-20 | Dynamic parameter identification method and device for power distribution network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011309392.1A CN112559963B (en) | 2020-11-20 | 2020-11-20 | Dynamic parameter identification method and device for power distribution network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112559963A true CN112559963A (en) | 2021-03-26 |
CN112559963B CN112559963B (en) | 2024-02-06 |
Family
ID=75044678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011309392.1A Active CN112559963B (en) | 2020-11-20 | 2020-11-20 | Dynamic parameter identification method and device for power distribution network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112559963B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113158309A (en) * | 2021-04-09 | 2021-07-23 | 天津大学 | Heating and ventilation equipment operation strategy identification method |
CN113987910A (en) * | 2021-09-18 | 2022-01-28 | 国网江苏省电力有限公司信息通信分公司 | Method and device for identifying load of residents by coupling neural network and dynamic time planning |
CN114696316A (en) * | 2022-03-03 | 2022-07-01 | 国网江苏省电力有限公司电力科学研究院 | Distribution network parameter identification method and device considering probability distribution |
CN114897414A (en) * | 2022-05-31 | 2022-08-12 | 天津大学 | Method for identifying key uncertain factors of power distribution network containing high-proportion photovoltaic and electric automobile |
CN115000941A (en) * | 2022-06-01 | 2022-09-02 | 南京工程学院 | M-H sampling-based distribution network line parameter identification method and system |
CN115464237A (en) * | 2022-08-19 | 2022-12-13 | 北京理工大学 | Real-time control method, system and device for electric arc additive manufacturing equipment |
CN117520869A (en) * | 2024-01-04 | 2024-02-06 | 国网江苏省电力有限公司苏州供电分公司 | Method and system for identifying parameter interval of medium-voltage distribution network based on dynamic Bayesian network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933953A (en) * | 2019-04-11 | 2019-06-25 | 东南大学 | Composition of Switching State of Distribution Network discrimination method based on probability graph model |
CN111262243A (en) * | 2020-03-04 | 2020-06-09 | 国网浙江省电力有限公司 | Intelligent identification and optimization method for operation mode of park power distribution system |
CN111381498A (en) * | 2020-03-09 | 2020-07-07 | 常熟理工学院 | Expectation maximization identification method of multi-sensor based on multi-rate variable time-lag state space model |
-
2020
- 2020-11-20 CN CN202011309392.1A patent/CN112559963B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933953A (en) * | 2019-04-11 | 2019-06-25 | 东南大学 | Composition of Switching State of Distribution Network discrimination method based on probability graph model |
CN111262243A (en) * | 2020-03-04 | 2020-06-09 | 国网浙江省电力有限公司 | Intelligent identification and optimization method for operation mode of park power distribution system |
CN111381498A (en) * | 2020-03-09 | 2020-07-07 | 常熟理工学院 | Expectation maximization identification method of multi-sensor based on multi-rate variable time-lag state space model |
Non-Patent Citations (1)
Title |
---|
WEI JIANG, ET AL.: "Distribution line parameter estimation considering dynamic operating states with a probabilistic graphical model", ELECTRICAL POWER AND ENERGY SYSTEMS, pages 2 - 8 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113158309A (en) * | 2021-04-09 | 2021-07-23 | 天津大学 | Heating and ventilation equipment operation strategy identification method |
CN113987910A (en) * | 2021-09-18 | 2022-01-28 | 国网江苏省电力有限公司信息通信分公司 | Method and device for identifying load of residents by coupling neural network and dynamic time planning |
CN114696316A (en) * | 2022-03-03 | 2022-07-01 | 国网江苏省电力有限公司电力科学研究院 | Distribution network parameter identification method and device considering probability distribution |
CN114897414A (en) * | 2022-05-31 | 2022-08-12 | 天津大学 | Method for identifying key uncertain factors of power distribution network containing high-proportion photovoltaic and electric automobile |
CN115000941A (en) * | 2022-06-01 | 2022-09-02 | 南京工程学院 | M-H sampling-based distribution network line parameter identification method and system |
CN115464237A (en) * | 2022-08-19 | 2022-12-13 | 北京理工大学 | Real-time control method, system and device for electric arc additive manufacturing equipment |
CN117520869A (en) * | 2024-01-04 | 2024-02-06 | 国网江苏省电力有限公司苏州供电分公司 | Method and system for identifying parameter interval of medium-voltage distribution network based on dynamic Bayesian network |
CN117520869B (en) * | 2024-01-04 | 2024-03-29 | 国网江苏省电力有限公司苏州供电分公司 | Method and system for identifying parameter interval of medium-voltage distribution network based on dynamic Bayesian network |
Also Published As
Publication number | Publication date |
---|---|
CN112559963B (en) | 2024-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112559963B (en) | Dynamic parameter identification method and device for power distribution network | |
Deng et al. | A missing power data filling method based on improved random forest algorithm | |
CN106779505B (en) | Power transmission line fault early warning method and system based on big data driving | |
CN103927695B (en) | Ultrashort-term wind power prediction method based on self study complex data source | |
Konstantelos et al. | Using vine copulas to generate representative system states for machine learning | |
CN108665112A (en) | Photovoltaic fault detection method based on Modified particle swarm optimization Elman networks | |
CN103245881A (en) | Power distribution network fault analyzing method and device based on tidal current distribution characteristics | |
CN109933953B (en) | Power distribution network switch state identification method based on probability map model | |
Raptis et al. | Total power quality index for electrical networks using neural networks | |
CN116207739B (en) | Optimal scheduling method and device for power distribution network, computer equipment and storage medium | |
CN111654392A (en) | Low-voltage distribution network topology identification method and system based on mutual information | |
LU500551B1 (en) | Virtual load dominant parameter identification method based on incremental learning | |
CN110826237B (en) | Wind power equipment reliability analysis method and device based on Bayesian belief network | |
CN113937764A (en) | Low-voltage distribution network high-frequency measurement data processing and topology identification method | |
CN112379325A (en) | Fault diagnosis method and system for intelligent electric meter | |
CN112925824A (en) | Photovoltaic power prediction method and system for extreme weather type | |
CN116680635A (en) | Power grid fault position inference method and system | |
CN103927597A (en) | Ultra-short-term wind power prediction method based on autoregression moving average model | |
Li et al. | Research on digital twin and collaborative cloud and edge computing applied in operations and maintenance in wind turbines of wind power farm | |
CN116821610B (en) | Method for optimizing wind power generation efficiency by utilizing big data | |
CN115544276B (en) | Metering device knowledge graph construction method and metering device archive checking method | |
Xin et al. | Short-Term Wind Power Forecasting Based on VMD-QPSO-LSTM | |
CN114034966A (en) | Power transmission line fault identification method and device based on support vector machine | |
CN110889614A (en) | Power grid system important user power supply risk analysis method based on SCADA big data | |
Chen et al. | Data preprocessing using hybrid general regression neural networks and particle swarm optimization for remote terminal units |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |