How to properly implement "set_time_step"?

Thank you so much for your tips and explanations. (I did it !)