Loading web-font TeX/Main/Regular
A Secured Social-Economic Framework Based on PEM-Blockchain for Optimal Scheduling of Reconfigurable Interconnected Microgrids | IEEE Journals & Magazine | IEEE Xplore

A Secured Social-Economic Framework Based on PEM-Blockchain for Optimal Scheduling of Reconfigurable Interconnected Microgrids


One-line diagram of the test networked MG system.

Abstract:

Optimal scheduling of reconfigurable interconnected microgrids is a precious and critical task for the residential consumers especially with the integration of renewable ...Show More

Abstract:

Optimal scheduling of reconfigurable interconnected microgrids is a precious and critical task for the residential consumers especially with the integration of renewable energy sources, dispatchable units and energy storage systems. In this regard, not only the optimal scheduling of the microgrids in a realistic and correlated environment is a necessity, but also the guarantied security and the prevention of cyber-attacks are mandatory tasks for the operators. This article first addresses these issues by developing a novel framework based on blockchain for secured data transaction from the individual microgrids’ components to the central control unit and then tries to find the optimal scheduling plan using stochastic programming based on point estimate method (PEM). Through such a hybrid PEM-blockchain based framework, the interconnected microgrids can supply the residential loads in a fully reliable, economic and secured structure. We also consider a social-economic framework to not only minimize the total operating cost of the microgrids, but also benefit the customers by enhancing the social factors through the optimal switching. Considering the complex and nonlinear nature of the problem, an effective corrected crow search (CCS) algorithm is deployed to find the most optimal operating point for the microgrids. The quality and capabilities of the proposed model are investigated using a practical residential interconnected microgrid. The results show that the optimal switching could reduce the total operation cost from 22,716 to 21,935 (3.56% reduction). Also, the average energy not supplied (AENS) has reduced from 1.4115 to 1.352 kWh/customer.yr (4.40% reduction), which are notable values. The results advocate the quality and functionality of the proposed framework.
One-line diagram of the test networked MG system.
Published in: IEEE Access ( Volume: 9)
Page(s): 40797 - 40810
Date of Publication: 10 March 2021
Electronic ISSN: 2169-3536

Funding Agency:


CCBY - IEEE is not the copyright holder of this material. Please follow the instructions via https://creativecommons.org/licenses/by/4.0/ to obtain full-text articles and stipulations in the API documentation.

Nomenclature

AbbreviationExpansion
A.

Sets/Indices

RCS

Index for controllable switches for reconfiguration

$\_{}\_{},^{\_{}\_{}\_{}}$

Lower, upper bounds

${\Omega ^{SW}} \mathord {\left /{ {\vphantom {{\Omega ^{SW}} s}} }\right. } sw$

Set/index for feeder switches

${\Omega ^{DF}} \mathord {\left /{ {\vphantom {{\Omega ^{DF}} {km,mn}}} }\right. } {km,mn}$

Distribution feeder set/indices

${\Omega ^{TF}} \mathord {\left /{ {\vphantom {{\Omega ^{TF}} {km,mn}}} }\right. } {km,mn}$

Tie feeders set/indices

${\Omega _{i}^{N}} \mathord {\left /{ {\vphantom {{\Omega _{i}^{N}} n}} }\right. } n$

Set/index for nodes in $i^{\mathrm {th}}$ microgrid $(\Omega _{i}^{NG} \cup \Omega _{i}^{NS} \cup \Omega _{i}^{NAD})$

$\Omega _{i}^{BAD} $

Set of buses with adjustable loads in $i$ th microgrid

$\Omega _{i}^{NG} $

Set of nodes with installed DG in $i$ th microgrid

$\Omega _{i}^{NS} $

Set of nodes(bus) as well as energy storage in $i$ th microgrid

${\Omega ^{Cus}} \mathord {\left /{ {\vphantom {{\Omega ^{Cus}} j}} }\right. } j$

Electric customers sets/indices

${\Omega ^{MG}} \mathord {\left /{ {\vphantom {{\Omega ^{MG}} i}} }\right. } i$

Microgrids set/index

${\Omega ^{T}} \mathord {\left /{ {\vphantom {{\Omega ^{T}} t}} }\right. } t$

Operation time horizon set/index

B.

Constants

$CT_{i,m}^{S},DT_{i,m}^{S} $

Min charging and discharging times

$E_{i,m}^{AD} $

Total energy required by the adjustable loads

$F$

Nonlinear function

$f_{ul}$

PDF of the $l^{th}$ uncertain parameter $u$

$La_{j} $

Average load connected to bus

$\textrm {N}_{\textrm {branch}} $

Number of branches

$\textrm {N}_{\textrm {bus}} $

Number of buses

$\textrm {N}_{\textrm {loop}} $

Number of loops

$R_{mn},X_{mn},Z_{mn} $

Network characteristics including the resistance, reactance, and impedance

$RU_{i,n}^{G},RD_{i,n}^{G} $

Ramp up and down rates for DGs

$UT_{i,n}^{AD} $

Least up time for adjustable load

$UT_{i,n}^{G},DT_{i,n}^{G} $

DG units minimum up and down time

$\delta $

One period of time (1 hour)

$\eta _{i,m}^{Ch},\eta _{i,m}^{Dch} $

Storage charging/discharging efficiency

$z_{i,n}^{G} $

Price of (non/) dispatchable unit power generation

$z_{t}^{M} $

Price of electricity market

$\sigma _{i,n},\omega _{i,n} $

Adjustable loads start/end time

$\mu _{ul} $

Expected value of the uncertain parameter $u_{l}$

$\rho $

Number of uncertain parameters

$\Delta $

Randomization parameter

$\partial $

Constant value

C.

Variables

$C_{i,n,t}^{S} $

Energy stored in the storage

$cf_{i}^{Iter} $

Flight length of $i^{th}$ crow in iteration number Iter

$I_{mn,t}^{F} $

Current flow in the feeder

$P_{i,n,t}^{Ch},P_{i,n,t}^{Dch} $

Amount of charging and discharging

$P_{i,n,t}^{D},Q_{i,n,t}^{D} $

Active and reactive demand

$P_{mn,t}^{F},Q_{mn,t}^{F} $

Feeder active and reactive power flow

$P_{i,n,t}^{G},Q_{i,n,t}^{G} $

Active and reactive power generated by DG

$P_{i,n,t}^{M},Q_{i,n,t}^{M} $

Utility grid active/reactive power

$r_{i} $

Random variable in [0,1]

S

Output variable in the stochastic problem

$T_{i,n,t}^{Ch},T_{i,n,t}^{Dch} $

Successive hours of charging and discharging

$T_{i,n,t}^{G-on},T_{i,n,t}^{G-off} $

Successive ON and OFF hours for DG

$T_{i,n,t}^{AD-on} $

