How To Solve Gauss-Seidel, Newton Raphson & Fast Decoupled Load Flow Method in MATLAB ?
Вставка
- Опубліковано 25 гру 2024
- load flow analysis in matlab
load flow analysis using matlab
load flow analysis matlab code
load flow analysis by newton raphson method using matlab
The Link to Download the MATLAB Folder of Hadi Sadat Power System Analysis Book:
drive.google.c...
=================================================
In this video tutorial, I have discussed how to design Gauss Seidel load flow analysis, Newton Raphson and Fast Decoupled Method in Matlab Programming.
For this purpose, I have considered an example from the Book Power System Analysis by Hadi Sadat, Chapter 6, Example 6.7.
I have discussed how to model slack bus, P-Q bus and how to connect loads and transmission lines between the buses. By doing the same way, any power system can be designed in matlab/Simulink and its load flow analysis can be performed.
The Slides of this Tutorial can be downloaded by clicking on the following link:
drive.google.c...
=================================================
#DrJALAGHARI UA-cam Channel is a platform where you can find two main source of learning.
1. Electrical Power System Made Easy Videos:
In this channel, you can find very informative and easy learning videos on electrical power system subjects such as Electrical Power Transmission, Power System Analysis.
2. Software Tutorials on Electrical Power System:
In this channel, you can find very easy tutorials on modelling of electrical power system in various software's such as power world simulator software, MATLAB Simulink software, PSCAD software, ETAP Software, MULTISIM Software, Digsilent power factory software, LABVIEW software, and PSPICE software.
Last, you can find very conceptual videos on various mind blowing questions asked in Electrical Engineering Interviews.
====================================================
#loadflowanalysismatlab
#powerflowanalysismatlab
#matlab
#powersystemanalysis
#powertransmission
#electrical
#engineering
#powerdistribution
#powersystem
#powerprotection
#powergeneration
#ElectricalEngineering
My Website link: sites.google.c...
My Facebook Page link: / jalaghari1
My Linkedin Account: / j-a-laghari-b5825025
I found this tutorial very useful and helpful. Thank you very much Dr. J. A. LAGHARI, God bless you. Continue with the good work!
Thank you so much for the compliments.
Thank you of your contributions toward engineering. Excellent video
Thanks for the compliments.
Sir, you are nice professor. I have learnt a lot from your videos. I am doing Mtech in power system from Gautam Buddha University. Thanks for uploading videos
Thank you so much for the compliments. Nice to read that you are doing MTech. Do share these video with your friends so that they may also get benefit from these videos.
Hi contact me
@@DrJALAGHARI Are this programs for 118 bars?
Thank you sir. I got successful result at the first trial of the methods.
Thanks for the compliments.
Hi, can you assist me..thanks
Thank you Dr. Also, its amazing to think that the code is older than me
Most welcome.
huge luv from nepal sir
Thank you so much for the compliments.
Boht khoob👌👌👌
Thanks
Sir do you have an manually solve gauss siedel method not in Matlab
Thanks for the comment. The manually solved is available in the book power system analysis by hadi sadat.
Ok sir but I can't have a time Can u solve manually and send to me my num if I will thankful to you for life because tomorrow I have exam
@@zaanali9161 i couldn't understand what exactly you want. When I say it is solved in hadi sadat book. What else you need
Ok sir thank uuu
hello, does this code in matlab suitable for more than 3 buses? or only with 3 buses?
Thanks for the comment. This code is valid for all number of buses. You have to just put the data of all buses.
Hello sir I'm trying to apply it on IEEE 33 bus system and it keeps not convergence no matter how iteration i add
Thanks for the comment. You may kindly use the MATPOWER TOOL BoX for better results. It will converge.
the link of matlabs folder is not working
Thanks for the comment. May i know what error you are facing?
Hello. excuse me sir, I want to ask the fast decouple coding, why on my line error %load flow solution by fast decouple method,
Thanks for the comment. May I know what is the error ?
error in "index exceeds the number of array elements (5). error in decouple (line 66) J11=J11 + Vm(n) *Vm(1) *Ym(n, 1) *sin(t(n, 1) -delta(n) +delta(1)) ; and error in busdata (line 22) decouple %load flow solution by fast decouple method. I'm not understand because I'm just learning first time.
@@hartinian-nuurmuhammad210 this error is in your data. What data you are using? Is it correct
transmission line data at the substation
@@hartinian-nuurmuhammad210 Right. Check your data. May be your data is not correct.
Thank you Dr, I used it to solve IEEE 9 bus system and all the three methods give the same answer, the only difference in the answer is the number of iteration and maximum power mismatch hope I am correct?
Thanks for the compliments and comment. Kindly watch my video on ieee 9 bus system load flow using MATPOWER for further verification.
@@DrJALAGHARI ok sir, thank you
Hi, can you check mine
@@cookwithsheem7691 what number of buses are you working on?
@@adegokesamson2774 2 . Whats your contact
Please which example contain ieee14 bus system ?
Thanks for your message. I couldn't understand your query?
Sir can you share the video link how to add ifgauss ifnew function video by using set path I could not find this video
send email to jalaghari1@gmail.com it will be sent to you.
Sir please need the link for the video to add Hadi Sadat codes in Matlab
Thanks for the comment. Send email to jalaghari1@gmail.com it will be sent to you.
I didn't find video how to save matlab folder of power system analysis book
Send an email to jalaghari1@gmail.com, it will be sent to you.
Sir what does it mean, when it say: Iterative solution did not converged after 100 iterations.
It means that your load flow is not converged means it cannot provide you the solution. You have to check your data again and increase the number of iterations too
@@DrJALAGHARI noted with thanks sir 🙏
Sir,Thank you so much.
Most welcome
The video "How to save Matlab folder of PSA book by Hadi Sadat in Matlab using set path feature" is not available. Would you please chair the link to this video.
Thanks for the comment. I can only share it at your email. Please share your email
@@DrJALAGHARI Greetings sir, can I also have the link to the video on "How to save Matlab folder of PSA book by Hadi Sadat in Matlab using set path feature" thank you very much.
Are these programs for 118 bars?
Thanks for the video
The program remains same. Only data will be changed.
can you please give the video link of saving Matlab folder of power system analysis book by Hadi Saadat?
Thanks for the comment. Send email to jalaghari1@gmail.com it will be sent to you.
Kindly share video of how to multimachine stability program from Hadi saadath
Thanks for the comment. Can you please mention the chapter and example number so that it may be easy for me to work on it.
Hi Dr. What is the meaning of( Maximum power Mismatch=1.06888e-06) in this code??
It means the difference between the iterations. How much accuracy we need in solving the load flow methods. This accuracy is meaaured by this value.
dr pls send the video link for set path feature
Thanks for the comment. kindly send email to jalaghari1@gmail.com. it will be sent to you.
Sir, what to add in the coding if i want to use 33 bus
Just change the data with the data of ieee 33 bus system. Nothing else.
I had tried and it shows an error
@@MrJinggo12 what error it is showing ?
@@DrJALAGHARI error in lfnewton
@@MrJinggo12 it means something is wrong in your data. You may kindly refer to hadi sadat book. The same example is already solved in it.
hi sir, i got an error using gauss seidel method. can you check this pls?
Unrecognized function or variable 'lfybus'.
Error in Loadfa (line 17)
lfybus % form the bus admittance matrix
Have you added the matlab folder of hadi sadat in your matlab. Otherwise, it will give error.
@@DrJALAGHARI yes i did. I follow exactly your steps.
@@arifahshaharudin4595 Right. Now, try to change the LFYBUS.M into lfybus.m
Means convert from capital to small letters. Then run it.
@@DrJALAGHARI still cannot sir. I just tried.
@@arifahshaharudin4595 can you please share the screenshot ao that i may understand this error or send the mfile to my email so that i can check.
I can't find the video of :
How To Save MATLAB Folder of power System Analysis Book By Hadi Sadat in MATLAB Using Set Path Feafure
Hello can you share me a video of How to save MATLAB folder of power system analysis book by hadi sadat in MATLAB using set path feature
Thanks for the comment. kindly send email to jalaghari1@gmail.com. it will be sent to you.
@@DrJALAGHARI please mister could you send me the link video on how to save in matlab using set path features? thanks mister
There is only one iteration in the slolution , how can i get for example 3 or 8 iterations ? Thank you sir
Thanks for the message. I couldn't understand your query.
@@DrJALAGHARI the final solution is just one iteration , i need more iteration how ? Look at the solution of gauss and newton , the answer give me just one iteration , thank you sir
For example newton raphson give me iteration number 4 , but i want iteration number 1 & 2 & 3
Please help me
@@Losyd_1 just scroll up the mouse. It will show all the iterations.
why the Ybus code is different than what he presented
How to analysis loadflow for unbalanced system?
What is the need to perform load flow analysis for unbalanced system
@@DrJALAGHARI Do you have the code of loadflow for unbalanced system?
@@aldijulioaritonang339 no I don't have?
Hi sir, I have voltage base value 12.66 and I am using newton raphson method. How can I use this value in the code? Thank you
Thanks for the comment. Convert this value into per unit.
@@DrJALAGHARI I have another question sir,
1. I am using a data from research paper and it’s receiving node start from 0. But when I run the coding there was an error as the receiving node should be positive integer or logical values.
2. I am using 33 bus but the bus data for the load is only 32 bus. Should I enter zero on the 33rd bus load?
Hi sir, I have B=0.3 value between P-V bus and ground.
And P=0.2 , Q= 0.6 (pu) values at Load Bus. I don't have MW and Mvar values I just have values as pu.
How should i use them in this code.
Thank You.
Multiply per unit P and Q with base MVA, and then use those values in the load bus.
Sir, can you share the code with the studied example please?
Thanks for the comment. Kindly share your email I will send the code.
@@DrJALAGHARISir ,did you check your e-mail plz
@@afifourida3267 ok I will send the code at your email.
Sir how to perform load flow analysis by using facts device in matlab.
for this purpose, you have to follow any particular research paper on this topic.
Thank you Dr, I followed and implemented carefully all the coding steps from the example, but got stock at the level of imputing the lfybus, lfgauss, busout and lineflow matlab codes because I could not find them in the downloaded Hadi Sadaat Folder from your drive.
Thanks for the comment. Send email to jalaghari1@gmail.com it will be sent to you.
@@DrJALAGHARI i want it too. thanks sir
@@selaseng5510 send email to jalaghari1@gmail.com it will be sent to you.
@@DrJALAGHARI i want too sir i am stuck in lfybus lfgauss
@@QasimKhan-cq1qd Thanks for the comment. Ok i will send it to you.
The video "How to save Matlab folder of PSA book by Hadi Sadat in Matlab using set path feature" is not available. Would you please sharer the link to this video.
Thanks for the comment. Send the email request to jalaghari1@gmail.com it will be sent to you.
How do I add in a bus, ZIP load using the Newton-Raphson method?
Thanks for the comment. What do you mean by ZIP load?
@@DrJALAGHARI Polynomial Load Model.
The model called ZIP load model. Z stands for constant impedance, I
represent constant current and P refers to constant power a load. Thanks.
@@FranciscoMunoz-ll5sy Thanks for the comment. For this purpose, try to follow any book or paper for its modelling.
Hi. Where can I find all Hadi Sadat's .m files?
From Google. Just write on Google and watch my video how to download and save it in matlab.
Essalumualeykum
I could not find it. Could you please share with us if possible.
@@fehenever I have shared the link to download the hadi sadat matlab folder. please click on this link below to download. thanks
drive.google.com/file/d/1kx7qsX-Dl0l33Zo8QeeQM9Eyn9f0OQi3/view?usp=sharing
@@DrJALAGHARI Dear Hodja, Thank you so much..Greatings from Turkey..
@@fehenever my pleasure.
Dr can you please send me (how to save in matlab using set path features) link , thank you
Thanks for the comment. I can send it to your email if you need?
Thank you for the useful content ... May Allah accept from you :)
@@Abdullah.yasser. kindly share your email or contact me at jalaghari1@gmail.com
Hi sir, I am getting error on fast decoupled method solving. It shows that there is error in code. Can you check this pls? Thanks
Unrecognized function or variable 'B2'.
Error in decouple (line 51)
B1inv=inv(B1); B2inv = inv(B2);
Thanks for your message.
can you please check your data. it seems there is some mistake in the data.
@@DrJALAGHARI I checked triple but it shows the error is on the decouple data. Only in that line it shows error. I don't know how to change the line 51 to correct form.
@@eminvalikhanov1245 is it working fine with gauss seidel and Newton Raphson?
@@DrJALAGHARI I need Newton Raphson and Fast Decoupled. I try on NR and works fine but Fast Decoupled is a problem.
@@eminvalikhanov1245 can you please send me your matlab file, I will check it
Sir, for the Line Code part, the susceptance value should be put in 1/2 or just put the susceptance value? I'm a little bit confuse because the it was written as 1/2 B
*should written half of B or just write the value B?
@@hijrahsalleh3194 whatever value is given, write that value.
thank you Dr
Most welcome
Peace be upon you
Could you help me with a code in Newton Raven's method
Thank you
Thanks
Thank you sir
Thanks for the compliments.
waalaikumsalam warahmatullahi wabarakatuh prof
JazakALLAH
hi
السلام عليكم professor
Can you send me a vedio of How to save MATLAB folder of power system analysis book by hadi sadat in MATLAB using set path feature
Thanks for the comment. Send email to jalaghari1@gmail.com . It will be sent to you
Hello Dr. can you give me the files code please?
Thanks for the comment. The file link is given in the description section of the video.
Hi, how to contact you?
May I know the reason
@@DrJALAGHARI I have a question on power electronics
@@cookwithsheem7691 basicaly power electronics is not my field. My email is jalaghari1@gmail.com
hi sir, when running the code matlab gives me an error saying: "Index exceeds the number of array elements (3)". Any idea on how to fix this?
Check your code again. You have written something wrong. Means data is not correct.
Excellent training, it would be much better to enable subtitles in English and Spanish.
Thanks for the compliments and suggestions.ok i will try to enable.
@@DrJALAGHARI Thank you Doctor, your teachings are very excellent and valuable, congratulations.
@@fabriciozambranofreile5532 Thank you so much for the compliments.
It is to inform you that English subtitlee have been enabled for this video. Thanks
Hi, did u check your email??
Thanks for your email. I am sorry due to my busy schedule, i may not be able to reply through email.
I have problem like this :
Cannot find an exact (case-sensitive) match for 'STRCAT'
The closest match is: strcat in C:\Program Files\MATLAB\R2012a\toolbox\matlab\strfun\strcat.m
Can anyone help me please.
Thank You.
same problem . did u solved it
@@asmaadam2328 yes , from the winrar file , enter to it and rename the file whit take into acount the case of litter ( small or capital ) then make extract for the file
Thanks for the comment. just change the capital name with small lower case name with extension small m. it will work.
Thanks for the comment. just change the capital name with small lower case name with extension small m. it will work.
Thanks for the comment. just change the capital name with small lower case name with extension small m. it will work.
please can you send me file
Thanks for the comment. Which file? Send email to jalaghari1@gmail.com it will be sent to you.
Thank you sir
Ola hu uber
Thanks for the compliments.
Excusme sir, can i get hadi saadat book pdf version? I look on the internet its image version
If you don't mind, you can send to me via email
Thank you
Yes. Only scanned version or image version is available on the Internet.
Please,Send This codes as Matlab files
Thanks for the comment. The code is available in the form of link in the description section of this video. You may download it from there.
@@DrJALAGHARI Thank you Dr
@@ayanashetibrahim2721 most welcome