Open Access
This article is

- freely available
- re-usable

*Future Internet*
**2019**,
*11*(11),
223;
https://doi.org/10.3390/fi11110223

Article

Operation Scheduling Optimization for Microgrids Considering Coordination of Their Components

^{1}

Department of Electrical, Electronic and Computer Engineering, Gifu University, Gifu 501-1193, Japan

^{2}

PTTEP International Limited (Yangon Branch), Yangon 11041, Myanmar

^{3}

Hanoi University of Science and Technology, Hanoi 11615, Vietnam

^{4}

Central Research Institute of Electric Power Industry, Yokosuka 240-0196, Japan

^{*}

Author to whom correspondence should be addressed.

Received: 5 October 2019 / Accepted: 21 October 2019 / Published: 24 October 2019

## Abstract

**:**

Operation scheduling is one of the most practical optimization problems to efficiently manage the electric power supply and demand in microgrids. Although various microgrid-related techniques have been developed, there has been no established solution to the problem until now. This is because the formulated problem becomes a complicated mixed-integer programming problem having multiple optimization variables. The authors present a framework for this problem and its effective solution to obtain an operation schedule of the microgrid components considering their coordination. In the framework, trading electricity with traditional main power grids is included in the optimization target, and uncertainty originating from variable renewable energy sources is considered. In the solution, the formulated problem is reformulated to reduce the dimensions of its solution space, and, as a result, a combined algorithm of binary particle swarm optimization and quadratic programming is applicable. Through numerical simulations and discussions of their results, the validity of the authors’ proposal is verified.

Keywords:

microgrids; power supply-demand management; unit commitment (UC); economic load dispatch (ELD); binary particle swarm optimization (BPSO); quadratic programming (QP); uncertainty## 1. Introduction

Microgrids are used in electric power grids to manage a localized group of power sources and loads that can operate in both connecting and disconnecting to the traditional main power grids [1,2,3]. In association with the growth of renewable energy-based generation systems (REGs), this concept has been attracting attention as one of the most realistic sustainable power grids in terms of efficient use of REGs. Actually, microgrids bring the possibility of grid independence to consumers by improving/keeping the efficiency, reliability, and quality in power supply and demand management in which components of the microgrids can be operated appropriately. Since the early 2000s, extensive research and development has been in progress to figure out efficient solutions for microgrid operations [4]. Furthermore, demonstrative field tests for microgrids have been actively promoted around the world [5,6,7].

There are two types of microgrid components: controllable and uncontrollable components. The former includes controllable generation systems (CGs), energy storage systems (ESSs), and controllable loads (CLs). A part of the controllable components (e.g., electric vehicles (EVs)), change their attributes depending on the judgement of whether the main grids accept reverse power flow from them or not (accepted: ESS, not accepted: CL). On the other hand, electrical loads in consumer-side and variable REGs (VREGs) (e.g., solar photovoltaic generation systems (PVs) and wind power generation systems (WTs)) are in the latter. Since the VREGs, whose outputs strongly depend on the weather condition, take a significant portion of electrical power sources of microgrids, it becomes very difficult to manage the power supply and demand with few adverse effects on the main power grids [1,2,3,4,5,6,7,8,9]. If microgrid operators cannot maintain the balance of supply and demand, the resulting electricity surplus/shortage must be compensated by trading electricity with an extra payment to the main grids, called imbalance penalty. These are reasons why an operation scheduling method for the microgrids is crucially required.

Focusing on operation of the CGs, the operation scheduling problem in the microgrids is formulated as a mixed-integer programming (MIP) problem that combines optimization problems of the unit commitment (UC) and the economic load dispatch (ELD). This problem is essentially the same as scheduling problems for thermal power generation units [10,11,12,13,14,15,16], and, therefore, their solution algorithms are applicable. Branch-and-bound (BB) [17,18] and dynamic programming (DP) [19,20] have been traditionally utilized in thermal power generation scheduling. Meanwhile, intelligent optimization-based techniques have also been involved in solving the problems. Evolutionary programming (EP) [21], genetic algorithms (GAs) [22], simulated annealing (SA) [23,24], tabu search (TS) [25,26], and particle swarm optimization (PSO) [27,28] have been employed in them. Although various traditional and intelligent algorithms have been applied, there has been no established solution until now. Moreover, practical operation scheduling in the microgrids becomes more complicated. This is because installation of the other controllable components brings new optimization variables representing charging/discharging operations of the ESSs and charging operation of the CLs, and their influences cannot be neglected from the microgrid operations. That is, it is necessary to determine the states of all optimization variables simultaneously from the viewpoint of efficient operation of the microgrids [3,26,27,29,30,31,32,33].

