Keywords

5.1 Introduction

The concept of energy hub was first introduced in [1]. It is defined as a combination of energy conversion units which satisfy different types of energy demands. Figure 5.1 illustrates an example of energy hub, which provides an interface between the different inputs and outputs energy carriers.

Fig. 5.1
figure 1

The general concept of energy hub

A relevant number of recent researches have proposed some models for energy hub concept. These models describe the energy hubs as a combination of nuclear plants, wind turbines, solar panels, biomass reactors, electrolyzers, fuel cells [2] and energy storage devices. Different optimization techniques are available for solving the optimal management of energy hubs like Simulated Annealing algorithm [3], genetic algorithm [4] and multi-objective goal programming [5]. The optimal operating schedule of an energy hub highly depends on the input parameters of the model. Usually these input parameters are subject to uncertainty due to various reasons. For example, renewable power generations are volatile because of their natural primary resource like wind speed, solar radiation, temperature and etc. Another important uncertain input parameter is the demand whether it is electrical or heat which should be treated properly [6]. It is highly dependent on the consumer behavior which cannot be predicted easily. The last important uncertain parameter is the electricity price which directly affects the payments or benefits of the decision maker. The electricity prices in deregulated electricity markets are uncertain due to various reasons like: competition between the price maker generating companies, contingencies and etc.

There are different types of uncertainty modeling in energy hub management. The most famous technique is stochastic method [7, 8]. The Monte Carlo Simulation (MCS) [9] is used in uncertainty modeling of energy prices [10]. The shortcoming of this technique is that it is computationally expensive and it also requires the probability density functions (PDF) of uncertain parameters. Without them the problem cannot be solved. The second issue is that using the Monte Carlo simulation gives the decision maker the expected value of objective function and also its variance. It’s more useful in assessment applications rather than optimization applications. The scenario based modeling which defines some discrete scenarios with specific probabilities and then tries to minimize the expected values. It improves the computational burden significantly compared to MCS.

In [11], this method is used to handle the uncertainty of wind, price and electricity demand. The conditional value at risk (CVaR) [12] is also used for risk controlling. Another uncertainty modeling technique is robust optimization [13]. This technique does not require the PDF of the uncertain parameters. Instead, it uses an interval for uncertain parameters. It tries to find the optimal decision variables while some predefined degree of conservativeness is taken into account. This technique is used for uncertainty modeling of energy prices, energy demand and also the converter efficiencies of energy hubs [14]. To cope with the increasing volatile renewable generation in energy hubs it is possible to use energy storage [15]. Different energy storage technologies have been used in energy hubs such as solid hydrogen storage [3], water electrolyzers for hydrogen production [16], thermal energy storage [17], Hydrogen-Natural Gas Co-Storage [18] and plug-in electric vehicles (PEV) [19]. The PEVs have recently attracted a great deal of attention in energy system management strategies. The advents of these new technologies have changed the original operating philosophy of PEVs from pure transportation into important energy system flexibility providers. They can be used as an energy storage device when not in use for transportation purposes. In this chapter, a risk averse Information Gap Decision Theory (IGDT) [20] framework is proposed for optimal energy management of an energy hub. This technique is exact and does not require the PDF of the uncertain parameters. This hub purchases energy from different resources and converts them to different output forms. It also uses the flexibilities that PEV may provide. The problem is analyzed with the following constraints, decision variables and objective function:

  • Decision variables:

    • Electricity purchase from the electricity market

    • Electricity sell to the electricity market

    • Gas purchase from the gas network

    • Operation schedule of energy conversion devices

    • Operation charging and discharging of PEV

  • Constraints:

    • Uncertainty of thermal demand

    • Uncertainty of electricity demand

    • Uncertainty of energy production of renewable resources

    • Technical constraints of energy conversion/storage of PEVs

    • Different demand balance

    • Risk of energy management strategy due to different uncertainties

Objective function: it is defined as the total payments regarding the energy management.

5.2 IGDT Based Uncertainty Modeling

