Iran says the purpose of its nuclear program is the generation of electricity , not the development of nuclear weapons .