Part of Well completion of suspended and abandoned wells for the production of thermal and electrical energy