MATLAB: Do I get a powergui ‘MaskCallback’ error when simulating the model using blocks from SimPowerSystems

discretesamplesimpowersystemsSimscape Electricaltimes

Why do I get the following powergui 'MaskCallback' error when simulating my model using blocks from SimPowerSystems?
Error evaluating 'MaskCallback' callback of SubSystem block (mask) 'untitled/Subsystem'.
In order to simulate this model, you must use a time step lower than 2.6524e-06 sec.
For short lines you may also use a PI Section Line model.

Best Answer

This error occurs due to the sample times specified for the model. The sample times need to be as low as around 1e-8 seconds for the successful simulation of the model. This is a common requirement when simulating discretized electrical systems using the blocks in SimPowerSystems. For further information on this, please refer to the following link: