Indonesia is on track to secure a clean-energy partnership with rich countries when it hosts a G20 summit in November, obtaining international funding to cut its reliance on coal power and to implement a green and fair transition, energy analysts said.

The multibillion-dollar agreement is expected to help Indonesia retire coal-fired plants early and ramp up investment in renewables, backed by wealthy nations, development and private banks, and philanthropists.

Fabby Tumiwa, head of the Indonesia-based Institute for Essential Services Reform, an energy and environmental think tank, said the deal would be unveiled at the Bali gathering of leaders of the world's top 20 economies from Nov. 15 to 16.