You are on page 1of 8

Energy 222 (2021) 119918

Contents lists available at ScienceDirect

Energy
journal homepage: www.elsevier.com/locate/energy

Novel forecast-based dispatch strategy optimization for PV hybrid


systems in real time
Carlos D. Rodríguez-Gallegos a, b, *, Lokesh Vinayagam a, Oktoviano Gandhi a,
Gokhan Mert Yagli b, Manuel S. Alvarez-Alvarado c, Dipti Srinivasan b, Thomas Reindl a,
S.K. Panda a, b
a
Solar Energy Research Institute of Singapore (SERIS), National University of Singapore (NUS), 117574, Singapore
b
Department of Electrical and Computer Engineering, National University of Singapore (NUS), 117583, Singapore
c
Faculty of Electrical and Computer Engineering, Escuela Superior Polit
ecnica del Litoral (ESPOL), Guayaquil, EC090150, Ecuador

a r t i c l e i n f o a b s t r a c t

Article history: This paper proposes a new method to optimize the scheduling of off-grid systems composed of solar
Received 13 October 2020 panels, batteries, and diesel generators in real time. The approach takes into account the load and
Received in revised form irradiance forecasted values for the near future to determine the optimal power generation and the
13 January 2021
operation of the different energy sources which achieve the lowest cost while fulfilling the provided
Accepted 15 January 2021
Available online 23 January 2021
constraints. A real-time simulator is employed to run the simulations with a high degree of accuracy to
further validate the obtained results as well as to analyze the grid quality parameters (frequency, voltage,
and harmonics). To validate the effectiveness of the proposed forecast-based approach, the performance
Keywords:
Forecasting
from two benchmark algorithms commonly applied in these systems are also estimated. The final results
PV-Battery-diesel hybrid systems reveal that the proposed algorithm is able to achieve 5% cost savings with respect to the benchmark
Real-time simulator approaches while still fulfilling the grid quality constraints. The proposed method can then be applied for
Scheduling optimization real off-grid systems to further enhance their performance.
© 2021 Elsevier Ltd. All rights reserved.

Credit author statement from this manuscript was discussed. Thomas Reindl: The concep-
tualization of the work from this manuscript was discussed, The
Carlos D. Rodríguez-Gallegos: The conceptualization of the work funding acquisition belongs to, The supervision of this work was
from this manuscript was discussed, The data analysis was per- carried out. S K. Panda: The conceptualization of the work from this
formed, The investigation and methodology was performed, The manuscript was discussed, The funding acquisition belongs to, The
original draft was written by CDRG and reviewed and edited by all supervision of this work was carried out.
other co-authors. Lokesh Vinayagam: The conceptualization of the
work from this manuscript was discussed, The data analysis was 1. Introduction
performed, The investigation and methodology was performed.
Oktoviano Gandhi: The conceptualization of the work from this Dispatch strategy, also known as scheduling, refers to the
manuscript was discussed, The data analysis was performed, The operation and power control of the different energy sources in a
investigation and methodology was performed. Gokhan Mert Yagli: system. In this study, the sources correspond to the PV system,
The data analysis was performed, The investigation and method- battery system and diesel generators. It is then desired to control
ology was performed. Manuel S. Alvarez-Alvarado: The data anal- these sources to satisfy the defined constraints, such as the fulfill-
ysis was performed, The investigation and methodology was ment of the load demand, and to reduce the overall costs and CO2
performed. Dipti Srinivasan: The conceptualization of the work emissions, among other objectives.
With respect to PV hybrid systems, the literature presents
different works to optimize their dispatch strategy, typically to
* Corresponding author. Solar Energy Research Institute of Singapore (SERIS),
achieve cost reductions, e.g. Refs. [1e5] where different optimiza-
National University of Singapore (NUS), 117574, Singapore. tion algorithms are proposed (some of these presented in Ref. [6]).
E-mail address: carlos.rodriguez@nus.edu.sg (C.D. Rodríguez-Gallegos). From the previous references, as well as from many more that can

https://doi.org/10.1016/j.energy.2021.119918
0360-5442/© 2021 Elsevier Ltd. All rights reserved.
C.D. Rodríguez-Gallegos, L. Vinayagam, O. Gandhi et al. Energy 222 (2021) 119918

