A comprehensive model for self-scheduling an energy hub to supply cooling, heating and electrical demands of a building. (1st January 2016)