The decision makers need some strong tools in order to handle the severe uncertainties. Specially when not enough information is available from the uncertain input parameters (like probability density function or membership function). The information gap decision theory provided such a tool which is computationally efficient and it is robust against the prediction errors. It has been successfully applied on various energy system applications such as:

  • Energy procurement in distribution networks [20]

  • Risk-constrained self-scheduling of GenCos [21]

  • Multi-objective robust transmission expansion planning [22]

  • Optimal bidding strategy of generation station in power market [23]

In this chapter, an IGDT based model [8] is proposed to handle the uncertainty of wind power generation, electric load and heat load. The mathematical formulation of risk hedging IGDT framework is as follows:

$$ { \hbox{min} }_{X} \,f(X,\psi ) $$
(5.1)
$$ H_{i} (X,\psi ) \le 0,\quad i \in\Gamma $$
(5.2)

\( \Gamma \) is the set of all constraints. \( \psi \) is the vector of input uncertain parameters. In this work, an IGDT based energy management is formulated as:

$$ { \hbox{max} }_{X} \hat{\ell } $$
(5.3)
$$ H_{i} (X,\psi ) \le 0,\quad i \in\Gamma $$
(5.4)
$$ \hat{\ell } = \left\{ {{ \hbox{max} }_{\ell } \,|f(X,\psi ) -\Lambda _{c} \le 0} \right\} $$
(5.5)
$$ \psi \in U(\bar{\psi },\ell ) = \{ \psi :|\frac{{\psi - \bar{\psi }}}{{\bar{\psi }}}|\} \le \ell $$
(5.6)

\( \Lambda _{c} \) is the critical value of objective function (for a given value of X) which can be exceeded when the realized values are not the same as forecasted ones. \( \bar{\psi } \) is the forecasted value of \( \psi \). \( \ell \) is the unknown radius of uncertainty.

5.3 Problem Formulation

The general operating concept of an energy hub can be described as follows:

$$ OF = \sum\limits_{t}^{{}} {\lambda_{\gamma }^{{}} (t)P_{\gamma }^{in} (t)} $$
(5.7)
$$ P_{\gamma }^{out} (t) = AP_{\gamma }^{in} (t) $$
(5.8)

where, \( \upgamma \) is the set of energy carriers. \( P_{\gamma }^{in} (t) \), \( P_{\gamma }^{out} (t) \) denote the input and output energy carriers of the hub, respectively. \( \lambda_{\gamma }^{{}} (t) \) is the price of energy carrier \( \upgamma \) at time t. The matrix A is the core function of the energy hub which defines the conversion, storage and distribution of different energy carriers. The energy hub under study in this chapter is depicted in Fig. 5.2.

Fig. 5.2
figure 2

The energy hub under study

This energy hub has three inputs as the supplying resources namely electric power purchased from electricity market (\( Pe_{b} (t) \)), wind power generation (\( Pw(t) \)) and finally natural gas (\( Pg(t) \)). The output of energy hub has three different parts namely electric load (\( Le(t) \)), heat load (\( Lh(t) \)), power sold to energy market (\( Pe_{s} (t) \)) and power charge/discharge for PEV (\( Pd(t,v),Pc(t,v) \)). The question is how to optimally exploit the energy hub in order to minimize the payments for energy procurement.

The performance of the described energy hub in Fig. 5.2 can be modeled as follows:

$$ Pe_{b} (t) + Pw(t) + Pg_{chp}^{{}} (t)\eta_{chp}^{ge} + \sum\limits_{v} {Pd(t,v)} = Le(t) + Pe_{s} (t) + \sum\limits_{v} {Pc(t,v)} $$
(5.9)
$$ 0 \, \le \, Pe_{b} (t) \, \le Pe_{b}^{\hbox{max} } $$
(5.10)
$$ 0 \, \le \, Pe_{s} (t) \, \le \, Pe_{s}^{\hbox{max} } $$
(5.11)
$$ Pw(t) \, \le \, \left( {1 - \alpha_{w} } \right) \, \bar{P}w(t)Cap_{w} $$
(5.12)
$$ Le(t) \, = \, \left( {1 + \alpha_{Le} } \right) \, \bar{L}e(t)Le_{\hbox{max} } $$
(5.13)
$$ Lh(t) \, = \, \left( {1 + \alpha_{Lh} } \right) \, \bar{L}h(t)Lh_{\hbox{max} } $$
(5.14)
$$ Pg(t) = Pg_{chp}^{{}} (t) + Pg_{f}^{{}} (t) $$
(5.15)
$$ Lh(t) = Pg_{f}^{{}} (t)\eta_{f}^{gh} + \, Pg_{chp}^{{}} (t)\eta_{chp}^{gh} $$
(5.16)

