Professional Documents
Culture Documents
Applied Energy
journal homepage: www.elsevier.com/locate/apenergy
Keywords: This paper investigates the frequency performance problem of microgrids (MGs) integrated with renewable
Virtual inertia control employing an energy storage system (ESS) equipped with virtual inertial control (VIC) support. To tackle
Multiple model predictive control the uncertainties related to the system operation, a two-layer multiple model predictive control (TLMMPC)
Frequency control
method, consisting of nominal and ancillary MMPCs, is proposed to submit effective control signals to the
Islanded microgrid
ESS for improving system frequency performance. The ancillary MMPC generates the control commands for
State of charge
the VIC-based ESS utilizing the signals provided by the nominal MMPC and the frequency deviation signal of
the actual system considering uncertainties and operating constraints. The control commands are generated
to attain the minimum value of frequency response error with the least control endeavor while considering
various operational and physical limitations. The TLMMPC method has the capability to work with different
state of charge (SoC) levels to obtain the desired SoC and highest efficiency from the ESS and preserve the ESS’s
longevity. The dynamic performance of the proposed TLMMPC technique is investigated on an islanded MG
and compared to model predictive control (MPC), fractional-order MPC, and tilt-integral-derivative controllers
under different scenarios. The results validate that the proposed TLMMPC technique significantly improves the
system frequency response from viewpoints of settling time, peak overshoot, and undershoot and obtains the
most efficient ESS compared to the other methods.
∗ Corresponding author.
E-mail address: S_oshnoei@sbu.ac.ir (S. Oshnoei).
https://doi.org/10.1016/j.apenergy.2023.121233
Received 4 February 2023; Received in revised form 11 April 2023; Accepted 28 April 2023
Available online 6 May 2023
0306-2619/© 2023 Elsevier Ltd. All rights reserved.
S. Oshnoei et al. Applied Energy 343 (2023) 121233
2
S. Oshnoei et al. Applied Energy 343 (2023) 121233
in an islanded MG. The efficiency of the proportional controller is • In addition to the uncertainties, constraints associated with the
reduced versus uncertainties and different operating conditions. Hence, ESS and system operation also play an essential role in construct-
the system stability is compromised. In [21,22], the authors propose ing the control commands. Most earlier investigations have not
enhanced modeling for VIC, which simultaneously imitates the virtual addressed this issue.
damping and inertia to improve the LFC performance of an islanded
MG. The authors in [23] present a dynamic structure for VIC, which The drawbacks of the previous works motivate the authors to
emulates the primary frequency control, virtual inertia, and damping present the current study, which designs a control strategy considering
simultaneously to enhance the frequency stability of an islanded MG. system uncertainties and different levels of SoC. This study presents a
In [21–23], no control strategy has been considered to control the ESS. two-layer multiple MPC (TLMMPC) control scheme for controlling an
The authors in [21] have employed a conventional PI controller for VIC ESS equipped with VIC support in order to contribute to an islanded
to achieve better frequency regulation. A neural network tuner-based MG’s LFC problem. The TLMMPC works with various SoC levels to
variable fractional-order PID control strategy has been proposed in [24] maximize ESS efficiency while preserving ESS longevity. The proposed
to control ESS equipped with the VIC to enhance the frequency stability control scheme has the ability to tackle system uncertainties. Further-
of an islanded MG. more, it takes into account ESS’s operational constraints. It should
be noted that changes in PV solar irradiation and WT wind speed
The model predictive control (MPC) method is employed in complex
are regarded as system uncertainties. The proposed TLMMPC is tested
systems as an online optimization-based control method. This controller
on an isolated MG and compared to an MPC, fractional order MPC
utilizes an explicit model to compute the optimal control actions by
(FOMPC), and tilt-integral-derivative (TID) control strategies under a
minimizing a cost function [25]. Such controllers ignore the system
variety of disturbances, operating conditions, and system uncertainties.
uncertainties to generate effective control signals. Therefore, their ef-
This paper’s main contribution can be summarized as follows:
ficiency is affected by uncertainties. A MPC controller has been used
in [26] to emulate the VIC concept in ESS for providing the frequency • The proposed TLMMPC consists of two layers with sub-MMPCs.
support in an islanded MG considering the high penetration of RESs. Each sub-MMPC is designed for a specific SoC range. The first
In [27], the authors have considered a VIC-based ESS unit in coordi- layer, called nominal MMPC, generates a control signal at the
nation with a diesel generator controlled by MPC method to improve beginning to predict the frequency deviation signal based on the
the frequency regulation of an islanded MG. A Laguerre functions- nominal system without uncertainties. Then, the second layer,
based MPC method has been proposed in [28] as an islanded MG referred to as the ancillary MMPC, produces the control command
secondary controller to eliminate the frequency deviations caused by of the VIC-based ESS using the nominal frequency changes and
uncertainties and load disturbances. Similar to previous investigations, control signals provided by nominal MMPC along with the actual
no constraints related to ESS and system’s uncertainties have been frequency changes signal produced by the real system with un-
considered in [26–28]. The state of charge (SoC) is a main feature in certainties. In the nominal system, it is assumed that the output
the ESS performance [29]. The important problem in operating ESSs is power of PV and WT is within the planning range.
that the SoC should be preserved in a suitable range. The undesired SoC • The goal of the two-layering of the suggested TLMMPC is to cope
reduces the ESS’s efficiency and longevity. Hence, the stable ESS perfor- with uncertainties encountered in the output power of WT and
mance depends on the SoC control [30]. In [31], the authors propose PV. To this end, the ancillary MMPC generates a trajectory for the
a two-layer MPC technique to involve the aggregators of distributed actual system within tubes centered around the nominal system.
ESSs in the LFC problem of power grids. A tube-based MPC method is • The aim of employing 𝑁 sub-MMPC in the proposed control
presented in [32] to control the electric vehicles (EVs) to participate scheme is to control the SoC of the ESS to attain the highest
in the frequency regulation of an islanded power system. The control efficiency of the ESS and preserve ESS’s longevity. Hence, a
strategies presented in [31,32] ignore SoC control of storages to im- switching action is performed in TLMMPC between sub-MMPCs
prove the dynamic performance of these devices and produce effective designed for different operating conditions.
control commands. Consequently, the MPC-based control strategies are • Since the sub-MMPCs can have different sample times, horizons,
not suitable candidates for working with different operating conditions. and weighting coefficients, they do not need an online estima-
In this regard, the authors in [30] employ the multiple MPC (MMPC) tion of the plant model. Moreover, optimization methods in the
strategy to control the SoC of the plug-in hybrid electric and improve TLMMPC are done to attain the optimal responses of control
the LFC problem of a low inertia MG. Although the control strategy commands. The optimizations are bounded through constraints
presented in [30] controls the SoC of EVs and work with different associated with the ESS and system operation.
operating levels, uncertainties are ignored in generating the control • The weighting coefficients involved in the objective functions
signals. considerably impact the TLMMPC performance. In this regard,
In previous studies, the different levels of SoC have been ignored in a fuzzy controller tunes the weighting coefficients to present a
the proposed control strategies for designing VIC-based ESS. Moreover, relative weight to the control effort.
most previous works have not considered the system uncertainties and
operating constraints of ESS. Therefore, it is essential to develop a The remainder of this study is provided as follows: In Section 2,
proper control method in the structure of the VIC-based ESS considering modeling of the islanded MG is presented. Section 3 describes the VIC
different levels of SoC, system uncertainties, and operating constraints technique. In Section 4, the design of the proposed control strategy for
of ESS. Regarding the above descriptions, the research gaps in the VIC-based ESS is explained. The simulation results and discussion are
previous works are listed as follows: provided in Section 5. Finally, a conclusion of this paper is provided in
Section 6.
• From the perspective of ESS’s longevity and maximum efficiency,
it is necessary to control its SoC. However, the previous studies 2. Modeling of the ISLANDED microgrid
have neglected controlling the ESS’s SoC and operating with
various SoC levels. This paper investigates the LFC problem of an island MG using
• In low inertia MGs, the system’s uncertainties impact the grid the proposed TLMMPC-based VIC. In modeling the LFC system, the
stability. Hence, the system’s uncertainties should be considered automatic generation control (AGC) loop can be decoupled from the
in the control scheme structure to generate effective control automatic voltage regulator (AVR) control system because the time
commands. This problem has not been evaluated in prior works. constants of the AVR are smaller than the AGC ones [33–35]. Thus, a
3
S. Oshnoei et al. Applied Energy 343 (2023) 121233
steady state point for the AVR control loop can be considered, and the Table 1
Description and values of the MG parameters.
AVR control loop effect has been ignored on the frequency behavior
of generation units. In the previous works, e.g. [16–23], the first- Parameters Description Value
order frequency response model is employed to investigate the LFC 𝑓 Reference frequency 50 (Hz)
𝑃 System base power 12 (MW)
problem based on the VIC-based ESS application. To provide a good
𝑀 System inertia constant 0.166 (s)
comparative investigation over the existing works, the islanded MG 𝐷 System damping coefficient 0.015 (p.u. MW/Hz)
system from [16,17] is considered as the test system. It includes a 𝑇𝑔 Governor time constant 0.1 (s)
small TPP with 12 MW, a 7 MW wind farm, a solar farm with 6 MW, 𝑇𝑡 Turbine time constant 0.4 (s)
a residential load with 5 MW, and an industrial load with 10 MW. 𝐾𝑉 𝐼𝐶 Virtual inertia control gain 0.5
𝑇𝑉 𝐼𝐶 Virtual inertia control time constant 10 (s)
The system base power is 12 MW. The investigated MG schematic is 𝑅 TPP governor speed coefficient 3 (Hz/p.u. MW)
demonstrated in Fig. 1. As illustrated, RESs and ESS are connected 𝛽 Frequency bias factor 1 (p.u. MW/Hz)
to the system via power electronic devices. None of the RESs are 𝑇𝑤𝑡 WT time constant 1.5 (s)
equipped with inertia emulation. Moreover, RESs do not participate in 𝑇𝑃 𝑉 PV time constant 1.8 (s)
𝐾𝑤𝑡 WT gain 1
the MG frequency control problem. Therefore, the RESs output power,
𝐾𝑃 𝑉 PV gain 1
together with the industrial and residential loads power, are considered 𝐾𝑖 Integral gain of secondary controller 0.15
as system disturbances. This situation leads to the change of the system 𝑉𝑈 Maximum the rate of valve opening/closing 0.3
operating point and reduces the MG inertia. Accordingly, the system’s 𝑉𝐿 Minimum the rate of valve opening/closing −0.3
stability will be threatened. To cope with this challenge, an ESS sup-
ported by VIC with a rating power of 4 MW is installed. According to
Fig. 1, the control center sends the frequency deviation signal (dash
the demand-side power. Hence, the high penetration of the inverter-
line) to the TPP and VIC-based ESS through communication links. Based
based RESs into low-inertia MGs reduces system inertia. This situation
on this signal, the ESS and TPP also contribute to the MG frequency
influences the system frequency stability. Generally, a lack of adequate
regulation task (dotted line). The diagram block of the islanded MG for
inertia in MGs leads to instability and cascading failures in frequency
frequency response analysis is depicted in Fig. 2. As shown, the TPP
events. Therefore, the emulation of VIC in low-inertia MGs causes the
is augmented with a speed governor, turbine, and integral secondary
RESs to have inertia similar to the conventional generation units [26].
controller. Moreover, the limitations of governor dead band and gener-
The derivative technique is one of the main methods to imitate the
ation rate constraint (GRC) are also considered in the TPP modeling to VIC, which has been utilized in many investigations [16–23]. In this
obtain the actual system dynamics. The GRC is determined as 20% per paper, the derivative technique is employed in the ESS to calculate
minute (0.0034 p.u. MW/s) for rising and dropping rates. Furthermore, the rate of change of frequency for adding the ESS active power to
the maximum and minimum rate of valve opening/closing speed are the MG set-point value during the disturbances. Employing the VIC
indicated by 𝑉𝑈 and 𝑉𝐿 , respectively. The secondary controller output in the ESS provides the required VIC power for the MG to improve
is the area control error (ACE) power changes signal. The is composed the system frequency stability. The dynamic structure of the derivative
whenever the islanded MG frequency deviates from its nominal value. technique-based VIC is shown in Fig. 2. The equation of the derivative
A VIC-based ESS is also employed in the MG structure due to the RESs technique-based VIC is expressed as:
intermittent nature.
𝐾𝑉 𝐼𝐶 𝑑
According to Fig. 2, the MG frequency deviation regarding the 𝛥𝑃𝑉 𝐼𝐶 = 𝛥𝑓 (6)
1 + 𝑠𝑇𝑉 𝐼𝐶 𝑑𝑡
inertia constant (𝐻) and damping constant (𝐷) can be presented as
follows: where, 𝐾𝑉 𝐼𝐶 and 𝑇𝑉 𝐼𝐶 denote the VIC gain and time constant, respec-
1 tively.
𝛥𝑓 = (𝛥𝑃𝑇 𝑃 𝑃 + 𝛥𝑃𝑃 𝑉 + 𝛥𝑃𝑊 𝑇 + 𝛥𝑃𝑉 𝐼𝐶 − 𝛥𝑃𝐿 ) (1)
2𝐻𝑠 + 𝐷
4. Proposed controller design for virtual inertia control
where, 𝛥𝑃𝑃 𝑉 , 𝛥𝑃𝑊 𝑇 , 𝛥𝑃𝑇 𝑃 𝑃 , and 𝛥𝑃𝐿 indicate the PV, WT, TPP, and
load output power changes, respectively. 𝛥𝑃𝑉 𝐼𝐶 is the output power
This section presents the design of the proposed TLMMPC technique
changes of the VIC-based ESS. The 𝛥𝑃𝑃 𝑉 , 𝛥𝑃𝑊 𝑇 , 𝛥𝑃𝑇 𝑃 𝑃 , and 𝛥𝑃𝐿 are for controlling the VIC-based ESS to contribute to the LFC problem
represented as: of an islanded MG. As mentioned in the introduction section, in low
𝐾𝑃 𝑉 inertia MGs, it is necessary to design a suitable control method to cope
𝛥𝑃𝑃 𝑉 = 𝛥𝑃𝜙 (2)
1 + 𝑠𝑇𝑃 𝑉 with system disturbances, work with different operating conditions,
𝐾𝑊 𝑇 and consider system uncertainties to generate effective control signals.
𝛥𝑃𝑊 𝑇 = 𝛥𝑃𝑤𝑖𝑛𝑑 (3)
1 + 𝑠𝑇𝑊 𝑇 The methods associated with this work are designed for one range
1 1 1 of SoC without considering system uncertainties, device constraints,
𝛥𝑃𝑇 𝑃 𝑃 =( )( )(𝛥𝑃𝑠 − 𝛥𝑓 ) (4) and operating conditions to generate effective control commands. The
1 + 𝑠𝑇𝑔 1 + 𝑠𝑇𝑡 𝑅
proposed TLMMPC takes into account the system uncertainties and op-
𝛥𝑃𝐿 =𝛥𝑃𝐼𝐿 + 𝛥𝑃𝑅𝐿 (5) erating constraints to produce the control signals. Moreover, TLMMPC
where, 𝛥𝑃𝐼𝐿 and 𝛥𝑃𝑅𝐿 show the power changes of industrial and works with different SoC levels to obtain the highest efficiency from
residential loads, respectively. 𝛥𝑃𝑠 indicates the integral secondary the ESS and preserve the ESS longevity. The proposed TLMMPC method
controller output signal. 𝛥𝑃𝜙 and 𝛥𝑃𝑤𝑖𝑛𝑑 are the changes of the sun ir- comprises the nominal and ancillary MMPCs. The nominal and ancillary
radiation and wind speed, respectively. In this study, 𝛥𝑃𝑃 𝑉 , 𝛥𝑃𝑊 𝑇 , and MMPCs include 𝑁 sub-MMPC to work with different SoC levels (In
𝛥𝑃𝐿 are considered as system disturbances. The values and descriptions this paper, each MMPC consists of 7 sub-MMPC). The sub-MMPCs are
of the system parameters are presented in Table 1 [17]. designed for a specified SoC range.
4
S. Oshnoei et al. Applied Energy 343 (2023) 121233
5
S. Oshnoei et al. Applied Energy 343 (2023) 121233
𝛥𝑓 (𝑡) = 𝐶𝑥(𝑡) (7) where, 𝐶𝑉 𝐼𝐶 and 𝑆𝑜𝐶 𝑉 𝐼𝐶 (0) represent the capacity KWh and initial
[ ]𝑇 SoC of VIC-based ESS, respectively. The nominal sub-MMPC predicts
where, 𝐱𝑇 = 𝛥𝑓 𝛥𝑃𝑇 𝑃 𝑃 𝛥𝑃 𝑔 𝛥𝑃𝐴𝐶𝐸 𝛥𝑃𝑉 𝐼𝐶 denotes the state vari- the nominal system output or nominal frequency changes signal within
ables vector. 𝛥𝑃 𝑔 is the governor output power. 𝑢 = 𝑢𝑉 𝐼𝐶 is the con- the nominal system without any uncertainties. The ancillary MMPC
trol variable vector, where 𝑢𝑉 𝐼𝐶 is the ESS control signal provided receives the nominal frequency changes and control signals provided
by the control center. 𝛥𝑃𝑑 is the system load disturbance. 𝛥𝑃𝑚𝑑 𝑇 =
[ ]𝑇 by the nominal MMPC. Then, the ancillary MMPC provides the VIC-
𝛥𝑃𝑃 𝑉 𝛥𝑃𝑊 𝑇 denotes the system uncertainties. 𝛥𝑃𝑃 𝑉 and 𝛥𝑃𝑊 𝑇 are based ESS control commands using the signals provided by the nominal
considered as measured disturbances. Using Eqs. (1)–(6), the matrices MMPC along with the output signal or actual frequency changes signal
of state (𝐀), control input (𝐁), disturbance (𝐄), measured disturbance within the actual system with uncertainties. The uncertainties asso-
(𝐅), and output (𝐂) are expressed as: ciated with the PV and WT output powers are considered as system
⎡ 𝑀
−𝐷 1
0 0 1
⎤ uncertainties. The state-space equations for nominal MMPC under the
𝑀 𝑀 ⎡ 0 ⎤
⎢ −1 1
⎥ ⎢ ⎥
nominal system are expressed as:
⎢ 0 𝑇𝑡 𝑇𝑡
0 0 ⎥ ⎢ 0 ⎥ .
⎢ ⎥ ⎢ ⎥ 𝑥𝑛𝑜𝑚 (𝑡) = 𝐴𝑥𝑛𝑜𝑚 (𝑡) + 𝐵𝑢𝑉 𝐼𝐶,𝑛𝑜𝑚 (𝑡) + 𝐸𝛥𝑃𝑑 (𝑡)
𝐴 = ⎢ 𝑅𝑇 0 ⎥𝐵 = ⎢ 0 ⎥
−1 −1 1
0
⎢ 𝑔 𝑇𝑔 𝑇𝑔 ⎥ ⎢ 𝛥𝑓𝑛𝑜𝑚 (𝑡) = 𝐶𝑥𝑛𝑜𝑚 (𝑡) (12)
⎢𝛽𝐾 0 ⎥
⎢ 𝑖 0 0 0 0 ⎥⎥ ⎢ ⎥
⎢ 0 −1 ⎥
⎢ 𝐾𝑉 𝐼𝐶 ⎥ where 𝑥𝑛𝑜𝑚 (𝑡) is the state variable of 𝑥(𝑡). 𝑢𝑉 𝐼𝐶,𝑛𝑜𝑚 (𝑡) shows the control
⎣ 0 0 0 ⎣ 𝑇𝑉 𝐼𝐶 ⎦
𝑇𝑉 𝐼𝐶 ⎦ signal of the nominal MMPC, which is extracted from the nominal
system model without considering the system uncertainties. Since the
⎡ −1 ⎤ ⎡1 1 ⎤ nominal system is without any uncertainties, 𝛥𝑃𝑚𝑑 is not considered in
⎢𝑀 ⎥ ⎢𝑀 𝑀⎥
(12). Therefore, it is assumed that the output powers of PV and WT are
⎢0⎥ ⎢0 0⎥
⎢ ⎥ ⎢ ⎥ [ ] within the planning range. The control signal 𝑢𝑉 𝐼𝐶,𝑛𝑜𝑚 (𝑡) is computed
𝐸 = ⎢ 0 ⎥𝐹 = ⎢ 0 0 ⎥𝐶 = 1 0 0 0 0 (8) using the following objective function:
⎢ ⎥ ⎢ ⎥
⎢0⎥ ⎢0 0⎥ ∑
𝑝
⎢ ⎥ ⎢ ⎥ min [𝛥𝑓𝑛𝑜𝑚 (𝑘 + 1) − 𝛥𝑓𝑛𝑜𝑚,𝑟𝑒𝑓 (𝑘 + 1)]𝑇
⎣0⎦ ⎣0 0⎦ 𝑢𝑉 𝐼𝐶
𝑘=0
This state-space model is utilized as a model of MMPC. At each SoC × 𝑊𝑜𝑛𝑜𝑚 [𝛥𝑓𝑛𝑜𝑚 (𝑘 + 1) − 𝛥𝑓𝑛𝑜𝑚,𝑟𝑒𝑓 (𝑘 + 1)]
level, the MMPC controller output is obtained using the measured value ∑
𝑐
of the system output signal 𝛥𝑓𝑀𝑀𝑃 𝐶 . The MMPC creates the system + [𝛥𝑢𝑉 𝐼𝐶,𝑛𝑜𝑚 (𝑘)]𝑇 𝑊𝑢𝑛𝑜𝑚 [𝛥𝑢𝑉 𝐼𝐶,𝑛𝑜𝑚 (𝑘)] (13)
model with a control signal 𝑢𝑉 𝐼𝐶 so that the system output 𝛥𝑓𝑀𝑀𝑃 𝐶 𝑘=0
approaches a reference output 𝛥𝑓𝑟𝑒𝑓 with the least control effort, where subject to:
𝛥𝑓𝑟𝑒𝑓 is regulated to zero. The objective function of the MMPC to 𝑚𝑖𝑛 𝑚𝑎𝑥
produce the control signal 𝑢𝑉 𝐼𝐶 regarding the 𝛥𝑓𝑀𝑀𝑃 𝐶 is defined as 𝛼𝛥𝑓𝑛𝑜𝑚 ≤𝛥𝑓𝑛𝑜𝑚 ≤ 𝛼𝛥𝑓𝑛𝑜𝑚
follows: 𝛼𝛥𝑃𝑉𝑚𝑖𝑛
𝐼𝐶 ≤𝛥𝑃𝑉 𝐼𝐶 ≤ 𝛼𝛥𝑃𝑉𝑚𝑎𝑥
𝐼𝐶
∑
𝑝 𝑚𝑖𝑛
𝛼𝛥𝑢𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶 ≤𝛥𝑢𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶𝑛 ≤ 𝛼𝛥𝑢𝑚𝑎𝑥
𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶
min [𝛥𝑓𝑀𝑀𝑃 𝐶 (𝑘 + 1) − 𝛥𝑓𝑟𝑒𝑓 ]𝑇 𝑊𝑜 [𝛥𝑓𝑀𝑀𝑃 𝐶 (𝑘 + 1)− 𝑛 𝑛
𝑢𝑉 𝐼𝐶
𝑘=0 𝑆𝑜𝐶 𝑚𝑖𝑛
𝑀𝑀𝑃 𝐶𝑛
∑
𝑐 ≤𝑆𝑜𝐶𝑀𝑀𝑃 𝐶𝑛 ≤ 𝛼𝑆𝑜𝐶 𝑚𝑎𝑥 𝑀𝑀𝑃 𝐶𝑛 (14)
1−𝛼
𝛥𝑓𝑟𝑒𝑓 ] + [𝛥𝑢𝑀𝑀𝑃 𝐶 (𝑘)]𝑇 𝑊𝑢 [𝛥𝑢𝑀𝑀𝑃 𝐶 (𝑘)] (9) 𝑛𝑜𝑚 𝑛𝑜𝑚
𝑘=0
where 𝑊𝑜 and 𝑊𝑢 represent the positive semi-definite weighting
factors related to the output and control signals of the 𝑛th nominal
subject to:
sub-MMPC, respectively. Also, the constraints of the nominal MMPC
𝑚𝑖𝑛 𝑚𝑎𝑥
𝛥𝑓𝑀𝑀𝑃 𝐶 ≤𝛥𝑓𝑀𝑀𝑃 𝐶 ≤ 𝛥𝑓𝑀𝑀𝑃 𝐶 in (14) are surrounded in subsets of the original limitations without
𝛥𝑃𝑉𝑚𝑖𝑛 𝑚𝑎𝑥 𝛼 [31]. 𝛼 is an adjustment coefficient in the range of (0, 1). The upper
𝐼𝐶 ≤𝛥𝑃𝑉 𝐼𝐶 ≤ 𝛥𝑃𝑉 𝐼𝐶
and lower limits of the last constraint in Eq. (14), which is related to
𝛥𝑢𝑚𝑖𝑛 𝑚𝑎𝑥
𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶 ≤𝛥𝑢𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶 ≤ 𝛥𝑢𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶 the SoC of the VIC-based ESS, are positive values, but other constraints
𝑆𝑜𝐶 𝑚𝑖𝑛 𝑚𝑎𝑥
𝑀𝑀𝑃 𝐶 ≤𝑆𝑜𝐶𝑀𝑀𝑃 𝐶 ≤ 𝑆𝑜𝐶 𝑀𝑀𝑃 𝐶 (10) have a positive upper limit and a negative lower limit. The Monte Carlo
simulation is utilized to determine the coefficients in an off-line mode.
where, 𝑊𝑜 and 𝑊𝑢 denote the positive semi-definite weighting fac- The state-space equations for ancillary MMPC under the actual system
tors for the output and control signals, respectively. 𝑊𝑜 and 𝑊𝑢 are are written as:
simultaneously tuned by using the fuzzy logic controller. 𝑝 and 𝑐 .
show the horizons of prediction and control, respectively. 𝛥𝑓𝑀𝑀𝑃 𝑚𝑖𝑛 𝑥𝑎𝑐𝑡 (𝑡) = 𝐴𝑥𝑎𝑐𝑡 (𝑡) + 𝐵𝑢𝑉 𝐼𝐶,𝑎𝑐𝑡 (𝑡) + 𝐸𝛥𝑃𝑑 (𝑡) + 𝐹 𝛥𝑃𝑚𝑑 (𝑡)
𝐶
𝑚𝑎𝑥
and 𝛥𝑓𝑀𝑀𝑃 demonstrate the minimum and maximum values of the
𝐶
𝑚𝑖𝑛 𝑚𝑎𝑥
𝛥𝑓𝑎𝑐𝑡 (𝑡) = 𝐶𝑥𝑎𝑐𝑡 (𝑡) (15)
frequency deviation within the prediction horizon. 𝛥𝑃𝑉 𝐼𝐶 and 𝛥𝑃𝑉 𝐼𝐶
are the minimum and maximum values of the VIC-based ESS power where, 𝑥𝑎𝑐𝑡 (𝑡) is the state variable of 𝑥(𝑡). 𝑢𝑉 𝐼𝐶,𝑎𝑐𝑡 (𝑡) indicates the control
changes, respectively. 𝛥𝑢𝑚𝑖𝑛
𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶
and 𝛥𝑢𝑚𝑎𝑥
𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶
indicate the min- signal of the ancillary MMPC, which is extracted from the actual system
imum and maximum values of the control signal within the control model with considering the uncertainties. The control signal 𝑢𝑉 𝐼𝐶,𝑎𝑐𝑡 (𝑡)
horizon, respectively. It is worth notifying that Eq. (10) is related to is computed using the following objective function:
the SoC of VIC-based ESS provided by 𝑛th sub-MMPC to remain in the ∑
𝑝
range of [𝑆𝑜𝐶 𝑚𝑖𝑛
𝑀𝑀𝑃 𝐶
, 𝑆𝑜𝐶 𝑚𝑎𝑥
𝑀𝑀𝑃 𝐶
]. min [𝛥𝑓𝑎𝑐𝑡 (𝑘 + 1) − 𝛥𝑓𝑛𝑜𝑚 (𝑘 + 1)]𝑇
𝑢𝑉 𝐼𝐶
𝑘=0
4.2. Two-layer multiple model predictive control × 𝑊𝑜𝑎𝑐𝑡 [𝛥𝑓𝑎𝑐𝑡 (𝑘 + 1) − 𝛥𝑓𝑛𝑜𝑚 (𝑘 + 1)]
∑
𝑐
The TLMMPC controller includes a nominal MMPC and an ancillary + [𝛥𝑢𝑉 𝐼𝐶,𝑎𝑐𝑡 (𝑘) − 𝛥𝑢𝑉 𝐼𝐶,𝑛𝑜𝑚 (𝑘)]𝑇
MMPC. The way the TLMMPC works is that a nominal sub-MMPC 𝑘=0
and an ancillary subMMPC are employed according to the SoC of the × 𝑊𝑢𝑎𝑐𝑡 [𝛥𝑢𝑉 𝐼𝐶,𝑎𝑐𝑡 (𝑘) − 𝛥𝑢𝑉 𝐼𝐶,𝑛𝑜𝑚 (𝑘)] (16)
VIC-based ESS, which is computed as follows:
subject to:
𝑡 𝑃𝑉 𝐼𝐶 (𝑡)
𝑆𝑜𝐶 𝑉 𝐼𝐶 (𝑡) = 𝑆𝑜𝐶 𝑉 𝐼𝐶 (0) − d𝑡 (11) 𝑚𝑖𝑛 𝑚𝑎𝑥
∫0 3600 × 𝐶𝑉 𝐼𝐶 𝛥𝑓𝑀𝑀𝑃 𝐶 ≤𝛥𝑓𝑀𝑀𝑃 𝐶 ≤ 𝛥𝑓𝑀𝑀𝑃 𝐶
6
S. Oshnoei et al. Applied Energy 343 (2023) 121233
Table 2
Fuzzy rules for fuzzy unit employed in TLMMPC controller.
Rules 𝛥𝑓 ′
N ZR P
N NB NS NS
𝛥𝑓 ZR NS ZR PS
P PS PS PB
𝛥𝑃𝑉𝑚𝑖𝑛 𝑚𝑎𝑥
𝐼𝐶 ≤𝛥𝑃𝑉 𝐼𝐶 ≤ 𝛥𝑃𝑉 𝐼𝐶
𝛥𝑢𝑚𝑖𝑛 𝑚𝑎𝑥
𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶 ≤𝛥𝑢𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶𝑛 ≤ 𝛥𝑢𝑉 𝐼𝐶,𝑀𝑀𝑃 𝐶
𝑛 𝑛
7
S. Oshnoei et al. Applied Energy 343 (2023) 121233
Fig. 4. Proposed TLMMPC structure (a): Overall structure of the controller (b): Nominal and ancillary sub-MMPCs structure.
8
S. Oshnoei et al. Applied Energy 343 (2023) 121233
Fig. 5. Fluctuations in the loads power: (a) Industrial load (b) Residential load.
Fig. 7. TLMMPC and MPC controllers performance comparison under case 1 conditions
(a): System frequency response (b): ESS output power (c): SoC of ESS.
Table 5
RMS values of the MPC and TLMMPC controllers for different cases.
Control strategy Case 1 Case 2 Case 3
TLMMPC 0.0128 0.013 0.0155
MPC 0.0345 0.0347 0.0418
Therefore, it can be said that the proposed control strategy can reduce
the frequency fluctuations more effectively than the MPC. According to
Table 3, TLMMPC2 is activated as the nominal and ancillary MMPCs in
the SoC range between 0.3 and 0.4. The RMS values for this case using
the MPC and TLMMPC controllers are represented in Table 5. It is clear
that the proposed TLMMPC has less RMS value in comparison with the
Fig. 6. Uncertainties related to the RESs output power (a): Solar irradiation (b): Wind MPC. Therefore, it is evident that the proposed TLMMPC significantly
speed. improves the system frequency response compared to MPC.
𝐶𝑎𝑠𝑒2: This case assumes that the initial SoC is 0.52. Moreover,
residential and industrial loads are constantly present in the grid. In this
𝐶𝑎𝑠𝑒1: In this case, the initial SoC is equal to 0.35. Fig. 7(a) exhibits case, the efficiency of the proposed TLMMPC method is evaluated under
the system frequency responses employing VIC based on the TLMMPC the nominal condition (nominal parameters) and a 30% reduction in
and MPC controllers. It is clear that the oscillations’ amplitude is 𝐾𝑉 𝐼𝐶 value. The results, including the system frequency response,
significantly decreased using the TLMMPC-based VIC than the MPC- ESS output power, and SoC under the nominal system condition, are
based VIC. For example, when the industrial load is connected to the presented in Fig. 8. The results imply that the proposed TLMMPC-based
grid at time = 460 s, it leads to a frequency drop of −0.0522 Hz in VIC improves the system frequency performance more than the MPC
the case of TLMMPC-based VIC, while it reaches −0.116 Hz in the controller from viewpoints of the oscillations’ amplitude and settling
case of the MPC-based VIC. When the industrial load is disconnected time. For example, from 350 s to 700 s (duration of the WT presence
from the grid at time = 730 s, it leads to the frequency overshoot of in the grid), the maximum frequency deviation reaches +0.2 Hz in
+0.055 Hz in the case of TLMMPC-based VIC and +0.109 Hz in the case the case of the MPC-based VIC, while it has driven to +0.09 Hz in
of the MPC-based VIC. The output power and SoC of the ESS employing the case of the TLMMPC-based VIC. Fig. 8(b) and (c) indicate the
the MPC and TLMMPC controllers are illustrated in Fig. 7(b) and (c). ESS output power and SoC, respectively. According to these figures,
As can be seen, the ESS controlled by the proposed TLMMPC method it is clear that the proposed TLMMPC technique has faster and better
is efficiently charged/discharged compared to ESS controlled by the performance in charging/discharging power than the MPC. The RMS
MPC controller in response to severe perturbations and contingencies. values related to case 2 are also shown in Table 5. As shown, the
9
S. Oshnoei et al. Applied Energy 343 (2023) 121233
Fig. 9. System frequency response employing the MPC and TLMMPC controllers for
case 2 under 30% reduction in 𝐾𝑉 𝐼𝐶 value.
Fig. 8. TLMMPC and MPC controllers performance comparison under case 2 conditions
(a): System frequency response (b): ESS output power (c): SoC of ESS.
10
S. Oshnoei et al. Applied Energy 343 (2023) 121233
Table 6
Optimized parameters of the TID controller using SCA.
Parameters 𝐾𝑡 𝐾𝑖 𝐾𝑑 𝑛
Values 0.25 −0.2 0.2 3
Table 7
RMS values of the presented controllers under case 4 conditions.
Control strategy TID MPC FOMPC TLMMPC
RMS 0.0225 0.0191 0.0172 0.011
Table 8
Fig. 11. System frequency response employing the TLMMPC and MPC controllers for Output power and SoC of the ESS controlled by different methods under case 4
case 3 under 50% reduction in 𝐾𝑉 𝐼𝐶 value. conditions.
Control strategy Case 4
Max power Min power Max SoC Min SoC
TID 0.126 −0.191 0.716 0.701
MPC 0.163 −0.229 0.719 0.698
FOMPC 0.202 −0.26 0.721 0.694
TLMMPC 0.33 −0.33 0.725 0.688
11
S. Oshnoei et al. Applied Energy 343 (2023) 121233
6. Conclusion
5.2. Sensitivity analysis of the system using the proposed control strategy Soroush Oshnoei: Writing – original draft, Software, Visualization.
Mohammad Reza Aghamohammadi: Investigation, Data curation, Vi-
This subsection accomplishes the sensitivity analysis of the sys- sualization, Writing – review & editing. Siavash Oshnoei: Validation,
tem to evaluate the performance of the proposed TLMMPC against Writing – review & editing, Methodology. Subham Sahoo: Conceptu-
uncertainties associated with the grid parameters. In this study, the alization, Methodology, Writing – review & editing. Arman Fathol-
sensitivity of the frequency deviation with respect to 𝐹 (𝑠) (the transfer lahi: Writing – review & editing, Methodology. Mohammad Hasan
function associated with rotating mass and load) is evaluated. Accord- Khooban: Investigation, Writing – review & editing, Methodology.
ing to Fig. 2, the MG frequency deviation with respect to 𝛥𝑃𝐿 (𝑠) is
presented as follows Declaration of competing interest
𝛥𝑓 (𝑠)
𝐾(𝑠) = The authors declare that they have no known competing finan-
𝛥𝑃𝐿 (𝑠)
−𝐹 (𝑠) cial interests or personal relationships that could have appeared to
= (22) influence the work reported in this paper.
1 − 𝐵(𝑠) − 𝐶(𝑠)
where
Data availability
1
𝐹 (𝑠) =
2𝐻𝑠 + 𝐷
1 1 1 The data that has been used is confidential.
𝐵(𝑠) = 𝐹 (𝑠) (𝛽.𝑃 𝐼 − )
1 + 𝑠𝑇𝑔 1 + 𝑠𝑇𝑡 𝑅
𝑠𝐾𝑉 𝐼𝐶 References
𝐶(𝑠) = 𝐹 (𝑠) .𝑇 𝐿𝑀𝑀𝑃 𝐶 (23)
1 + 𝑠𝑇𝑉 𝐼𝐶
[1] Rehman HU, Yan X, Abdelbaky MA, Jan MU, Iqbal S. An advanced virtual syn-
The derivative of 𝐾(𝑠) with respect to 𝐹 (𝑠) is calculated as chronous generator control technique for frequency regulation of grid-connected
PV system. Int J Electr Power Energy Syst 2021;125:106440.
𝜕𝐾(𝑠) −1
= (24) [2] Oshnoei S, Aghamohammadi M, Oshnoei S. A novel fractional order controller
𝜕𝐹 (𝑠) 𝐵 2 (𝑠) based on fuzzy logic for regulating the frequency of an islanded microgrid. In:
Finally, the sensitivity of the 𝛥𝑓 with respect to 𝐹 (𝑠) can be calcu- 2019 international power system conference. PSC, IEEE; 2019, p. 320–6.
[3] Dozein MG, De Corato AM, Mancarella P. Virtual inertia response and frequency
lated as
control ancillary services from hydrogen electrolyzers. IEEE Trans Power Syst
𝜕𝐾(𝑠) −1 2022.
𝜕𝐹 (𝑠) 𝐵 2 (𝑠) 1 [4] da Silva GS, de Oliveira EJ, de Oliveira LW, de Paula AN, Ferreira JS,
𝑆(𝑠) = = = (25)
𝐾(𝑠) −1 𝐵(𝑠) Honório LM. Load frequency control and tie-line damping via virtual synchronous
𝐹 (𝑠) 𝐵(𝑠)
generator. Int J Electr Power Energy Syst 2021;132:107108.
Fig. 14 demonstrates the sensitivity of the 𝛥𝑓 with respect to [5] Shang-Guan X, He Y, Zhang C, Jiang L, Spencer JW, Wu M. Sampled-data based
𝐹 (𝑠). As the result shows, the system in the presence of the proposed discrete and fast load frequency control for power systems with wind power.
Appl Energy 2020;259:114202.
TLMMPC-based VIC has a slight sensitivity to the 𝐹 (𝑠). Hence, it is clear
[6] Khezri R, Oshnoei A, Oshnoei S, Bevrani H, Muyeen S. An intelligent coordinator
that the TLMMPC technique is robust versus the uncertainties of the design for GCSC and AGC in a two-area hybrid power system. Appl Soft Comput
parameters. 2019;76:491–504.
12
S. Oshnoei et al. Applied Energy 343 (2023) 121233
[7] Oshnoei S, Oshnoei A, Mosallanejad A, Haghjoo F. Contribution of GCSC to [21] Mandal R, Chatterjee K. Virtual inertia emulation and RoCoF control of a
regulate the frequency in multi-area power systems considering time delays: A microgrid with high renewable power penetration. Electr Power Syst Res
new control outline based on fractional order controllers. Int J Electr Power 2021;194:107093.
Energy Syst 2020;123:106197. [22] Abubakr H, et al. Adaptive LFC incorporating modified virtual rotor to regu-
[8] Oshnoei S, Oshnoei A, Mosallanejad A, Haghjoo F. Novel load frequency late frequency and tie-line power flow in multi-area microgrids. IEEE Access
control scheme for an interconnected two-area power system including wind 2022;10:33248–68.
turbine generation and redox flow battery. Int J Electr Power Energy Syst [23] Oshnoei S, Aghamohammadi M, Oshnoei S, Oshnoei A, Mohammadi-Ivatloo B.
2021;130:107033. Provision of frequency stability of an islanded microgrid using a novel
[9] Khazali A, Rezaei N, Saboori H, Guerrero JM. Using PV systems and parking virtual inertia control and a fractional order cascade controller. Energies
lots to provide virtual inertia and frequency regulation provision in low inertia 2021;14(14):4152.
grids. Electr Power Syst Res 2022;207:107859. [24] Skiparev V, et al. Virtual inertia control of isolated microgrids using an NN-based
[10] Mahto T, Kumar R, Malik H, Hussain S, Ustun TS. Fractional order fuzzy based VFOPID controller. IEEE Trans Sustain Energy 2023.
virtual inertia controller design for frequency stability in isolated hybrid power [25] Khooban MH. An optimal non-integer model predictive virtual inertia control in
systems. Energies 2021;14(6):1634. inverter-based modern AC power grids-based V2G technology. IEEE Trans Energy
[11] Said SM, Aly M, Hartmann B, Mohamed EA. Coordinated fuzzy logic-based Convers 2020;36(2):1336–46.
virtual inertia controller and frequency relay scheme for reliable operation of [26] Sockeel N, Gafford J, Papari B, Mazzola M. Virtual inertia emulator-based
low-inertia power system. IET Renew Power Gener 2021;15(6):1286–300. model predictive control for grid frequency regulation considering high pen-
[12] Khokhar B, Parmar KS. A novel adaptive intelligent MPC scheme for frequency etration of inverter-based energy storage system. IEEE Trans Sustain Energy
stabilization of a microgrid considering SoC control of EVs. Appl Energy 2020;11(4):2932–9.
2022;309:118423. [27] Wu J, Yang F. A dual-driven predictive control for photovoltaic-diesel microgrid
[13] Bhowmik P, Rout PK, Guerrero JM, Abusorrah A. Vector measurement-based secondary frequency regulation. Appl Energy 2023;334:120652.
virtual inertia emulation technique for real-time transient frequency regulation [28] Khokhar B, Parmar KS. Utilizing diverse mix of energy storage for LFC per-
in microgrids. IEEE Trans Power Electron 2020;36(6):6685–98. formance enhancement of a microgrid: A novel MPC approach. Appl Energy
[14] Bhowmik P, Satpathy PR, Thanikanti SB, Jana N. A novel virtual inertia 2023;333:120639.
emulation technique for the single phase electric vehicle charging topology. [29] Córdova S, Cañizares CA, Lorca À, Olivares DE. Frequency-constrained en-
Comput Electr Eng 2022;101:108114. ergy management system for isolated microgrids. IEEE Trans Smart Grid
[15] Bhowmik P, Rout PK. Experimental prototyping of synthetic inertial sys- 2022;13(5):3394–407.
tem for the improvement in frequency deflection. IET Gener Transm Distrib [30] Pahasa J, Ngamroo I. PHEVs bidirectional charging/discharging and SoC control
2020;14(18):3846–55. for microgrid frequency stabilization using multiple MPC. IEEE Access 2022.
[16] Kerdphol T, Rahman FS, Mitani Y, Watanabe M, Küfeoğlu SK. Robust virtual in- [31] Oshnoei A, Kheradmandi M, Muyeen S. Robust control scheme for distributed
ertia control of an islanded microgrid considering high penetration of renewable battery energy storage systems in load frequency control. IEEE Trans Power Syst
energy. IEEE Access 2017;6:625–36. 2020;35(6):4781–91.
[17] Kerdphol T, Rahman FS, Watanabe M, Mitani Y. Robust virtual inertia control of [32] Oshnoei A, Kheradmandi M, Muyeen S, Hatziargyriou ND. Disturbance observer
a low inertia microgrid considering frequency measurement effects. IEEE Access and tube-based model predictive controlled electric vehicles for frequency
2019;7:57550–60. regulation of an isolated power grid. IEEE Trans Smart Grid 2021.
[18] Ali H, et al. A new frequency control strategy in an islanded microgrid [33] Wood AJ, Wollenberg BF. Power generation, operation, and control. John Wiley
using virtual inertia control-based coefficient diagram method. IEEE Access & Sons; 2012, p. 485–97, ch. 10.
2019;7:16979–90. [34] Khalaf M, Youssef A, El-Saadany E. Joint detection and mitigation of false data
[19] Ali H, Magdy G, Xu D. A new optimal robust controller for frequency sta- injection attacks in AGC systems. IEEE Trans Smart Grid 2019;10(5):4985–95.
bility of interconnected hybrid microgrids considering non-inertia sources and [35] Bevrani H. Robust power system frequency control. 2nd ed.. Springer; 2014.
uncertainties. Int J Electr Power Energy Syst 2021;128:106651. [36] Elmelegi A, Mohamed EA, Aly M, Ahmed EM, Mohamed AAA, Elbaksawi O.
[20] Abubakr H, Mohamed TH, Hussein MM, Guerrero JM, Agundis-Tinajero G. Adap- Optimized tilt fractional order cooperative controllers for preserving frequency
tive frequency regulation strategy in multi-area microgrids including renewable stability in renewable energy-based power systems. IEEE Access 2021;9:8261–77.
energy and electric vehicles supported by virtual inertia. Int J Electr Power [37] Chen M-R, Zeng G-Q, Dai Y-X, Lu K-D, Bi D-Q. Fractional-order model predictive
Energy Syst 2021;129(2):106814. frequency control of an islanded microgrid. Energies 2018;12(1):84.
13