Successive ON hours for adjustable loads

$T_{q}$

Average time used by a node to prepare its block data

$T_{sig}$

Time elapsed to confirm the signature

$T_{back-off} $

Back-off time associated with the protocol

$T_{trm} $

Time used for data transfer from a microgrid to other one

$t_{prod} $

Time used to calculate the data for the block

$t_{Mining} $

Time of data block

$u$

Uncertain variable

$V_{i,n,t} $

Bus voltage magnitude

$w_{mn,t}^{F} $

Status of the feeders

$X_{i}$

$i^{th}$ crow in the population

$\alpha _{i,n,t}^{G} $

ON/OFF state of the DG units

$\alpha _{j}^{Iter} $

Best situation which a crow could achieve so far

$\delta $

Grid connected status of the interconnected microgrid

$\vartheta _{l,k}$

Standard location

$\beta _{i,n,t}^{Ch},\beta _{i,n,t}^{Dch} $

Storage status

$z_{i,n,t}^{AD} $

Status of adjustable loads

$\Delta V_{mn,t} $

Auxiliary voltage variable that is needed to apply KVL

$\theta _{mn,t}^{F} $

Fictitious current flow of the feeders

$\theta _{i,n,t}^{M} $

Fictitious current flow of the grid

$\theta _{i,n,t}^{D} $

Current flow demand for fictitious

SECTION I.

Introduction

Microgrid concept is a new and valuable technical term for covering the old concerns of the power researchers in relevance to distributed generations (DGs), renewable energy sources, active networks, storage units and demand response [1]. The benefits associated with the microgrid design and deployment in the power grid are not limited to the lower electricity billing, reinforced reliability and electric power quality, power loss mitigation, operation and planning cost mitigation, clean power production and so on [2]. On the other hand, the high penetration of power storage units such as batteries and renewable energy sources can create new opportunities for more beneficial operation and management of energy among the customers [3]. This is more visible in the interconnected microgrids with the power/energy exchanging capability and self-healing features [4]. In fact, the interconnected microgrids make it possible for the single microgrid to share the extra power generation/storage capacities with each other and thus reduce the costs and improve the power quality [5]. This is also important from the independent system operator (ISO) point of view since it can be used as an effective ancillary service to the main grids [6]. According to the IEEE-1547.4 protocol [7], the idea of breaking down the power grid into several sub-grids can enhance the scalability, efficiency and reliability. It means that this protocol advocates the idea of interconnected microgrids compared to the other types of power delivery at the transmission and distribution scales [8]. Nevertheless, there are new challenges appearing in the interconnected microgrids, especially around the optimal scheduling [9], how the energy is shared [10], security of data transactions [11] and social and economic preferences [12]. In recent years, several researches have been made to address these issues, which a comprehensive summery is provided in the rest.

In [13], different operation and management schemes are assessed for the interconnected microgrids based on the transactive energy concept. In this regard, the chance-constrained optimization is considered in a stochastic frame for handling the uncertainty effects. Also, the work in [13] attempts to maximize the total benefits of the microgrids by accommodating the combined heat and power idea. In [14], the optimal power management problem is solved for the interconnected microgrids in the market with uncertainty effects. A two-level distributed solution based on cloud-edge and fair pricing is deployed to share the power/energy among the microgrids. The solver is based on the target cascading and augments Lagrange approaches. In [15], the transactive energy concept is deployed for the optimal energy management problem in the interconnected microgrids with a 100% renewable energy sources penetration. In order to mitigate the power variations due to the randomness in power generation from renewable energy systems, hydrogen energy storage is utilized. A stochastic hybrid approach based on fast forward and autoregressive integrated moving average (ARIMA) is devised to meet the effect of the uncertainty in the problem. The authors in [16] have tried to consider each microgrid as an energy hub and thus replace the idea of interconnected microgrids with multi-energy hubs. It provides a decentralized approach based on alternating direction method of multipliers to preserve the ownership when running the optimal scheduling. This could help to keep the privacy and individuality of the microgrids. In [17], a chance-constrained approach is devised for energy management of interconnected microgrids. It proposes a communication based approach for updating the information within the microgrids. The work in [18] tries to find the main technical and economic advantages from the DGs and combined heat and power synchronization in the microgrids. In addition, the role of boilers and fuel cells in supporting part of the thermal loads is discussed. In [19], the authors use the control theory to optimize the amount of reserve power in interconnected microgrids. A good review on the energy management, structure, advantages and features of interconnected microgrids can be found in [20].

One big challenge in front of the progress of the interconnected microgrids is the security of data transactions among the microgrids. In other words, it is always possible that some data get compromised and thus, the entire energy management and sharing process gets affected. This cannot only add to the economic costs; but would also add to the technical and social costs. In [21], a new intrusion detection system based on support vector machine is introduced which is trained by the long-term data recording of the smart meters which can check the health of data received in any time later. The model uses the probabilistic prediction idea for making a feasible domain around the sample data and gives a practical region. In [22], an interval state estimation procedure is developed to create a defense structure against any cyber-attack in the energy internet systems. To this end, deep belief network is deployed for an accurate forecasting of the electrical load demand. This shows the necessity of investigating and taking care of the cyber security of the microgrids, especially in the interconnected mode of operation. In fact, research in the field of secured energy management of microgrids is rare and much more attempts are needed to clarify the different aspects of this problem. Therefore, this article gives a special focus on the optimal scheduling of interconnected microgrids based on the blockchain technology to guarantee the security and optimality of the scheduling solutions. Blockchain, represents an increasing list of data blocks connected to each other through cryptography [23]. In this way, each block has the previous block hash and thus, this links all blocks in a secured way. A novel hybrid method based on stochastic programming of a point estimate method (PEM) is proposed to capture the uncertainty effects due to the renewable energy sources, electrical load demand and energy price. PEM is an efficient and enough accurate method, which tries to make a nonlinear mapping between the input and output of a nonlinear function with the limited number of concentration points [24]. In order to have a practical analysis, a social-economic framework is proposed to not only mitigate the interconnected microgrids operation cost (and thus benefit the customers), but also enhance the social factors such as the average energy not supplied (AENS). Reducing the AENS means a higher social welfare in the region is provided by the interconnected microgrid for the electric consumers [25]. To this end, a reconfiguration strategy is considered as a key solution for changing the topology of microgrids using some remotely control switches [26]. This can not only reduce the power losses in the feeders, but also can reduce the costs by more optimal power sharing among DGs, renewable energy sources and storages [27]. Providing new paths for power supply in a shorter way can also enhance the AENS and thus improve the social factors, appropriately [28]. In order to solve the problem, an effective modified algorithm based on crow search is proposed which helps to find the most optimal operating point for the dispatchable units, the storage unit and microgrids’ power sharing scheme. Moreover, a novel modification method is introduced to enhance the algorithm performance by accelerating the search and convergence rate properly. A typical interconnected microgrids with four different residential microgrids is used as the case study to check the model performance.