The electric balance is modeled in (5.9). This means that the electric output of the energy hub (\( Le(t) + Pe_{s} (t) + \sum\nolimits_{v}^{{}} {Pc(t,v)} \)) is fed using \( Pe_{b} (t) + Pw(t) + \, Pg_{chp} (t)\eta_{chp}^{ge} + \sum\nolimits_{v}^{{}} {Pd(t,v)} \). The third term is the converted gas to electricity in CHP units. The purchased gas \( Pg(t) \) is divided into two streams \( Pg_{chp} (t),Pg_{f} (t) \). The \( Pg_{chp} (t) \) is fed into the CHP unit and the \( Pg_{f} (t) \) is fed into the furnace unit as described in (5.15). Finally, the heat load (\( Lh(t) \)) is supplied using furnace and CHP units as given in (5.16).

The operation modeling of PEV is described in (5.175.23).

$$ {\text{SOC(t,}}\,{\text{v) = SOC(t}} - 1 ,\,{\text{v) + }}\eta_{v}^{c} {Pc(t,}\,{\text{v)}} - \frac{{{Pd(t,}\,{\text{v)}}}}{{\eta_{v}^{d} }} - {\text{P}}_{tr} ( {\text{t,}}\,{\text{v)}} $$
(5.17)
$$ {\text{SOC(t,v) = E}}_{v}^{0} + \eta_{v}^{c} {Pc(t,v)} - \frac{Pd(t,v)}{{\eta_{v}^{d} }} - {\text{P}}_{tr} ( {\text{t,v)}} $$
(5.18)
$$ {\text{SOC}}_{\hbox{min} }^{v} \, \le {\text{ SOC(t,v) }} \le {\text{ SOC}}_{\hbox{max} }^{v} $$
(5.19)
$$ {\text{P}}_{tr} ( {\text{t,v) = }}\Delta {\text{D(t,v) }}\Omega _{v} $$
(5.20)
$$ {\text{Pc}}_{\hbox{min} }^{v} {Uc(t,v)} \le { Pc(t,v) } \le {\text{ Pc}}_{\hbox{max} }^{v} {Uc(t,v)}$$
(5.21)
$$ {\text{Pd}}_{\hbox{min} }^{v} { Uc(t,v)} \le { Pd(t,v) } \le {\text{ Pd}}_{\hbox{max} }^{v} {Uc(t,v) } $$
(5.22)
$$ {Uc(t,v)} + {Ud(t,v) } \le { 1} $$
(5.23)

The state of charge in \( vth \) PEV at time t (\( SOC(t,\,v) \)) depends on the state of charge at time t − 1 (\( SOC(t - 1,\,v) \)). as well as the charging/discharging or traveling state of the PEV as modeled in (5.17) and (5.18). The relation between the required energy for traveling of \( v_{{}}\text{th} \) PEV (\( {\text{P}}_{tr} ( {\text{t,v)}} \)) depends on the traveling distance (\( \Delta {\text{D(t,v)}} \)) and also the efficiency of the vehicle (\( \Omega _{v} \)) as described in (5.20). The state of charge should be kept between operating limits as (5.20). The charging and discharging rate of each PEV are limited by technical characteristics as well as the operating state as enforced by (5.22) and (5.23). It is assumed that each PEV is either in charging (\( Uc(t,v) = 1 \))/discharging state \( Ud(t,v) = 1 \) or traveling state (\( Uc(t,v) + Ud(t,v) = 0 \)) as described in (5.23).

The objective function is defined as the total payments regarding the energy purchase as follows:

$$ OF = \sum\limits_{t} {Pg(t)\lambda^{g} + \lambda_{t}^{e} (Pe_{b} (t) - Pe_{s} (t))} $$
(5.24)

