Kanwal 2023
Kanwal 2023
DOI: 10.1049/rpg2.12739
ORIGINAL RESEARCH
1
Department of Electrical and Computer Abstract
Engineering, COMSATS University Islamabad,
Electric grid is vulnerable to power imbalance and inertia is the grid’s response to overcome
Abbottabad Campus, Abbottabad, KPK, Pakistan
2
such disturbance. Augmentation of power electronic converter based renewable energy
Department of Electrical Engineering, Capital
University of Science and Technology, Islamabad,
technologies like Photovoltaic Generators (PVG) and batteries in utility grid significantly
Pakistan reduces inertia. Inertia degradation is indicated by sharp Rate of Change of Frequency
3
Faculty of Engineering on Informatics, University (ROCOF) events due to any grid component failure or imbalance. Fixed gain feedback
of Bradford, Bradford, United Kingdom Proportional Integral Derivative (PID) control is insufficient to deal with varying ROCOF
events. This work proposes Sliding Mode (SM) robust droop control scheme assisted by
Correspondence Artificial Neural Network (ANN) algorithm for an islanded PVG integrated microgrid.
Geev Mokryani, Faculty of Engineering on
Informatics, University of Bradford BD7 1DP,
Droop response is governed by swing equation that uses PVG Maximum Power Point
UK.Email: g.mokryani@bradford.ac.uk (MPP) forecasted by ANN. ANN forecast is compared with optimized Gaussian process
regression algorithm based on mean squared error and speed of training as key perfor-
Funding information mance indicator. The algorithms are trained and validated based on climate dataset of
Innovate UK GCRF Energy Catalyst Pi-CREST
Islamabad, Pakistan. SM control performance is compared with various PID gain settings
project, Grant/Award Number: 41358; British
Academy GCRF COMPENSE project, and qualified as the most suitable against variable source, load and ROCOF scenarios.
Grant/Award Number: GCRFNGR3∖1541 Finally, significance of accurate MPP forecast for droop control is established by com-
paring the ANN and deterministic forecaster assisted droop response in a microgrid case
study.
This is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is
properly cited.
© 2023 The Authors. IET Renewable Power Generation published by John Wiley & Sons Ltd on behalf of The Institution of Engineering and Technology.
mass of synchronous generator and it enables grid frequency alternative to PI for better performance [30]. Robust con-
support. Frequency support is controlled by grid operator trol system aided by Artificial Intelligence (AI) to map system
that controls active power insertion or removal from grid [10]. dynamics is promising research frontier. AI is expected to
Inaccurate and sluggish deployment of frequency support significantly bridge the gap between complexity of robust con-
creates frequency deviations outside the acceptable range. The trol systems like Model Predictive Control (MPC) in [31] and
acceptable range or frequency dead band in Pakistan is ±1% of performance. Recent studies include Machine Learning (ML)
nominal frequency of 50 Hz [11]. Energy markets sought rapid based virtual inertia emulation for PVG based synchronverter
frequency regulation, and grid operator delivers such rapid [30] and fuzzy logic-based controller for microgrid voltage and
response by tightening governor frequency dead-bands. Gover- frequency regulation [32]. ANN based droop control law devel-
nors are responsible for primary frequency response. Tightening oped to control power electronic converters in [33] is used
governor dead-bands results in wear and tear in rotating equip- to dispatch an islanded DC microgrid. Hardware in the Loop
ment of synchronous generator, resulting in inefficient machine (HIL) verification of ANN based dynamic power management
operation [10, 12]. strategy for a DC microgrid is reported in [34]. Performance
The detailed nonlinear mathematical model based on swing recovery controller proposed in [35] used finite state machine
equation is presented in [13] that emulates inertia for power architecture and droop control to perform voltage regulation
electronic converters. Swing equation is used to incorporate and accurate current sharing in a DC microgrid. DC micro-
inertia, damping and frequency active power-based droop char- grid mandates a constant DC link voltage, and the study in
acteristics in grid interfaced converters [14]. A weak grid with [36] used ANN to regulate power sharing between two elec-
poor inertial response can be aided by proper energy storage trical sources with controlled ripple content. Study in [37]
systems [15]. Autonomous or islanded microgrids can bet- employed Yellow Saddle Goatfish algorithm to optimally tune
ter respond to sudden grid power imbalance events through parameters of a dual-stage fractional order PID controller, and
ultrashort term power injections using modern Energy Storage evaluated controller response against ROCOF, line-power fluc-
Systems (ESS) [16–18]. Fast and accurate power and frequency tuation and objective function. Hierarchical control systems
droop response of two PVGs is described [9]. Output power [38–40] used Radial Function based Neural Network to assist
is adaptively modulated by controlling PVG output voltage, in droop response. However, aforementioned strategies exhib-
controlled in response to programmable ROCOF events. Pri- ited sluggish response due to several control layers. Sliding
mary frequency response using smart loads of motor drives Mode (SM) control is single layer control and described sig-
and electric springs for British electric grid is illustrated in nificant transient and stability response for islanded microgrids
[19]. Active Power Control (APC) using PVGs is faster than [41, 42]. However, SM control is inherently plagued by chat-
governor speed control of synchronous machine. However, tering issues during sliding phase. ANN is used to resolve
frequency response of APC is sluggish in comparison with gain retuning problem using Lyapunov analysis [43]. Study
inertial response of synchronous machine [9]. Classical PVG in [44] used Takagi-Sugeno (TS) fuzzy inference control to
controllers are designed to extract maximum efficiency. and regulate load voltage and enable power sharing among micro-
consequently, PVGs inherently lack power reserve inertia for grid components. However, implementation of such systems is
frequency support. One alternative to emulate inertia in PVG problematic due to level of complexity associated with fuzzy
is to operate them at a derated power level [20, 5, 21]. Der- controllers [45].
ated PVG operation eliminates the need of expensive ESS and In order to establish the importance of an accurate inertia
is proven economically more feasible [22], primarily due to dra- estimation ML algorithm for a PVG and the design of robust
matic decline in PVG component cost than batteries [23]. The droop control mechanism, this paper presents a nonlinear SM
study in [24] emulated inertia by controlling DC link voltage control law aided by ANN to solve a swing equation. Estima-
and produced derated PVG power. Linear Quadratic Regula- tion results from ANN, GPR and deterministic techniques for
tor (LQR) is used to obtain optimum control trajectory and a 350 kW PVG are compared using mainstream ML workflow.
enhance grid inertia as reported in [25]. Virtual inertia of a ML algorithm is trained using climate data obtained from a tier-
Doubly Fed Induction Generator (DFIG) is augmented by 1 weather station installed at Islamabad campus of National
Lithium-ion supercapacitors on DC bus [26]. Studies in [27, University of Science and Technology. Climate data is consisted
28] have suggested to store inertia as electrostatic energy in on Global Horizontal Irradiance (GHI) and Dry Bulb Temper-
capacitors connected on DC bus of High Voltage DC (HVDC) ature (DBT) from CMP21 pyranometer and CS215 temperature
networks. Study in [29] devised novel grid frequency estimation probe, respectively [46].
technique instead of classical PLL based frequency calculator, The key contributions of this study are:
and injected active power into microgrid using proportional
control. ∙ MPP of PVG is estimated using accurate ML based fore-
Maximum efficiency extraction from PVG requires hill- caster, and is used to predict the instantaneous maximum
climbing control operation around nonlinear Power vs. Voltage power of PVG using the swing equation. ANN and Gaussian
characteristic curve of that PVG. Classically, feedback Pro- Process Regression (GPR) are trained and fine-tuned using
portional Integral (PI) controller is used to control linearized historical climate data of Islamabad, Pakistan. The two algo-
PVG. However, changing operational dynamics demand robust rithms are compared with deterministic forecaster, and Mean
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
KANWAL ET AL. 3
Squared Error (MSE) is used as a key performance indica- Ideally the load current IL is related to the output voltage VL
tor. ANN is qualified as the most accurate algorithm with by Kirchhoff Current Law [22]:
minimum training time and validation MSE.
( )
∙ Robust Sliding Mode (SM) controller based on pulse-width VL +IL RS
−1 VL + IL RS
modulation is designed with constant frequency of oper- IL = IPH − ISat e nVT
− (2)
RSH
ation. The outcome of constant frequency operation is
near zero steady state voltage and power error. SM droop
Nevertheless, (2) is highly non-linear and internal parameters
controller for PVG is qualified against static and dynamic
like RS and RSH are not directly measurable. The reason is that
ROCOF events. SM droop response is compared with
these parameters are dependent on climate conditions of GHI
fixed gain PID controllers and former exhibited excellent
and DBT. Consequently, IL is not directly available to solve (1).
error performance under varying source, load and ROCOF
Numerous techniques are available in literature to linearize (2),
conditions.
such as GPR [22], genetic algorithm [47], pattern search opti-
∙ Importance of accurate PVG inertia estimation is highlighted
mization [48], particle swarm optimization [49], semi-analytic
in the context of aforementioned ROCOF events. ANN
method [50], semi-pattern search optimization [51], and Lam-
forecast is compared with GPR and deterministic linearized
bert W function [52]. Performing DC sweep analysis on VL
physical model of PVG. Deterministic model returned higher
between [0, VOC ] as done in [53] and solving for (2) results in
steady state error than ANN in response to required droop
deterministic model, as depicted in (3) [22]:
power suggested by swing equation. It is concluded that an
( )(
efficient droop response governed by swing equation requires
SAmb ( ))
a combination of an accurate inertia estimator based on ANN IL = NPAR IPHre f + 𝛼 iSC TCell − TRe f
and a robust nonlinear controller based on SM. Validation of Sn
proposed scheme is also established using a microgrid based ( )3 [ ][ 𝜀 𝜀g
] ( )
q g,re f VL +IL RS
TCell − −1
case study. −ISat ,n NPAR e k TRe f TCell
e nVT
TRe f
The remaining study is organized as follows: Section 2 out-
VL + IL RS
lines system description. Section 3 presents systematic ML − (3)
RSH
modelling to extract useful information from raw data, train
and improve models, and qualify suitable model for integration.
Section 4 presents results and discussion on control problem
2.2 Droop control and inertia emulation
and the significance of robust SM control solution aided by ML
technique. Section 5 presents conclusion and future work.
Microgrid power equilibrium is achieved by active and reactive
power controls, depending on frequency droop control and out-
put voltage control, respectively [54]. Active power required in
2 SYSTEM DESCRIPTION inductive microgrid bus is conventionally modelled as (4):
The system under consideration is consisted of 350 kW PVG EV sin 𝛼
operated under particular climate condition. System block dia- P = (4)
X
gram is presented in Figure 1. Control system is developed
for single source/load scenario. Climate input contains GHI where E, V , 𝛼, and X are inverter output voltage, bus nom-
and DBT information that drives 350 kW PVG as well as inal voltage, power angle and output reactance of inverter
ANN model for MPP prediction of the said PVG. Maximum respectively. This paper concentrates on active power control
power point tracking is achieved by a buck DC/DC converter only. Advantage of conventional droop control is its inde-
controlled by robust SM control scheme. SM controls the out- pendence from critical communication links between power
put power of buck converter based on swing equation and a sharing components, thus enabling high flexibility, modularity,
designated ROCOF profile. and redundancy. However, conventional droop control exhibits
poor transient response towards fast ROCOF events [54].
Additionally, conventional droop control is inadequate in PVG
2.1 Maximum power point estimation using because (4) lacks estimate about MPP [55]. Rapid active power
deterministic model control of PVG for frequency droop control is discussed in [9,
56] and modelled as (5):
Single diode equivalent circuit of PV cell is depicted in Figure 2.
( )
The output power of this PV cell is represented by (1). However, fg − f0
this is instantaneous power and is different from Pmax discussed Pout = PMPP (5)
f0 × DR %
in Section 2.2.
Pout is power added to the grid, PMPP is MPP estimate of PVG,
PL = IL × VL (1) fg is measured grid frequency, fo is nominal grid frequency
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
4 KANWAL ET AL.
FIGURE 1 Block diagram of sliding mode-based droop control against designated ROCOF profile.
conventional power generator. Power output is increased or FeatureData, D {GHI , DBT } ∈ ℝ598×2 .
decreased by bringing P1 near or far from PMPP . However, VHigh (7)
offers better converter efficiency and faster dynamic response ⃗ {Target MPP} ∈ ℝ598×1
Out put Data, O
due to sharper slope than VLow [63].
FIGURE 5 Long term average of daily recorded peaks of GHI and temperature in 9 major cities of Pakistan, period 2014–2017.
Compute ⃖⃗ ⃖⃗
Error Vector, ⃗e = PT − PO ,
∑m
Loss function, fLoss = ei 2 .
{ i=1
𝜇 − 𝜇dec , fLoss < fLoss_Old
Set 𝜇=
𝜇 + 𝜇inc , fLoss > fLoss_Old
Set k=k+1
Check If k⟨Epochmax ∨ 𝜇⟨𝜇max ∨ ∇ fLoss ⟩∇min ∨ fLoss ⟩0
True? Go to Step 7
False? Go to Step 8
End While
8 Check If fLoss < 0
True? Return W and ⃗b. Go to Step 9.
False? Return Error. Go to Step 9.
9 End
The dataset in (7) is divided into 5-sections or folds, where Residual plot in Figure 11b maps the error performance after
each fold is used to validate model performance at some point. optimization. The error values randomly concentrated along
Entire validation is completed in 5-steps, where at each itera- zero horizontal axis implies that the trained model describes the
tion only one -fold is used for validation, while rest of the folds data well.
are used for training. Figure 10 outlines five cross-validation Comparing the results in Tables 1 and 2 illustrates
iteration schemes. that the two models offer significantly accurate forecast
Automated hyper-parameter optimization feature of Statis- capability. It is observed that GPRMSE−V is greater than
tics and Machine Learning toolbox in MATLAB is used to ANNMSE−V , while the former trained and optimized way
select the best kernel function with minimum MSE response. slower than the latter. Therefore, ANN model is selected for
Optimization results are presented in Figure 11a and Table 3. integration.
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
KANWAL ET AL. 9
FIGURE 11 (a) Automated hyper-parameter optimization of GPR model. (b) Residual plot of GPR model.
1. Improvement k 1000 –
iterations/epochs
2. Damping factor 𝜇 10 –
3. Gradient of loss function ∇ fLoss 368.42 –
4. Loss function fLoss 0.291 W
5. Training time – 3 s
6. Training MSE ANNMSE−R 0.08 W2
7. Validation MSE ANNMSE−V 0.116 W2
8. Testing MSE ANNMSE−T 0.398 W2
3.6 Integration
TABLE 2 Impact of varying number of training samples and number of hidden layer neurons on MSE score of LM and SCG optimizer-based ANN
No. of No. of No. of No. of Training time (s) Validation MSE (W2 )
training validation testing neurons in
Test setup samples samples samples hidden layer SCG LM SCG LM
TABLE 3 GPR model improvement results of the state variables of the system as expressed in (10). U +
No. Parameter Symbol Value Unit and U − are either scalar values or scalar functions of x(t ), and
𝛼i denote the set of control parameters known as sliding coef-
1. Kernel function K (xi , x j |𝜃) Noninotropic rational –
quadratic
ficients and xi (t ) ∈ x(t ). Control law can be realized by Signum
function, as given by:
2. Training time – 385.2 s
{
3. Optimization – 30
1 i f S (x, t ) > 0
iterations
u (t ) = (10)
4. Validation MSE GPRMSE−V 131.81 W2 0 i f S (x, t ) ≤ 0
condition to satisfy the hitting condition is to design control law 4.3 System modelling
ui = u(t > 0) that transforms state variable into x(t > 0) and a
resultant trajectory S (t > 0) satisfying (13) [78]: System modelling of buck converter requires development
of its state-space description in terms of desired control
dS variables (voltage or current). Figure 13 presents schematic
S <0 (13)
dt diagram of second order PID Sliding Mode Voltage Con-
trolled (SMVC) buck converter. C , L, rL denote capacitor,
The inequality (13) is consequence of the Lyapunov second the- inductor, and instantaneous load resistance of buck converter,
orem on stability of which the Lyapunov candidate function respectively. iL , iC and iR represent the inductor, capacitor,
1
is V (S ) = S 2 . Compliance with (13) satisfies hitting con- and load currents, respectively. Vre f , vi and 𝛽vo represent
2
dition. After satisfying the hitting condition, next step is to reference, instantaneous input, instantaneous output voltages,
satisfy existence or sliding condition. According to this condi- respectively. 𝛽 is the feedback network ratio, while u is
tion, once trajectory S is within vicinity of sliding manifold, will either 0 or 1 representing switching state of SW (MOSFET
always be directed back to the sliding manifold, as depicted in switch).
Figure 12 The vicinity of the sliding manifold is represented by The states of choice for buck converter are illustrated in (15):
0 < |S | < 𝛿.
The existence condition can be fulfilled by inspecting the ⎡x1 ⎤ ⎡ Vre f − 𝛽vo ⎤ ⎡ Vre f − 𝛽vo ⎤
dS
local hitting condition S < 0 such that in the vicinity of 0 < ⎢ ⎥ ⎢ ⎥ ⎢ ⎥
dt
|S | < 𝛿 the following condition of (14) is satisfied [78]:
⇀
x = ⎢x2 ⎥ = ⎢ d (Vre f − 𝛽vo ) ⎥ = ⎢ 𝛽vo 𝛽 ( vo − vi u ) ⎥
⎢ ⎥ ⎢ dt ⎥ ⎢ rLC + ∫ dt ⎥
LC
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
dS dS ⎣x3 ⎦ ⎣∫ (Vre f − 𝛽vo )dt ⎦ ⎣ ∫ x1 dt ⎦
lim S ⋅ < 0 that can be rewritten as, ⇒ lim+ S ⋅ (15)
S →0 dt S →0 dt
where x1 , x2 , and x3 are voltage error, voltage error dynamics
dS
< 0 and limS →0− S ⋅ >0 (14) and integral of voltage error, respectively. After differentiation
dt of (15), state-space representation transforms into (16):
√𝛼
where 𝜔n = 3
, is the undamped natural frequency and
𝛼2
𝛼1
𝜁= √ , is the damping coefficient. The equations can be
𝛼2 𝛼3
rearranged as (23) [78]:
( )2
𝛼3 1 𝛼1
= 2 (23)
𝛼2 4𝜁 𝛼2
TABLE 4 Comparison of presented work with contemporary techniques used in existing literature for statistically assisted microgrid droop-based power control
Inertia
Test system/case estimation Converter
Ref. Year Problem study technique Power controller architecture Contribution
[80] 2022 Improve DC bus Standalone microgrid ANN Open loop ANN Boost and Droop based energy
voltage regulation with PV and battery based PWM Bidirectional management
and minimize grid storage system scheme for parallel
power mismatch microgrids acting as
load or source
alternately
[81] 2019 Inability of traditional Standalone microgrid – PI voltage and current Boost and Buck Experimental
droop control to supplied by PV and verification of
mitigate DC bus wind generators, parallel connection
voltage fluctuations loaded by resistive of multiple DC/DC
and constant power converters to
loads cooperatively
achieve droop
control in a
microgrid
[37] 2019 Automatic load Two area YSGA PID, fractional order Power inverter Performance analysis
frequency regulation interconnected PID, dual stage of YSGA optimized
of interconnected microgrid fractional order PID dual stage fractional
microgrid system containing wind one plus PI order PID to
penetrated by turbine, bio mitigate grid
renewable energy generator, micro frequency and
resources turbine and demand power excursions
response support
[33] 2019 Improve DC bus Microgrid containing ANN Droop integrator and Dual parallel Transient analysis of
voltage regulation PV arrays, fuel cells, ANN based duty connected buck DC microgrid to
and minimize grid EVs and battery cycle reference converters rapidly track
power mismatch storage generation different voltage
references in the
presence of load
disturbances
[35] 2021 Improve DC bus Two and three – Finite State Machine Boost converters First order observer
voltage regulation distributed based controller, design to overcome
and minimize grid generators-based droop gain model uncertainties
power mismatch microgrid cases controlled by cost or associated with
rating based power DC/DC converters.
sharing strategy Control law
eliminates output
voltage tracking
errors without
integrators
This 2023 Effectively and Utility grid interfaced ANN Swing-equation Buck converter Droop response
Work intelligently dispatch with a microgrid enforced by a droop governed by swing
a PVG in response baseload, PV and controller based on equation presented
to static and peaker generator ANN assisted as a combination of
dynamic ROCOF robust SM control an accurate inertia
events law estimator based on
ANN and a robust
nonlinear controller
based on SM
FIGURE 15 State trajectory of internal states of buck converter, in response to SM control operation against static ROCOF event.
FIGURE 16 Simulated dynamic grid frequency event with variable ROCOF starting at 0.1µs, and ranging between 43 and −23 Hz/s.
The results are computed for a GHI of 500 W/m2 , DBT of equilibrium. However, after fulfilment of droop response, states
25◦ C, and constant islanded load of 5 Ω. The system is simu- are restored at a stable equilibrium point of iC = −0.014A,
lated in Mathworks Simulink with a step size of 1¯s and a total Vre f − 𝛽vo = 0.62 V, and vo = 846.4 V.
simulation time of 1s.
FIGURE 17 State trajectory of internal states of buck converter, in response to SM control operation against dynamic ROCOF event.
FIGURE 18 Static droop response of PVG against 20 Hz/s ROCOF, using SM and multiple fixed gain PID variants (a) k p = 5, ki = 1, kd = 0, (b) k p = 5,
ki = 1, kd = 0.1, (c) k p = 10, ki = 10, kd = 0.1, (d) sliding mode.
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
16 KANWAL ET AL.
FIGURE 19 Dynamic droop response of PVG against variable ROCOF, using (a) PID tuned at k p = 10, ki = 10, kd = 0.1 and (b) SM.
FIGURE 20 SM controller droop response against dynamic ROCOF event for (a) 500 W/m2 , 25◦ C, 5 Ω, (b) 750 W/m2 , 25◦ C, 5 Ω, (c) 1000 W/m2 , 25◦ C,
5 Ω, (d) 3 Ω, 1000 W/m2 , 25◦ C, (e) 5 Ω, 500 W/m2 , 25◦ C, (f) 7 Ω, 500 W/m2 , 25◦ C.
FIGURE 21 Internal states of buck converter against dynamic ROCOF event for (a) GHI variations of 500, 750 and 1000 W/m2 at 5 Ω load. (b) Load
variations of 3, 5, and 7 Ω at 500 W/m2 .
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
KANWAL ET AL. 17
TABLE 5 Comparison of SM and multiple fixed gain PID variants for droop response against 20 Hz/s, 40 Hz/s and dynamic ROCOF, using controller
performance metrics
1
Not a Number (NaN) due to undamped oscillations in output power.
2,3,4,5,6,7,8,9
Not Available (NA) due to multiple setpoints due to variable ROCOF event.
states are restored at a stable equilibrium point of iC = 2.13 mA, respectively. However, PID3 exhibited the best overall PID con-
Vre f − 𝛽 vo = 0.001 V, and vo = 632.6 V. trol performance. SM clearly outclassed PID3 in terms of faster
output rise time and settling time, greater slew-rate, smaller
overshoot, and better error metrics. The performance metrics
4.5.3 SM versus PID droop response are calculated for static droop response between simulation time
comparison [0.4, 1] s, where only one transition occurs.
The controller performance metrics are re-calculated to com-
SM performance is compared with multiple fixed gain Propor- pare robustness of SM with PID3 for fast ROCOF of 40 Hz/s.
tional Integral Derivative (PID) variants against several ROCOF SM performance deteriorates negligibly for a faster ROCOF, as
events and graphical results are presented in Figures 18 and 19 depicted in Table 5. Even though the normalized percentage
whereas Controller Performance Indicators (CPI) results are change in CPI for SM is much greater than PID3 , still SM out-
presented in Table 3. This study uses CPIs as Integral Absolute classes PID3 with far better performance metrics. The obvious
Error (IAE), Integral Square Error (ISE), Integral Time Abso- disadvantage of PID is the need to constantly retune controller
lute Error (ITAE), and Integral Time Square Error (ITSE) to gains with changing system dynamics. This disadvantage further
compare SM with PID. The formulas for CPI are depicted in exacerbates droop response during dynamic ROCOF event, as
(29), (30), (31), and (32) [82]: shown in Figure 19, where PID3 shows unabated oscillations.
∞
On the other hand, SM still outperforms PID3 with better CPI
IAE = |e (t )| dt (29) scores. The performance metrics are calculated for dynamic
∫0 droop response between simulation time [0.1, 1] s, where the
∞ entire dynamic ROCOF variation occurs.
ISE = e2 (t ) dt (30)
∫0
∞ 4.5.4 Impact of variable source and load
ITAE = t |e (t )| dt (31) variations on SM droop response
∫0
∞
SM based droop controller for PVG applications requires per-
ITSE = t e2 (t ) dt (32)
∫0 formance evaluation under variable climate or source, and
variable load conditions. Therefore, the SM droop controller is
PID gains are iteratively tuned to achieve better error perfor- subjected to multiple load and source variation scenarios against
mance. Oscillations in output power are depicted in Figure 18a the dynamic ROCOF event depicted in Figure 16. SM droop
against PID1 are due to lack of braking effect or zero deriva- response clearly follows the droop command (vcmd ) as per the
tive gain. Oscillations result in undefined settling time shown swing Equation (5) as depicted in Figure 20a,b,c,e. However,
in Table 5. Introducing a derivative gain significantly improves in case of 3 Ω and 7 Ω resistive loads in Figure 20d,f, the
settling time, as shown in Figure 18b,c against PID2 and PID3 SM controller initially reports errors particularly a huge value
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
18 KANWAL ET AL.
TABLE 6 List of components used in the presented case study with respective values
A combination of ANN forecast with a linear controller (such It is evident from Figure 24c that the PVG’s consumed
as PID) to solve (5) is expected to create unabated oscilla- active power reserves exceeded the threshold of 90%, in both
tions in output power during dynamic ROCOF fluctuations, as the cases of ANN and deterministic forecasters. Consequently,
depicted in Figure 19a. Alternately a combination of determin- the saturation of PVG reserve triggered the secondary source
istic forecast with a non-linear controller (such as SM) to solve of power in the islanded microgrid, that is, peaker generator.
(5) prevents oscillations in output power, but instead under- Exact trigger times of each forecaster are shown in Figure 24b.
performs as depicted in Figure 22a. Therefore, it is imperative Time difference of Δt = 2.549 − 2.437 = 0.112 s, between the
to opt for a robust non-linear controller (SM) assisted by an two forecasters is evident. However, this subtle Δt has pro-
accurate inertia estimator algorithm (ANN). found impact on the actual fg nadir, as shown in Figure 24e.
Clearly, the ANN forecaster grasped the saturation of PVG ear-
lier than the deterministic forecaster, and issued an early trigger
4.5.6 Case study to peaker generator. Therefore, fg reached at a nadir of 48.8
Hz for ANN, in contrast with a nadir of 48.1 Hz for deter-
This section presents microgrid scenario, depicted in the block ministic forecaster. It is also shown that the swing equation-
diagram Figure 23 as a case study with individual compo- based droop response in Figure 24a ensured droop response
nents listed in Table 6 to further cement the validity of robustness.
proposed scheme. The presented scenario is inspired from
a multi-tier or multilayered grid frequency support mech-
anism whereby the PVG serves as primary power source, 5 CONCLUSION
as proposed in [83]. The microgrid scenario is simulated in
Simulink, for a duration of 10 s at a time-step or resolution A robust controller based on Sliding Mode (SM) control assisted
of 7.5 µs. A simulated phase to neutral fault occurs at 1 s by ML is presented for droop control and inertia estimation
and the microgrid is isolated (or islanded) from utility grid at of PV system interfaced autonomous microgrid. Algorithms
1.7 s. for Gaussian Process Regression (GPR) and Artificial Neural
In order to establish the importance of accurate MPP forecast Network (ANN) are presented and models are trained using
of PVG in response to ROCOF excursions, the PVG is deliber- historical climate data from Islamabad, Pakistan. Hyperparame-
ately operated at a GHI of 170 W/m3 . Operating at such a low ter optimization outcome of GPR model was compared with
GHI saturates the PVG against ROCOF disturbance, and trig- Levenberg-Marquardt based ANN model and mean square
gers the backup 50 kW peaker generator. Trigger threshold for error (MSE) was used as primary performance metric. ANN
PVG can be any finite numerical value; for instance, the trig- was declared frontrunner with the most accurate prediction
ger threshold in aforementioned simulation setup is selected result with validation MSE of 0.116 W2 and training time of 3 s.
as 90% of PMPP . A rapid trigger generation would overcome Subsequently the ANN forecaster was integrated in swing equa-
the active-power deficiency in the islanded microgrid and is tion to predict maximum power point of 350 kW PVG. The said
further expected to prevent unnecessary grid frequency fluctu- PVG was simulated against sharp static and dynamic ROCOF
ation from its nominal value of 50 Hz. However, a rapid trigger events; significance of SM based droop response was high-
requires an accurate estimate of instantaneous PMPP . The fol- lighted in comparison with PID based droop response under
lowing discussion compares the impact of an accurate and an multiple gain settings. Typical control system performance
inaccurate PMPP forecast mechanism, that is, ANN and deter- metrics were used to compare SM and PID, and observed
ministic inertia estimators respectively, over trigger timing and that SM delivered the finest performance overall. Finally,
eventually the grid frequency excursion. impact of accurate inertia estimation in terms of controller
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
20 KANWAL ET AL.
FIGURE 24 Case study results for microgrid islanding operation. (a) Droop power required from swing equation and actual droop response due to SM control,
(b) active power generated by peaker generators, as instructed by ANN and deterministic techniques, (c) consumed active power reserve in percentage, due to ANN
and deterministic forecast simulations, (d) comparison of cumulative and individual active powers generated from PVG and peaker generator, (e) grid frequency
fluctuations due to ANN and deterministic technique’s intervention to trigger peaker generator, (f) ROCOF of ANN and deterministic grid frequency results.
performance was explored. Droop response with swing equa- The advent of ML algorithms has inspired to incorporate
tion governed by classical five parameter deterministic model biological inference systems in the mission critical fabric of
and ANN model was compared, and former returned con- microgrid management systems. Reinforcement learning is the
stant recurring steady state error. It is concluded that accurate recent example of such algorithms, that uses ML to mimic
reserve estimation with a robust control system exhibits excel- human decision making. However, such state-of-the-art tech-
lent performance for PVG based autonomous microgrid. The niques are still reliant on low-level accurate robust control
conclusion is further validated in the context of a microgrid case systems as presented here, to effectively dispatch a microgrid
study. in the foreseeable future.
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
KANWAL ET AL. 21
NOMENCLATURE
iC Capacitive displacement current Ampere
RL(min) Minimum load resistance across Buck Ω
converter output
RL(max) Maximum load resistance across Buck Ω
Symbol Description Unit
converter output
PL Instantaneous PV output power Watt rL Instantaneous load resistance across Buck Ω
IL Instantaneous PV load current Ampere converter output
VL Instantaneous PV load voltage Volt 𝜏 Time constant for decay in response s
VOc Open circuit PV voltage Volt 𝜁 Damping coefficient
IPH Light generated current Ampere 𝛽 Feedback ratio
IPHre f Reference light generated current Ampere 𝜔n Control bandwidth rad∕s
NPAR Number of parallel PV strings – Ts Settling time ¯s
NSER Number of series PV modules – vi Buck converter input voltage Volt
SAmb Ambient irradiance Watt/m2 C Capacitance in buck converter ¯F
Sn Irradiance at 25◦ C Watt/m2 L Inductance in buck converter mH
𝛼 iSC Temperature coefficient of ISC %/◦ C fs Switching Frequency MHz
TCell Solar cell temperature ◦C K p1 Sliding Coefficient 1 H∕s
TRe f Reference temperature ◦C K p2 Sliding Coefficient 2 V∕V
ISat ,n Reference reverse saturation current pA
ISat Reverse saturation current Ampere
RS PV series resistance per module Ω
AUTHOR CONTRIBUTIONS
RSH PV shunt resistance per module Ω
Sidra Kanwal: Writing - review and editing; Muhammad Qasim
VT Thermal voltage Volt
Rauf: Writing - review and editing; Bilal Khan: Writing - review
q Charge on an electron Coulomb and editing. Geev Mokryani: Writing - review and editing
E Inverter output voltage Volt
V Nominal bus voltage Volt ACKNOWLEDGEMENTS
This work was supported in-part by Innovate UK GCRF
𝛼 Power angle Degree (◦ )
Energy Catalyst Pi-CREST project under Grant number 41358
X Inverter output reactance Ω
and in-part by British Academy GCRF COMPENSE project
n Diode ideality factor under Grant GCRFNGR3∖1541.
PMPP Maximum power point estimate of PVG at Sn KiloWatt
Pout PVG power added in the grid Watt CONFLICT OF INTEREST STATEMENT
The authors declare no conflicts of interest.
fg Measured grid frequency Hz
fo Nominal grid frequency Hz DATA AVAILABILITY STATEMENT
DR Droop rate Hz∕s The author has provided the required Data Availability State-
⃗
D Input data vector [Watt/m2 , ◦ C] ment, and if applicable, included functional and accurate links
W Weight matrix to said data therein.
⃗b Bias vector
ORCID
𝜇 Damping factor
Geev Mokryani https://orcid.org/0000-0002-6285-5819
k Improvement iterations or epochs
∇ fLoss Gradient of loss function REFERENCES
fLoss Loss function Watt 1. United Nations: Conference of the Parties (COP21). in Adoption on the
Paris Agreement, Paris (2015)
vc SM voltage control law Volt
2. Baruch-Mordo, S., Kiesecker, J.M., Kennedy, C.M., Oakleaf, J.R.,
ueq ∗ Equivalent control law Opperman, J.J.: From Paris to practice: Sustainable implementation of
JT Sliding coefficients Volt renewable energy goals. Environ. Res. Lett. 14(2), 024013 (2019)
3. Department of Economic and Social Affairs: World Population Prospects
vo Output voltage feedback Volt 2019. United Nations. https://population.un.org/wpp/Graphs/
vcmd Output voltage setpoint Volt DemographicProfiles/Pyramid/586 (2019). Accessed 15 Novemeber
2021.
v̂ramp Ramp voltage Volt
4. Yasir, A., Yousuf, I., Gonul, G., Malik, S.: Renewables Readiness Assess-
ment: Pakistan. https://www.irena.org/-/media/Files/IRENA/Agency/
(Continues) Publication/2018/Apr/IRENA_RRA_Pakistan_2018.pdf. International
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
22 KANWAL ET AL.
Renewable Energy Agency, Abu Dhabi, UAE (2018). Accessed 21 April 24. Im, W., Wang, C., Liu, W., Liu, L., Kim, J.M.: Distributed virtual inertia
2023. based control of multiple photovoltaic systems in autonomous microgrid.
5. Kanwal, S., Khan, B., Ali, S.M.: Machine learning based weighted schedul- IEEE/CAA J. Autom. Sin. 4(3), 512–519 (2016)
ing scheme for active power control of hybrid microgrid. Int. J. Electr. 25. Engleitner, R., Nied, A., Cavalca, M., da Costa, J.: Dynamic analysis of small
Power Energy Syst. 125, 106461 (2021) wind turbines frequency support capability in a low-power wind–diesel
6. Farrokhabadi, M., Ca˜nizares, C.A., S-Porco, J.W., Nasr, E., Fan, L., M- microgrid. IEEE Trans. Ind. Appl. 54(1), 102–111 (2017)
Araya, P.A., Tonkoski, R., Tamrakar, U., Hatziargyriou, N., Lagos, D., Wies, 26. Zhu, J., Hu, J., Hung, W., Wang, C., Zhang, X., Bu, S., Li, Q., Urdal, H.,
R.W., Paolone, M., Liserre, M., Meegahapola, L., Kabalan, M., Hajimiragha, Booth, C.: Synthetic inertia control strategy for doubly fed induction gen-
A.H., Peralta, D., Elizondo, M.A., Sh, K.P.: Microgrid stability definitions, erator wind turbine generators using lithium-ion supercapacitors. IEEE
analysis, and examples. IEEE Trans. Power Syst. 35(1), 13–29 (2019) Trans. Energy Convers. 33(2), 773–783 (2017)
7. Sarojini, R.K., Kaliannan, P., Teekaraman, Y., Nikolovski, S., Baghaee, 27. Zhu, J., Booth, C., Adam, G., Roscoe, A., Bright, C.: Inertia emulation
H.R.: An enhanced emulated inertia control for grid-connected PV control strategy for VSC-HVDC transmission system. IEEE Trans. Power
systems with HESS in a weak grid. Energies 14(6), 1721 (2021) Syst. 28(2), 1277–1287 (2012)
8. European Network of Transmission System Operators for Electricity 28. Zhang, M., Yuan, X., Hu, J.: Inertia and primary frequency provisions of
(ENTSOE): Rate of Change of Frequency (ROCOF) withstand capability PLL-synchronized VSC HVDC when attached to islanded AC system.
ENTSOE guidance document for national implementation for network IEEE Trans. Power Syst. 33(4), 4179–4188 (2017)
codes on grid connection. European Network of Transmission System 29. Bose, U., Chattopadhyay, S., Chakraborty, C., Pal, B.: A novel method of
Operators for Electricity, Brussels, Belgium (2018) frequency regulation in microgrid. IEEE Trans. Ind. Appl. 55(1), 111–121
9. Hoke, A.F., Shirazi, M., Chakraborty, S., Muljadi, E., Maksimovic, D.: (2018)
Rapid active power control of photovoltaic systems for grid frequency 30. Yap, K., Sarimuthu, C., Lim, J.: Grid integration of solar photovoltaic
support. IEEE J. Emerging Sel. Top. Power Electron. 5(3), 1154–1163, system using machine learning-based virtual inertia synthetization in
(2017) synchronverter. IEEE Access 8, 49961–49976 (2020)
10. Federal Energy Regulatory Commission (FERC): Frequency Regulation 31. Wang, S., Dehghanian, P., Alhazmi, M., Nazemi, M.: Advanced control
Compensation in the Organized Wholesale Power. document FERC Order solutions for enhanced resilience of modern power-electronic-interfaced
755, Washington D.C., America (2011) distribution systems. J. Mod. Power Syst. Clean Energy 7(4), 716–730
11. N. E. P. R. A. (NEPRA): Performance Standards Transmission (PST) (2019)
Rules. https://nepra.org.pk/Legislation/2-Rules/2.7%20NEPRA% 32. Andalib-Bin-Karim, C., Liang, X., Zhang, H.: Fuzzy-secondary-controller-
20Performance%20Standards%20(Transmission)%20Rules,%202005/ based virtual synchronous generator control scheme for interfacing
Performance%20Standards%20(Transmission)%20Rules%202005.pdf inverters of renewable distributed generation in microgrids. IEEE Trans.
(2005). Accessed 01 April 2021 Ind. Appl. 54(2), 1047–1061 (2018)
12. Kundur, P.: Power System Stability and Control. McGraw-Hill, New York 33. Dong, W., Li, S., Fu, X.: Artificial neural network control of a standalone
(1994) DC microgrid. In: 2018 Clemson University Power Systems Conference (PSC).
13. Arco, S.D., Suul, J.A., Fosso, O.B.: A Virtual Synchronous Machine imple- Charleston, SC (2018)
mentation for distributed control of power converters in SmartGrids. 34. Singh, P., Lathar, J.S.: Artificial neural network-based dynamic power man-
Electr. Power Syst. Res. 122, 180–197 (2015) agement of a DC microgrid: A hardware-in-loop real-time verification. Int.
14. Zhang, W., Remon, D., Rodriguez, P.: Frequency support characteristics J. Ambient Energy 43(1), 1730–1738 (2022)
of grid-interactive power converters based on the synchronous power 35. Hatahet, W.M., Mostafa, I., Mokhtar, M.: Adaptive controllers for grid-
controller. IET Renewable Power Gener. 11(4), 470–479 (2017) connected DC microgrids. Int. J. Electr. Power Energy Syst. 130, 106917
15. Renjit, A.A., Guo, F., Sharma, R.: An analytical framework to design a (2021)
Dynamic Frequency Control scheme for microgrids using energy storage. 36. Rahul, S., Akanksha, K., Vijay Kumar S.: Artificial neural network based
In: 2016 IEEE Applied Power Electronics Conference and Exposition (APEC), power control of DC microgrid. In: Smart Energy and Advancement in
Long Beach, CA, USA (2016) Power Technologies. Springer, Berlin (2022)
16. Delille, G., Francois, B., Malarange, G.: Dynamic frequency control sup- 37. Latif, A., Chandra, D, Dulal, K.B., Amar, R.S.: Illustration of demand
port by energy storage to reduce the impact of wind and solar generation response supported co-ordinated system performance evaluation of
on isolated power system’s inertia. IEEE Trans. Sustainable Energy 3(4), YSGA optimized dual stage PIFOD-(1+ PI) controller employed
931–939 (2012) with wind-tidal-biodiesel based independent two-area interconnected
17. Xu, T., Jang, W., Overbye, T.: Commitment of fast-responding stor- microgrid system. IET Renewable Power Gener. 14(6), 1074–1086
age devices to mimic inertia for the enhancement of primary frequency (2020)
response. IEEE Trans. Power Syst. 33(2), 1219–1230 (2017) 38. Baghaee, H., Mirsalim, M., Gharehpetan, G., Talebi, H.: Nonlinear load
18. Rakhshani, E., Rodriguez, P.: Inertia emulation in AC/DC intercon- sharing and voltage compensation of microgrids based on harmonic
nected power systems using derivative technique considering frequency power-flow calculations using radial basis function neural networks. IEEE
measurement effects. IEEE Trans. Power Syst. 32(5), 3338–3351 (2016) Syst. J. 12(3), 274 (2017)
19. Chakravorty, D., Chaudhuri, B., Hui, S.Y.R.: Rapid frequency response 39. Baghaee, H., Mirsalim, M., Gharehpetian, G.: Power calculation using RBF
from smart loads in great Britain power system. IEEE Trans. Smart Grid. neural networks to improve power sharing of hierarchical control scheme
8(5), 2160–2169 (2017) in multi-DER microgrids. IEEE J. Emerging Sel. Top. Power Electron.
20. Kanwal, S., Khan, B., Rauf, M.Q.: Internal power reserve estimation 4(4), 1217–1225 (2016)
for frequency regulation in storageless photovoltaic system. In: 22nd 40. Baghaee, H., Mirsalim, M., Gharehpetian, G., Talebi, H.: Unbalanced har-
International Multitopic Conference (INMIC), Islamabad (2019) monic power sharing and voltage compensation of microgrids using radial
21. Zarina, P.P., Mishra, S., Sekhar, P.C.: Exploring frequency control capability basis function neural network-based harmonic power-flow calculations
of a PV system in a hybrid PV-rotating machine-without storage system. for distributed and decentralised control structures. IET Gener. Transm.
Int. J. Electr. Power Energy Syst. 60, 258–267 (2014) Distrib. 12(7), 1518–1530 (2018)
22. Kanwal, S., Khan, B., Ali, S.M., Mehmood, C.A.: Gaussian process regres- 41. Delghavi, M.B., Yazdani, A.: Sliding-mode control of AC voltages and
sion based inertia emulation and reserve estimation for grid interfaced currents of dispatchable distributed energy resources in master-slave-
photovoltaic system. Renewable Energy 126, 865–875 (2018) organized inverter-based microgrids. IEEE Trans. Smart Grid 99, 1–12
23. I. R.E.A. (IRENA): Electricity Storage: Technology Brief. (2017)
https://www.irena.org/-/media/Files/IRENA/Agency/Publication/ 42. Cucuzzella, M., Incremona, G.P., Ferrara, A.: Decentralized sliding mode
2012/IRENA-ETSAP-Tech-Brief-E18-Electricity-Storage.pdf (2012). control of islanded AC microgrids with arbitrary topology. IEEE Trans.
Accessed 15 November 2021 Ind. Electron. 64(8), 6706–6713 (2017)
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
KANWAL ET AL. 23
43. Amoateng, D.O., Hosani, M.A., Elmoursi, M.S., Turitsyn, K., Kirtley, 66. National Renewable Energy Laboratory: Solar resource glossary.
J.L.: Adaptive voltage and frequency control of islanded multi-microgrids. https://www.nrel.gov/grid/solar-resource/solar-glossary.html. Accessed
IEEE Trans. Power Syst. 33(4), 4454–4465 (2018) 18 February 2023
44. Hosseinalizadeh, T., Kebriaei, H., Salmasi, F.: Decentralised robust TS 67. Hamdi, R.T.A., Abdulhadi, S., Kazem, H.A., Tariq, M.C.: Humidity impact
fuzzy controller for a parallel islanded AC microgrid. IET Generation, on photovoltaic cells performance: A review. Int. J. Recent Eng. Res. Dev.
Transmission & Distribution. 13(9), 1589–1598 (2019) 11(3), 27–37 (2018)
45. Heald, G.: Issues with reliability of fuzzy logic. Int. j. Trend Res. dev. 2(6), 68. Marion, B.: Influence of atmospheric variations on photovoltaic perfor-
829–834 (2018) mance and modeling their effects for days with clear skies. In: 2012 38th
46. Affolter, R.: Pakistan - Solar Radiation Measurement Data. The World IEEE Photovoltaic Specialists Conference. Austin, TX (2012)
Bank Group. https://energydata.info/dataset/pakistan-solar-radiation- 69. Wohlgemuth, J.H., Cunningham, D.W., Monus, P., Miller, J., Nguyen, A:
measurement-data (2016). Accessed 17 November 2021 Long term reliability of photovoltaic modules. In: Proceedings of the 2006
47. Zagrouba, M., Sellami, A., Bouaïcha, M., Ksouri, M.: Identification of IEEE 4th World Conference on Photovoltaic Energy Conference. Waikoloa, HI
PV solar cells and modules parameters using the genetic algorithms: (2006)
Application to maximum power extraction. Sol. Energy 84(5), 860–866 70. Jaeun, K., Matheus, R., Siva, P.P., Hasnain, Y., Eun-Chel, C., Junsin, Y.:
(2010) A review of the degradation of photovoltaic modules for life expectancy.
48. AlHajri, M.F., El-Naggar, K.M., AlRashidi, M.R., Al-Othman, A.K.: Opti- Energies 14, 4278 (2021)
mal extraction of solar cell parameters using pattern search. Renewable 71. Ghahramani, Z.: A Tutorial on Gaussian Processes (or why I
Energy 44, 238–245 (2012) don’t use. http://bigbird.comp.nus.edu.sg/pmwiki/farm/mlss/uploads/
49. Ye, M., Wang, X., Xu, Y.: Parameter extraction of solar cells using particle Site/lect1gp.pdf. (2011). Accessed 21 November 2021
swarm optimization. J. Appl. Phys. 105, 094502 (2009) 72. Lv, C., Xing, Y., Zhang, J., Na, X., Li, Y., Liu, T., Cao, D., Wang, F.-Y.:
50. Chegaa, M., Azzouzi, G., Mialhe, P.: Simple parameter extraction method Levenberg-Marquardt backpropagation training of multilayer neural net-
for illuminated solar cells. Solid-State Electron. 50(7-8), 1234–1237 (2006) works for state estimation of a safety critical cyber-physical system. IEEE
51. AlRashidi, M.R., AlHajri, M.F., El-Naggar, K.M., Al-Othman, A.K.: A new Trans. Ind. Inf. 14(8), 3436–3446 (2018)
estimation approach for determining the I–V characteristics of solar cells. 73. Wu, J., Liu, Y., Zhang, H., Guo, J., Zhao, X.: Variable structure control of
Sol. Energy 85(7), 1543–15500 (2011) buck converter based on inverse system. In: Third International Workshop on
52. Ding, J., Radhakrishnan, R.: A new method to determine the optimum load Advanced Computational Intelligence, Jiangsu, China (2010)
of a real solar cell using the Lambert W-function. Sol. Energy Mater. Solar 74. Edwards, C., Spurgeron, S.K., Sliding Mode Control: Theory and
Cells 92(12), 1566–1569 (2008) Applications. Taylor and Francis, London (1998)
53. Kanwal, S., Khan, B., Ali, S.M., Mehmood, C.A., Rauf, M.Q.: Support 75. Tan, S.-C., Lai, Y.-M., Cheung, M., Tse, C.K.: On the practical design of
vector machine and gaussian process regression based modeling for pho- a sliding mode voltage controlled buck converter. IEEE Trans. Power
tovoltaic power prediction. In: 2018 International Conference on Frontiers of Electron. 20(2), 425–437 (2005)
Information Technology (FIT). Islamabad (2018) 76. Tan, S.-C., Lai, Y., Cheung, M., Tse, C.: On the practical design of a slid-
54. Tayab, U.B., Roslana, M.A.B., Hwaia, L.J., Kashif, M.: A review of droop ing mode voltage controlled buck converter. IEEE Trans. Power Electron.
control techniques for microgrid. Renewable Sustainable Energy Rev. 76, 20(2), 425–437 (2005)
717–727 (2017) 77. Utkin, V., Guldner, J., Shi, J.X., Sliding Mode Control in Electromechanical
55. Hoke, A., Muljadi, E., Maksimovic, D.: Real-time photovoltaic plant max- Systems. Taylor and Francis, London (1999)
imum power point estimation for use in grid frequency stabilization. In: 78. Tan, S.-C., Lai, Y.-M., Tse, C.K., Sliding Mode Control of Switching Power
2015 IEEE 16th Workshop on Control and Modeling for Power Electronics Converters: Techniques and Implementation. CRC press, Boca Raton, FL
(COMPEL). Vancouver, Canada (2015) (2018)
56. Gevorgian, V., O’Neill, B.: Advanced grid friendly controls demonstra- 79. Utkin, V., Guldner, J., Shi, J.X.: Sliding mode control design based on
tion project for utility-scale PV power plants. https://www.nrel.gov/docs/ Ackermann’s Formula. IEEE Trans. Autom. Control. 43(2), 234–237
fy16osti/65368.pdf. (2016). Accessed 08 November 2021 (1998)
57. Hoke, A.F., Shirazi, M., Charaborty, S., Muljadi, E., Maksimovic, D.: Rapid 80. Singh, P.a.L.J.: Artificial neural network-based dynamic power manage-
active power control of photovoltaic systems for grid frequency support. ment of a DC microgrid: A hardware-in-loop real-time verification. Int.
IEEE J. Emerging Sel. Top. Power Electron. 5(3), 1154–1163 (2017) J. Ambient Energy 43, 1730–1738 (2022)
58. The Hawaiian Electric Companies: Hawaiian Electric Companies’ PSIP 81. Yuxiong, L., Yang, H., Chengjia, L., Ping, Y., Congling, W.: Design and
Update Report: Book 2 of 2. document PUC Docket 2014-0183 (2016) implementation of droop control strategy for DC microgrid based on
59. Farmer, W.J., Rix, A.J.: Optimising power system frequency stability using multiple DC/DC converters. In: 2019 IEEE Innovative Smart Grid
virtual inertia from inverter-based renewable energy generation. IET Technologies-Asia (ISGT Asia). Chengdu, China, pp. 3896–3901 (2019)
Renewable Power Gener. 14(15), 2820–2829 (2020) 82. Rosy, P., Santosh, K.M., Jatin Kumar, P., Bibhuti, B.P.: Optimal fractional
60. Yunfeng, W., Chung, C.Y., Xuan, L., Liang, C.: Microgrid dispatch with order PID controller design using Ant Lion Optimizer. Ain Shams Eng. J.
frequency-aware islanding constraints. IEEE Trans. Power Syst. 34, 2465– 11(2), 281–291 (2020)
2468 (2019) 83. Puerto Rico Electric Power Authority: Minimum technical requirements
61. Ishraque, M.F., Shezan, S.A., Ali, M.M., Rashid, M.M.: Optimization for interconnection of Photovoltaic (PV) facilities. http://solar.ucsd.edu/
of load dispatch strategies for an islanded microgrid connected with nguyen/PREPArequirements.pdf. (2011). Accessed 25 February 2023
renewable energy sources. Appl. Energy 292, 116879 (2021) 84. Kanwa, S., Khan, B., Qasim, R.M.: Infrastructure of sustainable energy
62. Mandal, R., Chatterjee, K.: Virtual inertia emulation and RoCoF control development in pakistan: a review. J. Mod. Power Syst. Clean Energy. 8(2),
of a microgrid with high renewable power penetration. Electr. Power Syst. 206–218 (2020). https://doi.org/10.35833/mpce.2019.000252
Res. 194, 107093 (2021)
63. Batzelis, E.I., Kampitsis, G.E., Papathanassiou, S.A.: Power reserves con-
trol for PV systems with real-time MPP estimation via curve fitting. IEEE
Trans. Sustainable Energy 8, 1269–1280 (2017) How to cite this article: Kanwal, S., Rauf, M.Q.,
64. Mathworks: Machine Learning with MATLAB. https://www.mathworks. Khan, B., Mokryani, G.: Artificial neural network
com/content/dam/mathworks/ebook/gated/machine-learning-ebook-
all-chapters.pdf .17 November 2021
assisted robust droop control of autonomous microgrid.
65. Djerioui, M., Brik, Y., Ladjal, M., Attallah, B.: Neighborhood compo- IET Renew. Power Gener. 1–24 (2023).
nent analysis and support vector machines for heart disease prediction. https://doi.org/10.1049/rpg2.12739
Ingénierie des Systèmes d’Information (ISI). 24(6), 591–595, (2019)
17521424, 0, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/rpg2.12739 by INASP/HINARI - PAKISTAN, Wiley Online Library on [26/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
24 KANWAL ET AL.
APPENDIX
Sliding mode controller design parameters, empirical formula
for calculation and nominal values used in simulation setup.
Empirical
Parameter Symbol formula Nominal Value Units Comments
Vre f 1000
Feedback ratio 𝛽 –
Vcmd vcmd
MPPT control signal vcmd [0, VOC ] V Desired output voltage
Open circuit voltage VOc 1000 V
Control bandwidth 𝜔n 3.14159 × 105 rad∕s
Settling time Ts 5∕𝜔n 15.9 ¯s
Input voltage vi [800, VOC ] V Limit defined at STC*
Capacitor C 1000 ¯F
Inductor L 300 mH
Switching frequency fs 5𝜔n ∕𝜋 0.5 MHz
Minimum load RL(min) 2 Ω 10% load
Maximum load RL(max) 20 Ω Full load
𝛼1
Sliding coefficient 1 K p1 ( ) 297402.6 H∕s = 0.629 × 106 Hz
𝛼1 1 𝛼2
𝛽L −
𝛼2 RL(min)C
𝛼3 𝛼3
Sliding coefficient 2 K p2 LC 29597315.4 V∕V = 98.8885 × 109
𝛼2 𝛼2
*STC are Standard Test Conditions i.e., GHI = 1000 W∕m2 and DBT = 25 ◦ C