Hello Hassan,
Modelling a motor with customized parameters in Simscape involves several steps, leveraging the flexibility and power of the Simscape environment to accurately represent the motor's physical and electrical characteristics.
If you have finalized the motor specifications, Selected a Motor Block from Simscape and have set the basic parameters, You can proceed for advanced customization.
For power and torque control, you can refer to this Mathworks Example:
Further to seek more guidance on designing a Electric bike in Simscape you can refer to the below MathWorks Examples:
Regards,
Shubham Shreshth