Tehran says the facility in question is only used to generate electricity .