Analysis of elastic and plastic impact models