Modeling and evaluation of the building management framework based on the Castalia WSN simulator | IEEE Conference Publication | IEEE Xplore