To reduce the operating cost and enhance the energy utilization efficiency of the integrated energy system (IES), an economic dispatch algorithm is proposed based on finite-time double-consensus.