Elam was centered in the far west and the southwest of modern-day Iran , including a small part of southern Iraq . Elam was centered in the far west and the southwest of modern-day Iran , stretching from the lowlands of Khuzestan and Ilam Province , as well as a small part of southern Iraq .