Operation of the Multiple Energy System with Optimal Coordination of the Consumers in Energy Market