Next Article in Journal
Integrated Policies to Reduce Australia’s Electricity Sector Greenhouse Gas Emissions to Net Zero by 2050
Previous Article in Journal
Scale Effect on Hydraulic Properties of Pore-Fissure Deep Rock Formations and Its Importance for the Mining Shaft-Sinking Process
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Clustering Method for Load Demand to Shorten the Time of Annual Simulation

1
Fuculty of Engineering, University of the Ryukyus, 1 Senbaru, Nishihara-cho 903-0213, Nakagami, Okinawa, Japan
2
Department of Electrical and Electronics Engineering, SASTRA Deemed University, Thanjavur 613401, Tamil Nadu, India
3
Central Research Institute of Electric Power Industry, 2-6-1 Nagasaka, Yokosuka-City 240-0196, Kanagawa, Japan
4
Fuji Elctric Co., Ltd., Tokyo 141-0032, Japan
*
Author to whom correspondence should be addressed.
Energies 2023, 16(5), 2264; https://doi.org/10.3390/en16052264
Submission received: 21 December 2022 / Revised: 4 February 2023 / Accepted: 24 February 2023 / Published: 27 February 2023

Abstract

:
UC (unit commitment) for grid operation has been attracting increasing attention due to the growing interest in global warming. Compared to other methods, MILP, which is one of the calculation methods for UC, has the disadvantage of a long calculation time, although it is more accurate in considering constraints and in finding solutions. However, RLCs (representative load curves) require a more accurate clustering method to select representative dates because the calculation results vary greatly depending on the clustering method. DBSCAN, one of the clustering methods, has the feature that the clustering accuracy varies depending on two parameters. Therefore, this paper proposes two algorithms to automatically determine the two parameters of DBSCAN to perform RLCs using DBSCAN. In addition, since DBSCAN has the feature of being able to represent different data as two-dimensional elements, a survey of the data to be used as clustering was conducted. As a result, the proposed algorithms enabled a more accurate clustering than the conventional method. It was also proved that clustering including temperature and load demand as clustering classification factors enables clustering with higher accuracy. The simulation with shorter time was also possible for the system including storage batteries as a demand response.

1. Introduction

In recent years, renewable energy power generation has been attracting attention due to growing concern over global warming. Fossil fuel power generation is a cause of increased greenhouse gas emissions [1]. Renewable energies are non-fossil fuels and do not emit greenhouse gases when power is generated, so countries worldwide are aiming to convert their existing power generation facilities to renewable energies [2]. However, the amount and duration of power generation from renewable energies are unstable, which causes uncertainty in the stable supply of electricity. In particular, the duck curve phenomenon, which occurs with the introduction of large amounts of PV, causes load fluctuations to increase due to PV generation, leading to problems with the number of generator startups and shutdowns at certain times [3]. The introduction of renewable energy sources causes unstable grid operation, resulting in a situation where a stable power supply cannot be achieved.
Against this background, there has been growing interest in unit commitment (UC) for power system operation and scheduling [4]. UC is a study of stable power system operation and load demand distribution by proposing optimal operation schedules for generators [5]. In Ref. [6], it was proved that the proposal of optimal generator operation scheduling by UC can reduce the grid operation cost. In Ref. [7], UC was proposed to improve the duck curve phenomenon by peak shifting through the introduction of demand response and ESS. The UC simulation can solve the grid operation unstable caused by the increase of renewable energy generation that may occur in the future.
Although various methods have been used to derive UC, MILP has been proven to obtain optimal solutions with high quality when compared to each method [8]. In addition, MILP is characterized by the fact that it is relatively easy to introduce and take into account constraint conditions, and simulations can be performed with a model that is close to reality [9]. However, one of the disadvantages of MILP is that the computation time increases due to the increase in the number of constraints and variables to be considered and the larger scale of the model [8,10]. In particular, the binary variables make more realistic simulations possible, but at the same time, the computation time increases exponentially [11]. As shown in Ref. [12], relaxing binary variables does not necessarily lead to a reduction in computational load, so methods to shorten simulation time are required.
Moreover, although the introduction and study of various demand response systems is an important issue in UC [7], a one-day simulation is not sufficient. Since load demand varies greatly depending on climatic changes such as seasons and people’s activities, simulations for at least one year are necessary to evaluate the proposed method [13]. However, as previously mentioned, MILP simulation requires a lot of time to solve the problem.
One of the fastest methods to obtain solutions in MILP is RLCs (representative load curves), which is a method to reduce the number of load curves using clustering of load demand over one year [14]. In RLC, load demand is classified into several patterns based on some criteria, and a representative day is created. By considering the weights of the representative days, it is possible to obtain results that are almost equivalent to running a one-year simulation with a small number of simulations and a short time period. However, it is important to use clustering with high clustering accuracy because the results can vary greatly depending on the clustering method.

Clustering Method

