The present invention relates to the field of power system technologies, and in particular, to a method for identifying parameters of a 10 kV static load model based on similar daily load curves.
A static load model is structurally classified into a power function model, a polynomial model, and a model in which the power function model is mixed with the polynomial model. Because frequency usually changes with an extremely small amplitude, the effect of frequency changes on load characteristics can be ignored. In addition, the polynomial load model has clearer physical meaning. To be specific, loads are obtained by superimposing constant impedance loads, constant current loads, constant power loads, etc. Therefore, the polynomial model is usually adopted for static loads in power system simulation analyses. The model is as follows:
In the model, pz denotes a constant-impedance active power percentage, pi denotes a constant-current active power percentage, pp denotes a constant-power active power percentage, qz denotes a constant-impedance reactive power percentage, qi denotes a constant-current reactive power percentage, and qp denotes a constant-power reactive power percentage. For a kth load curve, P0 denotes an initial value of active power, and Q0 denotes an initial value of reactive power.
When the model is used to describe daily load characteristics, the initial power value and ZIP coefficients in the model at each moment dynamically change. When ZIP model parameters are identified based on active power, reactive power, and voltage curves, the number of parameters to be solved in the model is greater than the number of equations. Therefore, accurate ZIP coefficients cannot be directly solved.
In view of this, an objective of the present invention is to establish an optimization model for identifying parameters of a static load model based on a structure of a static load model and a similar 10 kV daily load curve, and perform optimization solution by using an interior point method to obtain full-period (including 96 sampling moments) parameters of the static load model in one day, and obtain a change rule of load constituents to analyze the load constituents. The method delivers good applicability, satisfies actual demands, and is suitable for large-scale static modeling analyses for 10 kV loads.
The present invention adopts a method for identifying parameters of a 10 kV static load model based on similar daily load curves, including:
step 1: acquiring 96-moment voltage and load data of a large number of 10 kV users, and conducting corresponding data preprocessing to weaken influence of an abnormal sampling point;
step 2: classifying loads by using the K-means algorithm based on the load data obtained in step 1, wherein loads with a similar shape are classified into one class based on Euclidean distances;
step 3: selecting one class of load from the loads classified in step 2, and establishing, based on a structure of a static load model and constraints on parameters of the static load model, an optimization model for identifying full-period parameters of the static load model, wherein an optimization objective of the optimization model is to minimize the sum of squared errors between a load calculation value of the static model and a curve of the one class of load;
step 4: supposing that constituent proportions of a static load do not change greatly and suddenly within one day, superimposing an objective function, that is, a sum of squares of coefficient differences at two adjacent moments in a model expression, on an objective function of the optimization identification model established in step 3 to modify the objective function of the optimization identification model established in step 3; and
step 5: solving the objective function of the model in step 4 by using a conventional optimization method such as an interior point method based on the constraints in step 3 to obtain values of full-period static model parameters of loads in a same class, wherein a constituent change rule of each class of static load can be analyzed based on the parameter values.
Optionally, step 1 specifically includes:
performing the following smoothing processing on voltage V and loads P and Q of each 10 kV user:
when moment t=1 or 96, no processing is performed;
when moment t=2, the following processing is performed:
when moment t=95, the following processing is performed:
and
when 3≤t≤94, the following processing is performed:
wherein
Vt denotes a voltage at moment t, V′t denotes a processed voltage at moment t, Pt denotes a class-I load at moment t, P′t denotes a processed class-I load at moment t, Qt denotes a class-II load at moment t, and Q′t denotes a processed class-II load at moment t.
Optionally, step 2 specifically includes:
(1) randomly selecting h data points as initial cluster centers;
(2) calculating Euclidean distances from N data points to the h cluster centers one by one, and classifying the data points into classes that include cluster centers with minimum distances to the data points;
(3) after classifying the N data points, separately calculating means of data points in h classes, and using the means as new cluster centers of the h classes; and
(4) repeating steps (2) and (3) until cluster centers of the h classes no longer change; and
using two evaluation indexes to determine an optimal number of clusters and an optimal clustering result that takes into account randomness of the initial cluster centers.
Optionally, the using two evaluation indexes to determine an optimal number of clusters and an optimal clustering result that takes into account randomness of the initial cluster centers includes:
(1) using Davies-Bouldin index IDB to determine the optimal number of clusters, wherein
IDB is calculated as follows:
wherein
h denotes the number of clusters; ci and cj denote cluster centers of an i th class and a j th class respectively; and
(2) using the sum of squared errors (SSE) index ISSE to evaluate clustering results corresponding to different initial cluster centers; to be specific, setting the number of times of clustering first, and then calculating a corresponding ISSE value based on a result of each time of clustering, and finally selecting a clustering result corresponding to the minimum ISSE, wherein ISSE is calculated as follows:
wherein
n1 denotes the number of data points in the i th class, cik denotes a kth data point in the i th class, and ci denotes the cluster center of the i th class; and
(3) obtaining the optimal clustering result of loads through a plurality of times of clustering based on Davies-Bouldin index IDB and SSE index ISSE.
Optionally, step 3 specifically includes:
selecting class-I daily load curves based on the clustering result obtained in step 2, selecting N curves with shapes closest to each other from the class-I daily load curves, and optimizing and identifying static load models corresponding to the N load curves;
a static load model of a kth curve at moment t is expressed as follows:
wherein
k=1, 2, . . . , N−1, N; and t=1, 2, . . . , 95, 96;
the model includes a large number of parameters pzkt, pikt, ppkt, qzkt, qikt, qpkt, P0kt, Q0kt to be identified, wherein for the kth load curve, pzkt denotes a constant-impedance active power percentage, pikt denotes a constant-current active power percentage, ppkt denotes a constant-power active power percentage, qzkt denotes a constant-impedance reactive power percentage, qikt denotes a constant-current reactive power percentage, qpkt denotes a constant-power reactive power percentage, P0kt denotes an initial value of active power, Q0kt denotes an initial value of reactive power, V0k denotes a voltage at moment 0, that is, an initial voltage, and Vkt denotes a voltage at moment t; the following assumption is proposed considering that constituents of loads in the same class are theoretically similar:
basic assumption 1: for loads in the same class that are determined based on differences in load curve shapes, constituent proportions of the loads at the same moment differ slightly; to be specific, parameters such as pzkt, pikt, ppkt, qzkt, qikt, and qpkt differ slightly between different loads in the same class, but P0kt and Q0kt differ obviously;
based on assumption 1, the loads in the same class can be identified together; specifically, constituent proportion differences between the loads in the same class at the same moment is ignored, and in this case, the number of parameters to be identified for the loads in the class is reduced greatly, and the parameters are pzt, pit, ppt, qzt, qit, qpt, P0kt, and Q0kt; for all the N loads, pzt denotes a constant-impedance active power percentage, pit denotes a constant-current active power percentage, ppt denotes a constant-power active power percentage, qzt denotes a constant-impedance reactive power percentage, qit denotes a constant-current reactive power percentage, and qpt denotes a constant-power reactive power percentage; for the kth load curve, P0kt denotes the initial value of active power, and Q0kt denotes the initial value of reactive power;
optimal values of the parameters to be identified should minimize the sum of squared errors between load model calculation values of the loads in the same class at each moment and corresponding measurement values; therefore, this is the basis of the optimization model for identifying parameters;
an optimization model for identifying parameters of a static active power model is as follows:
the objective function is
wherein
Pkt denotes a theoretical active load calculated by using a static load model expression at moment t, and Pkt′ denotes an actual active load at moment t; and
the constraints are
and
an optimization model for identifying parameters of a static reactive power model is as follows:
the objective function is
wherein
Qkt denotes a theoretical reactive load calculated by using the static load model expression for the kth load at moment t, and Qkt′ denotes an actual reactive load of the kth load at moment t; and
the constraints are
Optionally, step 4 specifically includes:
modifying the objective function of the optimization model in step 3, considering that constituent proportions of static loads do not change greatly and suddenly within one day;
in theory, the following conditions exist in terms of loads:
basic assumption 2: the constituent proportions of static loads do not change greatly and suddenly within one day;
based on assumption 2, the sum of squares of differences between static load constituent proportions of the loads in the same class at two adjacent moments is superimposed on the original objective function to modify the objective function;
the objective functions of the optimization models for identifying parameters of a static reactive power model and a static active power model are respectively modified to
wherein
pzk,t−1 denotes a constant-impedance active power percentage of the kth load at moment t−1, Pik,t−1 denotes a constant-current active power percentage of the kth load at moment t−1, qzk,t−1 denotes a constant-impedance reactive power percentage of the kth load at moment t−1, and qik,t−1 denotes a constant-current reactive power percentage of the kth load at moment t−1.
Optionally, step 5 specifically includes:
solving the objective functions of the optimization models for identifying parameters of a static reactive power model and a static active power model in step 4 by using an optimization method such as the interior point method based on the constraints of the static active power and reactive power models in step 3 to obtain full-period parameter values of the static active power and reactive power load models.
The beneficial effects of the present invention are as follows:
Full-period (including 96 moments) static voltage model parameters of 10 kV loads are given through clustering and optimization solution, and the rule that active power and reactive power of loads at each moment change with voltage is analyzed.
The sole FIGURE is a schematic flowchart of a method for identifying parameters of a 10 kV static load model based on similar daily load curves according to an embodiment of the present invention.
The present invention is further described with reference to the accompanying drawings and embodiments.
In practice, a power grid acquires all information about electricity consumption of general-purpose and special-purpose transformer customers, and covers a load control and management system for a distribution network. In addition, the power grid is equipped with intelligent measurement terminals, and connected to power grid management information platforms such as a marketing and distribution system, a supervisory control and data acquisition (SCADA) system, and a Hisun information system. This provides a large amount of load data for implementation of the present invention.
An embodiment provides a method for identifying parameters of a 10 kV static load model based on similar daily load curves. As shown in the FIGURE, the method includes the following steps:
Step 1: Acquire 96-moment voltage and load data of a large number of 10 kV users, and conduct corresponding data preprocessing to weaken influence of an abnormal sampling point.
Step 2: Classify loads by using the K-means algorithm based on the load data obtained in step 1, where loads with a similar shape are classified into one class based on Euclidean distances.
Step 3: Select one class of load from the loads classified in step 2, and establish, based on a structure of a static load model and constraints on parameters of the static load model, an optimization model for identifying full-period parameters of the static load model, where an optimization objective of the optimization model is to minimize the sum of squared errors between a load calculation value of the static model and a curve of the one class of load.
Step 4: Supposing that constituent proportions of a static load do not change greatly and suddenly within one day, superimpose an objective function, that is, the sum of squares of coefficient differences at two adjacent moments in a model expression, on an objective function of the optimization model established in step 3 to modify the objective function in step 3.
Step 5: Solve the objective function of the model in step 4 by using a conventional optimization method such as an interior point method based on the constraints in step 3 to obtain values of full-period static model parameters of loads in the same class, where a constituent change rule of each class of static load can be analyzed based on the parameter values.
Further, step 1 may be specifically performing the following smoothing processing on voltage V and loads P and Q of each 10 kV user:
When moment t=1 or 96, no processing is performed.
When moment t=2, the following processing is performed:
When moment t=95, the following processing is performed:
When 3≤t≤94, the following processing is performed:
where
Vt denotes a voltage at moment t, V′t denotes a processed voltage at moment t, Pt denotes a class-I load at moment t, P′t denotes a processed class-I load at moment t, Qt denotes a class-II load at moment t, and Q′t denotes a processed class-II load at moment t.
Further, step 2 may be specifically classifying the loads by using the K-means algorithm. The K-means algorithm is a typical algorithm in the field of clustering analysis. Its basic idea is to classify N data points into h classes to minimize the sum of distances from a cluster center of each class to all data points in the class.
Clustering based on the K-means algorithm may be implemented as follows:
(1) Randomly select h data points as initial cluster centers.
(2) Calculate Euclidean distances from N data points to the h cluster centers one by one, and classify the data points into classes that include cluster centers with minimum distances to the data points.
(3) After classifying the N data points, separately calculate means of data points in h classes, and use the means as new cluster centers of the h classes.
(4) Repeat steps (2) and (3) until cluster centers of the h classes no longer change.
Two evaluation indexes may be used to determine an optimal number of clusters and an optimal clustering result that takes into account randomness of the initial cluster centers.
First, Davies-Bouldin index IDB may be used to determine the optimal number of clusters.
IDB may be calculated as follows:
In the formula, h denotes the number of clusters; ci and cj denote cluster centers of an i th class and a j th class respectively; and
Then sum of squared errors (SSE) index ISSE may be used to evaluate clustering results corresponding to different initial cluster centers. First, the number of times of clustering was set. Then a corresponding ISSE value was calculated based on a result of each time of clustering. Finally, a clustering result corresponding to the minimum ISSE was selected. ISSE may be calculated as follows:
In the formula, ni denotes the number of data points in the i th class, cik denotes a kth data point in the i th class, and ci denotes the cluster center of the i th class.
The optimal clustering result of loads may be obtained through a plurality times of clustering based on the two indexes.
Further, step 3 may be specifically selecting class-I daily load curves based on the clustering result obtained in step 2, selecting N curves with shapes closest to each other from the class-I daily load curves, and optimizing and identifying static load models corresponding to the N load curves.
A static load model of a kth curve at moment t may be expressed as follows:
where
k=1, 2, . . . , N−1, N; and t=1, 2, . . . , 95, 96.
The model includes a large number of parameters pzkt, pikt, ppkt, qzkt, qikt, qpkt, P0kt, Q0kt to be identified. For the kth load curve, pzkt denotes a constant-impedance active power percentage, pikt denotes a constant-current active power percentage, ppkt denotes a constant-power active power percentage, qzkt denotes a constant-impedance reactive power percentage, qikt denotes a constant-current reactive power percentage, qpkt denotes a constant-power reactive power percentage, P0kt denotes an initial value of active power, Q0kt denotes an initial value of reactive power, denotes a voltage at moment 0, that is, an initial voltage, and Vkt denotes a voltage at moment t. The following assumption is proposed considering that constituents of loads in the same class are theoretically similar:
Basic assumption 1: for loads in the same class that are determined based on differences in load curve shapes, constituent proportions of the loads at the same moment differ slightly. To be specific, parameters such as pzkt, pikt, ppkt, qzkt, qikt, and qpkt differ slightly between different loads in the same class, but P0kt and Q0kt differ obviously.
Based on assumption 1, the loads in the same class may be identified together. Specifically, constituent proportion differences between the loads in the same class at the same moment may be ignored. In this case, the number of parameters to be identified for the loads in the class may be reduced greatly, and the parameters may be pzt, pit, ppt, qzt, qit, qpt, P0kt, and Q0kt. For all the N loads, pzt denotes a constant-impedance active power percentage, pit denotes a constant-current active power percentage, ppt denotes a constant-power active power percentage, qzt denotes a constant-impedance reactive power percentage, qit denotes a constant-current reactive power percentage, and qpt denotes a constant-power reactive power percentage. For the kth load curve, P0kt denotes the initial value of active power, and Q0kt denotes the initial value of reactive power.
Optimal values of the parameters to be identified should minimize the sum of squared errors between load model calculation values of the loads in the same class at each moment and corresponding measurement values. Therefore, this is the basis of the optimization model for identifying parameters. Parameters of active power and reactive power models may be identified separately by using similar methods.
An optimization model for identifying parameters of a static active power model may be as follows:
the objective function is
where
Pkt denotes a theoretical active load calculated by using a static load model expression at moment t, and Pkt′ denotes an actual active load at moment t; and
the constraints are
An optimization model for identifying parameters of a static reactive power model may be as follows:
the objective function is
where
Qkt denotes a theoretical reactive load calculated by using the static load model expression for the kth load at moment t, and Qkt′ denotes an actual reactive load of the kth load at moment t; and
the constraints are
Further, step 4 may be specifically modifying the objective function of the optimization model in step 3, supposing that constituent proportions of static loads do not change greatly and suddenly within one day.
In theory, the following conditions may exist in terms of loads:
Basic assumption 2: the constituent proportions of static loads do not change greatly and suddenly within one day.
Based on assumption 2, the sum of squares of differences between static load constituent proportions of the loads in the same class at two adjacent moments may be superimposed on the original objective function to modify the objective function.
The objective functions of the optimization models for identifying parameters of a static reactive power model and a static active power model may be respectively modified to
where
pzk,t−1 denotes a constant-impedance active power percentage of the kth load at moment t−1, pik,t−1 denotes a constant-current active power percentage of the kth load at moment t−1, qzk,t−1 denotes a constant-impedance reactive power percentage of the kth load at moment t−1, and qik,t−1 denotes a constant-current reactive power percentage of the kth load at moment t−1.
Further, step 5 may be specifically solving the objective functions of the optimization models for identifying parameters of a static reactive power model and a static active power model in step 4 by using an optimization method such as the interior point method based on the constraints of the static active power and reactive power models in step 3 to obtain full-period parameter values of the static active power and reactive power load models.
In the present invention, full-period (including 96 moments) static voltage model parameters of 10 kV loads are given through clustering and optimization solution based on a large number of daily load curves with response characteristic and the two theoretical basic assumptions. In addition, a rule that active power and reactive power of the loads at each moment change with voltage is analyzed. The full-period parameters of the 10 kV static load model are optimized and identified by performing the foregoing steps. As a result, the foregoing steps provide a method for analyzing a full-period change rule of static load model constituents.
The aforementioned are only preferred embodiments of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention shall fall within the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201910977349.3 | Oct 2019 | CN | national |
The present application is a Continuation-In-Part application of PCT Application No. PCT/CN2020/120258 filed on Oct. 11, 2020, which claims the benefit of Chinese Patent Application No. 201910977349.3 filed on Oct. 15, 2019. All the above are hereby incorporated by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2020/120258 | Oct 2020 | US |
Child | 17109176 | US |