Abstract
The increasing penetration of the renewable energy sources brings new challenges to the frequency security of power systems. In order to guarantee the system frequency security, frequency constraints are incorporated into unit commitment (UC) models. Due to the non-convex form of the frequency nadir constraint which makes the frequency constrained UC (FCUC) intractable, this letter proposes a revised support vector machine (SVM) based system parameter separating plane method to convexify it. Based on this data-driven convexification method, we obtain a tractable FCUC model which is formulated as a mixed-integer quadratic programming (MIQP) problem. Case studies indicate that the proposed method can obtain less conservative solution than the existing methods with higher efficiency.
WITH the integration of massive renewable energy sources (RESs) into power system, system operators face new challenges to ensure frequency stability. Since RESs are mostly connected to power grid by power electronic interfaces, the power system inertia is gradually decreasing with the growing share of RESs, which will deteriorate the frequency response performance of the power system [
There are some works on characterizing the frequency deviation of power systems after a disturbance. In [
In terms of frequency constrained unit commitment (FCUC) models, some efforts have been presented so far. The frequency constraints are derived in [
This letter proposes a revised support vector machine (SVM) based system parameter separating plane method to convexify the FNC. Based on this data-driven convexification method, we obtain a tractable FCUC model which is formulated as a mixed-integer quadratic programming (MIQP) problem. Finally, case studies indicate that our proposed method can obtain less conservative solution than the existing methods with higher efficiency.
The frequency of power systems is closely linked with the real-time balance of active power.

Fig. 1 Frequency response model of multi-machine system.
An analytical expression of the frequency dynamics after a step disturbance can be derived as follows, under the assumption that , and the detailed derivation can be found in [
(1) |
(2) |
(3) |
(4) |
We concern about two frequency dynamic metrics, i.e., frequency nadir and rate of change of frequency (RoCoF), as shown in

Fig. 2 Frequency dynamics after power disturbance.
For these two metrics, they should be kept within safe range after disturbance; otherwise, it may lead to frequency security violation. Then, the following frequency constraints should be satisfied:
(5) |
(6) |
(7) |
where is the time when the frequency reaches its nadir, i.e., ; is the base frequency; and are the maximum frequency deviation and its threshold, respectively; and and are the maximum RoCoF and its threshold, respectively.
The power disturbance can be obtained by statistical analysis on historical data, and in this letter, we consider as a fixed value. Assuming that and are constant [
References [
(8) |
However, this linearization method in [
In addition, it is too conservative to directly convert the constraint (6) into (8). For example, when a system parameter, e.g., , is appropriately less than its bound, and other parameters are appropriately larger than their bounds, the maximum frequency deviation may still be within the safe range, but this situation is outside the feasible set because it does not satisfy the constraint (8). That is to say, many “safe samples” would be misclassified due to the simple classification method.
In [
In summary, both the PWL technique and neutral networks approach will introduce extra integer variables in UC models, which lead to ultra-heavy computational burden. The convexification method in [
Take the modified IEEE 24-bus system as an example. First, we generate data samples of the unit commitment by Monte Carlo method, and the scatter plot reflects the value of system parameters in 3-dimensional space, as presented in

Fig. 3 System parameter scatter plot.
It is obvious that the blue points and the yellow points can be separated. If they can be linearly separated, the non-convex constraint (6) could be converted into a linear one where the system parameter point is located above the separating plane. For deriving the separating plane, we can use the tool of SVM.
SVM is a classification learning method which can find a proper separating hyperplane based on training samples and separate samples into different categories.

Fig. 4 SVM model.
It should be noted that the standard SVM model is derived based on the assumption that the data set can be linearly separated. If the training sample cannot be linearly separated, as shown in

Fig. 5 Single soft margin SVM model for data set that cannot be linearly separated.
As shown in
(9) |
where is the normal vector of the hyperplane; is the offset of the hyperplane from the origin; is the label of data points, for data points satisfies the constraint (6), while for those do not satisfy; is the slack variable; and is the regularization parameter, which represents the penalty on the classification error.
Adding slack variable only on the points that satisfy constraint (6) can ensure that all of other points that do not satisfy (6) are located on one side of the solved separating hyperplane for the reason that they have “hard margin”. A conservative linear constraint will be obtained because some “safe samples” are misclassified, while this constraint could ensure all of the points above the hyperplane do not violate frequency security.
(10) |

Fig. 6 System parameter scatter plot and its separating plane.
where is the normal vector of the plane; and is the offset of the plane from the origin.
The constraint (10) is conservative to some extent. However, it is less conservative compared with the simple classification method proposed in [
Remark 1: load damping also has a significant impact on frequency nadir. In practice, if changes, (9) should be retrained to obtain hyperplanes corresponding to different values of . Different hyperplanes can be added to UC model during different time periods. In this letter, we assume for all generators, and the impact of heterogeneous on frequency nadir will be studied in our future work.
By integrating the frequency constraints into traditional UC model, we can obtain a novel FCUC model. The objective function (11) is to minimize the total costs, which contain UC costs function (12) (start-up cost and shut-down cost), fuel costs function (13) (quadratic function on power output), wind power curtailment penalty function (14), and are subjected to power balance constraint (15), thermal generator constraints (16)-(18), the minimum up/down time constraints (19)-(22), wind power constraints (23) and (24), transmission line constraints (25) and (26), FNCs in (27) and (28), RoCoF constraint (29), and primary frequency regulation reserve constraint for thermal generators (30).
(11) |
(12) |
(13) |
(14) |
(15) |
(16) |
(17) |
(18) |
(19) |
(20) |
(21) |
(22) |
(23) |
(24) |
(25) |
(26) |
(27) |
(28) |
(29) |
(30) |
where , , , and are the indices of time, thermal generators, wind farms, and loads, respectively. For generator , and are commitment status and power output, respectively; , , , and are the upper/lower power bounds and the upward/downward ramping limits, respectively; and are minimum up/down time, respectively; ,,, and are the frequency regulation parameters; is the UC cost depending on the adjacent commitment state; and are the cost coefficients of start-up and shut-down, respectively; is the fuel cost described with a quadratic function of power output; ,, and are the coefficients of the fuel cost function. For wind farm , , , and are the scheduled, curtailed, and forecasted wind power, respectively; is the power capacity; is the virtual inertia; is the curtailment penalty proportional to square of the curtailed wind power; is the penalization coefficient; is the power demand of load ; is the power capacity of transmission line;,, and are the power transfer distribution factors of generator , wind farm , and load , respectively, and they are calculated by DC power flow model; , , and are the system parameters, which can be linearly expressed as the status variable , and the total system capacity is set as the base value of power; and is the ratio of the steady-state value to the maximum value of frequency deviation, which is set to be 0.5 [
In summary, the formulations in (11)-(30) compose the proposed FCUC model which is formulated as an MIQP problem and can be efficiently solved by off-the-shelf solvers.
The FCUC model is tested and compared with the existing model from [
The difference between Model 2 and Model 3 is the formulation of FNC, where the former is (8) and the latter is (27). The linearization process for FNC of Models 2 and 3 are both solved in MATLAB R2021b. The power disturbance is set to be 250 MW and 650 MW for IEEE 24-bus and 118-bus systems, respectively. They are both almost equivalent to the capacity of the biggest generator of each test system. The base frequency is 50 Hz, the frequency nadir threshold is 49.5 Hz, and the maximum allowable RoCoF is 0.5 Hz/s.
Type | (s) | (p.u.) | (p.u.) |
---|---|---|---|
Thermal generator | 4.0-7.5 | 15-30 | 0.15-0.30 |
Wind farm | 3.0-5.0 |
The linearization processes for FNC of Model 2 (EB) and Model 3 (SVM) are two different classification models. We first perform evaluation on these two classification models with two evaluation indices: Precision and Recall. For a binary classification model, all data samples can be classified into one of the four groups: true positive (TP), false positive (FP), false negative (FN), and true negative (TN), as shown in

Fig. 7 Four groups of binary classification.
The evaluation indices Precision and Recall can be calculated as:
(31) |
(32) |
where is the number of the samples which belong to the corresponding group.
Precision reflects the reliability of the classification model, while Recall reflects its conservatism. The lower Recall, the more “safe samples” are predicted as “unsafe samples”. Tables
Model | Sample | Precision (%) | Recall (%) |
---|---|---|---|
Model 2 (EB) | Training sample | 100 | 79.29 |
Test sample | 100 | 79.76 | |
Model 3 (SVM) | Training sample | 100 | 98.25 |
Test sample | 100 | 98.21 |
Model | Sample | Precision (%) | Recall (%) |
---|---|---|---|
Model 2 (EB) | Training sample | 100 | 76.85 |
Test sample | 100 | 75.77 | |
Model 3 (SVM) | Training sample | 100 | 95.86 |
Test sample | 100 | 96.50 |
The results show that Precision of the two classification models are both 100%, so that the classification rules are both reliable on the training sample and test sample. However, Recall of Model 2 (EB) is much lower than that of Model 3 (SVM), which means more “safe samples” of Model 2 (EB) are predicted incorrectly. As a result, the constraint (8) in Model 2 is much more conservative than (27) in Model 3, and it would cause extra cost in operation.
Remark 2: the disadvantage of both the method in [
The results of the three UC models tested on IEEE 24-bus and 118-bus systems are summarized in Tables
Model | Objective function ($) | Operation cost ($) | Wind curtailment (%) | Frequency violation | LFT (s) | Solution time for UC (s) |
---|---|---|---|---|---|---|
Model 1 | 733838 | 355355 | 7.82 | Yes | 3.11 | |
Model 2 | 847840 | 443987 | 8.08 | No | 0.91 | 1.88 |
Model 3 | 839173 | 440394 | 7.90 | No | 1.06 | 1.55 |
Model | Objective function ($) | Operation cost ($) | Wind curtailment (%) | Frequency violation | LFT (s) | Solution time for UC (s) |
---|---|---|---|---|---|---|
Model 1 | 2979295 | 2979295 | 0 | Yes | 25.45 | |
Model 2 | 3009581 | 3006376 | 0.27 | No | 0.92 | 94.14 |
Model 3 | 3000776 | 3000408 | 0.09 | No | 1.04 | 51.20 |
We use the system frequency response model to compare the frequency dynamics of the three UC models after the disturbances on IEEE 24-bus and 118-bus systems, as shown in Figs.

Fig. 8 Frequency dynamics after disturbance on IEEE 24-bus system at the 1

Fig. 9 Frequency dynamics after disturbance on IEEE 118-bus system at the 2
This letter proposes a revised SVM-based system parameter separating plane method to convexify the non-convex FNC. Based on this data-driven converification method, we obtain a novel FCUC model which can be formulated as a tractable MIQP problem. Case studies indicate that the proposed method can obtain much less conservative solution than the existing methods with high efficiency.
References
A. Ulbig, T. S. Borsche, and G. Andersson, “Impact of low rotational inertia on power system stability and operation,” IFAC Proceedings Volumes, vol. 47, pp. 7290-7297, Aug. 2014. [Baidu Scholar]
H. Chávez, R. Baldick, and S. Sharma, “Governor rate-constrained OPF for primary frequency control adequacy,” IEEE Transactions on Power Systems, vol. 29, no. 3, pp. 1473-1480, May 2014. [Baidu Scholar]
F. Teng, V. Trovato, and G. Strbac, “Stochastic scheduling with inertia-dependent fast frequency response requirements,” IEEE Transactions on Power Systems, vol. 31, no. 2, pp. 1557-1566, Mar. 2016. [Baidu Scholar]
G. Zhang, E. Ela, and Q. Wang, “Market scheduling and pricing for primary and secondary frequency reserve,” IEEE Transactions on Power Systems, vol. 34, no. 4, pp. 2914-2924, Jul. 2019. [Baidu Scholar]
L. Badesa, F. Teng, and G. Strbac, “Simultaneous scheduling of multiple frequency services in stochastic unit commitment,” IEEE Transactions on Power Systems, vol. 34, no. 5, pp. 3858-3868, Sept. 2019. [Baidu Scholar]
L. Badesa, F. Teng, and G. Strbac, “Optimal portfolio of distinct frequency response services in low-inertia systems,” IEEE Transactions on Power Systems, vol. 35, no. 6, pp. 4459-4469, Nov. 2020. [Baidu Scholar]
Z. Chu, U. Markovic, G. Hug et al., “Towards optimal system scheduling with synthetic inertia provision from wind turbines,” IEEE Transactions on Power Systems, vol. 35, no. 5, pp. 4056-4066, Sept. 2020. [Baidu Scholar]
P. M. Anderson and M. Mirheydar, “A low-order system frequency response model,” IEEE Transactions on Power Systems, vol. 5, no. 3, pp. 720-729, Aug. 1990. [Baidu Scholar]
D. L. H. Aik, “A general-order system frequency response model incorporating load shedding: analytic modeling and applications,” IEEE Transactions on Power Systems, vol. 21, no. 2, pp. 709-717, May 2006. [Baidu Scholar]
Q. Shi, F. Li, and H. Cui, “Analytical method to aggregate multi-machine SFR model with applications in power system dynamic studies,” IEEE Transactions on Power Systems, vol. 33, no. 6, pp. 6355-6367, Nov. 2018. [Baidu Scholar]
H. Ahmadi and H. Ghasemi, “Security-constrained unit commitment with linearized system frequency limit constraints,” IEEE Transactions on Power Systems, vol. 29, no. 4, pp. 1536-1545, Jul. 2014. [Baidu Scholar]
Z. Zhang, E. Du, F. Teng et al., “Modeling frequency dynamics in unit commitment with a high share of renewable energy,” IEEE Transactions on Power Systems, vol. 35, no. 6, pp. 4383-4395, Nov. 2020. [Baidu Scholar]
M. Paturet, U. Markovic, S. Delikaraoglou et al., “Stochastic unit commitment in low-inertia grids,” IEEE Transactions on Power Systems, vol. 35, no. 5, pp. 3448-3458, Sept. 2020. [Baidu Scholar]
D. T. Lagos and N. D. Hatziargyriou, “Data-driven frequency dynamic unit commitment for island systems with high RES penetration,” IEEE Transactions on Power Systems, vol. 36, no. 5, pp. 4699-4711, Sept. 2021. [Baidu Scholar]
Y. Zhang, H. Cui, J. Liu et al., “Encoding frequency constraints in preventive unit commitment using deep learning with region-of-interest active sampling,” IEEE Transactions on Power Systems, vol. 37, no. 3, pp. 1942-1955, May 2022. [Baidu Scholar]
M. O. Stitson, J. A. E. Weston, A. Gammerman et al., “Theory of support vector machines,” University of London, Tech. CSD-TR-96-17, Dec. 1996: 188-191. [Baidu Scholar]