Integrated energy optimization model for oil sands operations