be found in the literature, it can be noted that the time resolution of The rest of the paper is described as follows: Section 2 defines
these optimization algorithms tend to be several minutes or longer, the properties of the employed RTS as well as the general equations
1 h being the most common assumption. While it is understandable and constraints applied in the system. Then, in Section 3, the pro-
that large time steps are desired to reduce the computational in- posed forecast-based optimization algorithm is described together
tensity when running these simulations, its direct drawback is that with two traditional benchmark algorithms. Section 4 describes the
the power values, such as solar power, are usually not constant case study, indicating the real and forecasted load, irradiance pro-
during this time range. Consequently, even when the optimization files, as well as the properties of the PV hybrid system. Subse-
results show an enhancement in the performance of their studied quently, Section 5 shows and discusses the results. Finally, the
systems, their potential for implementation in real systems remains overall conclusions of this work are provided in Section 6.
unknown. Hence, any proposed dispatch strategy algorithm needs
to be validated before it is implemented in a real hybrid system.
2. System model
Due to the large investment required to build a real system, another
option would be to employ real-time simulators (RTS), an alter-
The employed RTS is Typhoon Hardware in Loop 604 (HIL604).
native which can assess the system operation with a high level of
To carry out its modelings, the time is discretized by applying a
accuracy. Therefore, in this work we employ an RTS which is able to
time-slotted system. This is indexed by t, 1  t  T, where T is the
perform simulations with a time step in the order of microseconds
total number of time slots. Dt, the slot size, which can be set in the
to test our optimization algorithms.
range of 0.5e20 ms, is set to 2 ms in this work. Fig. 1 a) presents the
Another limitation from typical scheduling optimization works
discussed hardware as well as the Typhoon SCADA interface for a
presented in the literature is the lack of analysis on how their al-
diesel generator. Fig. 1 b) shows the PV hybrid system in the
gorithms will affect the grid quality, namely, grid voltage, fre-
Typhoon Schematic Editor. The “PV system” block contains the
quency, and harmonics [7,8]. For example, when there is a high
solar array as well as the three-phase full-bridge PV inverter and
generation from renewable sources which goes beyond the load
filters. Similarly, the “Battery system” block contains the battery
demand, the grid voltage and frequency will tend to increase and
bank together with its three-phase full-bridge converter and
vice versa [9e11]. In addition, when high variations in the power
required filters. The “Diesel generator” block contains the diesel
demand (or generation) occur, transients will be produced [12].
generators (DGs) with their voltage/frequency controller and syn-
While is true that papers proposing scheduling optimization algo-
chronism blocks to assure that the diesel generators are connected
rithms have considered grid voltage variations, e.g. Refs. [13,14], the
to the grid only if they are in synchronism with it. The “load” block
frequency and harmonics estimation tends to be missing due to
contains the overall load demand of the system. Finally, the
their higher complexity. Transient analyses also tend to be avoided
“scheduling algorithm” block corresponds to the main controller
as transients tend to occur within a shorter time frame. As such, to
which generates the set points of the power generation and oper-
have a proper idea regarding the potential implementation of any
ation state of the energy sources of interest based on the applied
proposed scheduling algorithm in real life, its impact on the grid
algorithm (see Section 3).
should also be comprehensively analyzed. This has been taken into
The overall cost of the system can be split into the battery and
account in this work, where the grid voltage, frequency and har-
DG operational cost (CBAT and CDG , respectively):
monics have also been studied.
Furthermore, while most works only apply the present condi- X
T
tions, e.g. current irradiance and load demand, to run their pro- CT ¼ CBATðtÞ þ CDGðtÞ : (1)
posed scheduling algorithms, there is interest to perform t¼1
scheduling optimization while also considering the future weather
Because batteries degrade over time, they have a finite lifetime
and load conditions. Although there are works which aim to also
after which they need to be replaced. The charging/discharging
consider future weather/load conditions in their optimization code
lifetime, i.e. lifetime estimation based on the calculation of the total
[15e17], in general they do not apply a forecasting algorithm but
energy that a single battery will discharge during its lifetime,
tend to simply assume uncertainties to represent them. In our
E ½kWh [24], is considered in this work. The variable CBATðtÞ then
study, we propose to apply a real forecast approach on the load and
represents the cost of the battery to deliver energy, i.e. the more
weather-related profiles to properly analyze whether forecasting
energy it discharges, the sooner it needs to be replaced [25]:
can significantly enhance the scheduling optimization.
As PV hybrid systems have been installed in real life, real ap-
S,cBAT PdðtÞ ,Dt
proaches to control the dispatch strategy and ON/OFF state of DGs CBATðtÞ ¼ , ; (2)
have already been implemented. Two of them, referred in this work
E hBAT;inv
as the diesel generator backup (DGA) [18e21] and spinning reserve
where S ½kWh is the battery capacity and cBAT ½USD =kWh is the
(SRA) algorithms [22,23] are also implemented as benchmarks for
our proposed algorithm. In this study, we propose a forecast-based battery acquisition cost per unit energy, PdðtÞ ½kW corresponds to
algorithm (FBA) which aims to apply load and irradiance forecast to the discharging power from the battery inverters at time slot t and
better optimize the scheduling of the different energy sources in hBAT;inv ½% is the average weighted efficiency of these inverters.
real time. Hence, the main contributions of this work are: The cost associated to the diesel generators, CDGðtÞ [USD], is
calculated by estimating the amount of diesel used at time slot t,
1. A novel forecast-based approach has been proposed to optimize namely, kdieselðtÞ ½l. The diesel consumption is calculated as [26,27]:
the operation of a PV hybrid system in real time,
2. A real-time simulator has been employed to test the proposed nDG 
X 
and benchmark algorithms to accurately analyze their perfor- kdieselðtÞ ¼ aDG , PDGðj;tÞ þ bDG , PDG;nominalðjÞ , uðj;tÞ , Dt;
j¼1
mance and implementation potential in real life, and
3. The influence of the scheduling algorithms on the grid quality (3)
has been comprehensively analyzed, i.e. frequency, voltage and
harmonics. where PDGðj;tÞ ½W is the power produced by the jth DG at the time
slot t while uðj;tÞ indicates its status, i.e. uðj;tÞ ¼ 0 if DG is OFF, and
2
C.D. Rodríguez-Gallegos, L. Vinayagam, O. Gandhi et al. Energy 222 (2021) 119918