This paper is organized as follows: section II explains the problem formulation for the proposed social-economic framework. Section IV explains the secured architecture based on blockchain. Section IV explains the proposed stochastic framework based on PEM and corrected crow search (CCS) algorithm. The simulation results are discussed in section V. The main paper outcomes are shown in section VI.

SECTION II.

Social-Economic Scheduling of Reconfigurable Interconnected Microgrids

In this section, a multi-objective framework is developed for an efficient social and economic operation of the reconfigurable interconnected microgrids. To this end, the objective function is composed of two parts, the AENS as the social objective function, and the total operation cost as the economic objective function. The proposed model optimizes the proposed social-economic indices through some remotely control switches of tie and sectionalizer as well as the optimal output power of the dispatchable units and storages and power exchange among the interconnected microgrids. The economic cost function incorporates the total operation costs of active power losses, cost of DGs and cost of power exchange among the microgrids as below:\begin{align*}&{\textit{min}}~\sum \limits _{t\in \Omega ^{T}} {\sum \limits _{i\in \Omega ^{MG}} {\sum \limits _{n\in \Omega _{i}^{N}} {z_{t}^{M} PM_{i,n,t}}}} \\&+\sum \limits _{t\in \Omega ^{Tm}} {\sum \limits _{i\in \Omega ^{MG}} {\sum \limits _{n\in \Omega _{i}^{NG}} {z_{i,n}^{G} PG_{i,n,t}}}} \\&+\sum \limits _{t\in \Omega ^{T}} {\sum \limits _{mn\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right)} {z_{t}^{M} R_{mn} \left ({{I_{mn,t}^{F}} }\right)^{2}} }\tag{1}\end{align*} View SourceRight-click on figure for MathML and additional features.

The social AENS as the social objective function is then formulated for the interconnected microgrid as below:\begin{equation*} {\textit{Min}}~\sum \limits _{i\in \Omega ^{MG}} {\left ({{\sum \limits _{j\in \Omega ^{Cus}}^ {La_{j} U_{j}} /\sum \limits _{j\in \Omega ^{Cus}}^ {N_{j}}} }\right)}\tag{2}\end{equation*} View SourceRight-click on figure for MathML and additional features.

The problem constraints wherein the above objectives are optimized can then be formulated as below:

A. Generation and Demand Balance Constraint

In order guarantee the generation and demand balance in the radial interconnected microgrid, equations (3)–(6) are developed. These constraints are sets of repetitive equations wherein the active and reactive power balances are assured using the KCL and KVL laws. In such a formulation, the auxiliary variable $\Delta V_{mn,t}$ is deployed to simulate the ON/OFF status of the tie switch connecting buses $m$ and $n$ . Therefore, $\Delta V_{mn,t}=0$ shows that the buses are connected (switch is ON), and any other positive or negative value shows that the switch is off with a specific voltage difference between the two buses.\begin{align*}&\sum \limits _{km\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right)} {\left [{ {P_{km,t}^{F} -R_{km} \left ({{I_{km,t}^{F}} }\right)^{2}} }\right]} \\&-\sum \limits _{mn\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right)} {P_{mn,t}^{F} +PG_{i,n,t}} -P_{i,n,t}^{Ch} \\&+P_{i,n,t}^{Dch} +PM_{i,n,t} =P_{i,n,t}^{D}; \forall i\in \Omega ^{MG},\forall n\in \Omega _{i}^{N},\forall t\in \Omega ^{T} \\{}\tag{3}\\&\sum \limits _{km\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right)} {\left [{ {Q_{km,t}^{F} -X_{km} \left ({{I_{km,t}^{F}} }\right)^{2}} }\right]} \\&-\sum \limits _{mn\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right)} {Q_{mn,t}^{F} +QG_{i,n,t}} \\&+QM_{i,n,t} =Q_{i,n,t}^{D}; \forall i\in \Omega ^{MG},\forall n\in \Omega _{i}^{N},\forall t\in \Omega ^{T} \tag{4}\\&\left ({{V_{i,m,t}} }\right)^{2}-\left ({{V_{i,n,t}} }\right)^{2}=2\left ({{R_{mn} P_{mn,t}^{F} +X_{mn} Q_{mn,t}^{F}} }\right) \\&-\left ({{Z_{mn}} }\right)^{2}\left ({{I_{mn,t}^{F}} }\right)^{2}+\Delta V_{mn,t} \\&\qquad \qquad \forall mn\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right),\forall t\in \Omega ^{T} \tag{5}\\&\left ({{V_{i,n,t}} }\right)^{2}\left ({{I_{mn,t}^{F}} }\right)^{2}=\left ({{P_{mn,t}^{F}} }\right)^{2}+\left ({{Q_{mn,t}^{F}} }\right)^{2}; \\&\forall mn\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right),\forall t\in \Omega ^{T}\tag{6}\end{align*} View SourceRight-click on figure for MathML and additional features.

B. Operation Constraints

Each bus voltage should be preserved between the limited ranges due to the technical limitations as in (7). The auxiliary voltage $\Delta V_{mn,t}$ can avoid large values by incorporating (8). The amount of power exchange between the interconnected microgrid and the main grid is constrained by (9) and (10). The technical constraints for the dispatchable units are preserved in (11)–(16). In (11) and (12), the minimum and maximum power generations of the DGs, due to the technical limits, are shown. In (13)–(14), the ramp up/down rates for the DGs are considered and the lower up and down time constraints are preserved in (15)–(16). In order to model the battery storage in the interconnected microgrids, constraints (17)–(23) are incorporated in the model. The lower and upper charging/discharging rates for the storage units are represented by (17) and (18), the total storage capacity is constrained by (19) and (20), the timing constraints for the charging/discharging are shown in (21) and (22), and the charging/discharging modes of the energy storage system is represented by (23) as a binary variable.

