Load Frequency Control of An Isolated Micro Grid
Load Frequency Control of An Isolated Micro Grid
ABSTRACT This paper presents a fuzzy adaptive model predictive approach for load frequency control of
an isolated micro grid. A generalized state space model of a typical isolated micro grid having controllable
and uncontrollable generating power sources is derived, and the same has been utilized to predict the future
output and control inputs for the micro grid frequency control. A centralized model predictive control (MPC)
is implemented with a single input multi-output system model based on the controllable distributed energy
resources in the micro grid. The parameter-driven MPC is made adaptable by dynamically adjusting its
parameter Rw using fuzzy controller. The proposed fuzzy MPC employs a rule-based fuzzy controller to
fuzzify the tuning parameter Rw present in the cost function of MPC, which plays an important role in
minimizing the frequency deviation in the system. The closed loop system response obtained by the proposed
fuzzy MPC has been found faster and adaptable for different scenarios in the system. The effectiveness has
been evaluated with performance index integral time square error (ITSE) value and has been compared with
MPC with constant tuning parameter value also with the proportional–integral controller response. Thus,
the efficacy of using proposed fuzzy MPC in secondary load frequency control has been validated thereof.
INDEX TERMS Load frequency control, fuzzy control, adaptive model predictive control.
acceptable computational time and ease in constraint han- is explained in section IV. Simulations of various cases of
dling, it is well received in all control application and it is load frequency control and the discussions on the obtained
widely adopted in industries such as petrochemical industry, results are presented in section V. Section VI concludes the
electrochemical, power and water management sectors etc. paper.
Although so many variants of MPC are proposed in the
literature for different applications, the classical dynamic II. OUTLINE OF MODEL PREDICTIVE CONTROL (MPC)
matrix control (DMC) of MPC is predominantly applied to An MPC is a model based advanced control strategy which
the load frequency control problem. Some research which employs an optimization procedure at each sampling time
applied MPC to the load frequency control are discussed over prediction horizon to calculate the optimal control
in [14]–[19]. In [14], a distributed MPC (DMPC) is proposed actions. As there is extensive literature on MPC, this section
for load frequency control of four-area hydro–thermal inter- intends to present only the outline of MPC.
connected power system. In addition to that, the limit position The general discrete state-space model representation is
of the governor valve is controlled by a fuzzy model and given by:
the local predictive controllers are incorporated into the non-
linear control system. LFC design using distributed model x (k + 1) = Ad x (k) + Bd u (k) + Ed w(k) (1)
predictive control (DMPC) technique for the multi-area inter-
y (k) = Cd x (k) + Dd u(k) (2)
connected power system is proposed in [15]. The effect of
wind turbine generator participation on the load frequency Where, u - input variable vector; y- Process output vector;
control of two area system is analysed with MPC structure x(k)- State variable vector at kth step and w(k) is the distur-
and the overall closed loop system performance has demon- bance vector at kth step.
strated the robustness of control in face of uncertainty [16]. Since moving horizon control requires current information
Model predictive control is employed for load frequency of the plant for the prediction and control, it is implicitly
control of micro grid in the presence of Plugged-in Hybrid assumed that u(k) cannot affect output y(k) but u(k-1) at the
Electric Vehicle (PHEVs) [17], [18]. In [17], an aggregator kth instant can [20]. So, on taking difference on both sides
utilizing MPC strategy is proposed to impose control actions of (1) and rearranging
on the participating units such as a cluster of PHEVs and
1x(k + 1) 1x(k)
controllable thermal appliances and a decentralized Com-
bined Heat Plant (CHP) unit for load frequency control. = A + Bu (k) + Ew(k) (3)
y(k + 1) y(k)
Whereas in [18], to avoid a large number of PHEVs for better
frequency regulation, the smoothing of wind power produc-
1x(k)
tion by pitch angle control using MPC method is proposed.
In [19], an Explicit MPC (EMPC) is proposed to give affine y (k) = C (4)
y(k)
control law which is calculated offline by partitioning the
state space into Critical Regions (CRs) by solving Multi- Where,
Parametric Quadratic Programming (MP-QP). Optimization
is implemented online using the look up table of CRs and Ad 0Td
" # " #
Bd Ed
controls. EMPC is illustrated on the isolated industrial power A= ; B= Cd Bd ; E= Cd Ed
Cd Ad 1
system frequency control. Most of the MPC used for load
frequency control is transformed from centralised to decen- z }| {
C = 0Td
tralised/distributed MPC but few have investigated improving 1 0d = [0 0 0 0]
the adaptability of MPC. This paper proposes a new adaptive Where, m is the number of state variables. A, B and C are
MPC where parameter Rw in its cost function has been tuned augmented state space model used in design of predictive
by a fuzzy controller to make MPC a robust control for control. This prediction is described within an optimization
different operating scenarios. window of length Np. Since the disturbance in current step is
The main contributions of the paper are: not reflected in the future, the disturbance matrix is omitted
1) It proposes a new fuzzy adaptive model predictive in the prediction window [20].
controller for the load frequency control for a typical Suppose at sampling instant k, k > 0, the future control
microgrid and tested for various cases. trajectory at sampling instant k is given by
2) The input tuning parameter Rw present in the cost
function of MPC has been fuzzified using fuzzy logic 1u (k) , 1u (k + 1) , · · · , 1u (k + Nc − 1) (5)
controller.
This paper is structured as follows: Section II provides a While the rest of 1u(k) for k = Nc, Nc+1,. . . ...Np is assumed
brief outline of the model predictive control and the MPC to be zero. Where Nc is the control horizon that gives the
implementation for load frequency control of an isolated number of future control inputs to be predicted and it is
micro grid is discussed in detail in section III. The proposed chosen to be less than Np. With given x(k) and predicted
rule based fuzzy inference system for parameter (Rw ) tuning control inputs, future state variables and output are predicted
sequentially over the prediction window. This has been shown III. MPC IMPLEMENTATION FOR LOAD FREQUENCY
in Appendix-A. The compact form of output is shown (6). CONTROL OF AN ISOLATED MICRO GRID
The simplified load frequency model of a typical microgrid
Y = Fx (k) + 81U is considered in this paper and it is shown in Fig.1. The micro
grid consists of a diesel unit, fuel cell, wind, solar and battery
CA storage of ratings given in [6]. The frequency control in the
CA2
3
micro grid is achieved by predicting the future outputs and
F = CA
control signals i.e. frequency deviation and control actions
..
. to the controllable units respectively. The renewable sources
CANp are assumed to be operated at maximum power point. Hence,
diesel unit and fuel cell are considered as controllable units
...
CB 0 0 0 in the microgrid. The prediction was accomplished by using
CAB CB 0 ... 0 a Model Predictive Control (MPC) design where a state space
2 ...
8 = CA B
CAB CB 0 model of the system is used. From the model of the system
.. .. .. ..
shown in Fig.1, the dynamics of the system is defined with
. . ... . .
nine state equations with nine state variables for the micro
CANp−1 B CANp−2 B CANp−3 B . . . CANp−Nc B grid considered. This has been explained in the Appendix-B
(6) for case of generator-load transfer function model. The state
equations are shown in (10)-(18):
For a given reference signal r(k) at sample k, the objective
1Ps_filt + 1Pmd + 1Pw − 1PL +
is to predict an output close to the reference signal. And this 1
1f =
˙ (10)
r(k) remains constant in the optimization window. The control 2H 1Pf _filt − 1Pbat − D ∗ 1f
objective is given by: ˙ s_inv = 1 1Ps − 1Ps_inv
1P
(11)
Tinv
J = (Ys − Y )T (Ys − Y ) + 1U T R̄in 1U (7)
˙ s_filt = 1 1Ps_inv − 1Ps_filt
1P
(12)
Tfilt
To find the optimal control vector 1U that minimize J is
˙ gd = 1 1Pcd − 1f − 1P
∂J 1P (13)
found by ∂1U =0
Tg R gd
˙ md = 1 1Pgd − 1Pmd
−1
1P
1U = 8T 8 + R̄in 8T (Ys − Fx (k)) (8) (14)
Tt
˙ fc = 1 1Pcf − 1f − 1P
1P
T
Ys = 1 1 . . . 1 r (k) (15)
R̄in = Rw ∗ INc∗Nc ; (9) Tfc R fc
D 1 1 1 1
− 0 0 0 0 −
2H 2H 2H 2H 2H
0 1
− 0 0 0 0 0 0 0
T inv
1 1
0 − 0 0 0 0 0 0
Tfilt Tfilt
1 1
−
RTg 0 0 − 0 0 0 0 0
Tg
1 1
A= 0 0 0
Tt
−
Tt
0 0 0 0
1 1
0 0 0 0 0 0 0
− −
Rfc T fc
1 1
0 0 0 0 0 − 0 0
Tinv T inv
0 1 1
0 0 0 0 0 − 0
Tfilt Tfilt
1 1
0 0 0 0 0 0 0 −
Tb Tb
0 0 −1/2H 1/2H 0
0 0 0 0 1/T inv
0 0 0 0 0
1/Tg 0 0 0 0
B= 0 0 E = 0 0 0
0 1/Tfc 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
T T
U = 1Pcd 1Pcf ; W = 1PL 1PW 1PS
C = [1 0 0 0 0 0 0 0 0] ; D=0
TABLE 2. Fuzzy rules for variation of 1RW . big and it demands a higher increment in Rw that corresponds
to PS (positive small) in the output 1Rw . All other rules are
similarly fired based on the logic established between the
inputs and outputs.
C. DEFUZZIFICATION
Among the 25 designed rules, a maximum of four rules may
fire and a minimum of one rule will fire. The output obtained
from the fuzzy controller is fuzzy in nature, so defuzzification
is required to convert from fuzzy to crisp value. Centroid
method is used for defuzzification of output.
FIGURE 5. (a). Comparison of system response of the micro grid for case-1 b). Response of Cost functions of MPC over simulation period for
case-1 (c). Response of control inputs to diesel and fuel cell for case-1.
FIGURE 6. (a). Comparison of system response of the micro grid for case-2 b). Response of Cost functions of MPC over simulation period for
case-2 (c). Response of control inputs to diesel and fuel cell for case-2.
FIGURE 7. (a) Comparison of system response of the micro grid for case-3 b). Response of Cost functions of MPC over simulation period for
case-3 (c). Response of control inputs to diesel and fuel cell for case-3.
The prediction horizon and the control horizon are taken as function and the change in control inputs are respectively
10 and 2 time steps respectively. The optimal Rw value from shown in Fig.6.(b) and Fig.6.(c). The tuned Rw value for
the proposed MPC is 38.5 for this case. this case is 41. There is increase in the control inputs to
reduce the negative frequency deviation in the system. The
B. CASE -2 (SYSTEM RESPONSE WITH
simulation period and sampling time is taken as 10s and 0.01s
DISPATCHABLE DERs)
respectively.
This case studies the frequency regulation in the system when
there are only dispatchable units such as diesel unit, fuel C. CASE -3 (SYSTEM RESPONSE WITH SERIES OF STEP
cell and battery in the system. The load change is 0.02p.u. LOAD VARIATION)
The comparison of system response is shown in Fig.6.(a). This case evaluates the system response of the micro grid
Since there are only two dispatchable generation units in this with series step changes in the load. The load changes are
case, the response shows the negative frequency deviation implemented with increase and decrease in value of 1PL .
for the load change. The corresponding response of cost The system response for this case is shown in Fig.7.(a).
FIGURE 8. (a) Comparison of system response of the micro grid for case-4 b). Response of Cost functions of MPC over simulation period for
case-4 (c). Response of control inputs to diesel and fuel cell for case-4.
FIGURE 9. (a) Comparison of system response of the micro grid for case-5 b). Response of Cost functions of MPC over simulation period for
case-5 (c). Response of control inputs to diesel and fuel cell for case-5.
Fig.7.(b) and Fig.7.(c) shows the response of cost function as 0.05p.u throughout the simulation and the load change
and control inputs respectively for the step load variation in of 0.02p.u. The corresponding system response is shown
the system. The control inputs are accordingly varied by MPC in Fig.9.(a). The cost function of MPC and the control inputs
to meet the load changes for minimum frequency deviation in to the controllable units are shown in Fig.9.(b) and Fig.9.(c)
the system. The optimal value of Rw is found to be 30 for this respectively. As there is increasing step change in solar
case. power, the control inputs to diesel and fuel cells are lowered
accordingly by MPC so as to maintain zero frequency devia-
D. CASE-4 (SYSTEM RESPONSE WITH WIND tion. The obtained value of Rw for this case is 28.
PERTURBATION OF 2m/s)
In this case, the wind gust component of magnitude 2m/s is F. CASE-6 (ALL DISTURBANCE SUCH AS 1PL , 1Pw AND
introduced for 6s in the wind velocity and the mean velocity 1Ps IN THE SYSTEM)
of the wind is taken as 6.5m/s. The change in solar power is This case presents the system response when all possible
maintained constant at 0.05p.u. and load change of 0.02p.u. disturbances exist in the system. This case applies the distur-
The system response for this case is shown in Fig.8.(a). The bance considered in case-3, case-4 and case-5 simultaneously.
performance of the proposed method is better and faster than The frequency deviation response of the micro grid for this
PI controller. Corresponding cost function and the control case is shown in Fig.10.(a). The cost function of MPC and the
inputs are shown in Fig.8.(b). and Fig.8.(c) respectively. The control inputs to diesel and fuel cell are shown in Fig.10.(b)
control inputs to diesel and fuel cell are lowered by MPC and Fig.10.(c) respectively. The optimal value of Rw for
when there is an increase in wind power generation due to this case is found to be 19.5. The comparison of proposed
increase in wind velocity in the system. The optimized value fuzzy MPC with PI controller is assessed by comparing the
of Rw is found to be 16.5 for this case. performance index ITSE value for all cases of simulation and
has been tabulated in Table 3. It is depicted that the optimal
E. CASE-5 (SYSTEM RESPONSE WITH STEP CHANGES value of Rw obtained in each case of simulation is unique and
IN SOLAR POWER) has to be optimally selected for different operating conditions
This case considers a series step increase in solar power. of the system. Hence, the proposed method is found to be
In this case, the wind power change (1Pw ) is simply taken efficient for load frequency control.
FIGURE 10. (a) Comparison of system response of the micro grid for case-6 b). Response of Cost functions of MPC over simulation period for
case-6 (c). Response of control inputs to diesel and fuel cell for case-6.
FIGURE 11. (a) Comparison of system response of the micro grid for case-7 b). Response of Cost functions of MPC over simulation period for
case-7 (c). Response of control inputs to diesel and fuel cell for case-7.
TABLE 3. Comparison of performance index. load is 0.02p.u whereas the wind velocity is maintained
at 6.5m/s. The response comparison is shown in Fig.11.(a).
The respective cost function and the control inputs are shown
in Fig. 11.(b) and Fig.11.(c). The optimal Rw value is found to
be 27.5 for this case. The efficiency of the proposed method
is tested and found robust for both type of disturbance in the
system.
VI. CONCLUSION
This paper proposed a new fuzzy adaptive MPC for effective
and faster load frequency control for an isolated micro grid.
The impact of tuning parameter Rw on the performance of the
model predictive control is demonstrated in the paper for load
frequency control. The adaptability of MPC is achieved by
tuning parameter ‘Rw ’ using a fuzzy controller. Rw has been
dynamically adjusted with fuzzy ‘‘IF/THEN’’ rule base to
make it robust control irrespective of different scenarios of the
problem. The proposed fuzzy adaptive MPC is implemented
for load frequency control of a typical micro grid. Simulation
G. CASE-7 (PARAMETRIC VARIATION IN THE SYSTEM) results and analysis have confirmed the benefits of proposed
This case introduces the parametric variation in the system fuzzy MPC in achieving comparatively better and faster sys-
model and studies the system response by the proposed fuzzy tem response with damped oscillations compared to MPC
adaptive Model Predictive Control. The parametric variation with constant parameter value and also with PI controller
is incorporated as follows: R = +30%; D = −40%; response for different cases. Hence, the proposed fuzzy MPC
H = +50%; Tt = −50%; Tg = +50%; Tb = −45%. can be used for effective frequency regulation in extended
The change in solar power is kept as 0.05p.u. and the smart grid applications.
S. KAYALVIZHI received the B.E. degree D. M. VINOD KUMAR received the B.E.
in electrical and electronics engineering from degree in electrical and the M.Tech. degree
Krishnasamy College of Engineering and Tech- in power systems from Osmania University,
nology in 2010 and the M.E. degree in power sys- Hyderabad, in 1979 and 1981, respectively, and
tems engineering from the College of Engineering the Ph.D. degree from IIT Kanpur in 1996. He was
Guindy, Anna University, Chennai, India, in 2012. a Post-Doctoral Fellow with Howard University,
She is currently pursuing the Ph.D. degree in the Washington, DC, USA. He joined the National
Department of Electrical Engineering, National Institute of Technology (NIT) at Warangal,
Institute of Technology Warangal, Warangal, Warangal, India, in 1981, as a faculty member. He
India. Her areas of interests are planning studies is currently a Professor of electrical engineering
in active distribution network, evolutionary algorithms, and multi-objective with NIT at Warangal. He has authored over 70 papers in international
optimization in smart grid and power system studies, and control and journals and conferences. His areas of interest are power systems operation
management of microgrid operation. and control, power system stability and security, neural networks, fuzzy logic
and evolutionary computing applications, FACTS, smart grid technologies,
and renewable energy systems.