Cluster based state space matrix.

## Abstract

This chapter describes the process of identifying a power generation system. This is important because in principle the system parameters as a whole are not linear and uncertain. For this reason, it is necessary to carry out an identification process using an experimental approach that is able to represent the system as a whole. The technique used in this identification process is Prediction Error Minimization (PEM) as a tool available in Matlab. Identification is done by simulating changes in the value of frequency, voltage and electrical power due to changes in load. The change in load over time is a characteristic of the time series pattern. Through descriptive analytic approach, the cluster load is patterned for each load operating condition. Through load clusters, the identification results of power generation systems are obtained based on their operating conditions. This chapter presents validated parameter estimates for each change in instantaneous load conditions. The simulation results obtained better performance between the actual output and the identification model, namely the calculation of the Intergal Absolute Error (IAE), with MAPE for the average frequency value of 73.95 percent, nominal voltage of 0.23 percent, and electric power of 23.46 percent.

### Keywords

- Identification parameters
- Validation
- Descriptive analysis
- Clustering model
- Electric loads
- Power generation system

## 1. Introduction

In reality, existing systems are a combination of linear and nonlinear models. Modeling with mathematical derivation is done with a lot of neglect of unmeasured parameters. The calculation is carried out around the linear area only, while the nonlinear area is not much heeded or neglected. Therefore, the results of the model derived based on the laws of physics or mathematical derivation, are still not very effective to be applied directly in the field.

Apart from the method of deriving the laws of physics or deriving it mathematically, there are also other methods for modeling, namely by using the identification method. This method will model a system as a whole, both linear and nonlinear parameters. All of these are considered to be one integrated system. Identification is an approach process by means of mathematical modeling of an unknown system through learning of data collected from previous experiments as well as input–output data from pre-existing controlled systems. The results obtained are parameter values in the form of a mathematical model. The data is compared with the actual model, wherein the difference between the two systems is used as an objective function which will later be minimized. In principle, the identification process is an introduction to a system to be controlled. Identification is one of the important factors that support success in engineering a control system that is stable, robust and able to represent the actual model in the field.

Matlab has a very effective identification tool for simulations. Several studies on parameter identification have been carried out through one of them the System Identification Toolbox (SIT) package. Initial research which is the reference for this writing as has been done by Fruk et al. [1]. The model can be determined by adjusting the assumed process model settings, until the modeling is satisfactory and accurate according to the input data in the SIT package. Research has also been carried out to identify the dynamic model parameters of a permanent magnet direct current (PMDC) DC motor [2]. The process of identifying DC motor parameters in the last year has also been carried out and published. This study identifies DC motor parameters whose initial values are estimated by MATLAB/ Simulink based on a Genetic Algorithm [3]. Identification research on large-scale power generation systems has been carried out to test the frequency value of the load shedding test on the 39 bus hydraulic turbogenerator system [4]. This identification process is carried out in the form of a Matlab simulation.

The identification in this paper is a variant of the single machine infinite bus (SMIB) parameters due to load changes. The fluctuation of electric power at the load center is very important to analyze so that the stability of the power generation system can be maintained optimally. Changes in load over time can be identified as minor disturbances in the generating system. Minor disturbances or so called small-signal stability studies occur in the operating conditions of the system after the first swing at which time the response of control equipment such as governors, AVR, and auxiliary devices has been taken into account [5, 6]. Load fluctuation results in changes in the value of the frequency and voltage in the power generation system so that the stability of the system will be disturbed.

The load characteristics of the period of use whether it is used by household, commercial, industrial and public loads are necessary so that fluctuations in the loading system can be analyzed. Changes in electric load form a continuous pattern and are time series in nature. Through a descriptive analytical statistical approach, the load pattern is analyzed so that the operating conditions of the power generation system are obtained in the form of a continuous load cluster pattern. To achieve the research objectives, steps were taken to identify any changes in electrical power at the load center. Changes in load are classified through the identification of SMIB parameters using the reduced-order model approach.

## 2. Research methods

This research aims to identify and validate the power generation system parameters. The identification process uses the prediction error minimization approach to obtain a more accurate mathematical model.

In this research, identification is carried out for all dynamic conditions due to changes in electric power on the load side. Namely, creating a load cluster pattern based on the analytical descriptive method in a time series approach.

The achievement that will be produced in this research is the identification model equation for each cluster in the form of a state space matrix equation. So that the results of this research will be useful in designing controls on a power generation system that is more efficient, optimal response and robust.

### 2.1 Proposed research