To model the adjusting load models in the microgrid, constraints (24)–(26) are developed to model either the curtailable/shiftable types. The variable $z_{i,n,t}^{AD} $ shows the status of the adjustable loads to get/not-to-get charged such that the total power demand is supplied in the specific time limit (25). Since the adjustable loads are available in a specific number of hours, constraint (26) is considered to represent this limit.\begin{align*}&\underline {V}\le V_{i,n,t} \le \overline V\quad \forall i\in \Omega ^{MG},\forall n\in \Omega _{i}^{N},~\forall t\in \Omega ^{T} \tag{7}\\&\left |{ {\Delta V_{mn,t}} }\right |\le \left ({{\overline V -\underline {V}} }\right)\left ({{1-w_{mn,t}^{F}} }\right) \\&\quad \forall mn\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right),\quad \forall t\in \Omega ^{T} \tag{8}\\&-\overline {PM_{i,n}} \delta \le PM_{i,n,t}^{M} \le \overline {PM_{i,n}} \delta \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{N},~\forall t\in \Omega ^{T} \tag{9}\\&-\overline {QM_{i,n}} \delta \le QM_{i,n,t} \le \overline {QM_{i,n}} \delta \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{N},~\forall t\in \Omega ^{T} \tag{10}\\&\underline {PG_{i,n}}x_{i,n,t}^{G} \le PG_{i,n,t} \le \overline {PG_{i,n}} x_{i,n,t}^{G} \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NG},~\forall t \tag{11}\\&\underline {QG_{i,n}}x_{i,n,t}^{G} \le QG_{i,n,t} \le \overline {QG_{i,n}} x_{i,n,t}^{G} \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NG},~\forall t\in \Omega ^{T} \tag{12}\\&PG_{i,n,t} -PG_{i,n,t-1} \le RU_{i,n}^{G} \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NG},~\forall t\in \Omega ^{T} \tag{13}\\&PG_{i,n,t-1} -PG_{i,n,t} \le RD_{i,n}^{G} \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NG},~\forall t\in \Omega ^{T} \tag{14}\\&T_{i,n,t}^{G-on} \ge UT_{i,n}^{G} \left ({{\alpha _{i,n,t}^{G} -\alpha _{i,n,t-1}^{G}} }\right) \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NG},~\forall t\in \Omega ^{T} \tag{15}\\&T_{i,n,t}^{G-off} \ge DT_{i,n}^{G} \left ({{\alpha _{i,n,t-1}^{G} -\alpha _{i,n,t}^{G}} }\right) \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NG},~\forall t\in \Omega ^{T} \tag{16}\\&\underline {P_{i,n}^{Ch}}y_{i,n,t}^{Ch} \le P_{i,n,t}^{Ch} \le \overline {P_{i,n}^{Ch}} y_{i,n,t}^{Ch} \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NS},~\forall t\in \Omega ^{T} \tag{17}\\&\underline {P_{i,n}^{Dch}}y_{i,n,t}^{Dch} \le P_{i,n,t}^{Dch} \le \overline {P_{i,n}^{Dch}} y_{i,n,t}^{Dch}; \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NS},~\forall t\in \Omega ^{T}\tag{18}\\&C_{i,n,t}^{S} =C_{i,n,t-1}^{S} -{P_{i,n,t}^{Dch} \delta } / {\eta _{i,n}^{Dch}}+P_{i,n,t}^{Ch} \delta \eta _{i,n}^{Ch}; \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NS},~\forall t\in \Omega ^{T}\tag{19}\\&\underline {C_{i,n}^{S}}\le C_{i,n,t}^{S} \le \overline {C_{i,n}^{S}} \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NS},~\forall t\in \Omega ^{T} \tag{20}\\&T_{i,n,t}^{Ch} \ge CT_{i,n}^{S} \left ({{\beta _{i,n,t}^{Ch} -\beta _{i,n,t-1}^{Ch}} }\right) \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NS},~\forall t\in \Omega ^{T} \tag{21}\\&T_{i,n,t}^{Dch} \ge DT_{i,n}^{S} \left ({{\beta _{i,n,t}^{Dch} -\beta _{i,n,t-1}^{Dch}} }\right) \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NS},~\forall t\in \Omega ^{T} \tag{22}\\&y_{i,n,t}^{Ch} +y_{i,n,t}^{Dch} \le 1 \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{NS},~\forall t\in \Omega ^{T} \tag{23}\\&\underline {P_{i,n}^{AD}}z_{i,n,t}^{AD} \le P_{i,n,t}^{D} \le \overline {P_{i,n}^{AD}} z_{i,n,t}^{AD}; \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{BAD},~\forall t\in \Omega ^{T}\, \tag{24}\\&\sum \limits _{t\in \left [{ {\sigma _{i,n},\omega _{i,n}} }\right]} {P_{i,n,t}^{D} \delta } =E_{i,n}^{AD} \\&\quad \forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{BAD},~\forall t\in \Omega ^{T} \tag{25}\\&T_{i,n,t}^{AD-on} \ge UT_{i,n}^{AD} \left ({{z_{i,n,t}^{AD} -z_{i,n,t-1}^{AD} } }\right) \\&\quad \forall i\in \Omega ^{MG},\forall n\in \Omega _{i}^{BAD},\forall t\in \Omega ^{T}\tag{26}\end{align*} View SourceRight-click on figure for MathML and additional features.

C. Reconfigurable Structure

Feeder reconfiguration is considered as a precious tool in the interconnected microgrids for changing the power flow and enhancing the objective functions. Nevertheless, it is always preferred to keep the radial structure of the system and get benefits of the radial protection and thus the simple coordination of the protection relays as in (27)–(33). The total number of loops is calculated at any time in the grid by (27). In these equations, the variable $w_{km,t}^{F} $ is used to show the ON/OFF status of the line connecting buses. Moreover, the variable $\theta _{mn,t}^{F} $ is used to avoid any islanded network. Equation (34) is used to avoid high number of switching operation in the microgrid.\begin{align*}&\textrm {N}_{\textrm {loop}} \textrm {= N}_{\textrm {branch}} \textrm {- N}_{\textrm {bus}} + 1\tag{27}\\&\sum \limits _{km\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right)} {w_{km,t}^{F}} =1 \\&\forall i\in \Omega ^{MG},\quad \forall n\in \left ({{\Omega _{i}^{BAD} \cup \Omega _{i}^{BCD}} }\right),~\forall t\in \Omega ^{T} \tag{28}\\&\sum \limits _{km\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right)} {\theta _{lm,t}^{F}} -\sum \limits _{mn\in \left ({{\Omega ^{DF}\cup \Omega ^{TF}} }\right)} {\theta _{mn,t}^{F}} +\theta _{i,m,t}^{M} =\theta _{i,n,t}^{D} \\&\forall i\in \Omega ^{MG},\quad \forall t\in \Omega ^{T} \tag{29}\\&0\le \theta _{mn,t}^{F} \le \left |{ {\Omega ^{N}} }\right |w_{mn,t}^{F} ~\forall mn\in \Omega ^{DF},\quad \forall t\in \Omega ^{T} \tag{30}\\&0\le \theta _{mn,t}^{F} \le \left |{ {\Omega ^{N}} }\right | ~\forall mn\in \Omega ^{TF},\quad \forall t\in \Omega ^{T} \tag{31}\\&0\le \theta _{i,m,t}^{M} \le \left |{ {\Omega ^{N}} }\right | ~\forall i\in \Omega ^{MG},\quad \forall n\in \Omega _{i}^{N},~\forall t\in \Omega ^{T} \tag{32}\\&\theta _{i,n,t}^{D} = \begin{cases} 1 \forall i\in \Omega ^{MG},\forall n\in \left ({{\Omega _{i}^{NG} \cup \Omega _{i}^{NS}} }\right), \forall t\in \Omega ^{T} \\ 0 \forall i\in \Omega ^{MG},\forall n\notin \left ({{\Omega _{i}^{NG} \cup \Omega _{i}^{NS}} }\right), \forall t\in \Omega ^{T} \\ \end{cases} \tag{33}\\&N_{sw} \le \bar {N}_{sw} \forall sw\in \Omega ^{Sw}\tag{34}\end{align*} View SourceRight-click on figure for MathML and additional features.

