Integrated automation for demand management in smart buildings. Integrated automation maximizes building’s economic benefits and grid’s needs. Evaluation of building’s peak demand reduction potential by major load type and comfort performance. Development of 1 min-resolution data set for individual plug load control in EnergyPlus. Analysis of the interactive relationship between lighting/plug load control with thermal load.