MATLAB Answers

Value of SimPower Systems Variables

2 views (last 30 days)
Jeremiah
Jeremiah on 1 Jul 2013
Answered: Joel Van Sickel on 11 Dec 2020
I am trying to verify one of SimPower Systems motor models but I am having difficulty determining the value of some variables.
For example if I select the "Synchronous Machine SI Fundamental" and then "Look Under Mask" I can see an "Electrical Model, Continuous". If I open this block I can see there is a gain to Vfd which is initialized by the variable 'SM.N'. But I cannot figure out where the value for 'SM.N' has been defined.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 11 Dec 2020
SM.N is created by an initialization function call inside the mask. This function is p coded so there isn't anyting to see in how it is calculated. Essentiall, the function takes the parameters you entered into the mask, and generates the SM structure for use on the internal model. You can usually tell by looking at the help and simulink model what most of these values are, but some of them are calculated uisng proprietary algorithms that MathWorks cannot expose to the public because it does not own them.
Regards,
Joel

Community Treasure Hunt

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

Start Hunting!