Thank you for your reply
x1 position of the ball - 0 when the ball touches EM1, 0.016 when the ball touches EM2 - unit [meter]
x2 velocity - unit [meter per second]
x3 current in EM1 - unit [Ampere]
x4 current in EM2 - unit [Ampere]

Only magnet ball is movable