An Effective Power Hardware-in-the-Loop System for the Simulation Testing of an Energy Management System of a Nearly Zero Energy Building Microgrid | IEEE Conference Publication | IEEE Xplore