Generator cooperation in district heating market considering open electricity market