The main clustering methods are supervised and unsupervised learning. As a representative of supervised learning, population neural networks (ANNs) learned from past cases were used as the standard AI technique [15]. This technique is effective for future forecasting and performed better than other forecasting methods for PV and wind speed forecasting in Ref. [16]. However, a major characteristic of supervised learning is that it mostly requires large amounts of high-quality training data. Therefore, unsupervised learning is used for classification of historical data.
The k-means method is a typical clustering method for unsupervised learning. The k-means method is easy to implement and provides accurate clustering [17]. The k-means method begins by specifying the number of groups (clusters) to be classified, then randomly assigns all elements of the data to the clusters, and classifies the elements of the data by using the center of gravity within the clusters and the average value of each element. Therefore, the most important aspect of this method is how k is determined, since the results can vary greatly depending on the number of clusters k. Several studies have been conducted on how to determine the cluster k for using the k-means method. In Refs. [18,19], the number of clusters has been determined using a method called the elbow method. In this method, the number of clusters k is varied one by one, from one to the total number of elements, and the residual sum of squares (SSE value) of the clusters is calculated and plotted on a diagram. In Ref. [20], based on the idea that the electricity usage of consumers differs depending on the season and on weekdays, weekends, and holidays, the number of patterns to be classified is created in advance, and this is used as the number of clusters. However, the common problems with these methods are that the results and accuracy of the classification depend on the clustering user and that k must be determined in advance. If an incorrect number of clusters is used, the accuracy of clustering with load demand data is greatly reduced and complexity is increased [21].
In addition, several references [22,23,24] use k-means for clustering load demand, but since k-means can only handle one parameter, clustering is performed using load demand and renewable energy generation (PV and wind power). However, load demand and renewable energy generation vary with external factors (temperature, solar radiation, wind speed, etc.), but these external factors are not taken into account when clustering.
Therefore, in this paper, we examine the adaptation of DBSCAN (density-based spatial clustering of applications with noise), a clustering method that can perform clustering without predetermining the number of clusters, to pattern classification of load demand. DBSCAN is a clustering method characterized by the fact that it performs classification based on the distance between elements and can remove elements with weak relationships to each other from the classification as noise [25]. However, since DBSCAN uses two parameters, ϵ and MinPts, the clustering accuracy can vary greatly depending on the settings of these two parameters [26]. In this paper, we present a new approach to automatically define the eps and MinPts parameters for the DBSCAN algorithm.
In this paper, we improve DBSCAN by using two cases to enable more detailed cluster classification and noise elimination compared to the conventionally used DBSCAN algorithm (Ref. [27]) to increase clustering accuracy. Since DBSCAN has the property of being able to plot data on a two-dimensional plane and cluster them, this paper investigates effective combinations for load demand classification from 12 data sets (temperature, humidity, wind speed, etc.).
In Case 1, the k-dist plot in the Ref. [27] was improved to automatically determine more knees for clustering. In Case 2, clustering was performed using DBSCAN noise reduction and k-means center-of-gravity updating. The results are compared with those of the DBSCAN algorithm (Ref. [27]), the k-means method, and annual operations without clustering to demonstrate the effectiveness of the algorithm.
The remainder of this paper is organized as follows. Section 2 introduces DBSCAN and the proposed method. Section 3 presents the objective function for minimizing operating costs and the constraints considered in performing the optimization. Section 4 presents the power system model assumed in this paper. Section 5 presents and discusses the simulation results. Section 6 concludes the paper.

2. DBSCAN

2.1. DBSCAN Method

The advantages of DBSCAN are that, unlike the k-means method, it is not necessary to provide a pioneering k number of clusters and that it can determine the noise. DBSCAN does not require the number of clusters k, but it does require the constant parameters ϵ and MinPts. The detailed method of DBSCAN is shown below, and an image of DBSCAN is shown in Figure 1.
(1)
Label the elements of the data set based on the following three conditions
  • A core point is a point such that there are at least the specified number (MinPts) of adjacent points within the specified radius ϵ .
  • A border point is a point such that the number of adjacent points of radius ϵ is less than MinPts, but is located within radius ϵ of the core point. In Figure 1, the center point of the red dotted line is the boundary point.
  • All other points that are neither core nor border points are considered noise points.
(2)
Clusters are formed for each core point. If the core points are within radius ϵ of each other, they are assumed to belong to the same cluster.
(3)
Assign each border point within radius ϵ of the core point to a cluster of that core point.

2.2. DBSCAN Adaptation Methods

As explained in Section 2.1, unlike the k-means method, DBSCAN requires elements to be represented as points. Therefore, in order to classify load demand patterns using DBSCAN, this paper performs DBSCAN by selecting two different data sets from 12 different data sets for one year and plotting their combinations on a two-dimensional plane. Representative days are then created by assigning days with similar characteristics to the same cluster. Finally, the representative days are used for operational planning to find the most appropriate combination of data for classifying load demand in terms of simulation time and error with the results for one year. The types of data used in this paper are listed in Table 1. Since DBSCAN obtains the radius ϵ by the Euclidean distance, it is not possible to properly classify the data if they are combined with each other, each of which has a different scale. Therefore, when combining two sets of data, each data value was converted to the centile notation to accommodate clustering. The percentage conversion formula is shown in Equation (1). The data in Table 1 were taken from the 2016 dataset published by the JMA and Okinawa Electric Power Company [28,29].
  • Percentage notation conversion formula for each data value
    X 100 , i = X i X m a x × 100
    where X: the set of data for 365 days, X 100 : the set of data for 365 days (after percentage transformation), X 100 , i : the i-th data value after percentage notation transformation, X i : the i-th data value in X, X 100 is plotted on the two combined coordinate planes.

2.3. DBSCAN Implementation Steps