SECTION III.

Secured Framework Based on Blockchain

A microgrid consists of a physical layer, with the model explained in the last section, and a communication layer, which works based on a blockchain platform [29]. In such a complex cyber-physical structure, the advanced metering infrastructure (AMI), which works based on wireless sensor networks, is in charge of data gathering, data communication and energy consumption analysis for the optimal operation of the microgrid [30]. In the literature, many platforms exist for Wireless Sensor Networks (WSNs), such as ns-3 and OMNET++. Extensions for these platforms have been created to allow for the simulation of a microgrid cyber layer. In this paper, a blockchain based structure is developed to secure the data transaction among the microgrids in an integrated framework [31]. Blockchain is fundamentally constructed in a distributed topology, in which every microgrid can share its data with the other neighboring connecting microgrids, while no one can control [32]. This makes the data transactions secured against an unauthorized access to the system. Using the advanced cryptography methods, only authorized healthy nodes (microgrids) can access the data exchange among them. Therefore, the critical feature of the blockchain is that it does not need any central unit for the control of the data, a feature that enhances the deep information security. Moreover, a cryptography approach based on hash function is deployed in this method to avoid data access by unauthorized parties in the case of hacking penetration [33]. In a hash system, the input data with a random length is converted into an output bit string with a fixed length. Therefore, the blockchain system main characteristics can be summirized as:

  • Data transactions are validated and authorized using an advanced verification approach, which is handled through a decentralized approach.

  • Blockchain system does not depend on any specific architecture for connecting microgrids (nodes) and managing them.

Fig. 1 shows how the blockchain technology works and is applied to three interconnected microgrids.

FIGURE 1. - Blockchain concept in the interconnected microgrids.
FIGURE 1.

Blockchain concept in the interconnected microgrids.

The blockchain system can be either private or public, depending on whether the protocol is open access or private to a single entity [34]. Both types are compatible with the interconnected microgrids due to the decentralized (composed of several microgrids) structure. As that is quite needed in the islanding mode of a single microgrid, the blockchain system based on the decentralized framework would let the nodes leave/join the system independently. Figure 2 shows a peer-to-peer structure which is considered for data transaction in the blockchain technology. In the blockchain system, there is a growing record of data, which is defined as blocks that are preserved secure through a nonstop verification [35]. Each block consists of the data transactions among the microgrids, timestamp, the data of the previous block and the Merkle root. Being considered as a critical component in the block header, the Merkle root is the hash of all the hashes of all the transactions. With the help of the Merkle root, one can verify the transaction securely by only downloading the small block header and Merkle tree [36]. Therefore, there is no need to download the entire block data. Fig. 3 shows the Merkle root in the blockchain.

FIGURE 2. - The decentralized based peer-to-peer structure.
FIGURE 2.

The decentralized based peer-to-peer structure.

FIGURE 3. - Merkle root in the blockchain system.
FIGURE 3.

Merkle root in the blockchain system.

After receiving the data block by a microgrid, it will try to access the embedded information within the block by inserting a specific integer number to the block to create a hash value. It is clear that each microgrid needs to insert the hash values of the previous and current node. The hash function generation is made as a 32-bit value using the standard hash functions including the SHA-512, SHA-384, SHA-256, SHA-224 and SHA-1. A significant criterion for checking the efficacy of the blockchain system is the time consumption. In order to calculate this value, let us assume the average time used by a node for the preparation of its block data is $T_{q}$ . Therefore, the overall processing time of blockchain system is calculated as:\begin{align*}T_{chain} \!=\!T_{q} \!\times \!T_{sig} \!+\!(T_{back-off} \!+\!T_{trm})\!\times \!2+t_{prod} \!+\!t_{Mining} \\{}\tag{35}\end{align*} View SourceRight-click on figure for MathML and additional features. where $T_{sig}$ is time elapsed to confirm the signature, $T_{back-off}$ is the back-off time associated with the protocol [37], $T_{trm}$ represents the time used for data transfer from one microgrid to another microgrid, $t_{prod} $ is the time used in order to calculate the data for the block, and $t_{Mining} $ is the time of data block. Considering some delay in the production process, the total blockchain processing time is calculated as below:\begin{align*} T_{chain} \!=\!T_{q} \!\times \!T_{sig} \!+\!(T_{back-off} \!+\!T_{trm})\!\times \!2\!+\!t_{prod} \!+\!t_{Mining} \\{}\tag{36}\end{align*} View SourceRight-click on figure for MathML and additional features.

SECTION IV.

Stochastic Framework Based on PEM and Corrected Crow Search (CCS) Algorithm

This section proposes a hybrid evolving stochastic framework based on the point estimate method (PEM) and CCS to solve the optimal scheduling problem in the interconnected microgrids. Considering the discrete nature of the problem, we need to optimize the objective functions during the optimization to find their expected values. Each of these methods is explained in the rest. It should be noted that the nonlinear structure of the proposed problem requires a powerful optimizer to solve it effectively. In this regard, the idea of heuristic algorithms is the most well-known and successful method among the researchers. Among the different optimization methods, CCS has shown some specific features, which makes it a suitable candidate for solving the problem [38]. Powerful local search mechanisms, few setting parameters, fast convergence, simple concept, ease of implementation and compatibility with discrete and continuous optimization methods are the most prominent features of this method [39]. Unfortunately, there is no guarantee for the optimality of the solution in the nonlinear problems. In fact, the main reason for the use of the nonlinear optimization methods such as heuristic algorithms is that these methods can find the most optimal solution among the many unknown optimal solutions in the problem. The other solution is to linearize the problem and then solve it (which of course guarantees the optimality). However, this approach would come at the cost of solution accuracy.

A. Stochastic Framework Based on $2\rho$ -PEM

