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.
thanks for your work,
please let me know what must i write to the command window to run the functions correct for the below example
TDIN = [0 0; 0 1; 1 0; 1 1]'
TDOUT = [0 0 0 1]
LR=.1
ErTh = .01
af = 'p'
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:haitac0880@gmail.com. Thank you very much!!!
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.
ahmet nas, i changed the name of folder that contained the file model so i opened the file model. But when i ran the simulation, the error appeared. Do you have error with your simulation?
Comment only