DBSCAN needs to determine the radius ϵ of an element and the number of elements MinPts within the radius. The setting of these two parameters determines the clustering accuracy. Therefore, we used an algorithm to automatically determine the parameters of ϵ and MinPts using the k-dist plot method introduced in Ref. [27]. The procedure is shown below.
  • The distance from each element to the kth element away is k-dist.
  • The k-dist-mean is the average of the distances of each element to all elements contained within the radius k-dist.
  • Arrange the obtained k-dist-means in descending order.
  • Find one point P that is the knee from the graph.
  • The resulting k-dist value of point P is the radius ϵ , and the number of elements that the k-dist-mean of point P contains is MinPts.
Figure 2 shows the k-dist graph. Figure 3 shows the k-dist mean and the determined knee. Although it is difficult to determine the knee from Figure 2, Figure 3 graph makes it easier to find the knee.

2.4. Proposal Method

Figure 4 shows the results of DBSCAN using the method described in Section 2.3. The k-dist plot method can determine only one knee point, so one cluster may become huge as shown in Figure 4. Therefore, it is not possible to properly classify each element from the results, so improvements were made in two cases.
  • Case 1: Clustering by improving k-dist plot
Since only one knee is determined in the k-dist plot, a problem arose in which one cluster became too large. Therefore, in Case 1, multiple knees are automatically determined in the k-dist plot, DBSCAN is performed sequentially starting from the knee with the smallest k-dist value, and the obtained results are updated to remove noise and perform detailed cluster classification. The procedure is described below.
  • Calculate the gradient between adjacent points of elements of the reordered k-dist-mean graph.
  • From the graph, divide the elements into fixed intervals (10 equal parts in this paper) and find the average value of the gradient of the elements within the interval. The average slope for ranks 37–72 in Figure 5 is 0.0213.
  • The element with a gradient value that is more prominent than the mean value (five times in this paper) is designated as the knee-point and stored in the knee-list. The gradient of the white circle for ranks 37–72 in Figure 5 was 0.1543, so it was stored in the knee-list as a Knee-Point.
  • Here, for noise elimination, all the knee-points in the knee-list that have a prominent gradient ground (5 times in this paper) above the average of the gradient of the entire graph are eliminated. The average value of the overall slope in this study is 0.0303.
  • Select the knee-point with the smallest k-dist value from the knee-list, calculate the radius ϵ and MinPts, and perform DBSCAN.
  • All the elements assigned to clusters in the result obtained at this time are saved, and the saved elements are removed from the two-dimensional plane. Then, DBSCAN is performed on the next knee-point with a large k-dist as in step 5.
  • Perform step 6 for all knee points in the knee list and finish clustering by adapting DBSCAN on all elements. Finally, the stored grouped elements and noise are shown in the same graph.
The graph of k-dist mean adapted from case 1 is shown in Figure 5, and the process from step 5 to step 7 is shown in Figure 6, Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11. The final DBSCAN results for case 1 are shown in Figure 12. By finding multiple knees as shown in Figure 5 and repeating DBSCAN as shown in Figure 6, Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11, it was possible to perform detailed classification of the entire data and eliminate noise as shown in Figure 12. The flow diagram for Case 1 is shown in Figure 13.
  • Case 2: Clustering by combination of DBSCAN and k-means method
Case 1 has an improved k-dist plot that automatically determines the radius ϵ and element pts in more detail. However, it is clear that cluster 4 in Figure 12 has a rather broad distribution. This may not be sufficient clustering.
In Case 2, the DBSCAN approach is used to remove noisy elements in the dataset, followed by classification of the elements using the k-means method center-of-gravity update, and finally final clustering using the k-means method. The proposed clustering algorithm is shown below. It is also adapted to clustering using the data combinations shown in Table 1. Figure 13, Figure 14, Figure 15, Figure 16, Figure 17 and Figure 18, which shows Case 2, uses the same combination of average temperature and total solar radiation as Case 1.
  • Removal of noisy elements
  • Plot the points that are the centers of gravity of all the elements on the diagram, with P as the center of gravity.
  • Create a circle centered at point P that covers the entire element, and let r be its radius.
  • The radius r is contracted, and the point S is the point of leakage from the circle.
  • Consider a circle of radius ϵ with respect to S. Find the center of gravity of the elements contained in the circle and plot it on the diagram.
  • Steps 3 to 4 are repeated until there are no more elements. The elements used in step 4 to calculate the center of gravity are excluded from the next step if they have been considered once.
  • For every center of gravity obtained, a judgment is made as to whether it has Pts elements within a radius ϵ , and all elements within the circle of the center of gravity that do not satisfy the condition are considered noise.
  • Classification of Elements
7.
To classify the remaining centers of gravity and elements, the following method is used for grouping.
(a)
Focusing on the center of gravity farthest from the center of gravity P obtained in step 1, group together the elements contained within the radius ϵ of the center of gravity and make a new grouping.
(b)
Create a new center of gravity from the elements in the summarized group, and create a new group of elements contained within a radius ϵ centered on the center of gravity.
(c)
Repeat updating the center of gravity and groups as above, and save the groups when there are no more updates.
(d)
Next, the points away from the center of gravity P are grouped in the same way. At this time, elements that have been grouped once are not considered.
8.
If groups have the same elements within the radius of the center of gravity of each other, they are considered as one group. In such a case, the group is considered to be a single group. A group is considered as a group with multiple centers of gravity.
9.
Finally, clustering is performed on all groups using the k-means method. The number of clusters k is the number of centers of gravity that the group has. After updating the center of gravity with k-means, the clustering is finished.
Comparing Figure 4 and Figure 19, one can see that a more detailed classification has been made. The flow diagram for Case 2 is shown in Figure 20.

