Energy optimization and management of demand response interactions in a smart campus