In an interconnected microgrid, the optimal output power of the renewable energy sources, the hourly load demand and forecast error in the market price for the future operation time are the main sources of uncertainty injection. Technically, there are three methods in the stochastic programming for modeling the uncertainty effects. The first method is the Monte Carlo method, which can provide the most accurate uncertainty quantization but with the cost of high computations. The second group is the analytical method which has solved the time consuming nature of the first group but make some assumptions for the uncertain parameters (indeed this would reduce the accuracy). The last group is the approximate methods in which the high accuracy and low time consuming can be both achieved in a single method. The core idea in the approximate methods is using some nonlinear mapping between the input and the output domains using the first few statistical moments in the probability density function (PDF) of the randomness. This article uses the PEM as a well-known and successful approach, in which a problem with $\rho $ uncertain parameter is solved $2\rho $ times to capture the uncertainty effects [24].

In $2\rho $ -PEM, each PDF is replaced by two generating points of concentration using the mean and the standard deviation parameters of the uncertainty [40]. Each of these points are then used as an input to the nonlinear problem, let us call it $F$ , to transfer to the arbitrary output objective $S$ :\begin{equation*} S=F(u)\tag{37}\end{equation*} View SourceRight-click on figure for MathML and additional features. In such a notation, $u$ represents the vector of uncertainty, and $S$ is the output cost function. It is clear that the way that the input $u$ is transferred is quite dependent on the nonlinear problem formulation. Considering $f_{ul}$ as the PDF of the $l^{th}$ uncertainty $u_{l}$ , $2\rho $ -PEM will produce two output values as below:\begin{equation*} S=F(\mu _{u1},\mu _{u2},\ldots u_{l,k},\ldots,\mu _{u\rho });\quad k=1,2\tag{38}\end{equation*} View SourceRight-click on figure for MathML and additional features. where $u_{l, 1}$ and $u_{l {,2}}$ are the new generating locations for the input uncertain variable $u_{l}$ , which is computed as below:\begin{equation*} u_{l,k} =\mu _{u_{l}} +\vartheta _{l,k} \cdot \sigma _{u_{l}};\quad k=1,2\tag{39}\end{equation*} View SourceRight-click on figure for MathML and additional features. In (39), $\vartheta _{l,k}$ shows the standard location for $f_{ul}$ , which is addressed as below:\begin{align*} \vartheta _{l,k}=&\frac {\psi _{l,3}}{2}+(-1)^{3-k}\sqrt {\rho -(\psi _{l,3}^{2} /2)^{2}},\quad k=1,\,2\qquad \tag{40}\\ \psi _{l,3}=&\frac {E\left [{ {\left ({{u_{l} -\mu _{u_{l}}} }\right)^{3}} }\right]}{\left ({{\sigma _{u_{l}}} }\right)^{3}}\tag{41}\end{align*} View SourceRight-click on figure for MathML and additional features. We have used $E$ as the expectation operator in our notation. After calculating the objective function value for each $2\rho $ points and thus having $2\rho $ number of $S_{i}$ , the characteristics of S can be calculated as below:\begin{align*} \sigma=&\sqrt {var(S_{i})} =\sqrt {E(S_{i}^{2})-\left [{ {E(S_{i})} }\right]^{2}} \\ E(S_{i}^{j})=&\sum \limits _{l=1}^\rho {\sum \limits _{k=1}^{2} {(\omega _{l,k} \times S_{i}^{j}(\mu _{u1},\mu _{u2},\ldots,u_{l,k},\ldots,\mu _{u\rho }))}} \\{}\tag{42}\end{align*} View SourceRight-click on figure for MathML and additional features. The way that each $2\rho $ points affect the output value is according to their weighting factors which are calculated as in (43). The weighting factor of the right point in the PDF is shown by $\omega _{l,1}$ and the left point is given by $\omega _{l,2}$ as follows:\begin{align*} \omega _{l,1}=&-\frac {1}{\rho }\frac {\xi _{l,2}}{(\xi _{l,1} -\xi _{l,2})} \\ \omega _{l,1}=&+\frac {1}{\rho }\frac {\xi _{l,1}}{(\xi _{l,1} -\xi _{l,2})}\tag{43}\end{align*} View SourceRight-click on figure for MathML and additional features. Fig. 4 shows the illustration of the $2\rho $ -PEM in the stochastic framework

FIGURE 4. - The theoretical diagram of $2\rho $
 PEM.
FIGURE 4.

The theoretical diagram of $2\rho $ PEM.

B. CCS Optimization

CCS is a heuristic algorithm which is inspired from the crows’ life style in their folks and as they watch other birds for stealing their food in the hidden places. This simple but practical idea has become the core concept for the creation of an effective optimization tool. On the other hand, a bird with the thievery background well knows how to avoid getting the next victim by fooling the crows purchasing her. Moreover, they know well how to hide the food far from the attackers. Therefore, CCS is constructed based on four core ideas [38]:

  • Crows have a social life in some flocks

  • Any crow can remember food location where it is hidden in

  • Crows can find food through a chase and follow up process

  • Crows can escape from the chasing bird with some chances CCS starts by generating an initial random population, each representing a possible solution for the problem. After calculating the objective function, the most successful crow is saved as $G_{best}$ and the other members are updated using the above rules [39]:\begin{align*}&\hspace {-1pc}X_{i}^{Iter+1} \\=&X_{i}^{Iter} +r_{i} \times cf_{i}^{Iter} \times (\alpha _{j}^{Iter} -X_{i}^{Iter})\quad i=1,\ldots,N \\{}\tag{44}\end{align*} View SourceRight-click on figure for MathML and additional features.

where $\alpha _{j}^{Iter} $ is the food location that is the best situation that a crow could achieve so far. In (44), $cf_{i}^{Iter} $ is the crow flight length, which helps to adjust the local or global search tendency of the algorithm. Therefore, low values would motivate the CCS to look for the optimal solution in the near domain and large values would motivate the CCS to look for the optimal solution in the far distances. One of the rules in the crow algorithm mentions that a bird which is aware of a chasing crow would try to fool it and does not show its nest. The chance of knowing this is simulated by a probability constant $\Delta $ . Therefore, the position of a crow may be updated if she can escape from the chasing birds as below:\begin{align*}&\hspace {-1.5pc}X_{i}^{Iter+1} \\=&\begin{cases} X_{i}^{Iter} +r_{i} \times fl_{i}^{Iter} \times (M_{j}^{Iter} -X_{i}^{Iter}){;}&r_{j} \ge \Delta _{j}^{Iter} \\ X^{rand}{;}&r_{j} \prec \Delta _{j}^{Iter} \\ \end{cases}\tag{45}\end{align*} View SourceRight-click on figure for MathML and additional features.

The $\Delta $ is a significant parameter, which can maintain the randomness of the algorithm. A large value of $\Delta $ simulates searches that are more random or the global search.