Time Complexity

It is known that the time complexity of DBSCAN is determined by the number of calls to the parameters ( ϵ , P t s ) of each element and is O(n 2 ). The conventional method, k-dist plot, determines only one parameter and simulates it, so the time complexity is O(n 2 ). Case 1 of the proposed method increases the number of knee points in the k-dist plot and automatically updates the parameters to perform the simulation. Therefore, the time complexity is O( P × n 2 ) (P: number of knees).
Case 2 of the proposed method once adapts the DBSCAN algorithm on all points, then updates the center of gravity and creates clusters by elements with noise points removed. Therefore, the time computational complexity is O( n 2 + k × ( n n o i s e ) × t ) (k: number of centers of gravity, n: number of elements, t: number of iterations).
The time computation resulted in a larger time computation than the original DBSCAN, but if we were to cluster the load demand for one year, the elements would be 365 elements.

3. Formulation of the Optimization Problem

Consider a one-year generator start-up and shutdown plan to verify the effectiveness of the clustering results. The formulation of the generator start-up and shutdown plan to be implemented is shown below. The objective function is to minimize the total cost of fuel and start-up costs of thermal generators. The maximum and minimum parameters for each constraint are shown in Table 2 and Table 3.These parameters are based on information on generators and transmission lines used in the Okinawa Prefecture.
  • objective function
    M i n i m i z e = k j ( c k , j F + c k , j S )
    where c k , j F : the fuel cost of generator j at time k and c k , j S : the starting cost of generator j at time k. The c k , j F is given by the following equation.
    c k , j F = A j v k , j + B j p k , j + C j p k , j 2
    where p k , j : the output of generator j at time k, A j , B j , C j : the fuel cost coefficient of generator j.
  • Constraints
    -
    Supply and demand balance constraints:
    Constraint that load demand and power supply at each bus bar must be equal.
    L D k , b = j p k , j , b + P F k , b
    where L D k , b : load demand on bus b at time k, p k , j , b : output of generator j on bus b at time k, P F k , b : transmission line tidal flow on bus b at time k.
    -
    Generator output upper and lower limit constraints:
    The output of the generator must be within a certain range.
    P j m i n p k , j P j m a x
    where P j m i n : minimum output of generator j, P j m a x : maximum output of generator j.
    -
    Generator output change rate constraint:
    The rate of change of the generator output in one hour must be within a certain value.
    | p k , j p k , j 1 | Δ P j m a x
    where Δ P j m a x : the maximum output change of generator j.
    -
    Power line tidal constraints
    The amount of transmission line tidal flow must be within a certain range.
    P F s , r m a x θ k , s θ k , r X s , r P F s , r m a x
    where P F s , r m a x : maximum capacity of the transmission line between busbars s , r , X s , r : reactance of the transmission line between busbars s , r , θ k , s , θ k , r : transfer angle of busbars s , r at time k.
    -
    Generator minimum run/stop time constraints:
    If the generator is started, it must not be stopped for the minimum operating time. Conversely, if the generator is stopped, it must not be started for the minimum time.
    T j o n X k , j o n ( t )
    T j o f f X k , j o f f ( t )
    where T j o n , T j o f f : minimum operation and shutdown time of generator j, X j o n ( t ) , X j o f f ( t ) : time to keep generator j stopped at time k.
    -
    Operating reserve capacity constraint:
    L D k , b + S R k , b j ( v k , j , b × p j m a x )
    where S R k , b : the operating reserve at time k busbar b.
    -
    Prediction error correspondence constraints:
    The following constraint equation is considered in the UC problem, which is a constraint to prevent changes in the start-up and shutdown states of generators determined in the pre-decision phase when errors in PV output occur within ±2 σ in the day’s operation plan.
    D μ P V + 2 σ P V j ( P j m a x × X j )
    D μ P V 2 σ P V j ( P j m a x × X j )
    where D: load demand forecast, μ P V : PV output forecast, σ P V : standard deviation of PV output forecast error.

4. Power System Model

The small power system model with eight bus lines used in this study is shown in Figure 21. In Figure 21, L 1 - L 4 represent the load demand, and the respective percentages are 9%, 24%, 23%, and 43%. g 1 g 5 indicate the locations of thermal power generators, and a total of 12 thermal power generators are assumed to be installed, with a total maximum output of 1805 M W . For load demand, we used data for fiscal year 2016 (April 2016–March 2017) published by Okinawa Electric Power Company, Inc. Photovoltaic systems were considered to be installed in the power system, and a total of 270 MW of photovoltaic systems were assumed to be installed on each load bus line at the same ratio as the load. The solar radiation was predicted by the neural network function of Matlab using data from 2015, and the prediction error from the same day was derived.
This simulation was performed using MILP in the Matlab Tool box. The maximum time for one duration was set as 500 s.

5. Simulation

5.1. Simulation Conditions

