When you give the motor power and it doesn't turn, the power has to go somewhere - normally as heat, which starts burning something, especially 2000 watts of it. That's the same as a 2-bar electric fire.
The first test to do is to switch everything off, but leave it all connected. Rotate the wheel by hand. You should feel slight notchiness as each magnet goes over each pole of the stator, and if you spin it, it should do about two turns. if you feel significant resistance, you have a short circuit somewhere. Either a coil is burnt or a MOSFET blown. Both of those things could happen if you give 2000w to a motor that doesn't turn.
Report back on that, then we can go to the next stage. It would be a good idea to show us what stuff you have and how it's connected too. Did the motor work OK before or is it a new installation?
so i can tell you what happend my son puncher his wheel so he fix the puncher then when he put wheel back on he put the washers on wrong and so locked up the wheel and then not noticing what he done he tested the wheel pulling the throttle