In thermal power station coal is used to generate heat and water is boiled, the resulting steam is used to drive the turbine which is connected to a generator, so the energy transformation at the thermal power station can be written as. Chemical energy → heat energy → mechanical energy → electrical energy.