Open Access
This article is

- freely available
- re-usable

*Energies*
**2019**,
*12*(8),
1413;
https://doi.org/10.3390/en12081413

Article

Uncertainty-Based Models for Optimal Management of Energy Hubs Considering Demand Response

^{1}

Young Researchers and Elite Club, Sepidan Branch, Islamic Azad University, Sepidan 73611, Iran

^{2}

Faculty of Engineering and Environment, Department of Maths, Physics and Electrical Engineering, Northumbria University Newcastle, Newcastle upon Tyne NE1 8ST, UK

^{3}

Department of Electrical Engineering, Lahijan branch, Islamic Azad University, Lahijan 44131, Iran

^{4}

Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz 51999, Iran

^{5}

E.T.S. de Ingenieros Industriales, University of Castilla-La Mancha, 13071 Ciudad Real, Spain

^{6}

Department of Electrical Engineering and Automation, Aalto University, Maarintie 8, 02150 Espoo, Finland

^{7}

UNIDEMI, Department of Mechanical and Industrial Engineering, Faculty of Science and Technology (FCT), Universidade NOVA de Lisboa, 2829-516 Caparica, Portugal

^{*}

Author to whom correspondence should be addressed.

Received: 7 March 2019 / Accepted: 4 April 2019 / Published: 12 April 2019

## Abstract

**:**

Energy hub (EH) is a concept that is commonly used to describe multi-carrier energy systems. New advances in the area of energy conversion and storage have resulted in the development of EHs. The efficiency and capability of power systems can be improved by using EHs. This paper proposes an Information Gap Decision Theory (IGDT)-based model for EH management, taking into account the demand response (DR). The proposed model is applied to a semi-realistic case study with large consumers within a day ahead of the scheduling time horizon. The EH has some inputs including real-time (RT) and day-ahead (DA) electricity market prices, wind turbine generation, and natural gas network data. It also has electricity and heat demands as part of the output. The management of the EH is investigated considering the uncertainty in RT electricity market prices and wind turbine generation. The decisions are robust against uncertainties using the IGDT method. DR is added to the decision-making process in order to increase the flexibility of the decisions made. The numerical results demonstrate that considering DR in the IGDT-based EH management system changes the decision-making process. The results of the IGDT and stochastic programming model have been shown for more comprehension.

Keywords:

demand response; energy hub; information gap decision theory; stochastic programming## 1. Introduction

#### 1.1. Motivation and Problem Description

Operations of energy hub are conducted using various devices such as combined heat and power (CHP) units, electrical and thermal energy storage, boilers, power electronic devices, etc. The main issue is connecting different types of energies in the energy hub (EH) [1]. In addition, the low efficiency of plants operating with fossil fuels have encouraged researchers to use this concept for using and combining different types of energy [2]. The emergence of this concept in a restructured electricity market can affect the decisions of consumers, operators, and generation companies. The decisions will be more complicated in the presence of uncertainties arisen by different types of technology, and therefore, it is essential to consider them in the problem to increase the robustness of the solution.

#### 1.2. Literature Review

Until now, many researchers have worked in the area of energy optimization [3]. Some papers have also focused on the operation of CHP units. In Reference [4], a linear programming method is used for CHP operation with practical constraints. In Reference [5], an operation model of a CHP unit with an energy storage unit is proposed in a restructured system. Evolutionary algorithms are also utilized in References [6,7] for energy optimization. However, this research has not focused on combining multi-carrier energy systems. In Reference [1], a power flow model is suggested for EH, based on nonlinear equations describing network connections. In Reference [8], the effect of energy storage capacity and prediction horizon has been investigated on the cost optimal multi-energy supply of domestic consumers. The bi-level optimization of an EH is studied in Reference [9]. In this study, the hub operator is located in the upper level, and the consumers are in the lower level. The reliability aspects of EHs are also investigated in References [10,11,12]. In Reference [13], a model is proposed for an EH optimal design that intends to determine the size of the distributed energy resources, taking into account the environmental and social effects of the EH using a Benders decomposition method. Reference [14] has investigated an optimal expansion planning model for an energy hub with multiple energy systems, in which the multiple energy system planning problem would optimally distinguish the optimal investment candidates for generating units, transmission lines, natural gas furnaces, and CHPs that satisfy electricity and heat demands. The system performances associated with reliability, energy efficiency, and emission matrices is evaluated for the identified planning schedules. Residential EH in a smart home is considered in References [15,16,17,18,19]. A mixed integer linear programming model is presented in Reference [20] for controlling a home energy system. Some papers have investigated demand response (DR) programs on a residential scale. A residential EH with a demand side management is considered in Reference [21]. In Reference [22], a model is presented for a residential EH in a smart home considering a heat pump water heater and the coordination of sources and carbon emissions. Reference [23] investigates storage systems for improving the technical and financial aspects of a residential renewable-based EH. In Reference [24], an algorithm is suggested for a micro-EH in a grid with distributed generators. A bidding strategy is proposed in References [25,26], taking into account both day-ahead (DA) and real-time (RT) electricity markets using a three-stage stochastic programming method. The maintenance problem of an EH is investigated in Reference [27], considering the water energy as an output of the EH besides the electrical and thermal energies. The maintenance problem is formulated and solved with respect to its reliability indices. A game theory model is used for multiple EHs in Reference [28] for their economic scheduling. The authors in Reference [29] have studied DR for the thermal demand of an EH.

The Information Gap Decision Theory (IGDT) method has been used frequently in the robust optimization of power systems. For example, in References [30,31,32,33,34,35], a bidding/offering strategy is presented for purchasing and selling power to manage the electricity price forecasting errors using IGDT. The bidding/offering strategy is also studied in smart grids in Reference [36]. A bidding strategy is suggested in Reference [37], considering DR for covering the electricity of large utilities. The offering price of wind power producers is investigated in References [38,39]. A multistage transmission expansion planning under wind power uncertainties is obtained using the IGDT method in References [40,41,42,43]. A security constrained unit commitment (SCUC) with undispatchable resources with a high penetration of wind power for retaining the load-generation balance is proposed in References [44,45], and the frequency management is presented in References [46,47].

#### 1.3. Paper Contributions

In this paper, a new model is proposed for EH operation based on the information gap decision theory (IGDT) considering DR. IGDT is used in order to show the robustness of the model proposed against electricity prices and wind uncertainties. IDGT is a non-probabilistic optimization method in which the decisions are made without any assumptions for the probability of the uncertainties. This is useful when a wide range of uncertainties exists [48,49]. Unlike other uncertainty modeling approaches, the objective of the IGDT method is to maximize the tolerable horizon of uncertainty while satisfying a predetermined objective [38]. Thus, the operators or owners of EHs may make decisions to distinguish the critical decisions in the presence of a high level of uncertainties.

The IGDT model was applied on energy hubs before but without considering the electricity price uncertainty [50]. However, the IGDT is extended by considering the electricity price uncertainty in the present work. A time of use (TOU) DR program is also considered in the problem in order to give more flexibility to large consumers. It can be noted that the variability of gas prices versus electricity prices is very low. Therefore, the gas price is considered fixed. Consequently, it is not required to take DR into account for heat demands. The reason behind this is that the price of procuring heat is the same at all hours. Briefly, the contributions of the paper are as follows:

- Proposing a mixed integer nonlinear (MINLP) model for an EH based on a robust model.
- Proposing an IGDT model considering price and wind uncertainties.
- Proposing DR with IGDT simultaneously in the EH.
- Considering an energy storage system (ESS) in the IGDT-based problem.

## 2. Robust Model of an Energy Hub

