Thermal energy was written off a few years ago, which was premature, power minister RK Singh had said in November. Thermal cannot be written off until energy storage becomes viable, he had said. Thermal power is going to stay until energy storage becomes cost-effective for round-the-clock supply through renewable energy, the minister had said.