1. Introduction
The increasing use of Renewable Energy Sources (RESs), Distributed Generators (DGs) and storage systems is imperative for the introduction of Microgrids (MGs) in actual power distribution networks because of the many benefits it could lead to in terms of reductions in power losses and electrical system performance improvements. In general, an MG is a small distribution power system consisting of DGs, energy storage systems (ESSs) and local loads [
1] collectively handled to increase the hosting capacity of RESs and to improve energy security, thus offering flexibility service to the grid.
There exist two MG operation modes—stand-alone and grid connected mode [
2]. In grid-connected mode, the MG is tied to the main grid trough the Point of Common Coupling (PCC), allowing power exchange from or to the main grid and voltage/frequency regulation according to utility specification [
3]. When the MG opens the PCC, it operates in islanded mode, i.e., the MG works independently of the main grid, trying to maintain its own voltage and frequency to the reference values, while guaranteeing optimal power sharing among DGs and loads [
4]. Modeling, stability and control of an MG are hot topics in the research field and many control techniques have been developed to address the main issues within an MG such as voltage fluctuations, flickers and instability due to the variable nature of DG units and the accurate reactive power sharing [
5,
6]. Since these future power grids can be restructured as cyber-physical systems, whose components not only deal with power flow management but also with data transmission to ensure a distributed control capability [
7], most of the existing works in the technical literature leverage Multi-Agent System (MAS) framework in order to model the resulting power network. Thus, a self-organized architecture is obtained, which allows the cooperative and adaptive control of all intelligent electrical components so to achieve both local and global objective functions [
8,
9,
10,
11], even for communication time-delays and cyber networks with uncertain communication links [
12].
However, since many DGs in an islanded MG system increase the investment cost and complicate the network topology [
13], in order to allow the maximum utilization of RESs while suppressing stressing and aging of the components, multiple MGs clusters (MMGs) are identified as the future trend of the smart distribution grids due to the reliability and the availability they can guarantee [
14]. An MMG is a set of MGs geographically close to each other, which are able to share information about their power management and are considered together as a unique entity to improve the operational stability and economic benefits of each MG [
15], while enhancing the resilience of the whole power system to external disturbances [
16]. The technical literature classifies MMGs into three categories: (1)
low voltage (LV), where MGs are interconnected through LV tie lines; (2)
medium voltage (MV), where MGs are connected via MV feeders; (3) LV MGs interconnected through a MV feeder and distribution transformers [
17]. The main idea of using the MMGs paradigm is to form a Smart MGs Network (SMGN) to maximize the utilization of RESs. Indeed, this concept allows for (
i) the sharing of reserves in critical conditions to reduce the risk of system collapse and minimize the emergency load shedding requirement; (
ii) guaranteeing of the economical dispatch in the whole power network; (
iii) sharing of storage and ancillary functions [
18]. For instance, when some MGs are not able to meet the required power consumption, other MGs, having stored energy, could help them by sharing its sources [
19].
Although the technical literature significantly addresses stability and control challenges of an MG (see the surveys [
20,
21] and references therein), to date, there are few studies focusing on a multiple MGs cluster in the SMGN context [
19,
22]. The coordination of the different MGs incorporated into the SMGN is a crucial technical challenge since their interconnection may lead to the instability of the overall power system. More specifically, one of the most critical points for MMGs is to select a suitable overlay communication topology to describe the optimal interconnection among different MGs with RESs [
19]. To solve the problem, Che et al. [
18] propose a probabilistic minimal cut-set-based iterative methodology to investigate the reliability and the redundancy. Looking at a single MG as a cluster of different entities, Cortes et al. [
23] suggest an iterative procedure for the optimal design of an MG topology through partitioning, integer programming and performance index methods, while, based on demand response program, Ajoulabadi et al. [
24] present an optimal reconfiguration of multiple MGs in order to improve scheduling flexibility, thus meeting the best scheduling objectives.
Besides the appropriate selection of the MGs network topology, another fundamental issue in MMGs is attaining the optimal power dispatch among the different MGs, i.e., the so-called
Energy Management (EM) problem that deals with the coordination of DG units within each MG, as well as the power trading between the main grid and MGs. To address this issue, different approaches have been proposed for the coordination of the MMGs system [
25], namely master-slave control [
26], peer-to-peer control [
27] and hierarchical control [
28]. Leveraging this latter framework, a hierarchical decentralized SoS architecture for the energy management of an MMGs system has been proposed in [
15] by formulating a bi-level optimization problem and considering the RESs uncertainty, while [
29] exploits a smart transformer-based approach. Again, a hierarchical two-layer control architecture for a cluster of islanded MGs sharing information via intermittent communications has been proposed in [
22,
30].
Although the solutions proposed herein allow for the coordination control problem for MMGs to be effectively and reliably solved, their design leverages the restrictive assumption of an ideal and always reliable communication among the different electrical components constituting the whole power grid system. However, when considering a wireless communication network, based on, for example the IEEE 802.11 protocol, each communication link that connects a pair of agents is affected by a different variable time-delay whose value depends on actual conditions, or possible impairments, of the communication channel [
11]. It follows that the hypothesis commonly made in the technical literature of an ideal communication network in the MMGs may be unrealistic. Hence, the control architecture deployment in realistic operation scenarios is still an open problem, which warrants further investigation [
17,
22].
To overcome this limitation and solve the problem of determining the optimal power dispatch in practical MMGs systems, we propose a novel cooperative cluster-oriented hierarchical control architecture that accounts for the presence of communication time-varying delays. Exploiting the Multi-Agent System (MAS) mathematical framework, the proposed control architecture is based on a network of cooperative smart controllers (called nodes), each one regulating the voltage magnitude of a specific bus within each MG cluster constituting the whole MMGs system. All nodes/controllers are able to share information about their states with their neighbors (within their communication range) so that the control actions can be cooperatively computed by embedding within the online decision-making process not only information coming from local sensing, but the delayed network information about the surroundings. More specifically, the proposed control solution consists of two cyber layers, namely the upper and lower control layers. The upper control layer aims at guaranteeing a suitable and economical reactive power dispatch among multiple MGs. This can be done by controlling only a specific subset of the DGs within each MG, i.e., the driver generator nodes, via a cooperative control action that, based on the knowledge of the rated voltage value to be imposed to the whole MMGs and the neighboring delayed information shared with other drivers belonging to other MGs through the inter-cluster communication network, determines the voltage reference value for each MG. The driver generator nodes set, as well as the inter-cluster communication network topology, is computed by leveraging the Master Stability Function (MSF) approach [
31,
32] which determines the best choice of these nodes for speeding up the voltage synchronization process of all buses within each MG to the safe voltage set-point computed by the upper-control layer. Conversely, based on this latter point, the lower control layer aims at ensuring voltage regulation of all
buses within each MG to the desired voltage set-point. This is done via a cooperative control action that, by exploiting delayed state information shared among the smart devices within the single MG via the intra-cluster communication network, drives the reactive power generation capability of each smart device and compensates for possible voltage deviations.
To prove the effectiveness of the proposed cluster-oriented cooperative control strategy, we consider an MMGs system consisting of two identical MGs, i.e., the IEEE 14-bus test system. The results confirm the ability of the proposed solution to guarantee the two-fold voltage regulation of the MMGs system, despite the presence of communication time-varying delays and/or possible load variations.
The paper is organized as follows.
Section 2 describes the voltage control problem for MMGs systems, as well as the dynamics of the cooperative smart controllers network that was exploited for its control. The Cluster-Oriented Cooperative control strategy, together with Driver Generator Nodes Selection Algorithm based on MSF formalism, is detailed in
Section 3.
Section 4 discloses the effectiveness and robustness of the proposed approach for the exemplar MMGs system consisting of two IEEE 14-bus test system. Finally, conclusions are drawn in
Section 5.
2. Multiple MicroGrids Modeling
Consider an MMGs system consisting of
M MGs, labeled as
as in
Figure 1.
Each power grid
(
) consists of
capacitor banks,
distributed generators and
buses managed by
cooperative smart controllers. Leveraging the Cluster-Oriented Cooperative Control strategy [
28] and Distributed Hierarchical Cooperative (DHC) framework [
22], each power grid
is able to share information via wireless inter-cluster communication networks with its neighbors
, being
with
. Moreover, each smart device
j within the single
(being
) can communicate via an intra-cluster wireless communication network with its neighboring smart devices
q, being
with
. The intra-cluster communication network structure corresponds to the information exchange topology among the
smart controllers within the
. The inter-cluster communication, instead, is only enabled for
smart devices within each
, associated to some specific generators buses and named drivers/pinners. This inter-cluster communication network structure, indicated with
, defines the information flow shared among the different
l MMGs pinners, being
.
This decomposition of the MMGs into two cyber layers, i.e., the upper and the lower ones, enables a twofold voltage regulation control, as well as an optimal power management of the entire MMGs system [
22]. In particular, supposing that the pinners of each MG can access the voltage-rated value
to be imposed to the whole MMGs system, the upper inter-cluster layer aims at guaranteeing a correct and economical reactive power dispatch among multiple MGs by computing the reference voltage set value, i.e.,
, to be sent to each pinner
(being
). Conversely, the lower intra-cluster layer aims at ensuring a faster voltage synchronization process of all PV/PQ buses within the
to the voltage set-point
by controlling the reactive power generation capability of each
bus to compensate for voltage deviations. Note that, for each
, the optimal identification of the pinner generator nodes, i.e.,
, as well as their best positions in the grid are identified according to the MSF formalism within Pinning Control Theory, which proves that the most influential nodes are highly dependent on the network structure [
31,
33,
34].
2.1. Double-Layer Communication Network
The double-layer communication network describing the information exchange among the smart controllers within the MMGs in the cyber-physical space can be modeled according to graph theory.
Regarding the intra-cluster network for each (), the communication topology of the cooperative smart device that controls the capacitor bank buses can be described as a directed graph characterized by the set of nodes and the set of edges . The associated adjacency matrix with non-negative elements is , being with . We assume in the presence of a communication link from the device p to device , otherwise . Moreover, , i.e., self-edges are not allowed. The presence/absence of connections among the cooperative smart controller and the smart controller for the non-pinner generation buses is instead described by the overall graph , where is the set of the smart controllers, while represents the set of edges describing the communication links. In this way, the communication structure can be described by the adjacency matrix whose generic element if there is a link among the smart devices i and p, being , otherwise. To model the communication of each smart device with the pinners, we introduce the leader-adjacency matrix , whose value is if the j-th bus controller receives information from s-th driver generator bus (being ), otherwise .
Similarly, the upper inter-cluster cyber-network is described via the digraph with virtual node set being the set of driver generator nodes for the k-th MG with cardinality . represents the set of cyber communication links, while the adjacency matrix (with ) is such that if there is a link from pinner generator to pinner generator , with .
Finally note that, since, in practice, communication networks are commonly affected by latency in the information delivery due to the current conditions of the communication infrastructure, an unknown heterogeneous time-varying delay
(being
q and
j generic electrical nodes) can be associated to each direct edge. Although delays are time-varying, they are usually bounded during the normal operating conditions of technological communication networks, hence
and
with
[
35].
2.2. Cooperative Smart Agents Dynamics
The dynamics of each smart device
p within the
k-th MG and associated to the
p-th capacitor bank bus is described
and
by the following dynamical system [
11]:
where
is the reactive power of the
p-th capacitor bank within the
k-th MG;
is the distributed cooperative control protocol that, by exploiting the local measurement and the ones shared via the intra-cluster communication network, need to be designed in order to drive the reactive power of the capacitor bank bus, as well as its voltage magnitude;
and
are the heterogeneous time-varying communication delays affecting the communication among each pair of electrical nodes. Their actual values, at a given time-instant, depend on the current availability of the wireless channels themselves.
Note that, since the capacitor bank is composed of PQ buses and its voltage magnitude can be regulated by imposing a proper reactive power variation, (
1) well represents this kind of phenomena and allows for the reactive power of the capacitor bank to be adapted to guarantee voltage regulation (see [
11,
36] and references therein).
The dynamics of the
i-th smart device controlling the non-pinner generators nodes within MG
(
) is described
as [
11]:
where
represents the voltage magnitude of the
i-th non-pinner generator bus within the
k-th MG;
is the control action to be designed, exploiting both the local measurement and the ones shared via the intra-cluster communication network in order to synchronize the voltage of the
i-th non pinner generator bus to the desired nominal value
;
is the heterogeneous time-varying delay affecting the information shared between the non-pinner DG
i (being
) and the smart device
j (being
), while
is the communication delay affecting the exchanging data between non-pinner
i-DG and
s-th DG pinner (
) within the
k-th MG.
The behaviour of each smart device controlling the driver generator bus
s (
) within
(
) is described by the following dynamical system:
where
is the voltage magnitude of the
s-th driver generator within the
k-th MG;
is the known voltage magnitude set-point to be imposed to the whole MMGs system;
is the cooperative control action which, leveraging both local measurements and the information shared with the other pinners
l (
) via the inter-cluster communication network
, computes the voltage nominal reference value
to be imposed to the
k-th MG based on both the knowledge of
and the reactive power mismatch among the MGs;
is the heterogeneous time-varying delay affecting the data exchange between the pinner generator node
l within MG
and the pinner
s within
.
We remark that the s-th pinner generator node, , acts as a leader for the whole MG in the lower control layer by imposing the reference voltage magnitude for both the capacitor bank and non-pinner generator nodes.
4. Case Study
In this section, we prove the effectiveness of the proposed cluster-oriented cooperative control strategy (based on the Driver Generator nodes Selection Algorithm in
Section 3.1) in guaranteeing the voltage regulation of an MMGs system, despite the presence of communication time-varying delays and/or possible load variations. More specifically, we consider an MMGs system consisting of
identical IEEE 14-bus test systems MGs sharing information via a double-layer communication network, as in
Figure 2. Each MG consists of
distributed generators, i.e., buses
, and
capacitor banks with twenty power transmission lines, respectively. Details about line impedances, load and reactive power limits were provided in [
37], while initial conditions for the
electrical bus within each
(
) were reported in
Table 1, where the rated voltage value
to be imposed to the whole MMGs system was also reported. Note that, the initial conditions for each electrical bus within
and
are randomly chosen according to their acceptable operative ranges.
Without loss of generality, we assume that, within each
, the intra-cluster communication topology perfectly matches the physical one described by the power transmission lines. Indeed, since the electrical topology satisfies the global reachability property of generator nodes, the above assumption can be made. However, we remark that any other communication topology meeting the global reachability property of generator nodes can be adopted to prove the effectiveness and the robustness of our control strategies [
11]. The inter-cluster communication topology
is instead determined via Algorithm 1 to guarantee a faster synchronization process of all the electrical buses to the voltage-rated value
. Namely, by setting
, the algorithm returns, for each
, the optimal configuration for driver generator nodes corresponding to generator nodes
and 8 with a communication topology described by the following Laplacian matrix:
The multiple time-varying delays, affecting both the inter-cluster and the intra-cluster communication networks, have been emulated as random variables with uniform distribution within the range
, where
is the upper bound setting above the typical average end-to-end communication delay in a wireless network [
11,
38,
39].
Moreover, the control gains parameters for the cooperative control strategies (
9) (
14) (
15) are selected to avoid the reactive power exceeding its maximum/minimum allowable values. Their values are listed in
Table 1.
Simulation analysis, carried out via the Matlab/Simulink (Release 2019a) platform, involves two operative scenarios: (i) Nominal scenario, where only heterogeneous time-varying delays are considered; () Load Fluctuations scenario, where both multiple time-varying delays and load variations are taken into account.
4.1. Nominal Scenario
In this scenario, where no load variations are considered, the two MGs are electrically disconnected from each other at and, then, connected at . Therefore, the lower controller and the upper controllers (as well as its corresponding pinning links) are disabled at and switch-on at .
The results in
Figure 3 confirm the effectiveness of the proposed control approach in guaranteeing the cluster-oriented double-layer cooperative control despite the presence of heterogeneous time-varying communication delays. Specifically, since upper-layer controllers
in (
9) are inactive during the time interval
, generator voltage magnitudes do not reach the nominal value
(
Figure 3a,b). When, at
the cluster-oriented cooperative control strategy is enabled, the voltage magnitudes of all the generator buses (including the driver generator nodes) within both the
and the
converge to the desired nominal values
(see
Figure 3a,b, respectively). As a result, the control objectives in (
7) and (
8) are fulfilled. As a consequence, the lower cooperative control protocol
in (
15) drives the reactive power
of each capacitor bank
p to guarantee that the corresponding voltage magnitudes
reach the nominal value
, as shown in
Figure 3c–e.
Figure 4 highlights the time histories of reactive powers of capacitor banks within
and
. Thus, the control goals in (
10) and (11), as well as the control objectives in (
12) and (13), are satisfied. Indeed, all the voltage values of the
capacitor banks in both
and
converge to the voltage imposed by the
pinner generators, i.e.,
. In conclusion, the double-layer control architecture is able to regulate voltage values throughout the MGs cluster despite the presence of multiple time-varying communication delays.
4.2. Load Fluctuations Scenario
In this section, we present the results of the performance analysis of our cooperative controllers, confirming voltage regulation of the overall MMGs when load fluctuations occur. Indeed, since in a real practical situation, the load demand is sensitive to frequent changes, it is particularly desirable to evaluate the robustness of the proposed control strategies in this crucial scenario [
1].
The appraised load fluctuations profile
is the one depicted in
Figure 5a, where a maximum load variation of
can be observed.
Figure 5b–f reveal the effectiveness and robustness of the proposed cluster-oriented, two-layer control protocol in counteracting sudden fluctuations of the load request, while achieving good voltage regulation performances despite the presence of heterogeneous time-varying delays. More specifically, when the upper cooperative controllers are not enabled from
, all the generator buses’ voltages do not converge to the nominal value
imposed to
. However, when the cooperative control protocol is switched on at
, the generator buses’ voltages quickly converge to the nominal value despite the presence of both load variation and multiple time-varying delays (see
Figure 5b,c). Accordingly, the voltage magnitudes of all buses within the MMGs system achieve the desired set point (see
Figure 5d), thus proving the ability of the designed controllers to react to load fluctuations by inducing a reactive power variation (see
Figure 6a–c) and promptly restore the voltage to the required level. Finally,
Figure 5e,f show the time histories of the voltages of each bus
in the
and the
, respectively. In conclusion, all the control goals (
10)–(13) are also fulfilled in this simulation scenario.
4.3. Comparison Analysis
Here, we compare the performances of our fully delayed control strategies in (
9), (
14) and (
15), which were designed according to delayed information processing with respect to the ones achievable with the following control strategy:
which only involves the transmission delays of the information received from neighbors. Therefore, each controller in (
17a)–(17c) consists of two different terms—a local action depending on the state variables of the generic node itself (measured onboard) without any delay, and an action depending on the information received from neighboring nodes (distributed generators and/or capacitor banks) through the communication network that was affected by a time-varying communication delay. Exemplar results, reported in
Figure 7, refer to the
nominal scenario detailed in
Section 4.1.
As it is possible to observe, the proposed fully delayed Cluster-Oriented Double-Layer Cooperative Control approach achieves better leader tracking performance in terms of voltages and reactive power with respect to the results obtained via controllers in (
17a)–(
17c) (depicted in
Figure 7). This is due to the benefit introduced by networked-induced delays on the overall MMGs system [
40,
41] which improves the closed-loop performances. Hence, the advantages obtained by considering random delays and their effects on the closed-loop network in the control design phase have been shown. Therefore, by implementing our distributed control strategies via fully outdated information, any possible instability sources can be counteracted [
42,
43].