An EH can be small scale, e.g., a residential hub, or large scale, such as a whole country. In this paper, an EH is considered to describe the decisions of large industrial consumers or even part of a city demand. Figure 1 shows the EH under study, which includes the electricity market, wind turbine, and natural gas data as inputs to satisfy electricity and heat demands. The proposed hub has a boiler, a CHP, and an ESS. The CHP and the boiler are both fed by natural gas. Natural gas prices have a low variability in the short-term compared to electricity prices. Therefore, gas prices are assumed to be fixed. The owner of the hub purchases or generates power from three sources: DA and RT electricity markets and a wind turbine. For a more accurate management of the procured power (specifically in peak hours), an ESS is utilized. The ESS can be charged from the RT electricity market or from a wind turbine. The CHP output has not been connected to the ESS for charging due to its fixed feeding price. In other words, the CHP can generate electricity at a fixed tariff at all hours, and it is not essential to connect it to the ESS. On the other hand, the CHP can sell power to the RT electricity market in order to obtain revenue. Heat is also generated by the boiler and the CHP unit.

In a classic optimization problem, the hub owner tries to minimize the total cost of procuring electric power including the costs of the electrical and natural gas networks in the presence of uncertainties. However, sometimes the owners (or operators) may like to increase the system’s robustness against the uncertainties. By doing so, they can make decisions against the worst conditions related to the uncertainties. Here, the owner makes a robust decision in the presence of wind and RT electricity price uncertainties. In addition, a large consumer can utilize the time of use demand response (TOU-DR) for electricity demand during the decision-making process. The conditions of the input sources including uncertainties or variability are shown in Figure 1.

## 3. Problem Modeling

#### 3.1. CHP and Boiler Models

A CHP uses gas and generates power and heat. The power and heat generated by a CHP are mutually dependent. This dependency is considered using a feasible operation region as shown in Figure 2. The electrical and thermal outputs of the CHP must be positioned within the enclosed area formed by the points A, B, C, and D. Interested readers are referred to Reference [51,52]. The cost of CHP is related to both the heat and electricity generated. Actually, it is quadratic due to the thermodynamic relation of heat and electricity. The fuel cost characteristics of the CHP unit are as follows [53]:
where ${P}_{i}^{\mathrm{CHP}}\left(t\right)$ and ${H}_{i}^{\mathrm{CHP}}\left(t\right)$ are the power and heat generated by the ith CHP, respectively; the parameters ${\eta}_{e}^{\mathrm{CHP}}$ and ${\eta}_{h}^{\mathrm{CHP}}$ are the conversion coefficients from gas to power and heat; and ${a}_{i}$, ${b}_{i}$, ${c}_{i}$, ${d}_{i}$, ${e}_{i}$, and ${f}_{i}$ are the cost coefficients of the CHP.

$${C}_{\mathrm{CHP}}\left(t\right)=\sum _{i=1}^{I}{a}_{i}{\left({P}_{i}^{\mathrm{CHP}}\right)}^{2}\left(t\right)+{b}_{i}{P}_{i}^{\mathrm{CHP}}+{c}_{i}+{d}_{i}{\left({H}_{i}^{\mathrm{CHP}}\right)}^{2}\left(t\right)+{e}_{i}{H}_{i}^{\mathrm{CHP}}+{f}_{i}{P}_{i}^{\mathrm{CHP}}{H}_{i}^{\mathrm{CHP}}$$

The dependency between the generated power and the heat is not considered here for the sake of simplicity [54].

The boiler is also fed by gas and generates heat. The total cost of the boiler unit is supposed to be a linear function as follows [54]:
where ${H}_{j}^{\mathrm{Blr}}$ and ${h}_{j}$ are the heat generated by the boiler and the cost function coefficient of the boiler unit, respectively. The heat generated by the boiler is bounded as follows:
where ${H}_{j,\mathrm{max}}^{\mathrm{Blr}}$ is the maximum generation of the boiler.

$${C}_{\mathrm{Blr}}\left(t\right)=\sum _{j=1}^{J}{h}_{j}{H}_{j}^{\mathrm{Blr}}$$

$$0\le {H}_{j}^{\mathrm{Blr}}\left(t\right)\le {H}_{j,\mathrm{max}}^{\mathrm{Blr}}$$

#### 3.2. RT and DA Electricity Price Models

In this paper, DA and RT electricity markets are taken into account. The RT market is closer to the consumption time. Hence, uncertainty is considered only in the RT market, since the DA market does not have uncertainty in the model. The realization of the DA electricity market occurs before the RT market, and it is assumed that the decisions are made when the DA price realization is completed. Therefore, the DA electricity price is assumed deterministic, and uncertainty is only considered in RT prices. In reality, RT decisions are made every ten minutes, but in our case study, it is assumed that they are made hourly for the sake of simplicity. The total cost of the RT and DA markets are described mathematically as follows:
where ${C}^{\mathrm{rt}}$, ${C}^{\mathrm{DA}}$, ${P}^{\mathrm{RT}}\left(t\right)$, ${P}^{\mathrm{DA}}\left(t\right)$, ${\overline{\lambda}}^{\mathrm{RT}}\left(t\right)$, and ${\lambda}^{\mathrm{DA}}\left(t\right)$ are the total cost of purchasing from the RT market, the total cost when facing the DA market, the energy purchased from the RT market, the energy purchased from the DA market, the expected price of the RT market, and the DA electricity price, respectively.

$${C}^{\mathrm{DA}}=\sum _{t=1}^{T}{P}^{\mathrm{DA}}\left(t\right).{\lambda}^{\mathrm{DA}}\left(t\right)$$

$${C}^{\mathrm{rt}}=\sum _{t=1}^{T}{P}^{\mathrm{RT}}\left(t\right).{\overline{\lambda}}^{\mathrm{RT}}\left(t\right)$$

#### 3.3. Energy Storage Modeling

Energy storage should be modeled considering its charging/discharging modes. Here, the ESS is modeled as follows [11]:
where SOC(t) is the state of charge at time t; ${\eta}_{\mathrm{ch}}^{\mathrm{ST}}$ and ${\eta}_{\mathrm{Dch}}^{\mathrm{ST}}$ are the charging and discharging efficiencies, respectively; ${P}^{\mathrm{ch}}$ and ${P}^{\mathrm{dch}}$ are the charged and discharged power, respectively; the parameters ${E}_{\mathrm{min}}^{\mathrm{st}}$ and ${E}_{\mathrm{max}}^{\mathrm{st}}$ are the minimum and maximum capacities of the ESS; and ${\zeta}_{\mathrm{ch}}^{\mathrm{ST}}$ and ${\zeta}_{\mathrm{Dch}}^{\mathrm{ST}}$ are binary variables to show the charge/discharge state of battery. It can be seen in Equation (6) that the SOC in each hour is obtained by considering the charging and discharging amounts of the ESS in that hour. Based on Equation (7), the SOC at the beginning and the end must be equal. The SOC is limited by its bound in Equation (8). The amount of charging/discharging is limited to the maximum capacity of the ESS in Equations (9) and (10). According to Equation (11), the charging and discharging modes cannot occur simultaneously.

$$\mathrm{SOC}\left(t\right)=\mathrm{SOC}(t-1)+\left({P}^{\mathrm{ch}}\right){\eta}_{\mathrm{ch}}^{\mathrm{ST}}-\frac{{P}^{\mathrm{dch}}\left(t\right)}{{\eta}_{\mathrm{Dch}}^{\mathrm{ST}}}$$

$$\mathrm{SOC}\left({t}_{0}\right)=\mathrm{SOC}\left({t}_{T}\right)$$

$${E}_{\mathrm{min}}^{\mathrm{st}}\le \mathrm{SOC}\left(t\right)\le {E}_{\mathrm{max}}^{\mathrm{st}}$$

$${P}^{\mathrm{dch}}\left(t\right)\le {E}_{\mathrm{max}}^{\mathrm{Dch}}.{\zeta}_{\mathrm{dch}}$$

$${P}^{\mathrm{ch}}\left(t\right)\le {E}_{\mathrm{max}}^{\mathrm{st}}.{\zeta}_{\mathrm{ch}}$$

$${\zeta}_{\mathrm{ch}}+{\zeta}_{\mathrm{dch}}\le 1$$

#### 3.4. Wind Energy Modeling