Although the CCS is an appropriate algorithm for solving the nonlinear problems, it suffers from some issues. The first issue is about the cf value, which can affect directly the local and global search ability of the algorithm. Technically, it is more preferred to have global search at the beginning of the optimization to better analyze the search domain and later make local search around the available optimal solutions. Therefore, an experimental formulation is developed for cf to update its value and meet the above preferences.\begin{equation*} cf_{i}^{Iter+1} =cf_{i}^{0} \times e^{-Iter}\tag{46}\end{equation*} View SourceRight-click on figure for MathML and additional features. where $cf_{i}^{0} $ is the initial cf value.

The second issue in the CCS is the constant parameter $\Delta $ . This parameter can also affect the algorithm performance and is assumed constant all the time. To overcome this issue, a dynamic formulation has been devised to adjust its optimal value dynamically:\begin{equation*} \Delta _{i}^{Iter+1} =\Delta _{i}^{0} \left ({{1-\frac {1}{e^{\partial \times Iter}}} }\right)\tag{47}\end{equation*} View SourceRight-click on figure for MathML and additional features. where $\partial $ is a constant value, and $\Delta _{i}^{0} $ is the initial value of $\Delta $ .

In order to increase the diversity of the crow population and thus enhance the chance of a uniform search, the crossover and mutation operators are borrowed from genetic algorithm and deployed as below. Three different test solutions are produced as below:\begin{align*} x_{Test1,j}=&\begin{cases} x_{i,j} {;}&\delta _{2} \le \delta _{3} \\ x_{Gbest,j} {;}&\textrm {else} \\ \end{cases}\tag{48}\\ X_{i,j}=&[x_{i,1},x_{i,2},\ldots,x_{i,d}]_{1\times d} \\ x_{Test2,j}=&\begin{cases} x_{i,j} {;}&\delta _{3} \le \delta _{4} \\ x_{j} {;}&\textrm {else} \\ \end{cases}\tag{49}\\ X_{Test,3}=&G_{best} +\delta _{4} \times (G_{best} -X_{i})\tag{50}\end{align*} View SourceRight-click on figure for MathML and additional features.

The most fitting solution would replace the $X_{i}$ crow in the population.

SECTION V.

Simulation Results

In this section, an interconnected microgrid test system is simulated and analyzed to check the proposed model quality and performance. The test system has seventy-three switches, among which sixty-eight are sectionalizing switches and five are tie switches. Fig. 5 shows the diagram of the test system [41]. There are four microgrids in the test system, which are connected to each other through the red dotted lines. The data characteristics of the interconnected microgrid are provided in Table 1. Here, the symbols D and ND refer to the dispatchable and non-dispatchable units, respectively. The only non-dispatchables unit is wind turbine which exists in the microgrid 1, 3 and 4. Table 2 shows the features of the storage unit located at bus 39. The battery storage is assumed to keep either charging/discharging for five successive hours. The shiftable and curtailable loads are shown in Table 3. It is clear that these loads can help much in mitigating the negative effect of the peak loads.

TABLE 1 Characteristics of DGs
Table 1- Characteristics of DGs
TABLE 2 Energy Storage Characteristics
Table 2- Energy Storage Characteristics
TABLE 3 Adjustable Loads Characteristics
Table 3- Adjustable Loads Characteristics
FIGURE 5. - One-line diagram of the test networked MG system.
FIGURE 5.

One-line diagram of the test networked MG system.

Figures 6 to 8 show the hourly forecast values of the electrical load factor, wind turbine output power and market price, respectively. In order to have a fair comparison, three different scenarios are simulated here:

  • Scenario I: Considering only the economic objective and ignoring the social preferences (AENS)

  • Scenario II: Considering only the social objective and ignoring the economic preferences (Cost)

  • Scenario III: Considering the social-economic objectives simultaneously.

FIGURE 6. - Hourly forecast value of the electrical load factor.
FIGURE 6.

Hourly forecast value of the electrical load factor.

FIGURE 7. - Hourly forecast value of the wind turbine output power.
FIGURE 7.

Hourly forecast value of the wind turbine output power.

FIGURE 8. - Hourly forecast value of the market price.
FIGURE 8.

Hourly forecast value of the market price.

The results of simulations are discussed in the rest.

Scenario I: This scenario only optimizes the cost function and thus has a special focus on the economic preferences regardless of the social concerns. Table 4 shows the optimal scheduling of the adjustable loads for 24 hours. As it can be seen from the results, the scheduling tendency is toward more distributed demand supply, which can mitigate the peak-load hours and avoid feeder congestion. The optimal scheduling of the units in the microgrids is shown in Table 5. According to these results, the interconnected microgrid is more interested in making use of the economic units with lower marginal costs to minimize the operation costs. In contrast, the interconnected microgrid tries to turn off units with high marginal cost and mitigate the total operating cost at the light-load hours. The power units 1 and 6 with the lowest marginal cost have been fully engaged in the power supply at all hours of the day. On the next step, units 9 and 11 have committed the most to the optimal scheduling program from the cost perspective. Unit number 12 is completely shut down due to the high cost values. The energy storage is charging at the light load hours to discharge at the peak hours and reduce the high cost by more internal power supply. The total microgrid operation cost is $21,714 and AENS is 1.452 kWh/customer.yr.

TABLE 4 Optimal Scheduling of Adjustable Loads in Scenario I and II
Table 4- Optimal Scheduling of Adjustable Loads in Scenario I and II
TABLE 5 Optimal Scheduling of Dispatchable Units in the Interconnected Microgrid and scenario I
Table 5- Optimal Scheduling of Dispatchable Units in the Interconnected Microgrid and scenario I

Scenario II: This scenario optimizes the social target based on the AENS to enhance the power quality services to the network consumers. Applying the social preferences reduces the attention to the operation cost and enhances the amount of energy which is expected to be supplied to the end users. Table 6 shows the status of the units in the second scenario. According to these results, the power dispatch is more shifted to units with closer distance to the end users and thus it is seen that expensive unis like 8 and 12 are attending the microgrid power generation at some hours. Therefore, one can see brighter role for microgrids 3 and 4 in this scenario rather the previous scenario. On the other hand, units 6 and 9 with lower marginal cost are less deployed for power generation compared to the previous scenario. This mainly roots in the nature of the social objective function which depends on the failure rate of the components rather than the cost of units. The dispatchable units’ scheduling is the same as unit 1 as shown in Table 4. The optimal values of the AENS and cost functions are 1.324 kWh/customer.yr and $22,835, respectively.

TABLE 6 Optimal Scheduling of Dispatchable Units in the Interconnected Microgrid in Scenario II
Table 6- Optimal Scheduling of Dispatchable Units in the Interconnected Microgrid in Scenario II