If the OF is negative in (5.24) it means the energy hub is making profit in the electricity market.

5.4 Simulation Results

The proposed mixed integer linear programming (MILP) model is implemented in GAMS [24] environment solved by CPLEX solver running on an Intel® Xeon® CPU E5-1620 @ 3.6 GHz PC with 8 GB RAM. The predicted hourly electric/heat demand, wind power, electricity price pattern are depicted in Fig. 5.3. The wind capacity is assumed to be \( Cap_{w} = 15\,{\text{kW}} \). The energy hub characteristics and data are described in Table 5.1. The peak electric and heat load is \( Le_{\hbox{max} } = 5\,{\text{kW}} \), \( Lh_{\hbox{max} } = 4.5\,{\text{kW}} \), respectively. The peak value of electric price is \( 47\frac{\$ }{\text{kWh}} \). The gas price is assumed to be constant and equal to \( \lambda^{g} = 30\frac{\$ }{\text{kWh}} \).

Fig. 5.3
figure 3

The hourly electric/heat demand, wind power, electricity price pattern

Table 5.1 Energy hub characteristics and data

The travel pattern of PEV (km) are given in Table 5.2.

Table 5.2 The travel patterns of PEVs (km)

In order to demonstrate the applicability and strength of the proposed approach different scenarios are considered as follows:

  • Base case (no uncertain parameter exists in the model)

  • Wind uncertainty (\( \alpha_{w} \))

  • Electric load uncertainty (\( \alpha_{Le} \))

  • Heat load uncertainty (\( \alpha_{Lh} \))

5.4.1 Base Case

In this case, it is assumed that no uncertain parameter exists in the model. The objective function to be minimized is the energy procurement cost. It is called the base cost (benefit) \( {\text{OF}}_{b} \). The following optimization is solved:

$$ { \hbox{min} }_{{DV_{b} }} {\text{ OF}}_{b} = {\text{OF }} $$
(5.25)

Subject to: (5.95.24)

$$ \alpha_{Lh} = \alpha_{Le} = \alpha_{w} = 0 $$
(5.26)
$$ {\text{DV}}_{b} = \left\{ {{\text{Pe}}_{b} ( {\text{t),}}\,{\text{Pe}}_{s} ( {\text{t),}}\,{\text{Pw(t),}}\,{\text{Pg}}_{chp} ( {\text{t),}}\,{\text{Pg}}_{f} ( {\text{t),}}\,{\text{Pd(t,}}\,{\text{v),}}\,{\text{Pc(t,}}\,{\text{v),}}\,{\text{Ud(t,}}\,{\text{v),}}\,{\text{Uc(t,}}\,{\text{v)}}} \right\} $$
(5.27)

The total costs would be \( {\text{OF}}_{b} = - \,\$ 0.480165 \). The hourly total charge and discharge pattern of PEVs is shown in Fig. 5.4.

Fig. 5.4
figure 4

The hourly total charge and discharge pattern of PEVs in base case

The hourly gas input to CHP and furnace is shown in Fig. 5.5.

Fig. 5.5
figure 5

The hourly gas input to CHP and furnace in base case

The hourly purchased/sold power from/to electric grid is shown in Fig. 5.6.

Fig. 5.6
figure 6

The hourly purchased/sold power from/to electric grid in base case

5.4.2 Uncertain Wind (\( \bf{ \alpha_{w} \ne 0 } \))

In this case, it is assumed that the only uncertain parameter existing in the model is wind power generation. The objective function in this case is radius of wind power uncertainty (not the total cost (benefit)). The following optimization is solved:

$$ { \hbox{max} }_{{DV_{w} }} \alpha_{w} \, $$
(5.28)
$$ {\text{OF}} \le {\text{OF}}_{b} + \beta \left| {{\text{OF}}_{b} } \right| \, $$
(5.29)

Subject to: (5.95.24)

$$ \alpha_{Lh} = \alpha_{Le} = 0 $$
(5.30)
$$ {\text{DV}}_{w} = \left\{ {{\text{DV}}_{b} ,\alpha_{w} } \right\} $$
(5.31)

