Developing countries with sizeable coal capacities, such as South Africa, Chile, and India, are exploring retirement of coal plants by repurposing them for productive uses including renewable energy generation, storage and ancillary services. However, a framework to establish the economic rationale for repurposing does not currently exist.