On the best case scenario, Iran abides by its obligations under the treaty perfectly. In this case, it simply abandons any quest for nuclear weapons for the fifteen-year period covered by the treaty.
Iran doubtless believes that, having gotten so much by way of concessions already, it can get a good deal more.