Wind generation is a function of wind speed. The function is described based on operational characteristics as follows [55]:
where ${V}_{n}$ is the nominal wind speed and ${V}_{\mathrm{cin}}$ and ${V}_{\mathrm{cout}}$ are the cut-in and cut-out wind speeds, respectively. Electricity generation starts when the speed reaches ${V}_{\mathrm{cin}}$ and the generation continues up to ${V}_{\mathrm{cout}}$. Nominal generation starts when it reaches ${V}_{n}$; ${P}^{W}\left(t\right)$ is the generated power, and ${S}_{t}$ is the wind speed. The constant coefficients A, B, and C are obtained from ${V}_{n}$, ${V}_{\mathrm{cin}}$, and ${V}_{\mathrm{cout}}$. More information can be found in Reference [56].

$${P}^{W}\left(t\right)=\left\{\begin{array}{cc}0\hfill & 0\le S\left(t\right)\le {V}_{\mathrm{cin}}\hfill \\ A+B\times {S}^{2}\left(t\right)\hfill & {V}_{\mathrm{cin}}\le S\left(t\right)\le {V}_{n}\hfill \\ {P}_{n}\hfill & {V}_{n}\le S\left(t\right)\le {V}_{\mathrm{cout}}\hfill \\ 0\hfill & {V}_{\mathrm{cout}}\le S\left(t\right)\hfill \end{array}\right.$$

#### 3.5. Demand Response Model

In a smart environment, consumers can use DR programs for flexible load management. By applying a DR program, consumers can adjust their consumption with regard to the volatility of the electricity pool market with the aim of minimizing the total energy cost. They can decrease their consumption in peak hours and increase their consumption in off-peak hours instead. This means that a shifting occurs only in energy consumption. The time of use demand response (TOU-DR) is used here in order to give more flexibility to the large consumers for tuning their consumption and decreasing their total cost. Consumers can change their energy use from peak hours to off-peak hours based on the usage time of DR [57,58]. In TOU-DR, load shifting occurs and the decreased loads are supplied in other periods. Therefore, the load values decrease in some periods and increase in other periods. Equations (13)–(18) show the DR model as follows:

$${D}_{e}\left(t\right)=\mathrm{ldr}\left(t\right)+(1-\mathrm{DR}\left(t\right))\times {D}_{e}^{0}\left(t\right)$$

$$\sum _{t=1}^{T}\mathrm{ldr}\left(t\right)=\sum _{t=1}^{T}\mathrm{DR}\left(t\right).{D}_{e}^{0}\left(t\right)$$

$$\mathrm{ldr}\left(t\right)\le \mathrm{inc}\left(t\right).{D}_{e}^{0}\left(t\right)$$

$$\mathrm{DR}\left(t\right)\le {\mathrm{DR}}^{\mathrm{max}}\left(t\right).{u}_{\mathrm{dr}}\left(t\right)$$

$$\mathrm{inc}\left(t\right)\le {\mathrm{inc}}^{\mathrm{max}}.{u}_{\mathrm{inc}}\left(t\right)$$

$${u}_{\mathrm{dr}}\left(t\right)+{u}_{\mathrm{inc}}\left(t\right)\le 1$$

Equation (13) shows the amount of load after applying the DR program. According to Equation (14), the decreasing total amount of load should be equal to the increasing value. The increasing amount of load should be a part of the base load, according to Equation (15). The amount of decrease/increase should be lower than a specific percentage (see Equations (16) and (17)). Equation (18) dictates that an increasing or decreasing load cannot occur simultaneously.

## 4. Information Gap Decision Theory

In this paper, IGDT is used to model the robustness of the problem against uncertainties associated with wind generation and electricity market prices. IGDT is a non-probabilistic method and does not need further information about uncertainties like probability density functions, fuzzy membership functions, or time series. Since it does not need to make any assumptions about the probability distribution of uncertain variables, it is useful when a high level of uncertainty exists in the problem [59]. Uncertainties may lead the problem to having more cost/less profit or less cost/more profit. IGDT addresses these two conflicting issues using two immunity functions, i.e., robustness and opportunity [30,60].

The three pieces that are needed in the IGDT problem are an uncertainty model, a robustness function, and an opportunity function. A robust IGDT model is presented here while the opportunity function is out of scope of this paper. Uncertainty in the IGDT model is described as follows [38]:
where $\overline{\rho}$ is the expected value of the uncertain parameters and $\rho $ and $\alpha $ represent the ranges of uncertainty. Equation (19) denotes the uncertainty bounds as shown in Figure 3.

$$U(\alpha ,\overline{\rho})=\left\{\rho :|\frac{(\rho -\overline{\rho})}{\overline{\rho}}|\le \alpha \right\},\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\alpha \ge 0$$

This strategy is used when the uncertainty has unfavorable effects in the objective function. In the robustness function, the maximum uncertainty radius ($\alpha $) is determined by dedicating a specific risk value to the base deterministic mode of the objective function. In other words, the objective function is robust against uncertain input parameters, and the amount of objective function is lower than the specific value within the obtained radius of uncertainty. These decisions are made by risk-averse decision makers. The robustness function is described mathematically as follows:
where ${G}_{j}(x,\overline{\rho})$ and ${H}_{j}(x,\overline{\rho})$ are sets of equality and inequality constraints, respectively; $\Delta $ is the maximum amount of allowable increase in the base cost determined by the decision maker; ${f}_{b}(x,\rho )$ is the base cost; and $\beta $ is the risk level.

$$\underset{x}{\mathrm{max}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\alpha $$

$${H}_{i}(x,\overline{\rho})\le 0$$

$${G}_{j}(x,\overline{\rho})=0$$

$$\Delta =(1+\beta ).{f}_{b}(x,\overline{\rho})$$

$${f}_{b}(x,\overline{\rho})\le \Delta $$

$$(1-\alpha ).\overline{\rho}\le \rho \le (1+\alpha ).\overline{\rho}$$

$$0\le \beta \le 1$$

## 5. Problem Formulation

It is necessary to propose the deterministic formulation of the EH management before the robust formulation. This is because a base cost is required to solve the robust problem, which is obtained by solving the problem without considering uncertainty. Therefore, the problem formulation is presented in two parts.

#### 5.1. Energy Hub Management Formulation without Uncertainty

The expected values of the uncertain parameters should be considered in order to model the problem without uncertainties. Therefore, the expected values of wind generation and RT electricity prices should be present in the model. The deterministic model is as follows:
$${E}_{\mathrm{min}}^{\mathrm{st}}\le \mathrm{SOC}\left(t\right)\le {E}_{\mathrm{max}}^{\mathrm{st}}$$
and Equations (1) and (2).

$${f}_{b}=\mathbf{min}\sum _{t=1}^{T}\left[{P}^{\mathrm{DA}}\left(t\right){\lambda}^{\mathrm{DA}}\left(t\right)+{P}^{\mathrm{RT}}\left(t\right){\overline{\lambda}}^{\mathrm{RT}}\left(t\right)+{C}_{\mathrm{CHP}}\left(t\right)+{C}_{\mathrm{Blr}}\left(t\right)-{P}^{\mathrm{CHP},\mathrm{M}}\left(t\right){\overline{\lambda}}^{\mathrm{RT}}\left(t\right)\right]$$

$$0\le {H}_{j}^{\mathrm{Blr}}\left(t\right)\le {H}_{j}^{\mathrm{max},\mathrm{Blr}}$$

$${D}_{e}\left(t\right)={P}^{P}\left(t\right)+{P}_{\mathrm{LD}}^{\mathrm{rt}}+\sum _{i=1}^{I}{P}_{i}^{\mathrm{CHP},\mathrm{L}}\left(t\right)+{\overline{P}}_{\mathrm{LD}}^{\mathrm{WT}}\left(t\right)+{P}^{\mathrm{dch}}\left(t\right)$$

$${D}_{h}\left(t\right)=\sum _{j=1}^{J}{H}_{j}^{\mathrm{Blr}}+\sum _{i=1}^{I}{H}_{i}^{\mathrm{CHP}}\left(t\right)$$

$$\mathrm{SOC}=\mathrm{SOC}(t-1)+({P}_{\mathrm{ST}}^{\mathrm{rt}}\left(t\right)+{\overline{P}}_{\mathrm{ST}}^{\mathrm{WT}}\left(t\right)){\eta}_{\mathrm{Ch}}^{\mathrm{ST}}-\frac{{P}^{\mathrm{dch}}\left(t\right)}{{\eta}_{\mathrm{Dch}}^{\mathrm{ST}}}$$

$$\mathrm{SOC}\left({t}_{0}\right)=\mathrm{SOC}\left({t}_{T}\right)$$

$${P}^{\mathrm{dch}}\left(t\right)\le {E}_{\mathrm{max}}^{\mathrm{Dch}}.{\zeta}_{\mathrm{dch}}$$

$${P}^{\mathrm{ch}}\left(t\right)\le {E}_{\mathrm{max}}^{\mathrm{st}}.{\zeta}_{\mathrm{ch}}$$

$${\zeta}_{\mathrm{ch}}+{\zeta}_{\mathrm{dch}}\le 1$$

$${\overline{P}}^{\mathrm{WT}}={\overline{P}}_{\mathrm{ST}}^{\mathrm{WT}}+{\overline{P}}_{\mathrm{LD}}^{\mathrm{WT}}$$

$${P}^{\mathrm{rt}}\left(t\right)={\overline{P}}_{\mathrm{ST}}^{\mathrm{rt}}+{\overline{P}}_{\mathrm{LD}}^{\mathrm{rt}}$$

$${P}^{\mathrm{CHP}}\left(t\right)={P}^{\mathrm{CHP},\mathrm{M}}\left(t\right)+{P}^{\mathrm{CHP},\mathrm{L}}\left(t\right)$$

Equation (27) shows that the total cost of the energy carriers is equal to the power purchased from the DA market, from the RT market, and from the natural gas network. Equation (28) represents the boiler generation bounds. In Equation (29), the electricity demand balance is presented. The load is fed by the DA and RT markets, discharging energy of the ESS, the wind turbine, and the CHP unit. Parameters ${\overline{P}}_{\mathrm{LD}}^{\mathrm{rt}}$ and ${\overline{P}}_{\mathrm{LD}}^{\mathrm{WT}}$ show the contributions of RT purchases and wind unit generation, which are transferred directly to the load. Similarly, Equation (30) shows the heat balancing constraint, including the boiler and CHP unit contributions. The ESS constraints are presented in Equations (31)–(36). The RT electricity market and wind unit generation are used for charging the ESS.

The parameters ${\overline{P}}_{\mathrm{ST}}^{\mathrm{rt}}$ and ${\overline{P}}_{\mathrm{ST}}^{\mathrm{WT}}$ show the contributions of the purchased electricity and the wind generation used for charging the ESS. Equations (37) and (38) show that the total wind generation and electricity purchased from the RT market are divided into two parts. The first part is directly transferred to the load, and the second part is used for charging the ESS. The CHP may also transfer power to the load or sell it to the RT market as shown in Equation (39).

#### 5.2. Robust Energy Hub Management Formulation

In robust management, the uncertain parameters are placed within their intervals. As mentioned, in this paper, the uncertainties are electricity market price and wind turbine generation. Finally, the robust model is obtained as follows:
and Equations (1), (2), (13)–(17), (30) and (32)–(39).

$$\mathbf{min}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}-\alpha $$

$$(1-\alpha ){\overline{\lambda}}^{\mathrm{RT}}\left(t\right)\le {\lambda}^{\mathrm{RT}}\left(t\right)\le (1+\alpha ){\overline{\lambda}}^{\mathrm{RT}}\left(t\right)$$

$$(1-\alpha ){\overline{P}}^{\mathrm{WT}}\left(t\right)\le {P}^{\mathrm{WT}}\left(t\right)\le (1+\alpha ){\overline{P}}^{\mathrm{WT}}\left(t\right)$$

$$\mathrm{max}\{\Delta \le (1+\beta ){f}_{b}\}$$

$$\Delta =\sum _{t=1}^{T}\left[{P}^{\mathrm{DA}}\left(t\right){\lambda}^{\mathrm{DA}}\left(t\right)+{P}^{\mathrm{RT}}\left(t\right){\lambda}^{\mathrm{RT}}\left(t\right)+{C}_{\mathrm{CHP}}\left(t\right)+{C}_{\mathrm{Blr}}\left(t\right)-{P}_{\mathrm{CHP},\mathrm{M}}\left(t\right){\lambda}^{\mathrm{RT}}\left(t\right)\right]$$

$${D}_{e}\left(t\right)={P}^{P}\left(t\right)+{P}_{\mathrm{LD}}^{\mathrm{rt}}\left(t\right)+\sum _{i=1}^{I}{P}_{i}^{\mathrm{CHP},\mathrm{L}}\left(t\right)+{P}_{\mathrm{LD}}^{\mathrm{WT}}\left(t\right)+{P}^{\mathrm{dch}}\left(t\right)$$

$$\mathrm{SOC}\left(t\right)=\mathrm{SOC}(t-1)+({P}_{\mathrm{ST}}^{\mathrm{rt}}\left(t\right)+{P}_{\mathrm{ST}}^{\mathrm{WT}}\left(t\right)){\eta}_{\mathrm{Ch}}^{\mathrm{ST}}-{P}^{\mathrm{dch}}\left(t\right){\eta}_{\mathrm{Dch}}^{\mathrm{ST}}$$

$${P}^{\mathrm{WT}}={P}_{\mathrm{ST}}^{\mathrm{WT}}+{P}_{\mathrm{LD}}^{\mathrm{WT}}$$

It can be seen in Equation (40) that the uncertainty radius should be maximized. It is considered negative for making it a min-max problem. Equations (41) and (42) denote the bounds of uncertainty for the uncertain parameters. The total cost should be lower than a specific value based on Equation (43). The critical cost is shown in Equation (44).

Therefore, it can be said that the worst case of uncertainties for electricity prices and wind generation occurs in $(1+\alpha ){\overline{\lambda}}^{\mathrm{RT}}$ and $(1-\alpha ){\overline{P}}^{\mathrm{WT}}$.

## 6. Numerical Results

#### 6.1. Case Study

The aforementioned EH in Figure 1 is used to show the effectiveness of the proposed model of EH robust and stochastic management considering DR. As mentioned, electricity energy is procured in various ways including purchasing power from the DA and RT electricity markets, generating power by using wind turbine and the CHP units, and using the ESS. The CHP can also sell power to the RT market. Furthermore, heat is procured in two ways, from the CHP and the boiler units. Market prices and electricity demands are obtained from the New York ISO [61]. Figure 4 shows the electricity and heat demands, and Figure 5 depicts the RT and DA electricity prices. The RT decisions are made every ten minutes in reality, but the decisions of the RT market are set for an hour in this paper. This is customary for the sake of simplicity and considering the overlapping hours with the DA market. Since the DA decisions are made each hour, the reactions of the RT and DA markets are also available each hour. The electricity load data is about 5% of the total load of New York City. The CHP feasible operation region is enclosed by the coordinates $A(0,24.7)$, $B(18,21.5)$, $C(10.48,8.1)$, and $D(0,9.88)$ [54]. The heat demand data is taken from the HOMER software data sheet [62]. The wind speed data is given in Reference [63]. Note that all data periods are 24 hours and that a summary of the data characteristics is provided in Table 1. It is assumed that the boiler output is large enough to supply the heat demand on its own. The maximum capacity of the ESS is considered to be 55 MWh. The charging/discharging efficiencies are also considered to be 0.9 [11]. The nominal generation of the wind turbine is 20 MW, and its characteristics are given in Reference [64]. The value of the risk level ($\beta $) is 0.1. The EH management problem is formulated as an MINLP problem, and it is solved using the SBB solver in the GAMS software environment [65].

#### 6.2. Simulations and Discussion

The simulations are performed for the aforementioned EH with 0, 10, 20, and 30% of DR. The effect of the DR percentage on the base load is presented in Figure 6. It is found that DR is directly proportional to the load during off-peak hours and inversely proportional to the load in peak hours.

Figure 7 depicts the amount of power purchased from the DA electricity market. It can be seen that less power is purchased during peak hours by increasing the percentage of DR. This is due to a decrease in the amount of electricity demand in the peak hours by increasing DR. As a result of the increase in DR, the purchase of power during off-peak hours also increases. This is caused by the increase in load during the off-peak hours in the DR program. Figure 8 shows the total RT power purchased and stored by the ESS. Power is purchased from the RT market during the hours 1 to 4 and 18 to 23. Regarding the DA and RT market prices, it can be seen that RT prices are lower than DA prices in the mentioned hourly ranges and that the opposite occurs in the other hours. Therefore, no power is purchased in the other hours. In addition, the ESS is charged by the RT market power when the RT prices are lower. On the other hand, the higher the amount of DR, the higher the amount of power purchased. This is due to the rising demands in the off-peak hours. Additionally, a high level of DR is related to a lower uncertainty radius and, consequently, to lower RT prices and higher wind turbine generation. This issue is shown in Figure 9 for the RT prices. The amount of power sold to the RT market and transferred to the load by the CHP has been depicted in Figure 10. The selling price is equal to the RT price. Hence, higher RT prices result in more sales to the market by the CHP. In the other hours, the CHP helps to meet the electricity demand. DR can not affect the CHP, and minimum changes occur in its generation by changing the DR percentage. This happens because the CHP unit is a low cost unit that can also sell power and because its cost has no conflict with the economic goals of the DR program. The heat generated by the boiler and the CHP is shown in Figure 11. The maximum heat generated by the CHP is between 8 and 20 MW, when the CHP sells power to the market. It is clear that the remaining required heat has to be provided by the boiler as shown.

The charging/discharging states of the ESS are indicated in Figure 12. More charging states occur in the off-peak hours, when the RT electricity price is low. Discharge occurs in the peak hours (i.e., hours 14, 15, and 16). According to the RT prices, discharging occurs at the beginning of the period and, then, charging starts when the prices go down. In addition, a stochastic programming model (a well-known model for handling the uncertainty problem) has been conducted for a better understanding of the problem (see Table 2). Five scenarios from each uncertain source have been generated using a normal distribution function with a 20% standard deviation. The mean values of the these sources are assumed to be equal to the forecasted values which had been used in implementation of IGDT. Then, 25 scenarios have been generated after the combination of scenarios. Interested readers can refer to Reference [66] for more details about the scenario generation.

The given expected cost results from using the forecasted values of the uncertain parameters. The total cost obtained by the stochastic programming method is lower than both the expected cost and the critical cost. It can also be observed that a higher DR percentage results in a smaller uncertainty radius and a lower cost because, by increasing the percentage of DR, the electricity demand in the peak hours decreases. By reducing the peak load, there is a similarity between the problem and a deterministic one, and consequently, the uncertainty radius decreases. By raising the percentage of DR, the expected cost is reduced due to a decrease in the demand during peak hours.

A sensitivity analysis was performed on the risk coefficient and DR, and the results are provided in Table 3. The risk parameter was changed from 0.02 to 0.12 with a 0.02 step with respect to the two states of DR (0 and 30% DR). The five outputs of the problem include the uncertainty radius, the total power purchased from the RT and DA markets, and the total power and heat generated through the CHP in all hours. A higher value of the risk parameter results in a lower value of the uncertainty radius, meaning that the uncertain parameters can vary in a wider interval when the risk level is high. A reverse relation can be seen between risk and RT market participation. By raising the risk coefficient, the robustness of the problem increases. Therefore, it is natural to observe a decrease in the power produced by uncertain sources such as RT market participation and, on the other hand, to have an increase in deterministic sources such as DA market participation. However, the CHP is a deterministic power source, but its generation has a direct relation with the risk coefficient due to the CHP role in the problem in which it can sell power to the RT market. By raising the DR percentage, the participation in the RT market increases, and on the other hand, the power purchased from the DA market decreases because DR shifts the peak demand to off-peak hours. Therefore, by comparing the RT and DA market prices in the peak and off-peak hours, it can be said that the RT and DA markets are complementary and that their sum in each state of DR is close. In the case of CHP generation, a reduction occurs considering 30% of DR. As aforementioned, the DR shifts the peak hour demand to off-peak hours. In the first state of DR (0% of DR), plenty of peak hours and peak prices exist. Thus, the CHP as a low-cost source is required, while, in the second state (30% of DR), by shifting the demand from the peak hours to the off-peak hours, the need for the CHP is reduced. In other words, it cannot be said that the CHP is a low-cost source compared to the off-peak prices.

## 7. Conclusions

This paper has proposed an IGDT-based model for solving the EH management problem by considering a DR program for the problem faced by large consumers of power systems to procure their energies. The EH has RT and DA electricity market prices, wind turbine production, and natural gas as inputs, while it has heat and electricity as outputs. The problem is modeled with IGDT, and the DR program is added to give large consumers more flexibility. The results demonstrate that, by increasing the percentage of DR, the peak load decreases and the off-peak demand increases. It can be seen that the uncertainty radius is reduced by increasing the percentage of DR. A high level of DR results in a smaller uncertainty radius and, consequently, lower RT prices and a higher value of wind turbine generation. By raising the risk coefficient, the level of participation in the RT and DA markets is dramatically reduced and increased, respectively. The CHP is affected by changing the risk coefficient in such a way that the higher the risk parameter, the lower the CHP generation.

## Author Contributions

A.N.: conceptualization, methodology and writing original draft; M.M.: methodology and writing review; B.M.-I.: conceptualization, methodology and writing review; J.C.: conceptualization and writing review; M.P.-K. and M.L.: editing and data analysis; R.G.: editing revision version.

## Funding

Radu Godina was supported by the Fundação para a Ciência e Tecnologia (grant UID/EMS/00667/2019). Javier Contreras was supported by the Ministry of Economy and Competitiveness of Spain under Project ENE2015-63879-R (MINECO/FEDER, UE).

## Acknowledgments

Radu Godina would like to acknowledge financial support from Fundação para a Ciência e Tecnologia (grant UID/EMS/00667/2019).

## Conflicts of Interest

The authors declare no conflict of interest.

## Nomenclature

$\mathbf{Indices}$ | |

t | Time index |

i | CHP index |

j | Boiler index |

$\mathbf{Variables}$ | |

${C}^{\mathrm{rt}}/{C}^{\mathrm{da}}$ | Total cost of purchasing from the RT/DA markets ($) |

${P}^{\mathrm{RT}}/{P}^{\mathrm{DA}}$ | Energy purchased from the RT/DA markets (MWh) |

$\mathrm{SOC}\left(t\right)$ | State of charge (SOC) (MWh) |

${P}^{\mathrm{dch}}\left(t\right)/{P}^{\mathrm{ch}}\left(t\right)$ | Discharging/charging power of the energy storage system (ESS) (MW) |

${P}_{i}^{\mathrm{CHP}}\left(t\right)/{H}_{i}^{\mathrm{CHP}}\left(t\right)$ | Electric/heat power produced by the combined heat and power (CHP) (MW) |

${P}_{i}^{\mathrm{CHP},\mathrm{M}}\left(t\right)$ | Electric power sold to the market by the combined heat and power (CHP) (MW) |

${P}_{i}^{\mathrm{CHP},\mathrm{L}}\left(t\right)$ | Electric power transferred to the load directly by the combined heat and power (CHP) (MW) |

${C}_{\mathrm{CHP}}$ | Total cost of the CHP ($) |

${H}_{j}^{\mathrm{Blr}}\left(t\right)$ | Heat power produced by the boiler (MWth) |

${C}_{\mathrm{Blr}}$ | Total cost of the boiler ($) |

${P}_{\mathrm{CHP}}^{gas}\left(t\right)/{P}_{\mathrm{Blr}}^{\mathrm{gas}}$ | Equivalent power of gas entering the CHP/ boiler (MW) |

${D}_{e}\left(t\right)$ | Electric power demand after the DR program |

$\mathrm{DR}\left(t\right)$ | Deployed DR |

$\mathrm{ldr}\left(t\right)$ | Shifted load in the DR program |

$\mathrm{inc}\left(t\right)$ | Increasing electricity demand in the DR program |

$\alpha $ | Uncertainty radius |

$\rho $ | Uncertain parameter of the IGDT problem |

${f}_{b}$ | Cost obtained with deterministic parameters |

${\overline{P}}^{\mathrm{WT}}$ | Forecasted electric power produced by a wind turbine (MW) |

${P}_{\mathrm{LD}}^{\mathrm{rt}}\left(t\right)$ | Power purchased from the RT market to supply the load directly |

${P}_{\mathrm{LD}}^{\mathrm{WT}}\left(t\right)$ | Electric power generated by the wind turbine to supply the load directly |

${P}_{\mathrm{ST}}^{\mathrm{rt}}\left(t\right)$ | Power purchased from the RT market for charging the ESS |

${P}_{\mathrm{ST}}^{\mathrm{WT}}\left(t\right)$ | Electric power generated by the wind turbine for charging the ESS |

${v}^{\mathrm{CHP}}\left(t\right)$ | Binary variable associated with the ON/OFF state of the CHP |

${\zeta}_{\mathrm{ch}}/{\zeta}_{\mathrm{dch}}$ | Binary variable associated with the ON/OFF state of charging/discharging |

${u}_{\mathrm{dr}}\left(t\right)$ | Binary variable associated with decreasing electricity demand in the DR program |

${u}_{\mathrm{inc}}\left(t\right)$ | Binary variable associated with increasing electricity demand in the DR program |

Parameters | |

${P}_{\mathrm{h},\mathrm{max}}^{\mathrm{Blr}}$ | Maximum generation of the boiler |

${\eta}_{Ch}^{\mathrm{ST}}/{\eta}_{Dch}^{\mathrm{ST}}$ | Charging/discharging efficiency |

${E}_{\mathrm{max}}^{\mathrm{st}}/{E}_{\mathrm{min}}^{\mathrm{st}}$ | Maximum/minimum capacity of the ESS |

${E}_{\mathrm{max}}^{\mathrm{Dch}}$ | Maximum discharge of the ESS |

${\lambda}^{\mathrm{DA}}\left(t\right)$ | DA electricity market price ($/MWh) |

${\overline{\lambda}}^{\mathrm{RT}}$ | Expected RT market price ($/MWh) |

${\mathrm{inc}}^{\mathrm{max}}$ | Maximum amount of increase in load in the DR program |

${\mathrm{DR}}^{\mathrm{max}}$ | Maximum amount of reduced demand in the DR program |

${S}_{i}$ | Wind speed (m/s) |

${V}_{n}$ | Nominal wind speed (m/s) |

${V}_{\mathrm{cin}}/{V}_{\mathrm{cout}}$ | Cut-in/cut out wind speed (m/s) |

${P}_{n}$ | Nominal power of a wind turbine (MW) |

${D}_{e}^{0}\left(t\right)$ | Base electricity demand |

${D}_{h}\left(t\right)$ | Heat demand |

$\beta $ | Risk parameter |

$\Delta $ | Critical value of the objective function |

$\overline{\rho}$ | Expected value of an uncertain parameter for IGDT modeling |

${\lambda}^{\mathrm{gas}}$ | Gas price ($) |

${\overline{P}}_{\mathrm{LD}}^{rt}\left(t\right)$ | Expected value of the power purchased from the RT market to supply the load directly |

${\overline{P}}_{\mathrm{LD}}^{WT}\left(t\right)$ | Expected value of the electric power generated by a wind turbine to supply the load directly |

${\overline{P}}_{\mathrm{ST}}^{\mathrm{rt}}$ | Expected value of the power purchased from the RT market for charging the ESS |

${\overline{P}}_{\mathrm{ST}}^{\mathrm{WT}}$ | Expected value of the electric power generated by the wind turbine for charging the ESS |

$\phantom{\rule{4pt}{0ex}}{a}_{i},{b}_{i},{c}_{i},{d}_{i},{e}_{i},{f}_{i},$ | Cost coefficients of the CHP |

$\mathbf{Sets}$ | |

T | Number of time periods |

I | Number of CHP units |

J | Number of boiler units |

## References

- Geidl, M.; Koeppel, G.; Favre-Perrod, P.; Klockl, B.; Andersson, G.; Frohlich, K. Energy hubs for the future. IEEE Power Energy Mag.
**2007**, 5, 24–30. [Google Scholar] [CrossRef] - Geidl, M.; Andersson, G. Optimal power flow of multiple energy carriers. IEEE Trans. Power Syst.
**2007**, 22, 145–155. [Google Scholar] [CrossRef] - Ren, H.; Gao, W. A MILP model for integrated plan and evaluation of distributed energy systems. Appl. Energy
**2010**, 87, 1001–1014. [Google Scholar] [CrossRef] - Kim, J.S.; Edgar, T.F. Optimal scheduling of combined heat and power plants using mixed-integer nonlinear programming. Energy
**2014**, 77, 675–690. [Google Scholar] [CrossRef] - Wang, H.; Yin, W.; Abdollahi, E.; Lahdelma, R.; Jiao, W. Modelling and optimization of CHP based district heating system with renewable energy production and energy storage. Appl. Energy
**2015**, 159, 401–421. [Google Scholar] [CrossRef] - Shabanpour-Haghighi, A.; Seifi, A.R.; Niknam, T. A modified teaching learning based optimization for multi objective optimal power flow problem. Energy Convers. Manag.
**2014**, 77, 597–607. [Google Scholar] [CrossRef] - Shabanpour-Haghighi, A.; Seifi, A.R. Multi-objective operation management of a multi-carrier energy system. Energy
**2015**, 88, 430–442. [Google Scholar] [CrossRef] - Adamek, F.; Arnold, M.; Andersson, G. On Decisive Storage Parameters for Minimizing Energy Supply Costs in Multicarrier Energy Systems. IEEE Trans. Sustain. Energy
**2014**, 5, 102–109. [Google Scholar] [CrossRef] - Najafi, A.; Falaghi, H.; Contreras, J.; Ramezani, M. A Stochastic Bilevel Model for the Energy Hub Manager Problem. IEEE Trans. Smart Grid
**2017**, 8, 2394–2404. [Google Scholar] [CrossRef] - Shahmohammadi, A.; Moradi-Dalvand, M.; Ghasemi, H.; Ghazizadeh, M.S. Optimal design of multicarrier energy systems considering reliability constraints. IEEE Trans. Power Deliv.
**2015**, 30, 878–886. [Google Scholar] [CrossRef] - Dolatabadi, A.; Mohammadi-Ivatloo, B.; Abapour, M.; Tohidi, S. Optimal Stochastic Design of Wind Integrated Energy Hub. IEEE Trans. Ind. Inform.
**2017**, 13, 2379–2388. [Google Scholar] [CrossRef] - Moeini-Aghtaie, M.; Farzin, H.; Fotuhi-Firuzabad, M.; Amrollahi, R. Generalized Analytical Approach to Assess Reliability of Renewable-Based Energy Hubs. IEEE Trans. Power Syst.
**2017**, 32, 368–377. [Google Scholar] [CrossRef] - Hemmati, S.; Ghaderi, S.; Ghazizadeh, M. Sustainable energy hub design under uncertainty using Benders decomposition method. Energy
**2018**, 143, 1029–1047. [Google Scholar] [CrossRef] - Zhang, N.; Yan, Y.; Xu, S.; Su, W. Game-theory-based electricity market clearing mechanisms for an open and transactive distribution grid. In Proceedings of the 2015 IEEE Power Energy Society General Meeting, Denver, CO, USA, 26–30 July 2015; pp. 1–5. [Google Scholar]
- Rastegar, M.; Fotuhi-Firuzabad, M. Load management in a residential energy hub with renewable distributed energy resources. Energy Build.
**2015**, 107, 234–242. [Google Scholar] [CrossRef] - Sheikhi, A.; Bahrami, S.; Ranjbar, A.M. An autonomous demand response program for electricity and natural gas networks in smart energy hubs. Energy
**2015**, 89, 490–499. [Google Scholar] [CrossRef] - Rastegar, M.; Fotuhi-Firuzabad, M.; Zareipour, H.; Moeini-Aghtaieh, M. A Probabilistic Energy Management Scheme for Renewable-Based Residential Energy Hubs. IEEE Trans. Smart Grid
**2017**, 8, 2217–2227. [Google Scholar] [CrossRef] - Roustai, M.; Rayati, M.; Sheikhi, A.; Ranjbar, A. A scenario-based optimization of Smart Energy Hub operation in a stochastic environment using conditional-value-at-risk. Sustain. Cities Soc.
**2018**, 39, 309–316. [Google Scholar] [CrossRef] - Mirzaei, M.A.; Yazdankhah, A.S.; Mohammadi-Ivatloo, B.; Marzband, M.; Shafie-khah, M.; Ao, J.P.C. Stochastic network-constrained co-optimization of energy and reserve products in renewable energy integrated power and gas networks with energy storage systems. J. Clean. Prod.
**2019**, 223, 747–758. [Google Scholar] [CrossRef] - Ashouri, A.; Fux, S.S.; Benz, M.J.; Guzzella, L. Optimal design and operation of building services using mixed-integer linear programming techniques. Energy
**2013**, 59, 365–376. [Google Scholar] [CrossRef] - Brahman, F.; Honarmand, M.; Jadid, S. Optimal electrical and thermal energy management of a residential energy hub, integrating demand response and energy storage system. Energy Build.
**2015**, 90, 65–75. [Google Scholar] [CrossRef] - Setlhaolo, D.; Sichilalu, S.; Zhang, J. Residential load management in an energy hub with heat pump water heater. Appl. Energy
**2017**, 208, 551–560. [Google Scholar] [CrossRef] - Barmayoon, M.H.; Fotuhi-Firuzabad, M.; Rajabi-Ghahnavieh, A.; Moeini-Aghtaie, M. Energy storage in renewable-based residential energy hubs. IET Gener. Transm. Distrib.
**2016**, 10, 3127–3134. [Google Scholar] [CrossRef] - Roldán-Blay, C.; Escrivá-Escrivá, G.; Roldán-Porta, C.; Álvarez-Bel, C. An optimisation algorithm for distributed energy resources management in micro-scale energy hubs. Energy
**2017**, 132, 126–135. [Google Scholar] [CrossRef] - Davatgaran, V.; Saniei, M.; Mortazavi, S.S. Optimal bidding strategy for an energy hub in energy market. Energy
**2018**, 148, 482–493. [Google Scholar] [CrossRef] - Ghasemi, G.; Noorollahi, Y.; Alavi, H.; Marzband, M.; Shahbazi, M. Theoretical and technical potential evaluation of solar power generation in Iran. Renew. Energy
**2019**, 138, 1250–1261. [Google Scholar] [CrossRef] - Ghaffarpour, R.; Mozafari, B.; Ranjbar, A.M.; Torabi, T. Resilience oriented water and energy hub scheduling considering maintenance constraint market. Energy
**2018**, 158, 1092–1104. [Google Scholar] [CrossRef] - Fan, S.; Li, Z.; Wang, J.; Piao, L.; Ai, Q. Cooperative Economic Scheduling for Multiple Energy Hubs: A Bargaining Game Theoretic Perspective. IEEE Access
**2018**, 6, 27777–27789. [Google Scholar] [CrossRef] - Vahid-Pakdel, M.; Nojavan, S.; Mohammadi-ivatloo, B.; Zare, K. Stochastic optimization of energy hub operation with consideration of thermal energy market and demand response. Energy Convers. Manag.
**2017**, 145, 117–128. [Google Scholar] [CrossRef] - Shafiee, S.; Zareipour, H.; Knight, A.M.; Amjady, N.; Mohammadi-Ivatloo, B. Risk-Constrained Bidding and Offering Strategy for a Merchant Compressed Air Energy Storage Plant. IEEE Trans. Power Syst.
**2017**, 32, 946–957. [Google Scholar] [CrossRef] - Javadi, M.; Marzband, M.; Akorede, M.F.; Godina, R.; Al-Sumaiti, A.S.; Pouresmaeil, E. A centralized smart decision-making hierarchical interactive architecture for multiple home microgrids in retail electricity market. Energies
**2018**, 11, 3144. [Google Scholar] [CrossRef] - Rodrigues, E.M.G.; Godina, R.; Marzband, M.; Pouresmaeil, E. Simulation and Comparison of Mathematical Models of PV Cells with Growing Levels of Complexity. Energies
**2018**, 11, 2902. [Google Scholar] [CrossRef] - Valinejad, J.; Marzband, M.; Akorede, M.F.; Elliott, I.D.; Godina, R.; Matias, J.; Pouresmaeil, E. Long-term decision on wind investment with considering different load ranges of power plant for sustainable electricity energy market. Sustainability
**2018**, 10, 3811. [Google Scholar] [CrossRef] - Valinejad, J.; Barforoshi, T.; Marzband, M.; Pouresmaeil, E.; Godina, R.; Catalao, J.P.S. Investment Incentives in Competitive Electricity Markets. Appl. Sci.
**2018**, 8, 1978. [Google Scholar] [CrossRef] - Marzband, M.; Azarinejadian, F.; Savaghebi, M.; Pouresmaeil, E.; Guerrero, J.M.; Lightbody, G. Smart transactive energy framework in grid-connected multiple home microgrids under independent and coalition operations. Renew. Energy
**2018**, 126, 95–106. [Google Scholar] [CrossRef] - Rezaei, N.; Ahmadi, A.; Khazali, A.; Aghaei, J. Multi-objective Risk-Constrained Optimal Bidding Strategy of Smart Microgrids: An IGDT-based Normal Boundary Intersection Approach. IEEE Trans. Ind. Inform.
**2019**, 15, 1532–1543. [Google Scholar] [CrossRef] - Kazemi, M.; Mohammadi-Ivatloo, B.; Ehsan, M. Risk-based bidding of large electric utilities using Information Gap Decision Theory considering demand response. Electr. Power Syst. Res.
**2014**, 114, 86–92. [Google Scholar] [CrossRef] - Moradi-Dalvand, M.; Mohammadi-Ivatloo, B.; Amjady, N.; Zareipour, H.; Mazhab-Jafari, A. Self-scheduling of a wind producer based on Information Gap Decision Theory. Energy
**2015**, 81, 588–600. [Google Scholar] [CrossRef] - Marzband, M.; Fouladfar, M.H.; Akorede, M.F.; Lightbody, G.; Pouresmaeil, E. Framework for smart transactive energy in home-microgrids considering coalition formation and demand side management. Sustain. Cities Soc.
**2018**, 40, 332–340. [Google Scholar] [CrossRef] - Taherkhani, M.; Hosseini, S.H. IGDT-based multi-stage transmisison expansion planning model incorporating optimal wind farm integration. Electr. Power Syst. Res.
**2014**, 25, 2340–2358. [Google Scholar] - Marzband, M.; Javadi, M.; Pourmousavi, S.A.; Lightbody, G. An advanced retail electricity market for active distribution systems and home microgrid interoperability based on game theory. Electr. Power Syst. Res.
**2018**, 157, 187–199. [Google Scholar] [CrossRef] - Valinejad, J.; Marzband, M.; Akorede, M.F.; Barforoshi, T.; Jovanović, M. Generation expansion planning in electricity market considering uncertainty in load demand and presence of strategic GENCOs. Electr. Power Syst. Res.
**2017**, 152, 92–104. [Google Scholar] [CrossRef] - Marzband, M.; Ghazimirsaeid, S.S.; Uppal, H.; Fernando, T. A real-time evaluation of energy management systems for smart hybrid home Microgrids. Electr. Power Syst. Res.
**2017**, 143, 624–633. [Google Scholar] [CrossRef][Green Version] - Nikoobakht, A.; Aghaei, J. IGDT-based robust optimal utilization of wind power generation using coordinated flexibility resources. Electr. Power Syst. Res.
**2017**, 11, 264–277. [Google Scholar] - Tavakoli, M.; Shokridehaki, F.; Akorede, M.F.; Marzband, M.; Vechiu, I.; Pouresmaeil, E. CVaR-based energy management scheme for optimal resilience and operational cost in commercial building microgrids. Int. J. Electr. Power Energy Syst.
**2018**, 100, 1–9. [Google Scholar] [CrossRef] - Rezaei, N.; Ahmadi, A.; Khazali, A.H.; Guerrero, J.M. Energy and Frequency Hierarchical Management System Using Information Gap Decision Theory for Islanded Microgrids. IEEE Trans. Ind. Electron.
**2018**, 65, 7921–7932. [Google Scholar] [CrossRef] - Mehrasa, M.; Pouresmaeil, E.; Sepehr, A.; Pournazarian, B.; Marzband, M.; Catalao, J.P.S. Control technique for the operation of grid-tied converters with high penetration of renewable energy resources. Electr. Power Syst. Res.
**2019**, 166, 18–28. [Google Scholar] [CrossRef] - Geidl, M.; Andersson, G. Risk-Constrained Strategic Bidding of GenCos Considering Demand Response. IEEE Trans. Power Syst.
**2015**, 30, 376–384. [Google Scholar] - Tavakoli, M.; Shokridehaki, F.; Marzband, M.; Godina, R.; Pouresmaeil, E. A two stage hierarchical control approach for the optimal energy management in commercial building microgrids based on local wind power and PEVs. Sustain. Cities Soc.
**2018**, 41, 332–340. [Google Scholar] [CrossRef] - Soroudi, A.; Keane, A. Risk Averse Energy Hub Management Considering Plug-in Electric Vehicles Using Information Gap Decision Theory. In Plug In Electric Vehicles in Smart Grids; Springer: Singapore, 2016; pp. 107–127. [Google Scholar]
- Najafi, A.; Falaghi, H.; Contreras, J.; Ramezani, M. Medium-term energy hub management subject to electricity price and wind uncertainty. Appl. Energy
**2016**, 168, 418–433. [Google Scholar] [CrossRef] - Shotorbani, A.M.; Mohammadi-Ivatloo, B.; Wang, L.; Marzband, M.; Sabahi, M. Application of finite-time control Lyapunov function in low-power PMSG wind energy conversion systems for sensorless MPPT. Int. J. Electr. Power Energy Syst.
**2019**, 106, 169–182. [Google Scholar] [CrossRef] - Subbaraj, P.; Rengaraj, R.; Salivahanan, S. Enhancement of combined heat and power economic dispatch using self adaptive real-coded genetic algorithm. Appl. Energy
**2009**, 86, 915–921. [Google Scholar] [CrossRef] - Alipour, M.; Mohammadi-Ivatloo, B.; Zare, K. Stochastic risk-constrained short-term scheduling of industrial cogeneration systems in the presence of demand response programs. Appl. Energy
**2014**, 136, 393–404. [Google Scholar] [CrossRef] - Karki, R.; Billinton, R. Cost-effective wind energy utilization for reliable power supply. IEEE Trans. Energy Convers.
**2004**, 19, 435–440. [Google Scholar] [CrossRef] - Giorsetto, P.; Utsurogi, K.F. Development of a New Procedure for Reliability Modeling of Wind Turbine Generators. IEEE Trans. Power Appar. Syst.
**1983**, PAS-102, 134–143. [Google Scholar] [CrossRef] - Nojavan, S.; Ghesmati, H.; Zare, K. Robust optimal offering strategy of large consumer using IGDT considering demand response programs. Electr. Power Syst. Res.
**2016**, 130, 46–58. [Google Scholar] [CrossRef] - Mehdizadeh, A.; Taghizadegan, N.; Salehi, J. Risk-based energy management of renewable-based microgrid using information gap decision theory in the presence of peak load management. Appl. Energy
**2018**, 211, 617–630. [Google Scholar] [CrossRef] - Zare, K.; Moghaddam, M.P.; Sheikh-El-Eslami, M.K. Risk-Based Electricity Procurement for Large Consumers. IEEE Trans. Power Syst.
**2011**, 26, 1826–1835. [Google Scholar] [CrossRef] - Zare, K.; Moghaddam, M.P.; Eslami, M.K.S.E. Electricity procurement for large consumers based on Information Gap Decision Theory. Energy Policy
**2010**, 38, 234–242. [Google Scholar] [CrossRef] - NY ISO. Available online: http://www.nyiso.com (accessed on 31 July 2012).
- Homer Energy. Available online: http://www.homerenergy.com (accessed on 31 July 2012).
- North Dakota Agriculture Weather Network. Available online: http://ndawn.ndsu.nodak.edu/wind-speeds.html (accessed on 31 July 2012).
- Vestas. Available online: http://www.vestas.com (accessed on 31 July 2012).
- GAMS Software. Available online: https://www.gams.com (accessed on 31 July 2012).
- Baringo, L.; Conejo, A.J. Risk-Constrained Multi-Stage Wind Power Investment. IEEE Trans. Power Syst.
**2013**, 28, 401–411. [Google Scholar] [CrossRef]

**Figure 2.**The feasible operation region of combined heat and power (CHP) [51].

**Figure 3.**The uncertainty bounds [38].

Device (Coefficient) | Value |
---|---|

BSS maximum capacity | 55 MWh |

Risk coefficient | 0.1 |

Charging/discharging efficiencies | 0.9 |

CHP FOR points | A(0, 24.7), B(18, 21.5), C(10.48, 8.1), and D(0, 9.88) |

Wind power maximum output | 20 MW |

**Table 2.**A comparison of the stochastic programming method and Information Gap Decision Theory (IGDT).

Percent of DR (%) | 0 | 10 | 20 | 30 |

$\alpha $ | 0.694 | 0.568 | 0.482 | 0.411 |

Expected cost ($) | 203,936 | 197,738 | 191,525 | 185,331 |

Critical cost ($)($\Delta $) | 224,330 | 217,512 | 210,677 | 203,864 |

Stochastic programming cost ($) | 201,342 | 194,737 | 188,132 | 181,528 |

0 % of DR | $\mathit{\beta}$ | 0.02 | 0.04 | 0.06 | 0.08 | 0.1 | 0.12 |

$\alpha $ | 0.1 | 0.189 | 0.308 | 0.468 | 0.694 | 1 | |

${P}^{rt}\left(t\right)$ | 4348 | 3054 | 2535 | 1948 | 1333 | 1113 | |

${P}^{DA}\left(t\right)$ | 4073 | 5439 | 6002 | 6638 | 7338 | 7638 | |

${H}^{CHP}\left(t\right)$ | 304 | 304 | 323 | 334 | 345 | 352 | |

${P}^{CHP}\left(t\right)$ | 288 | 288 | 322 | 341 | 361 | 374 | |

30 % of DR | $\beta $ | 0.02 | 0.04 | 0.06 | 0.08 | 0.1 | 0.12 |

$\alpha $ | 0.081 | 0.14 | 0.214 | 0.3 | 0.448 | 0.559 | |

${P}^{rt}\left(t\right)$ | 5227 | 4670 | 4496 | 3510 | 2675 | 1995 | |

${P}^{DA}\left(t\right)$ | 3178 | 3769 | 3989 | 5016 | 5885 | 6628 | |

${H}^{CHP}\left(t\right)$ | 304 | 304 | 306 | 322 | 333 | 334 | |

${P}^{CHP}\left(t\right)$ | 288 | 288 | 292 | 320 | 342 | 342 |

© 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/).