Firstly, It is better if you expand the definition of error you encountered. What kind of error? Compile error or Runtime error? If matlab returns error message before starting the simulation it is probably because of the powersim version. You can find it using simulink library browser to replace with older. It is a member block of Simpowersystems toolbox. If it is a runtime error, read the error message and follow the matlab instructions. Generally it is a discontinuities in the system's state variables at each time step and use zero-cross detection under the simulation parametersd menu.
I can run model without having such a problem by using 2012b version.
While running the simulation, the following error message is shown:
"At time 2.4999992682880994E-5, simulation hits (1000) consecutive zero crossings. Consecutive zero crossings will slow down the simulation or cause the simulation to hang. To continue the simulation, you may 1) Try using Adaptive zero-crossing detection algorithm or 2) Disable the zero crossing of the blocks shown in the following table:"
Could you please explain the solution and cause of this error?
Hey ahmet nas, my teacher asked me to run this model without SMO. This means the rotor angle and the motor's speed must be feedback directly from the output of motor. I ran the simulation but it was not right. Can you run simulation the model without SMO and have a right result? And you can spend it to my mail:email@example.com. Thank you very much!!!