Shakedown analysis by elastic simulation