Under these circumstances, first, the authors formulate a problem framework to obtain a coordinated operation schedule of the microgrid components. In the problem framework, trading electricity with the main grids is introduced in the optimization target to provide operational alternatives for the microgrid operators. To treat VREG-originated uncertainty, a variation range of the uncertain variables is defined, and the solution candidates (operation schedules) are evaluated using the expected value of operation cost. Next, the formulated problem is reformulated by utilizing its characteristics with the goal to reduce the dimensions of the solution space. As a result of problem reformulation, a combined algorithm of binary particle swarm optimization (BPSO) and quadratic programming (QP) can be applied in the solution. Unlike intelligent algorithms whose solutions much depend on choices of the initial solution and random number sequences [21,22,23,24,25,26,27,28,33], the proposed solution can restrain its dependency and, thus, provide us with more stable solutions. Finally, validity of the problem framework and usefulness of its solution method are verified through numerical simulations and a discussion of their results.

## 2. Problem Framework

#### 2.1. Overview of Target Problem

Figure 1 illustrates a typical microgrid model consisting of (1) CGs, (2) ESSs, (3) CLs, (4) electrical loads, and (5) VREGs. As already described, components 1–3 are controllable, and components 4 and 5 are uncontrollable. Detailed definitions of the variables are shown in Section 2.2. The operation scheduling problem in the microgrids is generally formulated to determine a set of start-up/shut-down timing and output shares of component 1, charging/discharging states of component 2, and charging states of component 3 in response to the forecasted values of net load on each time interval [26,27,30,33]. The net load is calculated by the sum of the forecasted values of electricity consumption of component 4 and output of component 5.

If the microgrid operators cannot manage the power supply and demand appropriately, the resulting electricity surplus/shortage must be eliminated by trading electricity with the main power grids. In this case, an extra payment is required for compensating the imbalance in the power supply and demand as an imbalance penalty. However, electricity trades in the operation scheduling stage have the possibility to reduce complexity in the power supply and demand balancing operations as compared to adjusting operations of the controllable components. In other words, an appropriate operation schedule considering the electricity trade often provides economic benefits for the microgrid operators by improving/keeping the reliability and quality of the power supply. For these reasons, the authors regard electricity trading as an additional controllable component, although components in the main grids cannot be controlled by the microgrid operators.

#### 2.2. Formulation of Target Problem

As described in Section 2.1, the operation scheduling problem has five optimization variables defined as
where $t$ is time ($t=1,\cdots ,T$); $i$ is the number of CGs ($i=1,\cdots ,NG$); ${u}_{i,t}$ is the ON/OFF state variable of CGs (ON: $1$, OFF: $0$), which is an element of vectors ${u}_{t}$ and $u$; ${g}_{i,t}$ is the output of CGs, which is an element of vectors ${g}_{t}$ and $g$; ${G}_{i}^{max}$ and ${G}_{i}^{min}$ are the maximum and the minimum outputs of CGs; $j$ is the number of ESSs ($j=1,\cdots ,NS$); ${s}_{j,t}$ is the output of ESSs and an element of vectors ${s}_{t}$ and $s$; ${S}_{j}^{max}$ and ${S}_{j}^{min}$ are the maximum and the minimum capable outputs of ESSs (${S}_{j}^{min}<0<{S}_{j}^{max}$); $T{S}_{j}$ is the set of available time that ESSs are available; $k$ is the number of CLs ($k=1,\cdots ,NV$); ${v}_{k,t}$ is the consumption of CLs and an element of vectors ${v}_{t}$ and $v$; ${V}_{k}^{min}$ is the maximum capable consumption of CLs (${V}_{k}^{min}<0$); $T{V}_{k}$ is the set of available time of CLs; and ${e}_{t}$ is the trading electricity, which is an element of vector $e$.

$${u}_{i,t}\in \left\{0,1\right\},\text{}\mathrm{for}\text{}\forall i,\text{}\forall t,$$

$${g}_{i,t}\in \left[{G}_{i}^{min},{G}_{i}^{max}\right],\text{}\mathrm{for}\text{}\forall i,\text{}\forall t,$$

$${s}_{j,t}\in \left[{S}_{j}^{min},{S}_{j}^{max}\right],\text{}\mathrm{for}\text{}\forall j,\text{}t\in T{S}_{j},$$

$${v}_{k,t}\in \left[{V}_{k}^{min},0\right],\text{}\mathrm{for}\text{}\forall k,\text{}t\in T{V}_{k},$$

$${e}_{t}\in \mathbb{R},\text{}\mathrm{for}\text{}\forall t,$$

In general, the operation scheduling problem requires the assumption that forecasted values of the electricity consumption and the VREG outputs are given no matter whether they include uncertainty or not. With a view to treat the uncertainty, the authors express the variable representing the changeable net load with
where ${d}_{t}^{max}$ and ${d}_{t}^{min}$ are the maximum and the minimum assumable values of the net load, and they can be set by referring to the historical record.

$${d}_{t}\in \left[{d}_{t}^{min},{d}_{t}^{max}\right],\text{}\mathrm{for}\text{}\forall t,$$

Fuel costs of the CGs are normally approximated as quadratic functions by means of their outputs and, thus, can be minimized by controlling the CG outputs as steadily as possible. As opposed to the CGs, the ESSs consume no fuel in their operations directly, and this makes it challenging to evaluate their operating cost. In this paper, the objective function is represented as
subject to
where $C\left({u}_{t},{g}_{t}\right)$ is the operation cost of CGs; ${M}_{t}$ is the price of electricity trade; ${I}_{t}$ is the price of the imbalance penalty; $e{\prime}_{t}$ is the imbalance of electricity; $f\left({\widehat{d}}_{t}\right)$ is the probability density function for the forecasted net load, ${\widehat{d}}_{t}$; ${A}_{i}$, ${B}_{i}$, and ${C}_{i}$ are the coefficients of fuel cost of CGs; and $S{C}_{i}$ is the start-up cost of CGs.

