MATLAB: Matrix is close to singular or badly scaled in SPS

badly scaledmatrixSimscapeSimscape Electricalsimulink

Hi, someone knows how to solve this warning in SimpowerSystem? Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.521282e-16. Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.521282e-16.

Best Answer

Hi Tony,
The reason could be that the model is a very stiff system. If it contains a Universal Bridge snubber, you may want to check the compatibility of the time constant of the network and that of the snubber.
To get the stiffness ratio, use the following command:
>> sps=power_analyze(gcs,'detailed'); max(eig(sps.A))/min(eig(sps.A))
-Rohit
Related Question