1Department of Power Electrical Engineering و Science and Research branch, Islamic Azad University, Tehran, Iran
2Department of Electrical and Computer Engineering, K.N.Toosi University of Technology, Teharn, Iran
3Department of Energy Technology, Aalborg University, Denmark
This paper presents a hierarchical control strategy for heat and electric power control of a building integrating hybrid renewable power sources including photovoltaic, fuel cell and battery energy storage with Plug-in Electric Vehicles (PEV) in smart distribution systems. Because of the controllability of fuel cell power, this power sources plays the main role for providing heat and electric power to zero emission buildings. First, the power flow structure between hybrid power resources is described. To do so, all necessary electrical and thermal equations are investigated. Next, due to the many complexities and uncertainties in this kind of hybrid system, a hybrid supervisory control with an adaptive fuzzy sliding power control strategy is proposed to regulate the amount of requested fuel from a fuel cell power source to produce the electrical power and heat. Then, simulation results are used to demonstrate the effectiveness and capability of the proposed control strategy during different operating conditions in the utility grid. Finally, the performance of the proposed controller is verified using hardware-in-the-loop (HIL) real-time simulations carried out in OPAL-RT technologies for a real building in Tehran. The HIL results show that the proposed controller provides the proper power and heat control strategy.
 H. Kakigano, Y. Miura, and T. Ise. “Configuration and control of a DC microgrid for residential houses,” in Proc. Transmiss. Distrib. Conf. Expo. Asia Pac., Seoul, Korea, pp. 1–4, 2009.
 J. J. Justo, F. Mwasilu, J. Lee, and J.-W. Jung “AC-microgrids versus DC-microgrids with distributed energy resources: A review,” Renew.Sustain. Energy Rev., vol. 24, pp. 387–405, 2013.
 X. Guan, Z. Xu, and Q.-S. Jia, “Energy-efficient buildings facilitated by microgrid,” IEEE Trans. Smart Grid, vol. 1, no. 3, pp. 243–252, Dec. 2010.
 T. Elmer, M. Worall, S. Wu, S.B. Riffat, Fuel cell technology for domestic built environment applications: state of-the-art review, Renew. Sustain. Energy Rev. 42, 913–931, 2015.
 H.G.Nguyen, A.Mohamad Aris, B.Shabani, “PEM fuel cell heat recovery for preheating inlet air in standalone solar-hydrogen systems for telecommunication applications: An exergy analysis”, International journal of hydrogen energy 41, 2987-3003, 2016.
 A. Adam, E.S. Fraga, D.J.L. Brett, Options for residential building services design using fuel cell based micro-CHP and the potential for heat integration, Appl. Energy 138, 685–694, 2014.
 S. Murugann, B.Horák, “A review of micro combined heat and power systems for residential applications”, Renewable and Sustainable Energy Reviews 64, 144–162, 2016.
 Colella WG. Design considerations for effective control of an afterburner subsystem in a combined heat and power (CHP) fuel cell system (FCS). J Power Sources 2003;118:118–28.
 A.Hajizadeh, M.Aliakbar Golkar, “Intelligent Robust Control of Hybrid Distributed Generation System under Voltage Sag”, Journal of Expert Systems with Applications, 37, 7627–7638, 2013.
 A.Hajizadeh, M.Aliakbar Golkar, “Optimal Intelligent Control of Plug-in Fuel Cell Electric Vehicles in Smart Electric Grids”, Iranian Journal of Hydrogen & Fuel Cell, 1, 55-63, 2014.
 B.Najaﬁ, A.Haghighat Mamaghani, F.Rinaldi, A.Casalegno, “Fuel partialization and power/heat shifting strategies applied to a 30 kWel high temperature PEM fuel cell based residential micro cogeneration plant”, International Journal of Hydrogen Energy 40 (2015) 14224-14234.
 T. Orowska-Kowalska, M. Kaminski and K. Szabat "Implementation of a sliding-mode controller with an integral function and fuzzy gain value for the electrical drive with an elastic joint", IEEE Trans. Ind. Electron., vol. 57, no. 4, pp.1309 -1317, 2010.
 Rong-Jong "Fuzzy sliding-mode control using adaptive tuning technique", IEEE Trans. Ind. Electron., vol. 54, no. 1, pp.586 -594, 2007.