$$\underset{u,g,s,v,e}{\mathrm{min}}{{\displaystyle \sum}}_{t=1}^{T}{{\displaystyle \int}}_{{d}_{t}^{min}}^{{d}_{t}^{max}}\left\{{C}_{t}\left({u}_{t},{g}_{t}\right)+{M}_{t}{e}_{t}+{I}_{t}e{\prime}_{t}\right\}f\left({\widehat{d}}_{t}\right)\mathrm{d}{d}_{t},$$

$${C}_{t}\left({u}_{t},{g}_{t}\right)={{\displaystyle \sum}}_{i=1}^{NG}\left\{\left({A}_{i}+{B}_{i}{g}_{i,t}+{C}_{i}{g}_{i,t}{}^{2}\right)+S{C}_{i}\left(1-{u}_{i,t-1}\right)\right\}{u}_{i,t},$$

Besides, the microgrid must satisfy the below conditions.

- Balance of power supply and demand$${d}_{t}={{\displaystyle \sum}}_{i=1}^{NG}{g}_{i,t}{u}_{i,t}+{{\displaystyle \sum}}_{j=1}^{NS}{s}_{j,t}+{{\displaystyle \sum}}_{k=1}^{NV}{v}_{k,t}+\left({e}_{t}+e{\prime}_{t}\right),\text{}\mathrm{for}\text{}\forall t.$$
- State duration for CGs$$\mathrm{If}\text{}0{u}_{i,t}^{on}MU{T}_{i}\text{}\mathrm{then}\text{}{u}_{i,t}=1;\text{}\mathrm{If}\text{}0{u}_{i,t}^{off}MD{T}_{i}\text{}\mathrm{then}\text{}{u}_{i,t}=0,\text{}\mathrm{for}\text{}\forall i,\text{}\forall t,$$
- Ramp rate for CGs$$\Delta {G}_{i}^{down}\le {g}_{i,t}-{g}_{i,t-1}\le \Delta {G}_{i}^{up},\text{}\mathrm{for}\text{}\forall i,\text{}\forall t,$$
- Maximum and minimum outputs for CGs$$\begin{array}{c}{g}_{i,t}^{min}\le {g}_{i,t}\le {g}_{i,t}^{max},\text{}\mathrm{for}\text{}\forall i,\text{}\forall t,\\ ({g}_{i,t}^{max}=\mathrm{min}\left({G}_{i}^{max},{g}_{i,t-1}+\Delta {G}_{i}^{up}\right);\text{}{g}_{i,t}^{min}=\mathrm{max}\left({G}_{i}^{min},{g}_{i,t-1}+\Delta {G}_{i}^{down}\right)),\end{array}$$
- State for ESSs$$\begin{array}{c}{Q}_{j}^{min}\le {q}_{j,t}\le {Q}_{j}^{max},\text{}\mathrm{for}\text{}\forall j,\text{}t\in T{S}_{j},\\ (\mathrm{If}\text{}{s}_{j,t}\le 0\text{}\mathrm{then}\text{}{q}_{j,t}={q}_{j,t-1}-{\eta}_{j}{s}_{j,t};\text{}\mathrm{If}\text{}{s}_{j,t}0\text{}\mathrm{then}\text{}{q}_{j,t-1}-\frac{1}{{\eta}_{j}}{s}_{j,t}),\end{array}$$
- Maximum and minimum outputs for ESSs$$\begin{array}{c}{s}_{j,t}^{min}\le {s}_{j,t}\le {s}_{j,t}^{max},\text{}\mathrm{for}\text{}\forall j,\text{}t\in T{S}_{j},\\ ({s}_{j,t}^{max}=\mathrm{min}\left({S}_{j}^{max},{q}_{j,t-1}-{Q}_{j}^{min}\right);\text{}{s}_{j,t}^{min}=\mathrm{max}\left({S}_{j}^{min},{q}_{j,t-1}-{Q}_{j}^{max}\right)),\end{array}$$
- State for CLs$${P}_{k}^{min}\le {p}_{k,t}\le {P}_{k}^{max},\text{}\mathrm{for}\text{}\forall k,\text{}t\in T{V}_{k},\text{}({p}_{k,t}={p}_{k,t-1}-{\xi}_{k}{v}_{k,t}),$$
- Maximum consumption for CLs$${v}_{k,t}^{min}\le {v}_{k,t}\le 0,\text{}\mathrm{for}\text{}\forall k,\text{}t\in T{V}_{k},\text{}({v}_{k,t}^{min}=\mathrm{max}\left({V}_{k}^{min},{p}_{k,t-1}-{P}_{k}^{max}\right)),$$

