MATLAB: Does the Initial States Setting in the powergui not work in the model containing a masked subsystem in SimPowerSystems 3.1 (R14)

calculatingconditionsinitialphysmodpowerguisimpowersystemsSimscape Electricalsubsystem

I have a masked subsystem with SimPowerSystems components and a Powergui block. When I open the Powergui and push the Initial States Setting button, I get a "calculating initial conditions…." message and nothing else happens.

Best Answer

We have verified that there is a bug in SimPowerSystems 3.1 (R14) in the way that it handles masked subsystems. The Initial States tool inside the powergui is not handling the subsystem components correctly. To work around this issue, unmask the subsystem.
An example of this workaround can be downloaded from below.
dcmotor_bug.mdl demonstrates the problem and dcmotor_bug_works.mdl shows the workaround (the unmasked subsystem).
Related Question