To confirm the effectiveness of the proposed method, simulations are performed on representative days created using the Case 1 and Case 2 methods, and the results are compared with the operational cost results of a one-year operational plan that does not use clustering to determine the error and comparison of simulation time. Similarly, a comparison will be made with the k-means method and k-dist plot [27], which are existing methods.
In the k-means method, the number of clusters was determined using the elbow method. The results of the elbow method are shown in Figure 22. The number of clusters was determined to be 18 based on the results in Figure 22.
S S E = i = 1 k ( j = 1 A i ( y i y i , j * ) ) 2
Here, k is the number of clusters, A i is the total number of data classified as cluster i, y i is the cluster i, y * i , j In addition, the j th data classified as cluster i.

5.2. Simulation Results

Figure 23 shows the results using case 1, case 2, and clustering by the k-means method. Figure 23 shows and compares the best points in terms of simulation time and cost error among the three cases. The results of the DBSCAN clustering in the elements of Table 1 are the combination of data 4 and data 6 (total solar radiation and average temperature), case 1 is the combination of data 2 and data 12 (total load demand and weekday, weekend and holidays), case 2 is the combination of data 6 and data 9 (average temperature and minimum load hours).
Table 4 shows the simulation time and cost error at the best point for each case. The time rate in Table 4 is the percentage of simulation time when the one-year operation is set to 100%. The proposed methods, case 1 and case 2, have more clusters than the conventional method, DBSCAN, resulting in a longer simulation time. However, the cost error can be reduced in both Case 1 and Case 2. The results show that DBSCAN is more cost-effective than DBSCAN. The results clearly show that the clustering is more accurate than the conventional DBSCAN method, and although the simulation time increases slightly, it can be said that the objective of reducing the computation time has been achieved compared to the annual operation. A comparison of the cost error between case 1 and case 2 shows that the cost error is 0.7%. Therefore, case 2 is the superior clustering method between case 1 and case 2, which is the proposed method.

5.3. Analysis of Each Data

The results from case 2 are used to analyze which of the data shown in Table 1 are suitable for load-demand pattern classification. Figure 24 shows the averages by error of the operating costs for the 12 types of data. Figure 25 shows their standard deviations. From Figure 24 and Figure 25, the clustering including four of the data cases (2, 5, 6, and 7) results in the lowest error. These results are related to total load demand and temperature, respectively, and it is appropriate to use these data in classifying load demand patterns. In fact, since load demand is expected to change significantly from season to season, the load demand pattern classification based on temperature and load demand is considered appropriate.

5.4. Simulation with Storage Batteries Installed

Section 5.2 proves that the proposed method is more accurate than the clustering of conventional methods. In this section, we investigate whether the proposed method is also effective for UC extension problems such as the optimal placement of storage batteries [30,31,32] using Case 2, which had higher accuracy. The constraints considered are shown below.
s b = s b ( k 1 ) + c h b ( k ) η d i s b ( k ) / η
0 s b s b m a x
where s b ( k ) : residual energy of the storage battery at time k, s b m a x : upper limit of residual power of the storage battery at time k, c h b ( k ) : charge power of the storage battery at time k, d i s c b ( k ) : discharge power of the storage battery at time k, η : charge and discharge efficiency of the storage battery.
0 c h b ( k ) η c b m a x u j
0 d i s b ( k ) / η c b m a x u j ( 1 u j )
where c b m a x : maximum output rating of the storage battery, u j : charge/discharge state of the storage battery (1: charge, 0: discharge).
Table 5 shows the status of storage battery placement and capacity according to the one-year simulation results without clustering and the results of the proposed method 2 (average temperature, minimum load time). Comparison of the results from Table 5 shows that the results are close mainly in terms of their placement on bus lines 7 and 8 and in terms of the total number of storage batteries placed. Table 6 shows the cost results of the simulation with the storage battery arrangements and capacities in Table 5. Table 6 shows that the difference in total cost is about JNY 150 million, which is an error of about 0.4% of the total cost, and that the UC simulation including storage batteries in MILP can be performed in a short time with a small error compared to annual operation. These results indicate that clustering using DBSCAN is adaptable to the UC extension problem of optimal placement of storage batteries, and is expected to reduce computation time even for simulations with increased variables.

6. Conclusions

In this study, we proposed an improved method of DBSCAN, a method of clustering without prior determination of the number of clusters, for load demand pattern classification. Case 1 automatically determines the number of knees in a k-dist plot, which enabled more detailed clustering. In case 2, a clustering method combining DBSCAN and the k-means method was used to classify patterns of electricity load demand with updated noise and center of gravity. Comparison of each method in the annual operation of UC showed that case 1 and case 2 of the proposed method can reduce the cost error compared to the conventional method. In addition, a comparison of case 1 and case 2 showed that case 2 was superior in terms of both simulation time and cost error. When case 2 was introduced into the extended problem of optimal placement of storage batteries, the cost error was reduced to about 1.4%. By determining the representative date through clustering, it was possible to perform accurate simulations in a shorter time, even when the number of variables and constraints to be considered increased due to the introduction of demand response. Finally, the errors of the input data used from these obtained solutions were checked, respectively, and it was found that clustering by total load demand and temperature factors gave superior clustering results.
As a prospective view, this simulation was clustered using the 2016 data set. However, future grid operations are necessary to achieve the 2030 CO 2 reduction targets established in each country. Reference [33] adapted artificial neural networks (ANN) and an adaptive neurofuzzy inference system (ANFIS) to meta-heuristic algorithms such as genetic algorithms (GA), differential evolution (DE), and particle swarm optimization (PSO) to enable the formulation of future forecast data. Based on the calculated future load demand and generation data, the clustering method proposed in this paper can be used to reduce the computation time.