Fig. 1. a) Typhoon HIL604 hardware and SCADA interface; b) PV hybrid system in the Typhoon Schematic Editor.

uðj;tÞ ¼ 1 otherwise. The values of the coefficients aDG ½l =kWh and 2. Power produced by the battery bank: as the PV array operates at
bDG ½l =kWh depend on the quality of the DGs (the lower they are, its maximum power point with a power injected into the grid of
the less diesel is consumed to generate a specific power). The cost PPVðtÞ , and the “scheduling algorithm” block sets the desired
related to the operation of DGs can then be calculated: power output from the diesel generators, the power of the
battery system, in order to control the grid voltage and fre-
CDGðtÞ ¼ cdiesel ,kdieselðtÞ ; (4) quency, will be the one to assure that the power generated is
equal to the power demanded by the load PloadðtÞ . By neglecting
where cdiesel ½USD =l is the diesel price. the distribution losses, this relation can be presented as (see
In addition, there are also limitations on the power from bat- Fig. 1b)):
teries and diesel generators. The charging and discharging power of
the batteries at the AC side (PcðtÞ and PdðtÞ , respectively) need to be X
nDG

controlled to avoid the acceleration of degradation processes [28]: PPVðtÞ þ PdðtÞ  PcðtÞ þ PDGðj;tÞ ,uðj;tÞ ¼ PloadðtÞ ;
j¼1
(8)
Pc;max ct2f1; /; Tg:
0  PcðtÞ  ; ct2f1; /; Tg; (5)
hBAT;inv
Therefore, by knowing the power from the PV system, load
0  PdðtÞ  Pd;max , hBAT;inv ; ct2f1; /; Tg; (6) demand, and by controlling the power from the diesel genera-
tors, the power from the battery system can be indirectly
where Pc;max ½kW and Pd;max ½kW are the maximum charging and controlled to a certain extent.
discharging power of the batteries, respectively. The three scheduling algorithms have three stages in their
To avoid issues related to DGs’ proper operation (such as oiling operation (shown in Fig. 2), and are ordered based on their
up of the silencer, bore glazing, and high temperature), their power priority:
is typically limited within their nominal ðPDG;nominalðjÞ Þ and a min-
imum value (PDG;minðjÞ ) [29]: 1. Battery safety,
2. DG ON/OFF state: define the ON/OFF state of diesel generators
PDG;minðjÞ  PDGðj;tÞ  PDG;nominalðjÞ ; under normal operation, i.e. when the battery safety stage has
(7)
ct2f1; /; Tg; j2f1; /; nDG g; uðj;tÞ 2f1g: not been activated, and
3. DG power: define the set points of the power of diesel genera-
tors under normal operation.

The stage with the highest priority corresponds to the battery


3. Algorithms safety and aims to keep the battery state of charge (SOC) between a
minimum SOCmin and maximum SOCmax defined in Eq. (9) [30]:
As mentioned in Section 1, besides the proposed scheduling
algorithm, two algorithms which have been applied in real systems SOCmin  SOCðtÞ  SOCmax ; ct2f1; /; Tg: (9)
are also simulated and act as benchmarks. Although these algo-
rithms follow different principles, they can control the same state On the one hand, if at any given time the battery SOC is below
and set points of the equipment of interest, which are: SOCmin , the required generators will be turned ON to contribute to
the load demand and charge the batteries. The power output from
1. State of the PV array (connected or disconnected), these generators will be limited based on the maximum charging
2. State of the diesel generators (ON/OFF), and power from the batteries (Eq. (5)). Once the battery SOC has
3. Set points of the desired power output of the diesel generators. increased to a certain level SOCbsmin , the DGs will return to their
original ON/OFF state. On the other hand, if at any given time the
Other signals which are controllable but are not, are: battery SOC is above SOCmax (condition from Eq. (6) not fulfilled), all
diesel generators will be turned OFF and the PV array will be
1. Power output from the PV array: PV systems are usually oper- disconnected from the grid until the battery SOC has decreased to a
ated at their maximum power point, as is the case in this study, certain level SOCbsmax . Afterwards, the DGs will return to their
3
C.D. Rodríguez-Gallegos, L. Vinayagam, O. Gandhi et al. Energy 222 (2021) 119918

