Abstract : With the arrival of digital tools, education research is evolving thanks to Technology Enhanced Learning Systems. These latter are becoming more and more person-alized taking into consideration the student's performance. However, a significant rate of dropout is often observed. In this paper, we address the question: How to keep students engaged in their learning processes ? Our purpose is to model student's perseverance, through student-mouse interactions, in order to adapt his/her curricula depending on his/her motivation. Our solution is based on Model Driven Engineering concept to ensure reusability and automatic computations.