1. Introduction
Power system stability is defined as the ability of a power system to remain in an operational equilibrium state under normal operating conditions and to evolve to an acceptable equilibrium state after a disturbance [
1]. A power system can be vulnerable to instability problems when operating near its physical limits; these problems must be controlled, or they can lead to partial or even total system collapse. Traditionally, the following types of stabilities exist: angular stability, voltage stability, and frequency stability.
Frequency stability is associated with the balance between power generation and electrical demand. When there is a variation in power generation, it causes a deviation in the system frequency, which can result in values outside the safe operating ranges. To maintain stability, power–frequency controllers are incorporated to regulate the balance between generation and demand, ensuring that the frequency remains within appropriate operating ranges [
2].
Power–frequency control can be organized into three levels: primary, secondary, and tertiary. The main characteristics of each control level are their specific operational time ranges and associated variables. Primary control aims to limit the frequency deviation during a contingency, restoring the balance between power generation and electrical demand by bringing the system to a new operating point where the frequency differs from the nominal value. This control operates within a time range of 2 to 30 s. The primary frequency response results from the interaction of generator inertia, load damping, speed regulators, and other devices that supply energy to the system, such as battery energy storage systems (BESSs) [
3].
Secondary control operates in a time range of 30 s to 10 min. It operates within the control area, considering the frequency and power exchange with neighboring areas, and it is implemented by Automatic Generation Control (AGC). Finally, tertiary control operates in a time margin greater than 10 min. It acts in the scope of a large electrical system, seeking optimized load sharing to ensure sufficient energy reserves [
3]. During the operation of the EPS, situations may arise in which imbalances between generated power and consumed power are significantly pronounced. In these circumstances, the mechanical valves controlled by the governors may be too slow to react in time before the frequency crosses acceptable operating limits. This may violate safe operating parameters, which could result in damage to the generating units [
1,
4]. In these cases, remedial strategies consisting of under-frequency load shedding or generation tripping are designed to prevent possible damage to the generating machines and the collapse of the system.
Load shedding strategies can be classified into the following categories: conventional, computational, and adaptive [
5]. These categories identify the value of frequency and
ROCOF for the operation of their algorithms. Strategies involving
ROCOF have been investigated to achieve better results by identifying the minimal amount of load that needs to be disconnected in critical scenarios.
Reference [
6] proposes a scheme that estimates the rate of change of frequency (
ROCOF) at the center of inertia (CoI) and, consequently, the size of the generation loss using local frequency measurements. An innovative turning point detection technique is presented to eliminate the effect of local frequency oscillations.
Reference [
7] presents a methodology based on time-domain simulations to obtain the frequency evolution in response to generation loss across various operating scenarios. These scenarios are classified based on the rate of change of frequency (
ROCOF). A prioritized list of loads for disconnection is generated. Using these results, a load shedding scheme is proposed, and its performance is compared through dynamic simulations.
Reference [
8] proposes sizing the storage capacity for virtual energy contribution based on
ROCOF. In this article,
ROCOF measurements are identified locally, and calculations are performed using center of inertia parameters. This technique is applied to specific areas of the system; however, it does not provide a characterization of the system under different contingencies.
Reference [
9] describes a methodology for identifying characteristic
ROCOFs (rate of change of frequency) in a power system under N-1 contingencies. This methodology is applied to the IEEE 39-bus New England system to determine the number of
ROCOFs that may arise during dynamic frequency behavior. Based on these results, appropriate load shedding measures can be established.
2. Methodology
The rate of change of frequency (
ROCOF) is a critical indicator of the robustness of an electrical power system. Analyzing the dynamic behavior of this parameter enables the estimation of power imbalances within the system, which can be calculated using the following equation.
where
represents the power imbalance caused by an event,
f denotes the nominal frequency of the EPS,
H is the system’s total inertia constant after the event, and
S refers to the system’s nominal power [
10]. The
ROCOF calculation, as part of the proposed methodology, is performed using a 0.5-s window, following the recommendations provided in [
11,
12,
13].
The proposed methodology employs a reduced first-order model to represent the system’s frequency response. This model facilitates the calculation of the dynamic frequency response to an imbalance between generation and load, providing an effective tool for stability analysis. Comprising a turbine, a speed governor, a synchronous generator, and a load, the model allows for a more efficient evaluation of the influence of these elements on frequency stability. The process flow of the methodology is illustrated in
Figure 1.
2.1. Representative Events of the Contingency Space
An equivalent first-order model is implemented to characterize the dynamic frequency response using the following variables: load imbalance (Δ
Po), system control regulation (
R), and load damping (
D). It is assumed that the dynamic capacity available is a fraction (
F) of the immediate reserve capacity, while the complementary fraction (1 −
F) is represented as a first-order lag with a time constant (
T). Additionally, (
Km) is a gain constant for the spinning reserve of the generators. The proposed model considering N generators is illustrated in
Figure 2 [
14].
Reference [
9] details the methodology used to develop a first-order model for the dynamic frequency response. Monte Carlo simulations are used to generate possible operational scenarios, which are then subjected to N − 1 contingencies to evaluate their behavior. Subsequently, a database is created that includes parameters such as the rate of change of frequency (
ROCOF), the system’s equivalent inertia before and after the contingency, the generation loss power during the event, and the NADIR. Using this database, an unsupervised classification algorithm known as Clustering is applied. The results obtained with this methodology are shown in
Table 1 and
Figure 3.
2.2. Optimization
After identifying the events that represent the behavior of the established database, load shedding optimization is performed using the “surrogateopt” algorithm available in MATLAB 2021a. This algorithm aims to minimize the percentage of load shed, with the objective function specifically designed to achieve this minimization.
2.2.1. Mathematical Modeling of the Optimization Problem
Problem definition:
where
: representative scenario;
: system demand in scenario I;
: variation in relay actuation time and measurement;
: percentage of load shed;
: number of representative scenarios.
Constraints:
where
: Stabilization Frequency;
: Action Time of Scenario i.
ROCOF calculation is performed using a 0.5 s time window. The database must be restructured by excluding scenarios where the system returns to safe levels after a contingency. The selection criterion is based on the
NADIR: scenarios in which the frequency does not drop below the 59.4 Hz threshold are considered safe and removed from the database. The 59.4 Hz value corresponds to the first stage of under-frequency load shedding, as recommended in [
15].
2.2.2. Definition of ROCOF Settings for Relays
As a result of implementing the previous stages, the
ROCOF values for the centroids of each characteristic group within the system’s N − 1 contingency universe are obtained and denoted by the symbol x in
Figure 3.
These values provide statistical insights into potential events within the system. For the optimization model, it is assumed that the ROCOF threshold required to activate the protection relay has already been identified.
In this context, the frequency derivative value for each centroid must be adjusted to cover the associated cluster elements. To achieve this, the risk management criterion based on the mean and standard deviation proposed in [
16] is used.
Figure 4 illustrates the effect of this adjustment; the solid black lines represent the mean of the
ROCOF values for the associated group; the dashed lines represent the standard deviation of the
ROCOF values for the associated group; the colored solid lines represent the
ROCOF set for each associated group. Additionally, the statistical analysis for the
ROCOF values of group 3 (blue) is shown in the box.
Criterion Based on the Mean and Standard Deviation:
where
: the variable considered for optimization;
u: the mean of the
ROCOF values for the associated group; and
σ: the standard deviation of the
ROCOF values for the associated group.
For the implementation of the heuristic optimization algorithm, the stochastic variation of the percentage of load that must be disconnected based on the demand at that moment is considered. The frequency behavior is evaluated for each of the defined ROCOF settings, given that three distinct settings must be coordinated to ensure the selectivity of the protections.
In this context, a model of a ROCOF-activated low-frequency protection relay is implemented for each characteristic group. The objective is to have a stochastic parameter that determines the delay time each relay must consider before sending the trip signal, thereby ensuring the selectivity of the protection settings.
3. Application of the Methodology and Analysis of Results
The test system used is an IEEE 39 bus bar system. This system has nineteen loads, ten generators, twelve transformers, and thirty-five transmission lines, whose data can be found in reference [
17]. In the present study, a specific modification was made that involves dividing the original generators into eighteen to increase the sensitivity in the analysis of N-1 contingency events. After applying the proposed methodology, the results are presented in
Table 2.
To evaluate the methodology, all scenarios generated in the
MCS were analyzed by placing the protection relays with the obtained settings.
Figure 5 shows a histogram comparing the stabilization frequency (
FSS) values and the lowest frequency point (
NADIR) before and after implementing the protection relays. This comparison demonstrates a shift towards safer frequency values, thereby validating the implemented methodology.
4. Conclusions and Recommendations
The application of the present methodology assumes that the speed regulators are functioning correctly and that there is an accurate identification of machine variables such as machine inertia, power limits, and regulator droop, among others explained in the methodology. Therefore, a preliminary parameter validation stage must be conducted before applying this methodology.
The present methodology has the characteristic of observing different conditions of the electrical system as long as the input variables, such as generation loss power, ROCOF, and post-contingency equivalent inertia, are identified. These variables can be easily obtained by reading the current state of the system. This characteristic justifies its application in systems with a high penetration of non-inertial and low-inertia generation, such as photovoltaic and wind power plants, and even considering synthetic inertia responses provided by batteries.
In the present methodology, equivalents of the generator-governor groups were implemented to simplify the analysis. These equivalents can be used to perform a zonal analysis in systems with large generation parks. This requires a preliminary analysis to identify zones with very similar frequency behavior. However, for a more detailed analysis, it is recommended to use the entire network, although this would require significantly higher computational capacity.