Hello Dr. Laghari, thank you, your knowledge is very helpful. I added a derivative function to the generator load output before entering the PID circuit and then did MFO optimization. and the results are very good and much different when only doing PID optimization without the addition of a derivative function at the output. Can you provide the reason for this? because I found this by accident.
Welcome Thanks for your helpful course I want to ask you about the position of the controller Because most of the research papers the controller is placed during the feedback And you put it in before governer Can the controller be placed anywhere?
Thank you sir. I couldn't understand why the second parallel feedback was added. I thought the pid controller would multiply after feedback. You applied it that way in your pso video.
Great Video... Sir while I am using SVM, the shape of obtained trained network is 1*1 struct. So gensim(net,-1) is giving error to convert the model for simulink. So my question is how can I use SVM for load frequency control?
Good explanation and a very intuitive video sir. I have one doubt which solver is suitable for the simulation of load frequency control using optimization technique?
Thanks alot for excellent explanation...after seeing your videos i bought power system analysis by hadi saadat... Sir how we will get time constants for generator,turbine and speed governor
Thanks for the compliments. If you are using any specific power system, then they will provide the time constants. However, if you are using this book data, then this data is also accurate. You just have to use different controller.
Thank you very much sir. I'm trying to study the primary frequency behavior under generator outage in simulink but could not find the correct input for the "gradient limiter" and "amplitude limiter". could you please help?
Sir, thank you so much such informations it is very helpful after all. Could you also show how to apply droop control for inverters, please? Best regards.
Sir .Is the simulink model is same for automatic generation control of interconnected power systems with diverse source of power generation (hydro,thermal, gas).
On automatic generation control, I have already made the video. Please have a look. Automatic generation Control model remains same for hydro, thermal, gas, diesel except change in their time constants.
Hello Dr, instead of we use step input as a load data, can we use other option? Let say we want to read the load data in various time.. What library we should use?
Hello, This is actually very informative. Thank you so much. I just wanted to ask how do you design the transfer function for the load or how do we calculate the time constants for the turbine, governor? Or is there any standard values for it?
Thank you so much for the compliments. Time constants of turbine, governor, and all other components are already fixed and are usually given for a power system. We have to use these values only.
Thanks for the comment. I am not sure. You may find research paper closely related to this topic. If that topic has used the same model then you may use it.
Thank you for concern. My Question is " electricity theft detection and humiliation algorithm ?" Based on this question, you can give me any example, such as a 5 floor building.
Thank you for a very informative video, sir. In case we use an energy storage system for frequency regulation side by side with the turbine, how does this model change ?
In that case, I am not sure, but by using the transfer function model of energy storage device or battery may be used in parallel with the system model. Hopefully by this way, it will work.
@@chungnguyenphuoc5727 Thank you so much for the compliments. My pleasure. May i know from which country you are ? It gives me pleasure to know that you have completed your thesis by watching my videos. Congratulations. Wish you best of luck for your future efforts. Last, don't forget to share my channel with your friends junior's so that they may also get benefit from these videos
Sir how we know that the output from the rotating mass is frequency.As we are calculating frequency by taking signal from rotating mass. And second, why we call rotating mass and load a generator. Sir and what should be the signal to PID,what should be the values of the signal to PID controller.
Hi Dr. Laghari, thank you for your video and a good explanation. I have a doubt, what is the meaning of delta-P ref, I mean, what values could we give to that parameters? it is alwys zero?. Thanks :)
Thanks for the compliments. Delta pl means change in load demand. When frequency recover to its original value. It means that system has successfully supplied the change in power. Therefore, now delta pl becomes zero
@@DrJALAGHARI, Dr here i have a problem, delt pl or step signal (0.2pu). Whnever i change 0.2 pu into 0.3 or anu other value, optimization response get noise and change where PID remains its state?
In this video, I have used trial and error method. Means arbitrary values one by one. For proper tuning, watch my video on how to design PID controller in PID Tuner.
Thanks for the message. If you want to know how this steady state frequency deviation is calculated then the answer is that we have the mathematical formula for it. If you need i may send it to you the mathematical solution of the example through email.
The model remains same. Just time constants will be different. You can take any example from any book such as you can simulate the model of hydro power plant from prabha kundur book, power system stability and control. Or from any other book.
Thanks for the comment. By considering a large power system such as IEEE30 bus system or IEEE69 bus system we can apply all types of faults at every bus and by changing the fault resistance and ground impedance, thousands of faults can be applied in the system.
Great video! Very helpful. I have a question, how did you get the parameters for the controller? Just by guessing? Is there a different way to get those numbers? Thanks!
Thank you so much for the compliments. In this video, PID controller parameters are chosen by hit and trial method. However, there are many other methods to tune the controller properly. I have made video on designing of PID controller in PID Tuner. I am sure it will be helpful.
Input is delta P means change in load of 50MW, or 0.2 per unit. And output is frequency deviation for this change in load. When load is increased, frequency will decrease. This is deviation. After that we use PID controller to restore the frequency to its original value.
Yes Sir, I have some trouble when Use Synchronous Generator fundamental (SI Unit) from Simscape (Specizalized Component) and Try to make Exciter for it.
@@rivzkyprananda9642 Right. I have to check it. Because commonly transfer function model is used to Perform the load frequency and automatic generation control model of power system.
@@DrJALAGHARI thanks sir, I hope that you make a video about it soon, because I will make this project for my thesis I think that Simscape easier than transfer function because we just need paramater (in my opinion)
I have already uploaded the video as well as pdf of this example with title how to Perform three phase fault analysis in power world simulator. Just watch this video and download the step by step pdf solution from the description section. And let me know again, if you still have query.
@@DrJALAGHARI Sir, you are right but I need step by step explanation of finding (Z22) for example 9.1(part b & c) as explained in part (a), can you please upload? THANKS!
@@DrJALAGHARI At 5:22, from the green notes,at the far left we have delta_Pref but looking at the simulink block at 9:45 , there is no delta_Pref at thenleft summing point.Any reason? Delta_Pload is delta_ Pl summed with delta_Pm,right? Both are there in the simulink but delta_Pref, why not drawn in the simulink? Looking at the green notes,delta_ Pref should be summed with the speed feedback.
@@gustavomarcelo7250 Right. Basically this example is taken from the book power system analysis by hadi sadat chapter 12. What I feel is that this model gives values per unit. The output is frequency deviation in per unit which normally should be zero in steady state. Therefore, at the summing point the reference will be zero that's why it is not used.
@@DrJALAGHARI inertia which comes from thermal power plants will decrease with the penetration of renewable energy sources (res) which can be provided through virtual inertia by dc link capacitors for example. and im searching for a simulink simulation which can show the impact of this virtual inertia to the grid frequency now but can u tell how u got the parameters for the pid controller though?
@@lnng5296 Thanks for the message. The parameters of the PID controller are taken by hit and trial method to get the satisfactory response. This response can be further improved by using different methods.
I want to reduce frequency fluctuations by using csv files as input. I have created spreadsheet block which contain all the data which is used as input in this model Now anyone suggest me where to connect that spreadsheet block outputs as input in model
elslamoalikum brother I’m otibh from Sudan I’m doing my PhD right now in china, my recache work is in hydro turbine generating set control and stability, i want to study the mutual influence of the torsional vibration characteristics of hydraulic turbine main shaft and governor please guide me how can use MATLAB software to molding the control system model and entering the Unit value equation of the unit including the generator equation, PID governor and PI excitation controller. please guide me if it’s possible i need your contact.
you are a life savior, thousand times better than my lecturer
Thank you so much for the compliments.
This is highly appreciated, u r sincerely imparting the very important softwares of Power systems. Jazakallah
Thank you so much for the compliments.
Hello Dr. Laghari, thank you, your knowledge is very helpful. I added a derivative function to the generator load output before entering the PID circuit and then did MFO optimization. and the results are very good and much different when only doing PID optimization without the addition of a derivative function at the output. Can you provide the reason for this? because I found this by accident.
Thanks for the comment. You may go through feedback control system theory for this justification.
Thank you so much for your useful explanation. Thank goodness I had a presentation from the LFC and this video helped me a lot.
Thanks for the compliments.
Welcome
Thanks for your helpful course
I want to ask you about the position of the controller
Because most of the research papers the controller is placed during the feedback
And you put it in before governer
Can the controller be placed anywhere?
Thanks for the comment. Yes you are right. Controller must be placed after the feedback.
Thank you sir. I couldn't understand why the second parallel feedback was added. I thought the pid controller would multiply after feedback. You applied it that way in your pso video.
Thanks for the comment. Yes. You are right. It was by mistake. Kindly follow the PSO video model.
Great Video... Sir while I am using SVM, the shape of obtained trained network is 1*1 struct. So gensim(net,-1) is giving error to convert the model for simulink. So my question is how can I use SVM for load frequency control?
Thanks for the comment. What is the output name of svm. If it is not the net, then replace the net with that name. It will work.
Good explanation and a very intuitive video sir. I have one doubt which solver is suitable for the simulation of load frequency control using optimization technique?
Thanks for the compliments. I am not sure about the exact solver. Bit mostly ode23 and ode45 gives best results.
Thank you sir
Very helpful video … explanation is very clear .. thank u sir
Thank you so much for the compliments.
Thanks alot for excellent explanation...after seeing your videos i bought power system analysis by hadi saadat...
Sir how we will get time constants for generator,turbine and speed governor
Thanks for the compliments. If you are using any specific power system, then they will provide the time constants. However, if you are using this book data, then this data is also accurate. You just have to use different controller.
Thank you sir, useful to many people. Thank you very much sir
My pleasure
Thank you very much sir. I'm trying to study the primary frequency behavior under generator outage in simulink but could not find the correct input for the "gradient limiter" and "amplitude limiter". could you please help?
Thanks for the comment. I am not sure. You may find some paper to get this idea.
Sir, thank you so much such informations it is very helpful after all. Could you also show how to apply droop control for inverters, please? Best regards.
Thanks for the compliments and suggestions. I will try
@@DrJALAGHARI Thank you so much for quick response. I am looking forward it. Happy Ramadan from now. Best regards.
excellent sir jazakalla khair
Thanks for the compliments.
Highly Appreciable work..very informative Sir..
Thanks for the compliments.
MashaAllah
Highly Appreciable work Sir
Thank you very Much
Thanks for the compliments.
Sir .Is the simulink model is same for automatic generation control of interconnected power systems with diverse source of power generation (hydro,thermal, gas).
On automatic generation control, I have already made the video. Please have a look. Automatic generation Control model remains same for hydro, thermal, gas, diesel except change in their time constants.
Hello Dr, instead of we use step input as a load data, can we use other option? Let say we want to read the load data in various time.. What library we should use?
Thanks for the comment. I am not sure about it. First you try to find such in any research paper for better understanding then implement it.
Hello,
This is actually very informative. Thank you so much. I just wanted to ask how do you design the transfer function for the load or how do we calculate the time constants for the turbine, governor? Or is there any standard values for it?
Thank you so much for the compliments. Time constants of turbine, governor, and all other components are already fixed and are usually given for a power system. We have to use these values only.
Dr. J. A. LAGHARI Thank you
Hello if i want to simulate a generator trip should i use the same system? Is there a relation between load change and the trip of a generator?
Thanks for the comment. I am not sure. You may find research paper closely related to this topic. If that topic has used the same model then you may use it.
Thank you and God bless you
Thanks for the compliments.
Thank you for concern. My Question is " electricity theft detection and humiliation algorithm ?" Based on this question, you can give me any example, such as a 5 floor building.
Thanks for the comment. I am sorry i couldn't understand your query.
Amazing stuff, thank you
Thank you so much for the compliments.
great job sir.......thanks a lot
Thanks for the compliments.
Excellent sir 👍👌 nice way of teaching
Thanks for the compliments.
Need more people so spread this video more
Thank you for a very informative video, sir.
In case we use an energy storage system for frequency regulation side by side with the turbine, how does this model change ?
In that case, I am not sure, but by using the transfer function model of energy storage device or battery may be used in parallel with the system model. Hopefully by this way, it will work.
@@DrJALAGHARI greeting sir. I recently have finished my final year thesis, thanks to all of your guidance videos about this subject.
Again, Thank you!
@@chungnguyenphuoc5727 Thank you so much for the compliments. My pleasure. May i know from which country you are ? It gives me pleasure to know that you have completed your thesis by watching my videos. Congratulations. Wish you best of luck for your future efforts. Last, don't forget to share my channel with your friends junior's so that they may also get benefit from these videos
@@DrJALAGHARI Thank you sir, and I wish you the same! I'm from Vietnam.
@@chungnguyenphuoc5727 Thanks. Stay blessed
Sir how we know that the output from the rotating mass is frequency.As we are calculating frequency by taking signal from rotating mass.
And second, why we call rotating mass and load a generator. Sir and what should be the signal to PID,what should be the values of the signal to PID controller.
Thanks for the comment. The details can be found in hadi sadat books chapter 12.
Good one
Thanks for the compliments.
Very Informative content you have provided Sir
Thanks for the compliments
@@DrJALAGHARI Sir could you provide video on attack detection and mitigation on load frequency control.
Sir.. is there AGC using fuzzy logic controllers in u r videos ??
Thanks for the comment. I am not sure. You may check it.
Hi Dr. Laghari, thank you for your video and a good explanation. I have a doubt, what is the meaning of delta-P ref, I mean, what values could we give to that parameters? it is alwys zero?. Thanks :)
Thanks for the compliments. Delta pl means change in load demand. When frequency recover to its original value. It means that system has successfully supplied the change in power. Therefore, now delta pl becomes zero
@@DrJALAGHARI, Dr here i have a problem, delt pl or step signal (0.2pu). Whnever i change 0.2 pu into 0.3 or anu other value, optimization response get noise and change where PID remains its state?
Thanks a lot excellent explanation
Thanks for the compliments.
Masha Allah Keep It Up Sir Allah Bless You
Thanks for the compliments.
Thank you for video.
Most welcome
Sir would you take MATLAB classes online for PhD project purpose
Thanks for the comment. No.
Thank you so much sir
Thanks for the compliments.
Sir, How to got P = 50, I=30, D=10 ? Is there any mathematical expression?? If have, can you please explain?
In this video, I have used trial and error method. Means arbitrary values one by one. For proper tuning, watch my video on how to design PID controller in PID Tuner.
@@DrJALAGHARI ok sir, thank you.
sir can u explain in detail how do we get those steady-state frequency deviation value???
i.e -0.0096 p.u sir how do we get this????
sir plsss reply
Thanks for the message. If you want to know how this steady state frequency deviation is calculated then the answer is that we have the mathematical formula for it. If you need i may send it to you the mathematical solution of the example through email.
@@DrJALAGHARI how to get this frequency deviation generated from step change 0.2pu?
Sir can you please discuss simulation model of hydro power plant using matlab /simulink
The model remains same. Just time constants will be different. You can take any example from any book such as you can simulate the model of hydro power plant from prabha kundur book, power system stability and control. Or from any other book.
Sir please reply m doing it for my major project.
Thanks. Sorry I couldn't understand.
Thank you sir
Thanks for the compliments.
Great video
Very helpful
Thanks for the compliments.
Please explain considering Renewable sources. Thank you sir.
Thanks for the suggestions. I will try to include the renewable energy resources.
Sir, how can we generate thousands fault data from fault simulations in simulink?
Thanks for the comment. By considering a large power system such as IEEE30 bus system or IEEE69 bus system we can apply all types of faults at every bus and by changing the fault resistance and ground impedance, thousands of faults can be applied in the system.
Sir I have small doubt how can I change scaling of y-axis.
I did perform same as you but it is different
For this purpose, you may change the figure properties and then change the y-axis limit manually.
Great video! Very helpful. I have a question, how did you get the parameters for the controller? Just by guessing? Is there a different way to get those numbers? Thanks!
Thank you so much for the compliments. In this video, PID controller parameters are chosen by hit and trial method. However, there are many other methods to tune the controller properly. I have made video on designing of PID controller in PID Tuner. I am sure it will be helpful.
What are the input and output here. I understand the output is the deviation. But of what and what does delta-P and delta-Omega represents
Input is delta P means change in load of 50MW, or 0.2 per unit. And output is frequency deviation for this change in load. When load is increased, frequency will decrease. This is deviation. After that we use PID controller to restore the frequency to its original value.
@@DrJALAGHARI Dr If i change this 0.2pu into some value else, it my effect optimized responses not pid ones WHY?
Sir,Could you explain how to make this project with simscape on simulink?
Thank you
You mean using real generators, governors and loads?
Yes Sir,
I have some trouble when Use Synchronous Generator fundamental (SI Unit) from Simscape (Specizalized Component) and Try to make Exciter for it.
@@rivzkyprananda9642 Right. I have to check it. Because commonly transfer function model is used to Perform the load frequency and automatic generation control model of power system.
@@DrJALAGHARI thanks sir, I hope that you make a video about it soon, because I will make this project for my thesis
I think that Simscape easier than transfer function because we just need paramater (in my opinion)
@@rivzkyprananda9642 yes you are right.
How to obtain the Bode plot(frequency response plots) of the above simulink model?
For bode plot, you have to use control system toolbox. I will make video on this topic too
@@DrJALAGHARI Thank you sir. It will be very helpful for my M. Tech Research Project.
@@TukulParida ok. I will try to make video on this topic as soon as possible.
Useful video
Thanks
sir, can you please upload a video for example 9.1 parts(b & c) with every step solved. Thanks!
I have already uploaded the video as well as pdf of this example with title how to Perform three phase fault analysis in power world simulator. Just watch this video and download the step by step pdf solution from the description section. And let me know again, if you still have query.
@@DrJALAGHARI Sir, you are right but I need step by step explanation of finding (Z22) for example 9.1(part b & c) as explained in part (a), can you please upload? THANKS!
Why does Pref is not at the summing point but the paper shows there is a Pref at 5:22?
Thanks for the comment. This is not Pref but it is Pload.
@@DrJALAGHARI At 5:22, from the green notes,at the far left we have delta_Pref but looking at the simulink block at 9:45 , there is no delta_Pref at thenleft summing point.Any reason?
Delta_Pload is delta_ Pl summed with delta_Pm,right? Both are there in the simulink but delta_Pref, why not drawn in the simulink? Looking at the green notes,delta_ Pref should be summed with the speed feedback.
@@gustavomarcelo7250 Right. Basically this example is taken from the book power system analysis by hadi sadat chapter 12. What I feel is that this model gives values per unit. The output is frequency deviation in per unit which normally should be zero in steady state. Therefore, at the summing point the reference will be zero that's why it is not used.
such a good video thank u for that! can u do a similar one to virtual inertia control using simulink pls?
Thanks for the compliments. Virtual inertia control ?
@@DrJALAGHARI inertia which comes from thermal power plants will decrease with the penetration of renewable energy sources (res) which can be provided through virtual inertia by dc link capacitors for example. and im searching for a simulink simulation which can show the impact of this virtual inertia to the grid frequency now
but can u tell how u got the parameters for the pid controller though?
@@lnng5296 Thanks for the message. The parameters of the PID controller are taken by hit and trial method to get the satisfactory response. This response can be further improved by using different methods.
I like it but i have a problem. electricity theft detection and protection design in software full template
Thanks. This topic need to be followed by any book or research paper. Without this, it may be quite difficult.
Sir how to download MATLAB in pc
Thanks for the comment. Kindly go to my channel and watch the video on this topic.
I want to reduce frequency fluctuations by using csv files as input.
I have created spreadsheet block which contain all the data which is used as input in this model
Now anyone suggest me where to connect that spreadsheet block outputs as input in model
Thanks for the commment. I couldnot understand your query. Why you use csv file?
Thanks thanks thanks ❤️❤️❤️
Thanks for the compliments.
@@DrJALAGHARI plz design two area frequency and three area else , it is very useful to me in my master
@@saramohsen93 yes. Sure. Very soon hopefully within one or two week, i will upload video on two area power system.
can you sir give me Impacts of cyber-attack on PID controlled AVR system in matlab .
Thanks for the comment. I don't know about this issue.
Where can i get the report for this project
Thanks for the comment. You can easily find many reports on google on this topic.
DR can you construrt using coding matlab ?
I think coding is available in hadi sadat book in chapter 12.
i try find this book but in cannot dowload DR. do you have a copy😅
@@mawiam9045 it is freely available on the Internet. Power system analysis by hadi sadat
DR what the name is book ya ?
DR can i have the link to download this book? 🙏🏼
More of it please
Thansk for the comment. You may watch my other tutorials on this topic.
thanks more
Thanks for the compliments
Sir can you please provide the block diagram
Thanks for the comment. I could not understand your query.
elslamoalikum brother I’m otibh from Sudan I’m doing my PhD right now in china, my recache work is in hydro turbine generating set control and stability, i want to study the mutual influence of the torsional vibration characteristics of hydraulic turbine main shaft and governor please guide me how can use MATLAB software to molding the control system model and entering the Unit value equation of the unit including the generator equation, PID governor and PI excitation controller.
please guide me if it’s possible i need your contact.
You may go through the hadi sadat book and power system control and stability by prabha kundur. You will find good material there.
👍👍👍👍👍
Thanks for the compliments