Quantifying the Effect of Autonomous Demand Response Program on Self-Scheduling of Multi-carrier Residential Energy Hub

  • Amin Namvar
  • Farhad Samadi GazijahaniEmail author
  • Javad Salehi


In this chapter, an overall model is proposed for energy management in the form of energy hub for residential sectors to reduce the operating costs and air pollution by utilization of different technologies such as renewables and demand response (DR) resources. In so doing, a residential building has been considered as an energy hub that receives natural gas and electricity at its inputs and delivers electricity and heat to consumers at its output. Also, the consumers include controllable and uncontrollable loads that controllable loads are controlled by the DR program. The main goal of this chapter is to lower the costs of operation and air pollution of the energy hub. The results show that when the price of natural gas is low, the energy hub uses natural gas to supply electric and thermal demands, and when the price of electricity is low, it uses electricity to feed consumers’ demand.


Energy hub DR program Energy management Renewable energy Power market 


Sets and Indices


Index of controllable loads


Index of carbon emission


Index of charging


Index of discharging


Index of power


Index of energy storage


Index of natural gas


Index of gas boiler


Index of heat


Index of load


Index of network


Index of time (h)


Index of uncontrollable loads



Natural gas distribution coefficient between CHP and Boiler

ηCHP, e

Efficiency of CHP power generation

ηCHP, h

Efficiency of CHP heat generation

ηe, L

Efficiency of electric loads

ηes, ch

Energy storage charge efficiency

ηes, dch

Energy storage discharge efficiency


Efficiency of heat generation by boiler

ηh, L

Efficiency of thermal loads


Mean value of sunlight


Price of carbon emission (cent/kW)

\( {\pi}_{\mathrm{e}}^t \)

Price of purchasing power (cent/kW)

\( {\pi}_{\mathrm{g}}^t \)

Price of purchasing natural gas (cent/kW)


Standard deviation

\( {C}_{\mathrm{CHP}}^{\mathrm{max}} \)

Maximum natural gas imported into CHP (kW)


Participation of load in the proposed DSM at t

Ec, e

Energy consumed by controllable electric loads in 24 h (kWh)

Ec, h

Energy consumed by controllable thermal loads in 24 h (kWh)

\( {E}_{\mathrm{es}}^0 \)

Initial value of energy storage SOC (kWh)

\( {E}_{\mathrm{es}}^{\mathrm{max}} \)

Upper bound of energy storage SOC (kWh)

\( {E}_{\mathrm{es}}^{\mathrm{min}} \)

Lower bound of energy storage SOC (kWh)


Fill factor

\( {H}_{\mathrm{max}}^t \)

Upper bound of controllable thermal loads at t (kW)

\( {H}_{\mathrm{min}}^t \)

Lower bound of controllable thermal loads at t (kW)

\( {H}_{\mathrm{uc}}^t \)

Uncontrollable thermal loads at t (kW)


Current at maximum power point (A)


Short circuit current (A)


Current temperature coefficient (A °C)


Maximum power temperature coefficient


Voltage temperature coefficient (V °C)


Load curtailed by DSM program at period t


Load after DSM running at t (kW)

\( {\mathrm{Load}}_0^t \)

Load before DSM running at t (kW)


Nominal operating temperature of cell (°C)

\( {P}_{\mathrm{es},\mathrm{ch}}^{\mathrm{max}} \)

Upper bound of energy storage charging (kW)

\( {P}_{\mathrm{es},\mathrm{dch}}^{\mathrm{max}} \)

Upper bound of energy storage discharging (kW)

\( {P}_{\mathrm{max}}^t \)

Upper bound of controllable electric loads at t (kW)

\( {P}_{\mathrm{min}}^t \)

Lower bound of controllable electric loads at t (kW)


Output power of solar panel (kW)


Output power of solar panel at standard test conditions (kW)


Output power of the PV module during state y (kW)

\( {P}_{\mathrm{uc}}^t \)

Uncontrollable electric loads at t (kW)


Solar radiation


Average solar irradiance of state y


Solar irradiance at standard test conditions


Temperature of ambient (°C)


Cell temperature over state y (°C)


Voltage at maximum power point (V)


Open-circuit voltage (V)


\( {E}_{\mathrm{es}}^{24} \)

SOC of battery at hour 24 (kWh)

\( {E}_{\mathrm{es}}^t \)

SOC of battery at t (kWh)

\( {G}_{\mathrm{Net}}^t \)

Imported natural gas at t (kW)

\( {H}_{\mathrm{c}}^t \)

Controllable thermal loads at t (kW)

\( {H}_{\mathrm{CHP}}^t \)

Heat generated by CHP at t (kW)

\( {H}_{\mathrm{GB}}^t \)

Heat generated by boiler at t (kW)