2. If the power produced from the PV system is lower than the load
demand, i.e. PPVðtÞ < PloadðtÞ , batteries and/or diesel generators
must also generate power based on the following criteria:
1. If the cost per kWh to discharge the batteries is lower than
the one from the diesel generators, i.e. S,cEBAT < aDG ,cdiesel , the
battery, together with the PV system, are used to satisfy the
load demand. If batteries cannot provide all the required
power, the DGs which are ON will then be employed as well.
2. If the cost per kWh to discharge the batteries is higher than
the one from the diesel generators, i.e. S,cEBAT > aDG ,cdiesel , the
DGs which are ON, together with the PV system, are used to
satisfy the load demand. If DGs cannot provide all the
required power, batteries will then be employed as well.
3. If the power from a DG is below PDG;min, it will then be set to
PDG;min to fulfill condition from Eq. (7).

3.2. Benchmark algorithm 1: DG-backup-based (DGA)

This algorithm gives priority for the PV array and batteries to


provide the required power to satisfy the load demand while the
diesel generators are kept as a backup. One the one hand, if the PV
system generates power beyond the load demand, i.e.
PPVðtÞ > PloadðtÞ , then the extra power will be used to charge the
battery. On the other hand, if PPVðtÞ < PloadðtÞ , the batteries will
discharge to satisfy this demand. Only when the batteries have
reached the minimum state of charge (SOCmin ), the battery safety
Fig. 2. Stages of the scheduling algorithms.
stage is activated and therefore the backup diesel generators are
turned ON and their power is set to contribute to the load demand
original ON/OFF state and the PV array will be connected back to and to charge the batteries as much as possible (considering the
the grid. condition from Eq. (5)). Once the batteries have been charged to a
The battery safety stage algorithm is the same for all the studied defined state of charge SOCbench , the diesel generators are turned
scheduling algorithms. Nevertheless, each algorithm implements OFF.
different principles for the DG ON/OFF state stage and DG power
stage. These stages will be described in the next subsections for the 3.3. Benchmark algorithm 2: Spinning-reserve-based (SRA)
two benchmark algorithms and the proposed one.
The spinning reserve, SR ½W, is an important parameter for off-
grid systems as it helps to overcome unexpected scenarios where
extra power needs to be sent quickly to the load due to a sudden
3.1. Proposed forecast-based algorithm (FBA) increase on the load demand or a sudden decrease on the PV power
generation. Only the DGs and batteries can contribute to this
The stage of the DG ON/OFF state for the proposed FBA is only reserve (SRDG ½W and SRBAT ½W, respectively) [14]:
applied after the DGs have maintained a fixed operation state for at
least TONOFF minutes as it is not recommended for DGs to be SRðtÞ ¼ SRDGðtÞ þ SRBATðtÞ : (10)
turned OFF shortly after they have been turned ON and vice versa. For the case of the DGs, only the ones that are ON can be
Once this time has passed, the load and irradiance forecasts for the considered because extra time is required for DGs to be turned ON
next TONOFF minutes are obtained to optimize the ON/OFF com- and produce power. The extra power that DGs in ON state would be
bination of the DGs which produce the lowest cost during this able to supply, if necessary, is equal to the difference between their
forecasted time range. For each ON/OFF combination the proposed nominal power (PDG;nominal ) and the power they are currently
scheduling algorithm is applied to optimize the power generation
generating (PDG ):
of the energy sources. The combination which produces the lowest
cost, while satisfying the load demand, will then be selected. This nDG 
X 
method will later be repeated after the DGs have kept a fixed SRDGðtÞ ¼ PDG;nominalðjÞ  PDGðtÞ , uðj;tÞ : (11)
operation state for at least TONOFF minutes. j¼1
The proposed scheduling algorithm aims to satisfy the load
For batteries, the extra power they can deliver to the AC grid is
demand while fulfilling the given constraints and enhancing the
defined as:
overall cost reduction. This algorithm works as follows:
SRBATðtÞ ¼ Pd;max ,hBAT;inv  PdðtÞ : (12)
1. If the power produced from the PV system is higher than the
load demand, i.e. PPVðtÞ > PloadðtÞ , it means that the PV system Now that the spinning reserve parameter has been defined, the
alone can satisfy the load demand. Therefore, the power output DG ON/OFF state and DG power stages will be described. With
from DGs is set to their minimum defined (PDG;min ) to fulfill respect to the former stage, the state of the DGs is controlled based
constraint (7). on the spinning reserve condition [14]:
4
C.D. Rodríguez-Gallegos, L. Vinayagam, O. Gandhi et al. Energy 222 (2021) 119918

more details on the TBATS model.


