Co-simulation of detailed whole building with the power system to study smart grid applications | IEEE Conference Publication | IEEE Xplore