How to add a constant load or run at full load in openExampl​e('mcb/Dua​lMotorDyno​Example','​supporting​File','mcb​_pmsm_foc_​f28379d_dy​no.slx')?

How to add a constant load or run at full load in openExample('mcb/DualMotorDynoExample','supportingFile','mcb_pmsm_foc_f28379d_dyno.slx')? Now that there is a physical motor, how to add a constant load or run it at full load on the motor?

Answers (1)

Hi Xin Jian,
I checked the model, and it looks like the Surface Mount PMSM block is being used for the motor. For the Surface Mount PMSM block, if you set the "Mechanical input configuration" parameter to "Torque," you can input an external torque through the block’s input port.
By applying any desired torque (such as a constant torque or a specific load torque) through this port, you can run the corresponding simulation.

1 Comment

Thank you for your reply. However, I found in practice that this method doesn’t work—it’s impossible to add a load during the process.

Sign in to comment.

Products

Release

R2023b

Tags

Asked:

on 20 Oct 2025

Commented:

on 20 Oct 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!