SRðtÞ  PloadðtÞ ,εload;1 þ PPVðtÞ ,εPV;1 (13) The analyzed PV hybrid system is composed of a PV system with
an installed capacity of 200 kWp, a battery system with a capacity S
where εload;1 and εPV;1 are the load and PV related coefficients, of 1.5 MWh with maximum charging and discharging power (Pc;max
respectively. When the spinning reserve condition is not fulfilled, and Pd;max ) of 250 kW and discharging cost of 0.2 USD/kWh.
an adequate number of diesel generators are turned ON until the Furthermore, the maximum and minimum states of charge of the
condition has been fulfilled. batteries (SOCmax and SOCmin , respectively) are set to 95% and 20%.
The spinning reserve condition is checked every Dt. If at some The parameters SOCbsmin , SOCbsmax , and SOCbench are set to 40%,
point of time some of the operating DGs can be disconnected while 75%, and 90%, respectively.
still satisfying constraint (13) with a higher load coefficient (εload;2 Two diesel generators with nominal power (PDG;nominal ) of
instead of εload;1 ) and PV coefficient (εPV;2 instead of εPV;1 ),1 they 500 kW each are considered in this work. These generators have
will be turned OFF as long as they have been operating for at least a diesel coefficients of aDG ¼ 0:246 l/kWh and bDG ¼ 0:084 l/kWh
minimum time TONOFF , as it is not recommended for DGs to be with a diesel price set to 1 USD/l. The minimum ON/OFF time of the
turned OFF shortly after they have been turned ON and vice versa. diesel generators (TONOFF ) is set to 60 min.
The spinning reserve condition is used in real systems mostly to With respect to the spinning reserve condition, the εload;1 and
decide the ON/OFF state of diesel generators, not to decide on their εPV;1 coefficients are set to 0.20 and 0.25, respectively, while the
power generation when different energy sources are present. εload;2 and εPV;2 coefficients are set to 0.30 and 0.35, respectively.
Therefore, the scheduling algorithm introduced in Section 3.1 will
The previous values were defined based on real experience
also be applied here to enhance its performance.
when dealing with PV hybrid systems and the authors’ previous
works [14,26].
4. Case study In addition, the grid voltage (line to neutral) and frequency are
set to 230 V and 50 Hz, respectively. The grid quality is evaluated
The case study aims to consider representative profiles from off- based on the allowed ranges, i.e. frequency range between 49.5 and
grid systems. In this work we have focused in the Southeast Asian 50.5 Hz [33], voltage range between 0.95 and 1.05 p. u. [34], and
region (which has thousands of islands and off-grid installations). total harmonic distortion (THD) below 8% [35].
We have therefore considered the load profile from a resort in this
region assuming a peak load of 800 kW as well as the irradiance 5. Results and discussion
profile for a particular day in Singapore (latitude of 1.3026 ,
longitude of 103.7729 ) provided by the Solar Energy Research This section presents the simulation results from the system
Institute of Singapore. These profiles are presented in Fig. 3 defined in Section 4, obtained from the real-time simulator
together with the forecast obtained by applying the TBATS model. Typhoon HIL604. Fig. 4 shows the preliminary results from the
In this approach the historical time series is used as an input to fit benchmark and proposed algorithms. With respect to the DG
the TBATS model for generating the irradiance and load forecasts. backup approach, Fig. 4 a) shows that at the beginning (midnight)
The reason why the TBATS model is chosen is twofold. Firstly, both the batteries are the only ones employed to satisfy the load demand
load and irradiance time series data show strong seasonal patterns. and therefore their SOC keeps on decreasing (see Fig. 4 b)) until
The TBATS model, which is one of the most popular time series their minimum state of charge SOCmin (20%) is reached (0:56 AM).
models capable of fitting seasonal patterns in data, is therefore Then, the two diesel generators (DG1 and DG2) which act as the
suitable. Secondly, in the preliminary analysis, the TBATS model is backup are turned on (uj;t ¼1) and start charging the batteries and
found to be superior to its peers in terms of predictive performance.
also fulfill the load demand. As a result, during the first hour, most
The TBATS model is powered by multiple features, such as trigo-
of the incurred cost comes from the batteries and only a minimum
nometric regressors, exponential smoothing state space models,
comes from the DGs (see Fig. 4 c)). At this point, the diesel gener-
Box-Cox transformation, as well as trend and seasonal components.
ators keep on charging the batteries until their SOC reaches
The model fits data using an automated approach that minimizes
SOCbench (90%) at 5:25 AM, which is when the DGs are turned off
Akaike Information Criteria [31]. The reader is referred to [32] for
(uj;t ¼0). Because during this time the diesel generators are the only
ones providing power to the load, it can be seen in Fig. 4 c) that they
make up most of the costs. Once the diesel generators are turned
off, the batteries start to generate the required load power and the
operation cycle described in this paragraph will be repeated
throughout the day (if available, the solar panels will also inject
power to the grid). As this benchmark algorithm considers both
diesel generators to be the backups, the two will always be oper-
ating at the same time in order to be able to handle any unexpected
change in the load and PV power.
With respect to the SRA, it can be noted that at the beginning
(midnight) only one diesel generator is operating (see Fig. 4 e))
which, together with the batteries, is satisfying the load demand
(see Fig. 4 d)). Their respective costs are presented in Fig. 4 f). This
single diesel generator DG1 was operating since the very beginning
in order to fulfill the spinning reserve condition explained in Sec-
Fig. 3. Real and forecasted profiles for a) load and b) irradiance. tion 3.3. During this time, the batteries keep on discharging until
they reach their SOCmin value at 1:54 AM, at which point the second
diesel generator is also activated to help charge the batteries. Once
1
These coefficients are increased at this stage in an effort to avoid the spinning the batteries reach the defined SOCbsmin value (40%) at 3:10 AM,
reserve condition to be unfulfilled after a short time. there is no need for the generators to keep on charging them and
5
C.D. Rodríguez-Gallegos, L. Vinayagam, O. Gandhi et al. Energy 222 (2021) 119918

