How to customise a simscape model by unmasking ?

1 view (last 30 days)
Varun Nair
Varun Nair on 10 Aug 2021
Answered: David John on 8 Nov 2021 at 16:10
I wish to add a loss calculation blockset inside a Simscape model of motor (IPMSM) by unmasking. But I am not able to do that. Can any one suggest methods to do so?

Answers (1)

David John
David John on 8 Nov 2021 at 16:10
Please check if the PMSM has an internal variable called power_dissipated in it in your version of MATLAB / Simulink.
This can be done most easily by configuring your model to generate a simlog, and then run "ee_getPowerLossSummary(simlog)" from the MATLAB Command prompt. You cannot unmask built-in library blocks.



Community Treasure Hunt

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

Start Hunting!