\( {H}_{\mathrm{hs},\mathrm{ch}}^t \)

Charged heat of heat storage at t (kW)

\( {H}_{\mathrm{hs},\mathrm{dch}}^t \)

Discharged heat of heat storage at t (kW)

\( {H}_{\mathrm{L}}^t \)

Total thermal loads at t (kW)

\( {l}_{\mathrm{es},\mathrm{ch}}^t/{l}_{\mathrm{es},\mathrm{dch}}^t \)

Binary values preventing battery from charging/discharging simultaneously

\( {P}_{\mathrm{c}}^t \)

Controllable electric loads at t (kW)

\( {P}_{\mathrm{CHP}}^t \)

Power generated by CHP at t (kW)

\( {P}_{\mathrm{es},\mathrm{ch}}^t \)

Charged power of energy storage at t (kW)

\( {P}_{\mathrm{es},\mathrm{dch}}^t \)

Discharged power of energy storage at t (kW)

\( {P}_{\mathrm{L}}^t \)

Total electric loads at t (kW)

\( {P}_{\mathrm{Net}}^t \)

Power imported from grid at t (kW)



Total objective function (cent)


Cost of carbon emission (cent)


Cost of purchasing power (cent)


Cost of purchasing natural gas (cent)


  1. 1.
    M. Shamshirband et al., Look-ahead risk-averse power scheduling of heterogeneous electric vehicles aggregations enabling V2G and G2V systems based on information gap decision theory. Electr. Pow. Syst. Res. 173, 56–70 (2019)CrossRefGoogle Scholar
  2. 2.
    J. Salehi et al., Scenario-based co-optimization of neighboring multi carrier smart buildings under demand response exchange. J. Clean. Prod. 235, 1483–1498 (2019)CrossRefGoogle Scholar
  3. 3.
    S. Nojavan, M. Majidi, K. Zare, Optimal scheduling of heating and power hubs under economic and environment issues in the presence of peak load management. Energ. Conver. Manage. 156, 34–44 (2018)CrossRefGoogle Scholar
  4. 4.
    F.S. Gazijahani, J. Salehi, Reliability constrained two-stage optimization of multiple renewable-based microgrids incorporating critical energy peak pricing demand response program using robust optimization approach. Energy 161, 999–1015 (2018)CrossRefGoogle Scholar
  5. 5.
    M. Vahid-Pakdel et al., Stochastic optimization of energy hub operation with consideration of thermal energy market and demand response. Energ. Conver. Manage. 145, 117–128 (2017)CrossRefGoogle Scholar
  6. 6.
    F.S. Gazijahani, J. Salehi, Game theory based profit maximization model for microgrid aggregators with presence of EDRP using information gap decision theory. IEEE Syst. J. 13(2), 1767–1775 (2019)CrossRefGoogle Scholar
  7. 7.
    M. Majidi, S. Nojavan, K. Zare, A cost-emission framework for hub energy system under demand response program. Energy 134, 157–166 (2017)CrossRefGoogle Scholar
  8. 8.
    A. Maroufmashat, A. Elkamel, M. Fowler, S. Sattari, R. Roshandel, A. Hajimiragha, et al., Modeling and optimization of a network of energy hubs to improve economic and emission considerations. Energy 93, 2546–2558 (2015)CrossRefGoogle Scholar
  9. 9.
    G. Moghaddam, M. Saniei, E. Mashhour, A comprehensive model for self-scheduling an energy hub to supply cooling, heating and electrical demands of a building. Energy 94, 157–170 (2016)CrossRefGoogle Scholar
  10. 10.
    A. Sheikhi, S. Bahrami, A.M. Ranjbar, An autonomous demand response program for electricity and natural gas networks in smart energy hubs. Energy 89, 490–499 (2015)CrossRefGoogle Scholar
  11. 11.
    A. Abdolahi et al., Probabilistic multi-objective arbitrage of dispersed energy storage systems for optimal congestion management of active distribution networks including solar/wind/CHP hybrid energy system. J. Renew. Sustain. Energy 10(4), 045502 (2018)CrossRefGoogle Scholar
  12. 12.
    E. Fabrizio, V. Corrado, M. Filippi, A model to design and optimize multi-energy systems in buildings at the design concept stage. Renew. Energy 35, 644–655 (2010)CrossRefGoogle Scholar
  13. 13.
    A. Najafi-Ghalelou et al., Robust scheduling of thermal, cooling and electrical hub energy system under market price uncertainty. Appl. Therm. Eng. 149, 862–880 (2019)CrossRefGoogle Scholar
  14. 14.
    M.-W. Tian et al., Risk-based stochastic scheduling of energy hub system in the presence of heating network and thermal energy management. Appl. Therm. Eng. 159, 113825 (2019)CrossRefGoogle Scholar
  15. 15.
    M.-R. Haghifam, S. Pazouki, S. Pazouki, Renewables and plug in electric vehicles modeling on electricity and gas infrastructures scheduling in presence of responsive demand, in 2013 3rd International Conference on Electric Power and Energy Conversion Systems (EPECS), 2013, pp. 1–6Google Scholar
  16. 16.
    M. Rastegar, M. Fotuhi-Firuzabad, M. Lehtonen, Home load management in a residential energy hub. Electr. Pow. Syst. Res. 119, 322–328 (2015)CrossRefGoogle Scholar
  17. 17.
    F.S. Gazijahani, J. Salehi, IGDT based complementarity approach for dealing with strategic decision making of price maker VPP considering demand flexibility. IEEE Trans. Ind. Inf., 16, 1–9 (2019)CrossRefGoogle Scholar
  18. 18.
    S. Pazouki, M.-R. Haghifam, A. Moser, Uncertainty modeling in optimal operation of energy hub in presence of wind, storage and demand response. Int. J. Electri. Power Energy Syst. 61, 335–345 (2014)CrossRefGoogle Scholar
  19. 19.
    M. Shamshirband et al., Decentralized trading of plug-in electric vehicle aggregation agents for optimal energy management of smart renewable penetrated microgrids with the aim of CO2 emission reduction. J. Clean. Prod. 200, 622–640 (2018)CrossRefGoogle Scholar
  20. 20.
    M. Smith, P. Few, J. Twidell, Technical and operational performance of a small-scale comined heat-and-power (CHP) plant. Energy 20, 1205–1214 (1995)CrossRefGoogle Scholar
  21. 21.
    M.C. Bozchalui, S.A. Hashmi, H. Hassen, C.A. Cañizares, K. Bhattacharya, Optimal operation of residential energy hubs in smart grids. IEEE Trans. Smart Grid 3, 1755–1766 (2012)CrossRefGoogle Scholar
  22. 22.
    A. Najafi-Ghalelou, S. Nojavan, K. Zare, Heating and power hub models for robust performance of smart building using information gap decision theory. Int. J. Electr. Pow. Energy Syst. 98, 23–35 (2018)CrossRefGoogle Scholar
  23. 23.
    F.S. Gazijahani, S.N. Ravadanegh, J. Salehi, Stochastic multi-objective model for optimal energy exchange optimization of networked microgrids with presence of renewable generation under risk-based strategies. ISA Trans. 73, 100–111 (2018)CrossRefGoogle Scholar
  24. 24.
    F.S. Gazijahani, J. Salehi, Integrated DR and reconfiguration scheduling for optimal operation of microgrids using Hong’s point estimate method. Int. J. Electr. Pow. Energy Syst. 99, 481–492 (2018)CrossRefGoogle Scholar
  25. 25.
    F.S. Gazijahani, J. Salehi, Robust design of microgrids with reconfigurable topology under severe uncertainty. IEEE Trans. Sustain. Energy 9(2), 559–569 (2018)CrossRefGoogle Scholar
  26. 26.
    J. Rajasekharan, V. Koivunen, Optimal energy consumption model for smart grid households with energy storage. IEEE J. Select. Top. Signal Process. 8, 1154–1166 (2014)CrossRefGoogle Scholar
  27. 27.
    P. Salyani et al., Chance constrained simultaneous optimization of substations, feeders, renewable and non-renewable distributed generations in distribution network. Electr. Pow. Syst. Res. 158, 56–69 (2018)CrossRefGoogle Scholar
  28. 28.
    S. Bahramara, H. Golpîra, Robust optimization of micro-grids operation problem in the presence of electric vehicles. Sustain. Cities Soc. 37, 388–395 (2018)CrossRefGoogle Scholar
  29. 29.
    F.S. Gazijahani, J. Salehi, Optimal bi-level model for stochastic risk-based planning of microgrids under uncertainty. IEEE Trans. Ind. Inf. 14(7), 3054–3064 (2018)CrossRefGoogle Scholar
  30. 30.
    L. Gelazanskas, K.A. Gamage, Demand side management in smart grid: a review and proposals for future direction. Sustain. Cities Soc. 11, 22–30 (2014)CrossRefGoogle Scholar
  31. 31.
    F.S. Gazijahani, J. Salehi, Stochastic multi-objective framework for optimal dynamic planning of interconnected microgrids. IET Renew. Power Gener. 11(14), 1749–1759 (2017)CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  • Amin Namvar
    • 1
  • Farhad Samadi Gazijahani
    • 1
    Email author
  • Javad Salehi
    • 1
  1. 1.Department of Electrical EngineeringAzarbaijan Shahid Madani UniversityTabrizIran

Personalised recommendations