Fig. 4. Power profiles, DG ON/OF state, battery SOC, and hourly cost results obtained from the DG-backup-based approach; spinning-reserve-based approach, and forecast-based
approach.

therefore, DG2 can be turned off as DG1 and the batteries can still
satisfy the load demand and fulfill the SR constraint. This operation
cycle continues to repeat until 8:21 AM. Notice that until this time,
in comparison to the DGA, the SRA is able to reduce the effective
number of operating hours of the DGs (which brings a cost
advantage). After 8:21 AM, it can be seen that now the two DGs will
be operating till the end of the day. This behavior is because by 8:21
AM, the load has increased to a value in which the SR condition
cannot be satisfied by a single diesel generator and therefore, the
two of them need to be operating. The reason why neither of the
diesel generators is turned off towards the end of the day (where
the load demand is decreasing), is due to the fact that the required
SR condition with the updated coefficients (εload;2 and εPV;2 ) is not
able to be fulfilled if one of these generators is turned off.
Fig. 5. Cumulative cost for the analyzed case study obtained from the benchmark and
Finally, when analyzing the results from the proposed FBA al-
proposed algorithms.
gorithm (see Fig. 4g) and h) and i)), it can be noted that their
behavior is quite similar to the ones from the SRA. Nevertheless,
after 8:21 AM, it is not necessary for the two DGs to be continuously from this algorithm becomes the highest after a short time. It can
operating. The reason is that, based on the forecasting results, it is also be noted that the total costs incurred by SRA and FBA are
expected that a single diesel generator together with the batteries similar until 8:21 AM as the power profiles and the operation states
can satisfy the expected load demand and as such, DG2 will only be of their DGs are the same, as previously explained. However, after
activated when the batteries’ SOC reach their minimum and will be this point, the SRA approach turns ON the second DG and, although
disconnected when the SOCbsmin value is achieved. As a result, by the power profiles are still similar, the SRA approach starts to incur
taking into account the forecasted irradiance and load profiles, a higher cost than FBA. This is a consequence of the diesel con-
better decisions were taken which generated lower costs during sumption required to keep a DG ON (see Eq. (3)) even while
multiple operating hours, i.e. when comparing Fig. 4 f) and i), generating the same total power. For example, although the power
although both incur similar costs in the morning, the latter ach- required to be produced by the DGs is similar at 11:00 AM, there is
ieves, in general, lower hourly costs after 8 AM. only one operating DG when using the FBA approach (see Fig. 4 h))
Fig. 5 presents a closer view to the overall costs. It can be noticed while the two DGs are operating in the SRA approach (see Fig. 4 e)).
that, as the DGA approach employed only the batteries until 0:56 Therefore, the latter will consume extra diesel to keep the second
AM, while the other algorithms also operated their DG (see Fig. 4 b), DG in ON state. This shows the advantage of FBA in determining the
e), h)), the former produces the lowest cost until that point in time. ON/OFF state of DGs to reduce the diesel consumption and conse-
However, after 0:56 AM, the battery SOC for the DGA approach has quently the overall cost. For all the algorithms, batteries generated
reached its minimum, therefore, the two DGs start to operate. the lowest cost. In addition, the total cost at the end of the day was
Consequently, due to the high diesel consumption, the overall cost similar when using the benchmark algorithms (5967 USD for DGA

6
C.D. Rodríguez-Gallegos, L. Vinayagam, O. Gandhi et al. Energy 222 (2021) 119918

Fig. 6. Simulated grid parameters, i.e. frequency, line-line voltage and their total harmonic distortion, from applying the benchmark and proposed algorithms in RTS.

and 5989 USD for SRA) while the minimum cost was achieved with analyzed optimization algorithms and the results showed that the
the proposed FBA (5678 USD), generating 5% savings. frequency, voltage, and total harmonic distortion were kept within
With respect to the grid quality, Fig. 6 presents the grid fre- the allowed limits. This outcome suggests that the proposed algo-
quency, voltage, and the total voltage harmonic distortion, rithm could be applied in a real system without seriously affecting
observed for all the approaches. The safety ranges defined in Sec- the grid quality.
tion 4 have not been violated, giving more confidence to apply the Based on this work it can be concluded that the application of
proposed algorithm in a real application. forecasting approaches can be beneficial to optimize the perfor-
While this work successfully showed that introducing fore- mance of PV hybrid systems. Nevertheless, special attention should
casting approaches has the potential to enhance the scheduling be paid to the forecasting accuracy as large forecasting errors could
optimization of PV hybrid systems, it can be understood that its reduce the system performance. Hence, more work is necessary to
applicability can be extended to other system configurations as further enhance the accuracy of the forecasting methods as well as
long as there are parameters that can be forecasted. to perform this scheduling optimization for bigger systems
considering a larger time range to fully validate the effectiveness of
6. Conclusion the proposed approach.