Scenario III: In this scenario, the interconnected microgrid is operated in a multi-objective framework using the fuzzy min-max approach to progress the social-economic objectives. The conflicting behavior of the social and economic targets could be seen from the previous scenarios. By the use of this min-max framework, the optimization framework tries to optimize both objectives in a way that both are benefited during the power scheduling plan. Table 7 shows the status of the adjustable loads in this scenario. It can be seen that adjustable loads D1 and D3 have some changes in their scheduling but other loads have remained unchanged. This is mainly due to the social-economic framework, which has affected the power generation pattern of some DG units in the system. Table 8 shows the optimal scheduling of the DGs in a multi-objective social-economic framework. According to these results, it can be seen that all units have committed in the scheduling program with a notable change in On/OFF hours for DGs and charging/discharging hours for the DES. The total operation cost and AENS are $21,935 and 1.352 kWh/customer.yr, respectively, which proves a suitable trade-off between the previous scenarios.

TABLE 7 Optimal Scheduling of Adjustable Loads in Scenario III
Table 7- Optimal Scheduling of Adjustable Loads in Scenario III
TABLE 8 Optimal Scheduling of Dispatchable Units in the Interconnected Microgrid and Scenario III
Table 8- Optimal Scheduling of Dispatchable Units in the Interconnected Microgrid and Scenario III

The interconnected microgrid topology after the reconfiguration in scenario III is shown in Table 9. The role of reconfiguration has been considered in all cases, but the results are only shown in this scenario to avoid repetition. In this table, only active switches, switches which have experienced an operation, are shown. Therefore, other switches that are not shown here have remained unchanged. The values 0 and 1 are used here to show the closed and open status, respectively. As it can be seen from this table, all tie switches are operating actively to alter the microgrid topology and enhance the optimal values of the objective functions. Through the optimal switching, the total operation cost has reduced from $22,716 to $21,935 (3.56% reduction) and the AENS has reduced from 1.4115 to 1.352 kWh/customer.yr (4.40% reduction). Such notable values advocate the high effect of the reconfiguration on the social-economic framework.

TABLE 9 Switching Status During the Reconfiguration in Scenario III
Table 9- Switching Status During the Reconfiguration in Scenario III

In order to check the stochastic framework performance for handling the uncertainty effects, Figs. 9 and 10 show the comparative plot of the cost and AENS for the last scenario. According to these results, the optimal values of the cost and AENS have increased when incorporating the uncertainty effects. This shows the necessity of the stochastic programming and that ignoring the uncertainty can result in unrealistic scheduling and operation.

FIGURE 9. - Uncertainty effect on the total operation cost in scenario III using the proposed stochastic framework.
FIGURE 9.

Uncertainty effect on the total operation cost in scenario III using the proposed stochastic framework.

FIGURE 10. - Uncertainty effect on the AENS in scenario III using the proposed stochastic framework.
FIGURE 10.

Uncertainty effect on the AENS in scenario III using the proposed stochastic framework.

In order to better test the algorithm performance, Table 10 is considered. In this table, the total operation cost in scenario III is solved for 20 trails using the proposed stochastic framework and the results of the best solution, the worst solution, standard deviation and CPU time are provided. To have better comparison, the results of the genetic algorithm (GA) [42], [43] particle swarm optimization (PSO) [44], [45] and original CCS algorithm are provided in the table. According to these results, the proposed modified CCS could get to a more optimal solution which is not attained by any other algorithms. This shows that GA, PSO and original CCS have trapped in the local optima. Moreover, the low standard deviation value and CPU time show the high robustness of the algorithm with much lower computational burden.

TABLE 10 Comparing the Performance of the Proposed Algorithm With Original CCS, GA and PSO in the Stochastic Framework for Scenario III
Table 10- Comparing the Performance of the Proposed Algorithm With Original CCS, GA and PSO in the Stochastic Framework for Scenario III

Finally, Table 11 shows the total processing time of the secured blockchain system for data transaction in all scenarios. Moreover, the computational burden on the central control unit for optimal scheduling is provided comparatively. According to these results, the proposed blockchain based secured framework requires very low computational processing time, which is quite compatible with the hourly operation and scheduling problem. The higher data transferring time in the second scenario compared to the first scenario is due to the higher amount of data to be exchanged when computing the social target, i.e. AENS (failure rate and repair rate of all components). The amount of data required to be transferred for the social-economic operation of the interconnected microgrid is the most, which is reflected on $T_{chain}$ .

TABLE 11 Total Processing Time of Blockchain in the Interconnected Microgrid
Table 11- Total Processing Time of Blockchain in the Interconnected Microgrid

The negligence of blockchain can affect the entire security of the system ranging from the generation to the consumption components. Therefore, the way that energy management system is affected differs depending on the cyber-attack type and model. Here, we consider one type of cyber-attack, namely false data injection attack, which can compromise the system data in the lack of blockchain technology. The cyber hacking point is the system load factor at hours 15 and 16 with 20% increase by the hacker in the small steps of 10%. Therefore, the microgrid would tend to generate more power at these hours while there is not any need to make such an increase in the power generation. The total cost of the microgrid for these hours is shown in Fig. 11. It is clear that the system has faced an unexpected increase in the operation cost when there is no need to the extra power generation. This is due to the fake increase in the load power factor at two successive hours, which has resulted in extra power generation in the relevant hours as well as increasing the cost.

FIGURE 11. - Effect of blockchain on the system operation when cyber-attack on the system.
FIGURE 11.

Effect of blockchain on the system operation when cyber-attack on the system.

SECTION VI.

Conclusion

Secured optimal scheduling and operation of the interconnected microgrids is a significant and challenging problem for the operators of the power system. This article proposed a novel secured blockchain based stochastic framework for social-economic operation of the interconnected microgrids. To this end, a comprehensive model incorporating the network topology, dispatchable and non-dispatchable units (wind turbine), DESs, tie and sectionalizing switches and adjustable loads (shiftable and curtailable) is proposed. Three different scenarios are defined and analyzed to assess the different aspects of the model. The results show that a social-economic framework can provide an appropriate trade-off between these two conflicting targets. It was seen that the proposed stochastic method could optimize the AENS and the total operation cost effectively. From the switching point of view, the remotely controlled switches of tie and sectionalizing could enhance the AENS and cost by 3.56% and 4.40% reduction, respectively. The proposed blockchain based framework requires very limited computational processing time, which is quite suitable for the hourly scheduling program of the interconnected microgrids. From the uncertainty point of view, ignoring the forecast error in the random parameters of the problem can result in unrealistic values, far from the practical values of the cost and AENS objectives. The proposed problem formulation in this paper is constructed based on a centralized structure and thus is not compatible with the distributed structures. All formulations and objective functions are only applicable for the traditional centralized systems. The authors would address this issue in the future works.

ACKNOWLEDGMENT

The authors gratefully acknowledge the approval and the support of this research study by Taif University Researchers Supporting Project number (TURSP-2020/34), Taif University, Taif, Saudi Arabia.

References

References is not available for this document.