The interpretation of each \( \beta \) value is simply defined as the relaxation degree of objective function. The objective function is defined as \( \alpha_{w} \) and the decision maker tries to maximize it for a given \( \beta \) value. In this way, the traditional objective function \( {\text{OF}} \) would be immune against the wind uncertainty. This means even if the forecasted value of wind doesn’t come true, the total payments do not increase more than \( \beta \) percent of the base case costs \( {\text{OF}}_{b} \). The \( \beta \) is increased from 0 to 1 and the variation of different variables (\( DV_{w} \)) versus \( \beta \) is shown in Fig. 5.7.

Fig. 5.7
figure 7

The variation of different variables versus \( \beta \) (uncertain wind)

In this way, the decision maker has a portfolio of the decision variables (\( DV_{w} \)) for each \( \beta \). The simulation results show that the \( \alpha_{w} \) varies from 0 to 5.829 %. This means that if the total cost is 100 % increased then the decision maker can be immune up to 5.829 % error in wind power prediction. In order to increase the immunity of the objective function against the wind power uncertainty, \( Pe_{s} (t),\,Pg_{f} (t) \) are decreased and \( Pg_{chp} (t) \) is increased. Both charging and discharging of PEVs (\( Pd(t,\,v),\,Pc(t,\,v) \)) are increased. For clarification, the decision variables \( DV_{w} \) are given in Table 5.3 for \( \beta = 30\,\% \). In this table, the hourly optimal schedule of energy hub \( \beta = 30\,\% \) under \( Pw(t) \) uncertainty are described. The total payments would be OF = − $0.3361 and the maximum wind uncertainty that can be tolerated would be \( \alpha_{w} = 1.748692\,\% \).

Table 5.3 The hourly optimal schedule of energy hub \( \beta = 30\,\% \) under Pw(t) uncertainty

5.4.3 Uncertainity Electric Load Missing (\( \bf{\alpha_{\it{Le}} \ne 0} \))

In this case, it is assumed that the only uncertain parameter existing in the model is electric load. The objective function in this case is radius of electric load uncertainty [not the total cost (benefit)]. The following optimization is solved:

$$ { \hbox{max} }_{{DV_{w} }} \,\alpha_{Le} \, $$
(5.32)
$$ {\text{OF}} \le {\text{OF}}_{b} + \beta \left| {{\text{OF}}_{b} } \right| \, $$
(5.33)

Subject to: (5.95.24)

$$ \alpha_{Lh} = \alpha_{w} = 0 $$
(5.34)
$$ {\text{DV}}_{Le} = \left\{ {{\text{DV}}_{b} ,\,\alpha_{Le} } \right\} $$
(5.35)

The objective function is defined as \( \alpha_{Le} \) and the decision maker tries to maximize it for a given \( \beta \) value. In this way, the traditional objective function OF would be immune against the electric load uncertainty. This means that even if the forecasted value of electric load is not equal to the real value, the total payments do not increase more than \( \beta \) percent of the base case costs \( OF_{b} \). The \( \beta \) is increased from 0 to 1 and the variation of different variables versus \( \beta \) is shown in Fig. 5.8.

Fig. 5.8
figure 8

The variation of different variables versus \( \beta \) (uncertain electric load)

In this way, the decision maker has a portfolio of the decision variables (\( DV_{Le} \)) for each \( \beta \). For clarification, the decision variables are given in Table 5.4 for \( \beta = 30\,\% \). In this table, the hourly optimal schedule of energy hub \( \beta = 30\,\% \) under Le(t) uncertainty are described. The total payments would be OF = − $0.336115 and the maximum wind uncertainty that can be tolerated would be \( \alpha_{Le} = 3.963492\,{\text{\% }} \).

Table 5.4 The hourly optimal schedule of energy hub \( \beta = 30\,\% \) under Le(t) uncertainty

5.4.4 Uncertain Heat Load (\( \alpha_{Lh} \ne 0 \))

In this case, it is assumed that the only uncertain parameter existing in the model is heat load. The objective function in this case is radius of heat demand uncertainty (not the total cost (benefit)). The following optimization is solved:

$$ { \hbox{max} }_{{DV_{Lh} }} \,\alpha_{Lh} \, $$
(5.36)
$$ {\text{OF}} \le {\text{OF}}_{b} + \beta \left| {{\text{OF}}_{b} } \right| \, $$
(5.37)

Subject to: (5.95.24)

$$ \alpha_{Le} = \alpha_{w} = 0 $$
(5.38)
$$ {\text{DV}}_{Lh} { = }\left\{ {{\text{DV}}_{b} ,\alpha_{Lh} } \right\} $$
(5.39)

The interpretation of each \( \beta \) value is simply defined as the relaxation degree of objective function. The objective function is defined as \( \alpha_{Lh} \) and the decision maker tries to maximize it for a given \( \beta \) value. In this way, the traditional objective function OF would be immune against the heat load uncertainty. This means that even if the forecasted value of heat load is not equal to the real value, the total payments do not increase more than \( \beta \) percent of the base case costs \( OF_{b} \). The \( \beta \) is increased from 0 to 1 and the variation of different variables (\( DV_{Lh} \)) versus \( \beta \) is shown in Fig. 5.9.

Fig. 5.9
figure 9

The variation of different variables versus \( \beta \) (uncertain heat load)

In this way, the decision maker has a portfolio of the decision variables (\( DV_{Lh} \)) for each \( \beta \). For clarification, the decision variables are given in Table 5.5 for \( \beta = 30\,\% \). In this table, the hourly optimal schedule of energy hub \( \beta = 30\,\% \) under Lh(t) uncertainty are described. The total payments would be OF = − $0.336115 and the maximum wind uncertainty that can be tolerated would be \( \alpha_{Lh} = 4.040376\,\% \).

Table 5.5 The hourly optimal schedule of energy hub \( \beta = 30\,\% \) under Lh(t) uncertainty

5.5 Comparison and Discussion

In this section, the four assessed cases are compared and discussed. The simulation results show that in order to increase the robustness of the decision variables against the wind uncertainty, some actions should be taken. Selling electricity to the pool should be reduced. This holds also for reducing the undesired impacts of electric demand uncertainty. In contrary to these two cases, the energy selling to the pool market should be increased in order to avoid the financial risks due to uncertainty of heat load. Increasing the amount of gas purchase would have positive impacts on reducing the risks of all uncertain parameters (including wind power generation, electric and heat load). However in order to make the objective function immune to uncertainty of wind and electric load, the share of the natural gas which is fed into the CHP unit is increased and the furnace share is decreased. The decision maker should increase the share of furnace unit to avoid the risks of uncertain heat demand. The amount of PEVs in charging and discharging should be increased in order to handle the uncertainties of wind and electric load in contrary to the uncertain head load case. The comparison between different cases and the actions to be taken is shown in Fig. 5.10.

Fig. 5.10
figure 10

The comparison between different cases and the actions to be taken

Some lines of future research can be concluded from this work, as follows:

  • To consider more elements (like energy conversion and storage units) in energy hub

  • To consider other uncertain parameters affecting the performance of the energy hub

  • To consider the possibility of participating in other markets in addition to energy market

  • To assess the Impacts of smart grids on energy hub energy management policies

  • To analyze the reliability issues of elements in energy hub

  • To develop a model for describing the interaction of multiple energy hubs from technical and economical points of view

  • To incorporate the grid (gas and electric) integration constraints of energy hubs

5.6 Conclusions

The problem of considering the input uncertainties within the context of the energy hub management has been addressed in this chapter. An IGDT based technique was proposed to obtain the optimal operating strategy of the energy hub. The PEVs have been used as the energy storage device in order to maximize the flexibility of decision making framework. The optimal energy procurement from different resources is determined taking into account the influence of electric/heat demand as well as the wind power generation uncertainties. The obtained results from the proposed risk-averse strategy assures the decision maker that although the predicted values of the uncertain input parameters are not exact, the outcome of the proposed model (payments) would be immune against the prediction error to some controlled extent. The method can be extended to consider the risk seeking behavior of opportunistic decision maker.