In summary, the target optimization problem is to determine the operation schedule, $\left(u,g,s,v,e\right)$, which minimizes the objective function (7) under constraints (9)–(16). Here, electricity trading is classified into ${e}_{t}$ and $e{\prime}_{t}$ for calculating the expected values of the trading cost and the imbalance penalty individually. By using (9), (12), (14), and (16), we can calculate the expected imbalance electricity, $e{\prime}_{t}$, as

$$\{\begin{array}{c}\text{If}{d}_{t}-{e}_{t}{{\displaystyle \sum}}_{i=1}^{NG}{g}_{i,t}^{min}{u}_{i.t}+{{\displaystyle \sum}}_{j=1}^{NS}{s}_{j,t}^{min}+{{\displaystyle \sum}}_{k=1}^{NV}{v}_{k,t}^{min}\text{then}\\ {{e}^{\prime}}_{t}={d}_{t}-{e}_{t}-\left({{\displaystyle \sum}}_{i=1}^{NG}{g}_{i,t}^{min}{u}_{i.t}+{{\displaystyle \sum}}_{j=1}^{NS}{s}_{j,t}^{min}+{{\displaystyle \sum}}_{k=1}^{NV}{v}_{k,t}^{min}\right)\\ \text{If}{d}_{t}-{e}_{t}{{\displaystyle \sum}}_{i=1}^{NG}{g}_{i,t}^{max}{u}_{i.t}+{{\displaystyle \sum}}_{j=1}^{NS}{s}_{j,t}^{max}\text{then}\\ e{\prime}_{t}={d}_{t}-{e}_{t}-\left({{\displaystyle \sum}}_{i=1}^{NG}{g}_{i,t}^{max}{u}_{i.t}+{{\displaystyle \sum}}_{j=1}^{NS}{s}_{j,t}^{max}\right)\text{}\\ \text{Else}e{\prime}_{t}=0\end{array}.$$

The reserve margin is automatically secured by (7) and (17) (depending on the expected operational cost in the microgrid).

## 3. Solution Method

#### 3.1. Overview of Solution Method

Since every controllable component has a certain influence on the microgrid operations, it is important to determine the states of all optimization variables considering their relationships. However, this problem, as is well known, becomes a complicated MIP problem; therefore, it is hard to solve exactly. Under the circumstances, the application of intelligent optimization algorithms has been regarded as a realistic alternative. Typical algorithms are GA [22], SA [23,24], TS [25,26], and PSO [27,28,33]. In this paper, a BPSO was selected to ease the difficulty of the problems brought by the UC. The ELD problem for each UC candidate, which is created by the paradigm of searching in the BPSO, is solved by a QP solver.

#### 3.2. Application of Quadratic Programming

As defined in (1)–(5), the operation scheduling problem has both discrete and continuous optimization variables. The former is $u$, and the latter consists of $g$, $s$, $v$ and $e$. With a view to improve compatibility between the target problem and its solution method, the authors redefined the optimization variables as
where $h$ is the number of controllable components ($h=1,\cdots ,NH$; $NH=NG+NS+NV+1$); $u{\prime}_{h,t}$ is the ON/OFF state variable of controllable components (ON: $1$, OFF: $0$), which is an element of vector $u{\prime}_{h}$ and $u\prime $; $g{\prime}_{h,t}$ is the output of controllable components, which is an element of vector $g{\prime}_{t}$ and $g$’; and ${G}_{h}^{max}$ and ${G}_{h}^{min}$ are the maximum and the minimum outputs of controllable components.

$$u{\prime}_{h,t}\in \left\{0,1\right\},\text{}\mathrm{for}\text{}\forall h,\text{}\forall t,$$

$$g{\prime}_{h,t}\in \left[{G}_{h}^{min},{G}_{h}^{max}\right],\text{}\mathrm{for}\text{}\forall h,\text{}\forall t,$$

In (18) and (19), all controllable components are aggregated. The $\left(NG+1\right)$-th to the $\left(NG+NS\right)$-th components are the ESSs, the $\left(NG+NS+1\right)$-th to the $\left(NH-1\right)$-th components mean the CLs and the $NH$-th components represent the trading of electricity. By (7), the sets of coefficients, $\left({A}_{h},{B}_{h},\text{}{C}_{h}\right)$, for both the ESS and the CL ($NG<h<NH$) are $\left(0,\text{}0,\text{}0\right)$, and for the trading electricity ($h=NH$) they become $\left(0,\text{}M,\text{}0\right)$. $S{C}_{h}$ ($NG<h$) can be simply set to $0$ because there are no start-up costs in each component.

Now, if we fix the states of controllable components on each time, $u{\text{'}}_{h,t}$, the target problem can be regarded as a special type of optimization problem that has a quadratic objective function and several variables subject to linear constraints, called the quadratic optimization problem. In this case, QP solvers can be applied; therefore, there is no need to concern the difficulty in determining continuous variables after creating $u\prime $. In other words, the dimensions of the solution space are reduced from $\left(u,g,s,v,e\right)$ to $u\prime $, and as a result, we can expect to improve the searching ability of the applied intelligent algorithms.

#### 3.3. Application of Binary Particle Swarm Optimization

PSO is a population-based, stochastic computational algorithm [34] that optimizes a problem by iteratively trying to improve a solution candidate for a given measure of quality, called fitness function. An initial set of randomly created solutions, called the initial swarm, propagates in the design of the search space towards the optimal solution over a number of iterations, called moves, based on the large amount of information that is fitted and shared by all members of the swarm. Each particle $x$ has a position, ${y}_{x}^{m}$, and a velocity, ${z}_{x}^{m}$, in iteration $m$ ($m=1,2,\dots ,M$) and flies through the search space to find the best positions and velocities. The inertia weight factor, $\omega $, controls the iteration size. With regards to the proposed problem formulation, the below equations describe the solution update mechanism.
where ${\theta}_{1}$ and ${\theta}_{2}$ are the cognitive factors that represent the trust for each particle and the swarm; ${r}_{1}$ and ${r}_{2}$ are the random numbers in the range, $\left[0,1\right]$; ${y}_{x}^{*}$ is the personal best for particle $x$, called pbest; $\underset{x\u03f5X}{\mathrm{min}}{y}_{x}^{*}$ is the best in the swarm, called gbest; and $X$ is the set of all particles.

$${y}_{x}^{m}=u\prime ,$$

$${y}_{x}^{m+1}={y}_{x}^{m}+{z}_{x}^{m+1},$$

$${z}_{x}^{m+1}=\omega {z}_{x}^{m}+{\theta}_{1}{r}_{1}\left[{y}_{x}^{*}-{y}_{x}^{m}\right]+{\theta}_{2}{r}_{2}\left[\left(\underset{x\u03f5X}{\mathrm{min}}{y}_{x}^{*}\right)-{y}_{x}^{m}\right],$$

Although PSO has succeeded in many continuous problems, it still has some difficulties in treating discrete optimization problems [35]. To modify ON/OFF states of the controllable components, $u{\prime}_{h,t}$, the PSO is expanded as a BPSO, which introduces the following sigmoid function in part of the PSO algorithm.

$$\mathrm{If}\text{}0.5\frac{1}{1+{e}^{-{u}_{h,t}^{\prime}}}\text{}\mathrm{then}\text{}u{\prime}_{h,t}=1,\text{}\mathrm{else}\text{}u{\prime}_{h,t}=0,\text{}\mathrm{for}\text{}hNG,\text{}\forall t.$$

Here, $u{\prime}_{h,t}$ for the ESSs and the CLs ($NG<h<NH-1$) can be set to $1$ in the range of available periods of the components (ESSs: $t\in T{S}_{j}$, CLs: $t\in T{V}_{k}$), while it can be set to $0$ in the other periods (ESSs: $t\notin T{S}_{j}$, CLs: $t\notin T{V}_{k}$). This is because the outputs for the ESSs and the CLs include $0$ in their controllable ranges. For the same reason, $u{\prime}_{h,t}$ for electricity trading ($h=NH$) can be set to $1$ for all time periods. As a result, we can fix $u\prime $, and, therefore, the combined method of BPSO and QP solves the formulated problem approximately.

With the aim of handling the constraints, the penalty method, which replaces a constrained optimization problem by a series of unconstrained problems, is applied during the iterative process. The fitness function is represented as
where $VI{O}_{t}$ is the weighted sum of violation of the constraints excluding (9) ($VI{O}_{t}\gg {C}_{t}\left({u}_{t},{g}_{t}\right)+{M}_{t}{e}_{t}+{I}_{t}e{\prime}_{t}$).

$$F={{\displaystyle \sum}}_{t=1}^{T}\left\{{{\displaystyle \int}}_{{d}_{t}^{min}}^{{d}_{t}^{max}}\left\{{C}_{t}\left({u}_{t},{g}_{t}\right)+{M}_{t}{e}_{t}+{I}_{t}e{\prime}_{t}+VI{O}_{t}\right\}f\left({d}_{t}\right)\mathrm{d}{d}_{t}\right\},$$

## 4. Numerical Simulations

#### 4.1. Numerical Conditions

Numerical simulations were carried out on the microgrid model, which was already illustrated in Figure 1, to verify the validity of the authors’ proposal. Figure 2 shows profiles of the forecasted net load and the price in electricity trade. As shown in Figure 2, the aggregated PV on sunny day was referred to as the aggregated VREG. The imbalance penalty was set to a large value to avoid the electricity surplus/shortage in the operation stage. Specifications of the controllable components in the microgrid model are summarized in Table 1 and Table 2. Here, the ESSs and the CLs were aggregated into one large-scale component, respectively, to simplify discussions. These were made by referring to [26,27,33,36].

Time interval, $\Delta t$, was set to 1 h, and daily operation schedules ($t=1,2,\dots ,24$) were determined. However, the period of optimization target was set from 8:00 AM ($t=1$) to 7:00 AM ($t=24$) considering operation of the time-constrained components in the microgrid model. The available duration of the CLs was set from 9:00 PM to 7:00 AM. The initial SOC level of the aggregated ESS was set to 50% of its capacity, and the level had to be returned to the original state until the end of the scheduling period. On the other hand, the initial SOC level of the aggregated CL was set to 50%, and it had to be $100$% at the end of the scheduling period.

Under these conditions, the authors determined the following three operation schedules by the proposed solution method:

- Case 1
- Operation schedule without the reserve margin.
- Case 2
- Operation schedule considering the conventional reserve margin that compensates deviation within 5% of the net load.
- Case 3
- Operation schedule based on the proposed framework.

In accordance with the results of preliminary trials and errors, the parameters for BPSO were set as follows: $\left|X\right|=40$, $M=300$, $\omega =0.9$, ${\theta}_{1}=2.0$, and ${\theta}_{2}=2.0$.

#### 4.2. Results and Discussion

Figure 3, Figure 4 and Figure 5 and Table 3 summarize the numerical results. As shown in Figure 3, Figure 4 and Figure 5, the balance of power supply and demand for the forecasted net load was maintained by the sum of output shares of the CGs, the aggregated ESS and the aggregated CL, and the trading electricity in all cases. In Cases 1 and 2, the numerical simulations succeeded within a few minutes. However, Case 3 required a few hours to obtain the optimal operation schedule since evaluation of the UC candidates (calculation by the QP solver) became complicated. Therefore, improvement in the computational speed remains an important issue in the authors’ proposal, although the process can be accomplished from the perspective of practical use.

In Table 3, the operation schedule of Case 1 was the best result for the forecasted net load. It means that the operational cost increased in the other cases for securing the reserve margin against the uncertainty in the actual operation. Besides, it was found that the expected values of the operation costs became worse than the operation costs for the forecasted net load in each case. However, in Case 3, the increase in the objective function was not so large as compared to that in Case 2 in spite of the potential risk that was reflected in both cases. As a result, the expected cost in Case 3 was the smallest as opposed to the operation cost for the forecasted net load. From these results, we can conclude that the authors’ proposal functioned well.

## 5. Conclusions

This paper presented a problem framework and its effective solution to obtain an operation schedule to coordinate microgrid components considering. In the problem framework, trading of electricity was included in the optimization target, and VREG-originated uncertainty was considered. Moreover, the formulated problem was reformulated to reduce the dimensions of its solution space; therefore, the BPSO–QP was applicable in the solution method. Through numerical simulations and a discussion of their results, we can conclude that the proposed problem framework and its solution method functioned appropriately.

In future works, the authors will improve the calculation time of BPSO–QP. In addition, the authors will propose more effective solutions with respect to the characteristics of the target optimization problem.

## Author Contributions

Conceptualization, H.T., R.G., T.Z.S. and H.A.; methodology, H.T., R.G. and T.Z.S.; validation, H.T., R.G. and N.D.T.; writing—original draft preparation, H.T. and N.D.T.; writing—review and editing, H.T. and T.Z.S.; supervision, H.T. and H.A.

## Funding

This research was funded by Japan Society for the Promotion of Science (JSPS), grant numbers 16K06215 and 19K04325.

## Acknowledgments

The authors would like to acknowledge Gifu Renewable Energy System Research Center of Gifu University.

## Conflicts of Interest

The authors declare no conflicts of interest.

## References

- Office of Electricity Delivery and Energy Reliability. DOE Microgrid Workshop Report. Available online: https://www.energy.gov/sites/prod/files/2012%20Microgrid%20Workshop%20Report%2009102012.pdf (accessed on 31 May 2019).
- Ton, D.T.; Smith, M.A. The U.S. Department of Energy’s Microgrid Initiative. Electr. J.
**2012**, 25, 84–94. [Google Scholar] [CrossRef] - Bevrani, H.; Francois, B.; Ise, T. Microgrid Dynamics and Control; Wiley: Hoboken, NJ, USA, 2017. [Google Scholar]
- Hatziargyriou, N.; Asano, H.; Iravani, R.; Marnay, C. Microgrids for Distributed Generation. IEEE Power Energy Mag.
**2007**, 133, 144–149. [Google Scholar] - Investigating R&D Committee on advanced power system. Current Status of Advanced Power Systems including Microgrid and Smartgrid. IEEJ Tech. Rep.
**2011**, 1229. Available online: https://www.bookpark.ne.jp/cm/ieej/detail.asp?content_id=IEEJ-GH1229-PRT (accessed on 24 October 2019). [Google Scholar] - New Energy and Industrial Technology Development Organization. Case Studies of Smart Community Demonstration Project. Available online: http://www.nedo.go.jp/english/reports_20130222.html (accessed on 31 May 2019).
- Choi, Y.J.; Choi, I.S.; Lee, H.J.; Chae, W.K. Operational Experience of Microgrids. In Smart Grid Handbook, 3 Volume Set; Liu, C.C., McAuthur, S., Lee, S.J., Eds.; Wiley: Hoboken, NJ, USA, 2016; Volume 3, pp. 1213–1234. [Google Scholar]
- Chowdhury, D.; Hassan, A.S.M.K.; Khan, M.Z.R. Scalable DC Microgrid Architecture with Phase Shifted Full Bridge Converter Based Power Management Unit. In Proceedings of the 10th International Conference on Electrical and Computer Engineering, Dhaka, Bangladesh, 20–22 December 2018; pp. 22–25. [Google Scholar]
- Hassan, A.S.M.K.; Chowdhury, D.; Khan, M.Z.R. Scalable DC Microgrid Architecture with a One-Way Communication Based Control Interface. In Proceedings of the 10th International Conference on Electrical and Computer Engineering, Dhaka, Bangladesh, 20–22 December 2018; pp. 265–268. [Google Scholar]
- Kerr, R.H.; Scheidt, J.L.; Fontana, A.J.; Wiley, J.K. Unit Commitment. IEEE Trans. Power A Syst.
**1996**, PAS-85, 417–421. [Google Scholar] [CrossRef] - Sen, S.; Kothari, D.P. Optimal Thermal Generating Unit Commitment: A Review. Int. J. Electr. Power Energy Syst.
**1998**, 20, 443–451. [Google Scholar] [CrossRef] - Hobbs, B.F.; Rothkopf, M.H.; O′Neill, R.P.; Chao, H.P. The Next Generation of Electric Power Unit Commitment Models; Springer: New York City, NY, USA, 2001. [Google Scholar]
- Padhy, N.P. Unit Commitment—A Bibliographical Survey. IEEE Trans. Power Syst.
**2004**, 19, 1196–1205. [Google Scholar] [CrossRef] - Bhardwaj, A.; Tung, N.S.; Kamboj, V. Unit Commitment in Power System: A Review. Int. J. Power Eng.
**2012**, 6, 51–57. [Google Scholar] [CrossRef] - Saravanan, B.; Das, S.; Sikri, S.; Kothari, D.P. A Solution to the Unit Commitment Problem—A Review. Front. Energy
**2013**, 7, 223–236. [Google Scholar] [CrossRef] - Zheng, Q.P.; Wang, J.; Liu, A.L. Stochastic Optimization for Unit Commitment—A Review. IEEE Trans. Power Syst.
**2015**, 30, 1913–1924. [Google Scholar] [CrossRef] - Cohen, A.I.; Yoshimura, M. A branch-and-Bound Algorithm for Unit Commitment. IEEE Trans. Power A Syst.
**1983**, PAS-102, 444–451. [Google Scholar] [CrossRef] - Chen, C.L.; Wang, S.C. Branch-and-Bound Scheduling for Thermal Generating Units. IEEE Trans. Energy Convers.
**1993**, 8, 184–189. [Google Scholar] [CrossRef] - Snyder, W.L.; Powell, H.D.; Raiburn, J.C. Dynamic Programming Approach to Unit Commitment. IEEE Trans. Power Syst.
**1987**, 2, 339–348. [Google Scholar] [CrossRef] - Ouyang, Z.; Shahidehpour, S.M. An Intelligent Dynamic Programming for Unit Commitment Application. IEEE Trans. Power Syst.
**1991**, 6, 1203–1209. [Google Scholar] [CrossRef] - Juste, K.A.; Kita, H.; Tanaka, E.; Hasegawa, J. An Evolutionary Programming Solution to the Unit Commitment Problem. IEEE Trans. Power Syst.
**1990**, 14, 1452–1459. [Google Scholar] [CrossRef] - Kazarlis, S.A.; Bakirtzis, A.G.; Petridis, V. A Genetic Algorithm Solution to the Unit Commitment Problem. IEEE Trans. Power Syst.
**1996**, 11, 83–92. [Google Scholar] [CrossRef] - Mantawy, A.H.; Abdel-Magid, Y.L.; Selim, S.Z. A Simulated Annealing Algorithm for Unit Commitment. IEEE Trans. Power Syst.
**1998**, 13, 197–204. [Google Scholar] [CrossRef] - Simopoulos, D.N.; Kavatza, S.D.; Vournas, C.D. Unit Commitment by an Enhanced Simulated Annealing Algorithms. IEEE Trans. Power Syst.
**2006**, 21, 68–76. [Google Scholar] [CrossRef] - Rajan, C.C.A.; Mohan, M.R. An Evolutionary programming-based Tabu Search Method for Solving the Unit Commitment Problem. IEEE Trans. Power Syst.
**2004**, 19, 577–585. [Google Scholar] [CrossRef] - Takano, H.; Zhang, P.; Murata, J.; Hashiguchim, T.; Goda, T.; Iizaka, T.; Nakanishi, Y. A determination method for the optimal operation of controllable generators in micro grids that copes with unstable outputs of renewable energy generation. Electr. Eng. Jpn.
**2015**, 190, 56–65. [Google Scholar] [CrossRef] - Hayashi, Y.; Miyamoto, H.; Matsuki, J.; Iizuka, T.; Azuma, H. Online Optimization Method for Operation of Generators in Micro Grid. IEEJ Trans. PE
**2008**, 128, 388–396. (In Japanese) [Google Scholar] [CrossRef] - Jeong, Y.W.; Park, J.B. A New Quantum-Inspired Binary PSO: Application to Unit Commitment Problem for Power Systems. IEEE Trans. Power Syst.
**2010**, 25, 1486–1495. [Google Scholar] [CrossRef] - Lu, B.; Shahidehpour, M. Short-Term Scheduling of Battery in a Grid-Connected PV/Battery System. IEEE Trans. Power Syst.
**2005**, 20, 1053–1061. [Google Scholar] [CrossRef] - Palma-Behnke, R.; Benavides, C.; Lanas, F.; Severino, B.; Reyes, L.; Llanos, J.; Saez, D. A Microgrid Energy Management System Based on the Rolling Horizon Strategy. IEEE Trans. Smart Grid.
**2013**, 4, 996–1006. [Google Scholar] [CrossRef] - Li, N.; Uckun, C.; Constantinescu, E.M.; Birge, J.R.; Hedman, K.W.; Botterud, A. Flexible Operation of Batteries in Power System Scheduling with Renewable Energy. IEEE Trans. Sustain. Energy
**2016**, 7, 685–696. [Google Scholar] [CrossRef] - Hammati, R.; Saboori, H. Short-Term Bulk Energy Storage Scheduling for Load Leveling in Unit Commitment: Modeling, Optimization, and Sensitivity Analysis. J. Adv. Res.
**2016**, 7, 360–372. [Google Scholar] [CrossRef] [PubMed] - Soe, T.Z.; Takano, H.; Shiomi, R.; Taoka, H. Determination method for optimal cooperative operation plan of microgrids by providing alternatives for microgrid operators. J. Int. Counc. Electr. Eng.
**2018**, 8, 103–110. [Google Scholar] [CrossRef] - Clerc, M. Particle Swarm Optimization; Wiley: Hoboken, NJ, USA, 2006. [Google Scholar]
- Lee, S.; Soak, S.; Oh, S.; Pedryczm, W.; Jeon, M. Modified binary particle swarm optimization. Prog. Nat. Sci.
**2008**, 18, 1161–1166. [Google Scholar] [CrossRef] - Takano, H.; Nagaki, Y.; Murata, J.; Iizaka, T.; Ishibashi, T.; Katsuno, T. A study on supply and demand planning for Power Producer-Suppliers utilizing output of megawatt solar plants. J. Int. Counc. Electr. Eng.
**2016**, 6, 102–109. [Google Scholar] [CrossRef]

**Figure 1.**Example of a generalized microgrid model. CG, controllable generation system; ESS, energy storage system; CL, controllable load; VREGs, variable renewable energy-based generation systems.

**Figure 3.**(

**a**) Operation schedule for forecasted net load in Case 1; (

**b**) state-of-charge (SOC) level in Case 1.

$\mathit{i}$ | ${\mathit{A}}_{\mathit{i}}\text{}\left(\text{\#}\right)$ | ${\mathit{B}}_{\mathit{i}}\text{}(\text{\#}/\mathbf{MW})$ | ${\mathit{C}}_{\mathit{i}}\text{}(\text{\#}/{\mathbf{MW}}^{2})$ | $\mathit{S}{\mathit{C}}_{\mathit{i}}\text{}\left(\text{\#}\right)$ | ${\mathit{G}}_{\mathit{i}}^{\mathit{m}\mathit{a}\mathit{x}}\text{}\left(\mathbf{MW}\right)$ | ${\mathit{G}}_{\mathit{i}}^{\mathit{m}\mathit{i}\mathit{n}}\text{}\left(\mathbf{MW}\right)$ |
---|---|---|---|---|---|---|

1 | 12,000.0 | 3800.0 | 1.2 | 3000.0 | 20.0 | 4.0 |

2 | 7800.0 | 3100.0 | 1.8 | 1000.0 | 16.0 | 3.2 |

3 | 2400.0 | 2500.0 | 2.8 | 500.0 | 12.0 | 2.4 |

${\mathit{S}}^{\mathit{m}\mathit{a}\mathit{x}}\text{}\left(\mathbf{MW}\right)$ | ${\mathit{S}}^{\mathit{m}\mathit{i}\mathit{n}}\text{}\left(\mathbf{MW}\right)$ | ${\mathit{Q}}^{\mathit{m}\mathit{a}\mathit{x}}\text{}\left(\mathbf{MWh}\right)$ | ${\mathit{Q}}^{\mathit{m}\mathit{i}\mathit{n}}\text{}\left(\mathbf{MWh}\right)$ | ${\mathit{V}}^{\mathit{m}\mathit{a}\mathit{x}}\text{}\left(\mathbf{MW}\right)$ | ${\mathit{P}}^{\mathit{m}\mathit{a}\mathit{x}}\text{}\left(\mathbf{MWh}\right)$ | ${\mathit{P}}^{\mathit{m}\mathit{i}\mathit{n}}\text{}\left(\mathbf{MWh}\right)$ |
---|---|---|---|---|---|---|

1.8 | –1.8 | 10.4 | 2.6 | –1.5 | 9.6 | 2.4 |

Case | Cost for Forecasted Net Load (#) | Expected Cost (#) |
---|---|---|

1 | 1,921,509.5 | 2,101,022.6 |

2 | 1,929,108.8 | 2,051,418.4 |

3 | 1,960,789.9 | 1,960,832.3 |

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).