Mathematical models through physical analysis will not provide accurate identification results, because there are parameters that can only be obtained through an experimental process. So it is necessary to approach the system model. The system model approach can be carried out through the identification and validation process stages. System identification is defined as a method used to obtain an approach model from the actual system through evaluation of input–output measurement data [7]. In other words, the process of identifying a system is a combination of two efforts, namely the effort to form a mathematical model and estimate the optimal parameter value through experimental steps. System identification in general can be described as in Figure 1 below.

According to Law and Kelton, validation is the process of determining whether the simulation conceptual model is really an accurate representation of the real system being modeled [8]. Model validation can also be said as a step to test whether the identified model can represent the real system correctly. A model can be said to be valid when it does not have a significant difference with the real system which is observed either from its characteristics or from its behavior.

It is important to identify and validate the power generation system in determining the load change pattern. The dynamic load characteristics will be patterned in the form of clusters based on statistical analysis. Load every moment is a time series dynamic behavior. A time series is a series of observations carried out sequentially based on time [9]. The observation process is carried out at the same intervals, for example in hourly, daily, weekly, monthly, yearly intervals, or other intervals. There are two objectives of time series analysis, namely to model the stochastic mechanisms contained in the observations and to predict the value of future observations.

Electric load data can be viewed as a reality of stochastic processes [9]. Where statistical phenomena are arranged in time order based on the law of probability. If the time series observation is denoted by * t* is the time index [10]. The distribution functions of the random variables

Observation of

A model like the one above is called a stochastic process, because of the sequential observations that are arranged in time. The variant of the electric load due to use in consumers can be viewed as an approach to the electrical load cluster pattern. The main purpose of this cluster pattern is to determine the operating conditions of the power generation system. Analytical descriptive method is a statistical approach that can describe a continuous load state. This method is concerned with collecting and presenting a data set so that it provides useful information [11]. Analysis of this cluster data processing into information containing a set of electrical load characteristics that can be summed up numerically.

This descriptive analysis includes several things, namely: first, frequency distribution, namely the arrangement of data according to certain categories in a systematically arranged list. Second, the measurement of central tension, which is a statistical analysis that specifically describes a representative score, includes data frequency figures such as mode, mean, median or arithmetic mean. Third, the measurement of variability, namely the degree of spread of variable values from a central tendency in a distribution. Variability is also known as dispersion. Variability can be measured through measurements: range, mean deviation, and standard deviation [12].

Cluster pattern groups in the same interval will make it easier to analyze load changes and be able to provide intervals of variants of the distribution of electric power from the power plant to the load. This analysis is important in achieving the planning goals and schedules of a more efficient and optimal generating system in maintaining the balance of the electric power system.

### 2.2 Physical model of the power generation system

The physical model used in this study is the SMIB model. The SMIB model refers to Park modeling, with the following criteria: negligible stator resistance, balanced system conditions and negligible core saturation of the generator, and the load is considered a static load [13]. This model refers to the synchronous machine that was introduced by De Mello and Concordia [14]. Recent studies still refer to this single engine model as has been done by [15, 16, 17].

The electric power produced by the power plant must be balanced with the electric power absorbed at the load center. By applying a variant of the electric load pattern and the load cluster approach, this research is able to maintain a balance between the electrical power supplied and the electric power consumed at the load center.

### 2.3 Identification power generation system

Parameter identification through derivation of the mathematical equation of the SMIB model. The mathematical model of a dynamic system is defined as a set of mathematical equations that represent the dynamics of a system accurately or at least close to the characteristics of the dynamic system. As a first step in analyzing a dynamic system is to derive the mathematical model. The mathematical model of each system will vary, it depends on the system components. Previous studies have derived mathematical models of generating systems to support the design of small signal stability control [18].

The identification approach uses a system identification toolbox with prediction error minimization (PEM) black-box identification techniques. PEM builds a measured input–output system mathematical model with the aim of updating the initial model as a reference model.

The PEM function also handles multiple-input-single-output structures in the form of polynomial representation of transfer functions

Where * A*,

*,*B

*,*F

*and*C

*are polynomials in the operator delay. Here, the numbers*D

## 3. Results of the parameter identification

To reach the results stage of this research, the steps taken in this study are simulations of the identification of the power generation system parameters, the results of time series analysis, validation, and simulation of the validation parameters compared to the actual model.

### 3.1 Parameter modeling

Based on Figure 1, the mathematical model of the SMIB system is represented in the form of the following state space Eq. [14]:

Where, * A* is the system matrix,

*is the control matrix,*B

*is the measurement matrix,*C