In this work, a scheduling optimization algorithm was proposed Declaration of competing interest
to optimize the operation of off-grid systems composed of solar
panels, batteries and diesel generators. This algorithm incorporates The authors declare that they have no known competing
load and irradiance forecast to set the optimal power outputs of the financial interests or personal relationships that could have
energy sources and to control their operation state, e.g. when to appeared to influence the work reported in this paper.
turn ON/OFF the diesel generators. As benchmarks, two algorithms
which are typically used in real PV hybrid systems were consid- Acknowledgment
ered: 1) the DG-backup-based algorithm which only employs the
DGs when the battery has achieved a minimum state of charge; and This work was supported by the Singapore’s National Research
2) the spinning-reserve-based algorithm which evaluates whether Foundation Singapore within the research project “NRF2013EWT-
there is enough spinning reserve to decide on the ON/OFF state of EIRP003-043”. SERIS is supported by the National University of
the DGs. In an effort to validate the results generated, a real-time Singapore and Singapore’s National Research Foundation (NRF)
simulator, i.e. Typhoon Hardware in Loop 604 - HIL604, was used through the Singapore Economic Development Board (EDB).
to run the applied optimization algorithms on a resort case study.
For the analyzed case study, the results revealed that the pro- References
posed forecast-based algorithm is able to achieve the lowest cost,
yielding up to 5% cost savings. This outcome was produced because [1] Tang R, Wu Z, Li X. Optimal operation of photovoltaic/battery/diesel/cold-
the forecasting estimations were accurate enough to make good ironing hybrid energy system for maritime application. Energy 2018;162:
697e714.
decisions on the dispatch strategy and operation state of the energy [2] Tu T, Rajarathnam GP, Vassallo AM. Optimization of a stand-alone photo-
sources. In addition, the grid quality was evaluated for all the voltaicewindedieselebattery system with multi-layered demand scheduling.

7
C.D. Rodríguez-Gallegos, L. Vinayagam, O. Gandhi et al. Energy 222 (2021) 119918

Renew Energy 2019;131:333e47. products/battery-inverters/sunny-island-44m-60h-80h.html.


