Simscape Powersystems Asynchronous machine initialization code

3 views (last 30 days)
Hi, I am trying to run the initialization command for the Asynchronous machine (SI units) block manually but I am not getting any value in 'SM' struct. Are the values in SM struct available for viewing or are they blocked? I understand the 'AsynchronousMachineInit' code is a private file and cannot be viewed. But I was expecting to at least see the results using it's initialization code to verify and validate the block outputs. The values I am using for Nominal Parameters are base apparent power in VA found using formula (sqrt(3)*line voltage*nominal current), line voltage and nominal frequency. The code runs fine with the values I input, but the SM struct shows up empty. Please suggest a solution so that I can verify and validate the block outputs. For reference I am using Matlab 2016b. Thanks.

Accepted Answer

Brandon Eidson
Brandon Eidson on 6 Jan 2017
Hey Karanjot, I have confirmed that the "SM" structure, like the "AsynchronousMachineInit" function, is private and cannot be viewed. The machine's terminal initial conditions are the only ones that are viewable. The machine's calculated internal initial conditions (e.g., flux leakage) which are stored in the "SM" structure are kept hidden.
It is not entirely clear to me what you mean by you trying to "verify and validate the block outputs". Because you have a valid Software Maintenance Service with MathWorks, I would encourage you to contact MathWorks Technical Support with more details about your workflow and desired used case to see if we can help find a solution.
  1 Comment
Karanjot Singh
Karanjot Singh on 7 Jan 2017
Hi Brandon, Thanks a lot for your help and answer. I would contact Mathworks technical support for further help. The problem is that I am not sure if the torque value coming out as output from asynchronous machine (SI unit) is correct. As the calculations are done in per unit using VA (Volt-Ampere) system for power and there is no input given with regards to power factor. The base torque is different from rated torque. If the output torque has been converted to N-m using base torque, then I need to convert the torque output to per unit again and multiply by rated torque to get the actual value. The parameter SM.Tb2 is used in mechanical model for conversion of output torque from per unit to N-m. That is only one of the parameters causing me doubts. Thanks again. I appreciate the help.

Sign in to comment.

More Answers (0)

Categories

Find more on Foundation and Custom Domains in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!