The state space equation, where the state variable * x* is defined as

and the output variable * y* as

where,

And for the output state variable of the equation that satisfies:

Where,

### 3.2 Time series analysis based load cluster

The dynamics of the electrical load is a series of data calculated every half hour on the SMIB that transmits power to the load center. The operating points were selected based on load cluster modeling using descriptive analytical statistical methods. The cluster interval range is simply implemented between the minimum value of electrical load, quartile 1, middle value, quartile 3, and maximum value as the operating point under load conditions. To model the cluster pattern based on the distribution of electrical load data as shown in Figure 2, this study uses the Minitab software.

Load variation is defined as a disturbance mechanism that occurs in the system due to changes in electrical power at the load center represented by changes in load groups. While the input from the turbine side and constant excitation. This modeling is represented by the input signal (* u*) which is on the turbine side (

*) which represents the signal change in frequency value (*y

The input change load is in the form of a cluster pattern which represents the cluster load model in the form of a sinusoidal signal equation. As shown in Figure 3, the cluster pattern in the form of a variation in the load model is set manually. The cluster charge signal is a reference input with a signal pattern: cluster 1 represents a 0.125 sin (0.5 t) +0.125 signal, cluster 2 is 0.125 sin (0.5 t) +0.375, cluster 3 is 0.125 sin (0.5 t) +0.625, and cluster 4 of 0.125 sin (0.5 t) +0.875 in 1 pu.

In terms of the discrete state model equation, the identification results are expressed by:

For all identification processes using a sampling interval of 0.1 s with a discrete equation mode of order 3. The program listing on the system identification toolbox is as follows

S%Identification ModelSMIB

dat = idddata(y11 y12 y13],u11 u12],0.1);

SMIB = pem(dat,nx,…

‘DisturbanceModel’,‘none’,…

‘InitialState’,‘zero’);

[aM1d, bM1d, cM1d, dM1d, ke] = ssdata(SMIBDskrt);

aM1d

bM1d

cM1d

### 3.3 Validation power generation system

Power generation system validation model represents the mathematical model of the actual model and the 3rd order approach model. The representation of the simulation model approach with Matlab/Simulink is in the following block diagram.

The sub-system model of the generation system validation is shown in the following Matlab/Simulink block diagram (Figure 4).

The results of the identification and validation of the generating system are expressed in the form of the equation state space order 3 matrices A, B, and C below.

Modeling the identification of the power generation system parameters through the simulation of loading of electrical power in each cluster obtained a linear model of the input state matrix (A matrix), the output state matrix (C matrix) and the control signal state matrix (B matrix).

### 3.4 Power generation system parameter simulation results

The identification result is a state space matrix equation as shown in Eqs. 9 and 10 in Table 1 above. The identification process is outlined in a flowchart as shown in Figure 5 below:

Cluster | Matrix A | Matrix B | Matrix C |
---|---|---|---|

1 | |||

2 | |||

3 | |||

4 |

The identified state space equation model is then validated as a reference equation for the mathematical model of the power generation system load cluster parameters compared to the actual model, with the following results:

Validate the following cluster 1 power generation system parameters (Figure 6):

Validate the following cluster 2 power generation system parameters (Figure 7):

Validate the following cluster 3 power generation system parameters (Figure 8):

Validate the following cluster 4 power generation system parameters (Figure 9):

Comparative representation between the actual model and the validation model is presented in Table 2 form as follows:

Kluster | IAE actual output | IAE identification model output | ||||
---|---|---|---|---|---|---|

F | V | P | F | V | P | |

1 | 2.046 | 51.32 | 51.49 | 0.7489 | 51.27 | 50.54 |

2 | 1.856 | 51.32 | 35.81 | 0.3652 | 51.55 | 30.8 |

3 | 1.909 | 51.31 | 31.17 | 0.4764 | 51.46 | 17.48 |

4 | 2.184 | 51.3 | 37.7 | 0.4927 | 51.45 | 20.72 |

Average | 1.999 | 51.313 | 39.043 | 0.5208 | 51.433 | 29.885 |

Based on the results obtained in Table 2, it can be seen that the IAE calculation is very significant between the actual output and the identification results, especially for changes in frequency and electrical power.

To calculate the performance comparison between the actual results and identification, the Mean Absolute Percentage Error (MAPE) formula is used as follows:

where

Based on the MAPE calculation, the average frequency value is 73.95 percent, nominal voltage is 0.23 percent, and electric power is 23.46 percent.

## 4. Conclusion

