Nuclear reactor is optimized for producing the electricity in power plants. The energy generated fro…