Author Contributions

Conceptualization, Y.T. and T.S.; data curation, Y.T.; formal analysis, Y.T., E.O. and A.Y.; investigation, Y.T.; methodology, Y.T.; project administration, T.S.; resources, H.T. and T.S.; software, Y.T.; supervision, Y.T. and T.S.; validation, Y.T. and T.S.; visualization, A.Y. and H.T.; writing—original draft, Y.T.; writing—review & editing, N.K. and E.O. All authors have read and agreed to the final version of this manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data sharing not applicable. No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Edmunds, R.; Davies, L.; Deane, P.; Pourkashanian, M. Thermal power plant operating regimes in future British power systems with increasing variable renewable penetration. Energy Conv. Manag. 2015, 105, 977–985. [Google Scholar] [CrossRef]
  2. Amrutha, A.A.; Balachandra, P.; Mathirajan, M. Role of targeted policies in mainstreaming renewable energy in a resource constrained electricity system: A case study of Karnataka electricity system in India. Energy Policy 2017, 106, 48–58. [Google Scholar] [CrossRef]
  3. Leonard, M.D.; Michaelides, E.E.; Michaelides, D.N. Substitution of coal power plants with renewable energy sources—Shift of the power demand and energy storage. Energy Convers. Manag. 2018, 164, 27–35. [Google Scholar] [CrossRef]
  4. Muralikrishnan, N.; Jebaraj, L.; Rajan, C.C.A. A Comprehensive Review on Etionary Optimization Techniques Applied for Unit Commitment Problem. IEEE Access 2020, 8, 132980–133014. [Google Scholar] [CrossRef]
  5. Li, X.; Zhai, Q.; Zhou, J.; Guan, X. A variable reduction method for large-scale unit commitment. IEEE Trans. Power Syst. 2020, 35, 261–272. [Google Scholar] [CrossRef]
  6. Guan, X.; Luh, P.B.; Yan, H.; Amalfi, J.A. An Optimization—Based Method for Unit Commitment. Electr. Power Energy Syst. 1992, 14, 9–17. [Google Scholar] [CrossRef]
  7. Howlader, H.O.R.; Sediqi, M.M.; Ibrahimi, A.M.; Senjyu, T. Optimal Thermal Unit Commitment for Solving Duck Curve Problem by Introducing CSP, PSH and Demand Response. IEEE Access 2018, 6, 4834–4844. [Google Scholar] [CrossRef]
  8. Zhu, Y.; Gao, H. Improved Binary Artificial Fish Swarm Algorithm and Fast Constraint Processing for Large Scale Unit Commitment. IEEE Access 2020, 8, 152081–152092. [Google Scholar] [CrossRef]
  9. Carrion, M.; Arroyo, J.M. A computationally efficient mixed–integer linear formulation for the thermal unit commitment problem. IEEE Trans. Power Syst. 2006, 21, 1371–1378. [Google Scholar] [CrossRef]
  10. Bragin, M.A.; Luh, P.B.; Yan, B.; Sun, X. A scalable solution methodology for mixed–integer linear programming problems arising in automation. IEEE Trans. Autom. Sci. Eng. 2019, 16, 531–541. [Google Scholar] [CrossRef]
  11. Viana, A.; PedroPedroso, J. A new MILP-based approach for unit commitment in power production planning. Electr. Power Energy Syst. 2013, 44, 997–1005. [Google Scholar] [CrossRef] [Green Version]
  12. Alemany, J.; Kasprzyk, L.; Magnago, F. Effects of binary variables in mixed integer linear programming based unit commitment in large–scale electricity markets. Electr. Power Syst. Res. 2018, 160, 429–438. [Google Scholar] [CrossRef]
  13. Balasubramanian, S.; Balachandra, P. Characterising electricity demand through load curve clustering: A case of Karnataka electricity system in India. Comput. Chem. Eng. 2021, 150, 107316. [Google Scholar] [CrossRef]
  14. Marton, C.H.; Elkamel, A.; Duever, T.A. An order-specific clustering algorithm for the determination of representative demand curves. Comput. Chem. Eng. 2008, 32, 1365–1372. [Google Scholar] [CrossRef]
  15. Ibs-von Seht, M. Detection and identification of seismic signals recorded at Krakatau ano (Indonesia) using artificial neural networks. J. Anology Geotherm. Res. 2008, 178, 448–456. [Google Scholar] [CrossRef]
  16. Lei, M.; Shiyan, L.; Chuanwen, J.; Hongling, L.; Yan, Z. A review on the forecasting of wind speed and generated power. Renew. Sustain. Energy Rev. 2009, 13, 915–920. [Google Scholar] [CrossRef]
  17. MacQueen, J.B. Some Methods for Classification and Analysis of Multivariate Observation. In Proceedings of the Berkeley Symposium on Mathematical Statistics and Probability 5.1, Berkeley, CA, USA, 7 January 1967; pp. 281–297. [Google Scholar]
  18. Kaur, P.; Goyal, M.; Lu, J. Data mining driven agents for predicting online auction’s end price. In Proceedings of the 2011 IEEE Symposium on Computational Intelligence and Data Mining (CIDM), Paris, France, 11–15 April 2011; p. 141. [Google Scholar]
  19. Understanding Clustering with the K-Means Algorithm in Machine Learning: (With Examples). Available online: https://www.analyticsvidhya.com/blog/2021/11/understanding-k-means-clustering-in-machine-learningwith-examples/ (accessed on 20 January 2023).
  20. Luo, X.; Zhu, X.; Lim, E.G. A parametric bootstrap algorithm for cluster number determination of load pattern categorization. Energy 2019, 180, 50–60. [Google Scholar] [CrossRef]
  21. Battaglia, O.R.; Paola, B.D.; Fazio, C. A New Approach to Investigate Students’ Behavior by Using Cluster Analysis as an Unsupervised Methodology in the Field of Education. Appl. Math. 2016, 7, 141–147. [Google Scholar] [CrossRef] [Green Version]
  22. Nobis, M.; Schmitt, C.; Schemm, R.; Schnettler, A. Pan-European CVaR-Constrained Stochastic Unit Commitment in Day-Ahead and Intraday Electricity Markets. Energies 2020, 13, 2339. [Google Scholar] [CrossRef]
  23. Ocampo, E.; Huang, Y.; Kuo, C.-C. Feasible Reserve in Day-Ahead Unit Commitment Using Scenario-Based Optimization. Energies 2020, 13, 5239. [Google Scholar] [CrossRef]
  24. Heuberger, C.F.; Staffell, I.; Shah, N.; Mac Dowell, N. A systems approach to quantifying the value of power generation and energy storage technologies in future electricity networks. Comput. Chem. Eng. 2017, 107, 247–256. [Google Scholar] [CrossRef]
  25. Khan, K.; Rehman, S.U.; Aziz, K.; Fong, S.; Sarasvady, S. DBSCAN: Past, present and future. In Proceedings of the ICADIWT, Bangalore, India, 17–19 February 2014; pp. 232–238. [Google Scholar]
  26. Ester, M.; Sander, H.K.J.; Xu, X. A density-based algorithm for discovering clusters in large spatial databases. In Proceedings of the KDD ’96 Proceeding of the Second International Conference on Knowledge Discovery and Data Mining, Oregon, Portland, 2–4 August 1996; pp. 226–231. [Google Scholar]
  27. Gaonkar, M.N.; Sawant, K. Auto Eps DBSCAN: DBSCAN with Eps automatic for large dataset. Int. J. Adv. Comput. Theory Eng. 2013, 2, 11–16. [Google Scholar]
  28. Japan Meteorological Agency. Available online: https://www.data.jma.go.jp/obd/stats/etrn/index.php (accessed on 20 January 2023).
  29. Okinawa Electric Power|Electricity Forecast. Available online: https://www.okiden.co.jp/denki2/dl (accessed on 20 January 2023).
  30. Pandi, H.; Wang, Y.; Qiu, T.; Dvorkin, Y.; Kirschen, D.S. Near-Optimal Method for Siting and Sizing of Distributed Storage in a Transmission Network. IEEE Trans. Power Syst. 2015, 30, 2288–2300. [Google Scholar]
  31. Aoyagi, H.; Isomura, R.; Mandal, P.; Krishna, N.; Senjyu, T.; Takahashi, A.H. Optimum Capacity and Placement of Storage Batteries Considering Photoaics. Sustainability 2019, 11, 2556. [Google Scholar] [CrossRef] [Green Version]
  32. Blanco, R.F.; Dvorkin, Y.; Xu, B.; Wang, Y.; Kirsche, D.N. Optimal energy storage siting and sizing: A WECC case study. In Proceedings of the 2017 IEEE Power & Energy Society General Meeting, Chicago, IL, USA, 17 July 2017; p. 1. [Google Scholar]
  33. Çunkaş, M.; Altun, A.A. Long Term Electricity Demand Forecasting in Turkey Using Artificial Neural Networks. Energy Sources Part Econ. Plan. Policy 2010, 5, 279–289. [Google Scholar] [CrossRef]