[3] Wu B, Maleki A, Pourfayaz F, Rosen MA. Optimal design of stand-alone reverse [19] ESI-Africa, Hybrid micro-grids: beginning of the end for diesel gensets. April,
osmosis desalination driven by a photovoltaic and diesel generator hybrid 2020. https://www.esi-africa.com/news/hybrid-micro-grids-beginning-of-
system. Sol Energy 2018;163:91e103. the-end-for-diesel-gensets.
[4] Gupta A, Saini R, Sharma M. Modelling of hybrid energy system-Part II: [20] Cohn L. How to use cleaner diesel in microgrids. April, 2020. https://
combined dispatch strategies and solution algorithm. Renew Energy microgridknowledge.com/diesel-backed-microgrids-tier-4-generators/.
2011;36(2):466e73. [21] Oudalov A, Mahieux C. Microgridsethe mainstreaming of microgrids using
[5] Kahrobaee S, Asgarpoor S, Kahrobaee M. Optimum renewable generation abb technologies. ABB Rev 2014:54e60.
capacities in a microgrid using generation adequacy study. In: 2014 IEEE/PES [22] ComAp, Dynamic spinning reserve. April, 2020. https://www.comap-control.
transmission & distribution conference and exposition. Chicago, USA: IEEE; com/products/features/dynamic-spinning-reserve.
2014. p. 1e5. [23] Mayr F. Off-grid: when hybrid plus storage makes sense. April, 2020. https://
[6] Rodríguez-Gallegos FL, Rodríguez-Gallegos CA, Rodríguez-Gallegos AA, www.apricum-group.com/off-grid-when-hybrid-plus-storage-makes-sense.
Rodríguez-Gallegos CD. Natural reforestation optimization (NRO): a novel [24] Lambert T, Gilman P, Lilienthal P. Micropower system modeling with homer.
optimization algorithm inspired by the reforestation process. J Comput Sci Integration of alternative sources of energy 2006;1(15):379e418.
2020;16(8):1172e84. [25] Rodríguez-Gallegos CD, Gandhi O, Yang D, Alvarez-Alvarado MS, Zhang W,
[7] Gandhi O, Kumar DS, Rodríguez-Gallegos CD, Srinivasan D. Review of power Reindl T, Panda SK. A siting and sizing optimization approach for PVebat-
system impacts at high PV penetration part I: factors limiting PV penetration. teryediesel hybrid systems. IEEE Trans Ind Appl 2017;54(3):2637e45.
Sol Energy 2020;210:181e201. [26] Rodríguez-Gallegos CD, Gandhi O, Bieri M, Reindl T, Panda S. A diesel
[8] Kumar DS, Gandhi O, Rodríguez-Gallegos CD, Srinivasan D. Review of power replacement strategy for off-grid systems based on progressive introduction
system impacts at high PV penetration part ii: potential solutions and the way of PV and batteries: an Indonesian case study. Appl Energy 2018;229:
forward. Sol Energy 2020;210:202e21. 1218e32.
[9] Aziz T, Ketjoy N. Pv penetration limits in low voltage networks and voltage [27] Rodríguez-Gallegos CD, Alvarez-Alvarado MS, Gandhi O, Yang D, Zhang W,
variations. IEEE Access 2017;5:16784e92. Reindl T, Panda S. Placement and sizing optimization for PV-battery-diesel
[10] Povlsen AF, et al. Impacts of power penetration from photovoltaic power hybrid systems. In: 2016 IEEE international conference on sustainable en-
systems in distribution networks. Report IEA PVPS T5-10 2002. 2002. ergy technologies (ICSET). IEEE; 2016. p. 83e9.
[11] Obaid ZA, Cipcigan LM, Abrahim L, Muhssin MT. Frequency control of future [28] Rodríguez-Gallegosa CD, Gandhia O, Reindla T, Pandab S. PHSO: a graphic user
power systems: reviewing and evaluating challenges and new control interface optimizer for the sizing design of the PV hybrid systems. In: 33rd
methods. Journal of Modern Power Systems and Clean Energy 2019;7(1): European photovoltaic solar energy conference and exhibition (EUPVSEC);
9e25. 2017. p. 2375e9.
[12] Bellache K, Camara MB, Dakyo B. Transient power control for diesel-generator [29] Nacfaire H. Wind-diesel and wind autonomous energy systems. first ed. New
assistance in electric boat applications using supercapacitors and batteries. York; London: Elsevier Applied Science; 1989.
IEEE Journal of Emerging and Selected Topics in Power Electronics 2017;6(1): [30] Rodríguez-Gallegos CD, Rahbar K, Bieri M, Gandhi O, Reindl T, Panda S.
416e28. Optimal PV and storage sizing for PV-battery-diesel hybrid systems. In: IECON
[13] Gandhi O, Zhang W, Rodríguez-Gallegos CD, Verbois H, Sun H, Reindl T, 2016-42nd annual conference of the IEEE industrial electronics society. IEEE;
Srinivasan D. Local reactive power dispatch optimisation minimising global 2016. p. 3080e6.
objectives. Appl Energy 2020;262:114529. [31] Akaike H. A new look at the statistical model identification. IEEE Trans
[14] Rodríguez-Gallegos CD, Yang D, Gandhi O, Bieri M, Reindl T, Panda S. A multi- Automat Contr 1974;19(6):716e23.
objective and robust optimization approach for sizing and placement of PV [32] De Livera AM, Hyndman RJ, Snyder RD. Forecasting time series with complex
and batteries in off-grid systems fully operated by diesel generators: an seasonal patterns using exponential smoothing. J Am Stat Assoc
Indonesian case study. Energy 2018;160:410e29. 2011;106(496):1513e27.
[15] Shang C, Srinivasan D, Reindl T. Economic and environmental generation and [33] Markiewicz H, Klajn A. Voltage disturbances standard EN 50160-voltage
voyage scheduling of all-electric ships. IEEE Trans Power Syst 2016;31(5): characteristics in public distribution systems, vol. 21. Wroclaw University of
4087e96. Technology; 2004. p. 215e24.
[16] Riffonneau Y, Bacha S, Barruel F, Ploix S, et al. Optimal power flow manage- [34] Masri K, et al. American national standard for electric power systems and
ment for grid connected PV systems with batteries. IEEE Transactions on equipment-voltage ratings (60 hertz). Tech. Rep. ANSI C84.1-2016. Virginia,
Sustainable Energy 2011;2(3):309e20. USA: National Electrical Manufacturers Association; 2016.
[17] Rahbar K, Xu J, Zhang R. Real-time energy storage management for renewable [35] Halpin M, et al. IEEE recommended practice and requirements for harmonic
integration in microgrid: an off-line optimization approach. IEEE Transactions control in electric power systems. 2014. Tech. Rep. IEEE Std 519-2014, New
on Smart Grid 2015;6(1):124e34. York, USA.
[18] SMA, sunny island 4.4m/6.0h/8.0h. April, 2020. https://www.sma.de/en/

You might also like