Your question seems very interesting to me and I found one granted patent [US4164850A] in the year 1975 by inventer Lowi Jr Alvin titled "Combined engine cooling system and waste-heat driven automotive air conditioning system" which can answer your question. The complete method is described in the patent document.
Please feel free to message in case of any query related to the patent document.