If you do not know the gear ratio and/or number of magnets, the type 100 Into parameter P1.
(Remember to adjust wheel size and speed limit beforehand)
Then go fo a ride. (And use a gps speed app)
If you motor tapers off at 23 km/h, the raise parameter P1 by 10 to 110, and recheck speed/taper...