Mr. Ruhani after 2018 was sneaky about economic data and this year's IMF Iran GDP-PPP is very weird.
2021 was last year of Mr Ruhani's government and during Covid-19 lockdowns on top of sanctions :
According to the IMF’s World Economic Outlook report released in October 2021, Iran is even ranked higher than regional countries such as Saudi Arabia and Turkey as two heavyweight economies, which are members of the G-20 group.
I think there are different sources stating 1-1.4$ T for Iran's 2021GDP-Nominal.
TEHRAN - The International Monetary Fund (IMF) has put the Islamic Republic of Iran’s GDP at 1 trillion dollars in the year 2021.
www.tehrantimes.com
For current year even with slightly inaccuracy of IMF data, Iran rank would be somewhere between 14-16th.