The identification process of the power generation system in this paper is very supportive for further research, especially in the field of controlling the power generation system.

Prediction Error Minimization is very helpful in the identification process that is able to adjust the response to the desired signal model. Response time delay is calculated so that the generation system equipment on the mechanical and electrical side can work optimally. The delay time in Figure 4 is included so that the power generation system equipment on the mechanical and electrical side can work optimally. The simulation results are obtained with better performance between the actual output and the identification model, namely the calculation of Integral Absolute Error (IAE), with MAPE for the average frequency value of 73.95 percent, nominal voltage of 0.23 percent, and electric power of 23,46 percent.

For future research work related to the identification of parameters of multi-engine generating systems as well as interconnection systems, it is necessary to carry out experiments. Even though it is in the form of a simulation, this work will help researchers to get closer to solving problems in real conditions.

Finally, this paper can be used as a reference for further research on the identification of power generation system parameters. In maintaining the stability of the frequency value on the mechanical side, the nominal voltage of the generator terminal and electric power when the electric load fluctuates.

## References

- 1.
Fruk, M., Vujisić, G., & Špoljarić, T. (2013, May). Parameter identification of transfer functions using MATLAB. In 2013 36th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO) (pp. 571-576). IEEE. - 2.
Chaves, W. D. S., Kaneko, E. H., Mollon, M. F., Niro, L., Vargas, A. D. N., & Montezuma, M. A. (2017). Parameters identification of a direct current motor using the trust region algorithm. International Journal of Advanced Engineering Research and Science ,4 (12), 237343. - 3.
Amiri, M. S., Ibrahim, M. F., & Ramli, R. (2020). Optimal parameter estimation for a DC motor using genetic algorithm. International Journal of Power Electronics and Drive Systems ,11 (2), 1047. - 4.
Fajardo, M., Guzmán, J., Vargas, W., Cepeda, J., & Urquizo, J. The Identification of Speed Regulation Systems Parameters for Hydraulic Turbogenerators. - 5.
Soeprijanto, A. (2012). Desain Kontroller untuk Kestabilan Dinamik Sistem Tenaga Listrik. - 6.
Robandi, I. (2006). Desain sistem tenaga modern. Penerbit ANDI, Yogyakarta . - 7.
Ljung, L. (1995). System identification toolbox: User’s guide . Natick, MA: MathWorks Incorporated. - 8.
Law, A. M., & Kelton, W. D., (2000). Simulation modeling and analysis (Vol. 3). New York: McGraw-Hill. - 9.
Box, G.E.P., Jenkis, G.M., & Reissel, G.C. (1994). Time Series Analysis Forecasting and Control. 3th Edition, Englewood Cliffs: Prentice Hall. - 10.
Wei, W. W. S. (1990). Time Series Univariate and Multivariate Methods. Canada: Addison Wesley Publishing Company, Inc. - 11.
Walpole, R. E. (1990). Pengantar statistika, edisi ke-3 (Introduction to statistics). Penerbit PT Gramedia Pustaka Utama. - 12.
Wiyono, B. B. (2001). Statistik Pendidikan: Bahan Ajar Mata Kuliah Statistik. Malang: FIP UM . - 13.
Anderson, P. M., & Fouad, A. A. (2008). Power system control and stability . John Wiley & Sons. - 14.
Demello, F. P., & Concordia, C. (1969). Concepts of synchronous machine stability as affected by excitation control. IEEE Transactions on power apparatus and systems ,88 (4), 316-329. - 15.
Aswathi, C. R., & Jacob, J. (2016, May). Power system stabilizer for single machine infinite bus system for robustness against inertia constant variations. In 2016 International Conference on Advanced Communication Control and Computing Technologies (ICACCCT) (pp. 467-472). IEEE. - 16.
Fortulan, R. L. V., & Alberto, L. F. C. (2019, August). Transient Stability Analysis of a Single Machine Infinite Bus System with Uncertainties in Generated Power. In 2019 IEEE Power & Energy Society General Meeting (PESGM) (pp. 1-5). IEEE. - 17.
Aghababa, M. P., Marinescu, B., & Xavier, F. (2020). Observer-based Tracking Control for Single Machine Infinite Bus System Via Flatness Theory. International Journal of Electrical and Computer Engineering (IJECE) . - 18.
Mado, I., & Soeprijanto, A. (2014, August). Design of robust-fuzzy controller for SMIB based on power-load cluster model with time series analysis. In 2014 Electrical Power, Electronics, Communicatons, Control and Informatics Seminar (EECCIS) (pp. 8-15). IEEE.