Figure 1. DBSCAN Image.
Figure 1. DBSCAN Image.
Energies 16 02264 g001
Figure 2. K-dist graph.
Figure 2. K-dist graph.
Energies 16 02264 g002
Figure 3. K-dist-mean graph.
Figure 3. K-dist-mean graph.
Energies 16 02264 g003
Figure 4. DBSCAN results (before improvement).
Figure 4. DBSCAN results (before improvement).
Energies 16 02264 g004
Figure 5. K-dist-mean graph after knee search.
Figure 5. K-dist-mean graph after knee search.
Energies 16 02264 g005
Figure 6. Case1-1.
Figure 6. Case1-1.
Energies 16 02264 g006
Figure 7. Case 1-2.
Figure 7. Case 1-2.
Energies 16 02264 g007
Figure 8. Case 1-3.
Figure 8. Case 1-3.
Energies 16 02264 g008
Figure 9. Case 1-4.
Figure 9. Case 1-4.
Energies 16 02264 g009
Figure 10. Case 1-5.
Figure 10. Case 1-5.
Energies 16 02264 g010
Figure 11. Case 1-6.
Figure 11. Case 1-6.
Energies 16 02264 g011
Figure 12. DBSCAN results (after improvement).
Figure 12. DBSCAN results (after improvement).
Energies 16 02264 g012
Figure 13. Case 1 flow diagram.
Figure 13. Case 1 flow diagram.
Energies 16 02264 g013
Figure 14. Step 1 result (Initial center:P).
Figure 14. Step 1 result (Initial center:P).
Energies 16 02264 g014
Figure 15. Step 2 and 3 result (Futher point:S).
Figure 15. Step 2 and 3 result (Futher point:S).
Energies 16 02264 g015
Figure 16. Step 4, 5, and 6 result.
Figure 16. Step 4, 5, and 6 result.
Energies 16 02264 g016
Figure 17. Step 7 result.
Figure 17. Step 7 result.
Energies 16 02264 g017
Figure 18. Step 8 result.
Figure 18. Step 8 result.
Energies 16 02264 g018
Figure 19. Step 9 result.
Figure 19. Step 9 result.
Energies 16 02264 g019
Figure 20. Case 2 flow diagram.
Figure 20. Case 2 flow diagram.
Energies 16 02264 g020
Figure 21. Power system model.
Figure 21. Power system model.
Energies 16 02264 g021
Figure 22. Elbow method.
Figure 22. Elbow method.
Energies 16 02264 g022
Figure 23. Compare of each result.
Figure 23. Compare of each result.
Energies 16 02264 g023
Figure 24. Comparison of each data in Table 1 (average).
Figure 24. Comparison of each data in Table 1 (average).
Energies 16 02264 g024
Figure 25. Comparison of each data in Table 2 (standerd deviation).
Figure 25. Comparison of each data in Table 2 (standerd deviation).
Energies 16 02264 g025
Table 1. Clustering Elements of DBSCAN.
Table 1. Clustering Elements of DBSCAN.
Data Element
1. Average humidity [%]
2. Load demand [MW]
3. Total precipitation [mm]
4. Total solar radiation [Mj/m 2 ]
5. Maximum temperature [℃]
6. Average temperature [℃]
7. Minimum temperature [℃]
8. Load maximum time [hour]
9. Minimum load time [hour]
10. Maximum wind speed [m/s]
11. Average wind speed [m/s]
12. Weekdays, weekends, and holidays
Table 2. Generator’s parameters.
Table 2. Generator’s parameters.
P max P min Δ PABCSUCT on , off
[MW][MW][MW][JNY][JNY/MWh][JNY/MWh 2 ][¥][h]
g1-1(Coal)220844480,00040000.41,100,0008
g1-2(Coal)220844480,00040000.41,100,0008
g2-1(oil)12510362.5632,00092002.0375,0006
g2-2(oil)1035051.5632,00092002.0309,0006
g3-1(Coal)1566031.280,00040000.4780,0006
g3-2(Coal)1566031.280,00040000.4780,0006
g4-1(LNG)25112284132,00044005.0753,0008
g4-2(LNG)25112284132,00044005.0753,0008
g4-3(LNG)351735132,00044005.0105,0004
g5-1(oil)1256062.5632,00092002.1375,0006
g5-2(oil)603030632,00092002.1180.0004
g5-3(oil)1035551.5632,00092002.1309,0006
Table 3. Power line parameter.
Table 3. Power line parameter.
Bus LineEquipment Capacity [MW]Operating Capacity [MW]Available Capacity [MW]
1-212081032177
2-399865073
2-41208650286
3-4758432157
4-51208650192
3-6810574102
5-71150650133
6-7596340110
7-852026054
Table 4. Simulation results on the optimal data set.
Table 4. Simulation results on the optimal data set.
Error [%]Simulation Time [s]Number of ClustersTime Error [%]
One year operation-9689-100
DBSCAN (data4 and 6)2.76240.63
k-means1.3356183.6
Case 1 (data2 and 12)1.2182121.9
Case 2 (data6 and 9)0.5265182.7
Table 5. Optimal placement and optimal capacity of storage batteries.
Table 5. Optimal placement and optimal capacity of storage batteries.
Bus Number12345678Total
Base case002000443985
Proposed 2000202532380
Table 6. Battery placement result.
Table 6. Battery placement result.
[Million JNY]ESS CostOperation CostTotal Cost
Base case10.88386.7397.6
Proposed210.24388.9399.0
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Tanigawa, Y.; Krishnan, N.; Oomine, E.; Yona, A.; Takahashi, H.; Senjyu, T. Clustering Method for Load Demand to Shorten the Time of Annual Simulation. Energies 2023, 16, 2264. https://doi.org/10.3390/en16052264

AMA Style

Tanigawa Y, Krishnan N, Oomine E, Yona A, Takahashi H, Senjyu T. Clustering Method for Load Demand to Shorten the Time of Annual Simulation. Energies. 2023; 16(5):2264. https://doi.org/10.3390/en16052264

Chicago/Turabian Style

Tanigawa, Yuya, Narayanan Krishnan, Eitaro Oomine, Atushi Yona, Hiroshi Takahashi, and Tomonobu Senjyu. 2023. "Clustering Method for Load Demand to Shorten the Time of Annual Simulation" Energies 16, no. 5: 2264. https://doi.org/10.3390/en16052264

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop