MATLAB: Simscape Powersystems Asynchronous machine initialization code

simscape powersystems

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.

Best Answer

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.
Related Question