Eng.Salwa1
Newbie level 4
Hello everyone.
I am trying to plot frequency of a sine wave Vs time in simulink.
I have changed to frequency from time to time to make sure that my blocks are able to detect frequency change. However, i get a delay response by half fundamental cycle when the frequency changes from magnitude to another..
My question is :
1-Is that normal? how can I improve the simulation response as I am trying to analyse electrical power disturbances and this would give false interpretations of the exact time where real faults could occur on a real utility grid.
2- Are there studies that suggest how to get a better performance of matlab simulation?
Please see the attached picture . The frequency changes in the following manner
time :[0 0.1 0.3 0.4 0.5]
corresponding frequency change :[50 51 67 30 60]
Sampling frequency 1e-4
https://obrazki.elektroda.pl/8549892900_1457640185.jpg
Regards
I am trying to plot frequency of a sine wave Vs time in simulink.
I have changed to frequency from time to time to make sure that my blocks are able to detect frequency change. However, i get a delay response by half fundamental cycle when the frequency changes from magnitude to another..
My question is :
1-Is that normal? how can I improve the simulation response as I am trying to analyse electrical power disturbances and this would give false interpretations of the exact time where real faults could occur on a real utility grid.
2- Are there studies that suggest how to get a better performance of matlab simulation?
Please see the attached picture . The frequency changes in the following manner
time :[0 0.1 0.3 0.4 0.5]
corresponding frequency change :[50 51 67 30 60]
Sampling frequency 1e-4
https://obrazki.elektroda.pl/8549892900_1457640185.jpg
Regards