Your model is very simple, effective and straight explanation. So your video is very much helpful to me and following your concept and model. Thanks .With Regards.
Cin is used between boost converter and PV array in photovoltaic system only. It is not the part of boost converter. The purpose of using this extra capacitor is to track MPP. Without using it, we cannot track MPP.
I am very busy these days, I have not even posted a video since a long time. You can check my other videos on my channel, may be they could be of some help to you.
Its very simple. Important variable in this code is 'DArray'. DArray is persistent variable, i.e., it will be created only once during the whole simulation, it is same as "global variable" in C++ language. The remaining variables are created and destroyed in each iteration, but DArray is only created once and remains alive till the end of simulation. The purpose of DArray is to store 500 previous values of D (duty ratio). Current value of D is stored at 500th position. The "for loop" serves two purposes - to shift D back to one position in each iteration and to calculate sum of all values of DArray. So input to this code is D and output is also D. This part of code has been used to smoothen the waveforms (input and output) of converter.
Hello sir, in the last part of your code it seems to me that this part "sum=sum+D" should be inside the loop. I am having a hard time to understand can you please help me ?
No, its correct. Its very simple. Important variable in this code is 'DArray'. DArray is persistent variable, i.e., it will be created only once during the whole simulation, it is same as "global variable" in C++ language. The remaining variables are created and destroyed in each iteration, but DArray is only created once and remains alive till the end of simulation. The purpose of DArray is to store 500 previous values of D (duty ratio). Current value of D is stored at 500th position. The "for loop" serves two purposes - to shift D back to one position in each iteration and to calculate sum of all values of DArray. So input to this code is D and output is also D. This part of code has been used to smoothen the waveforms (input and output) of converter.
MPPT P&O duty-ratio algorithm results into waveforms, which have ripples. Therefore, in order to smooth out the shape of waveforms and reduce ripples, we use controllers such as PID controller, sliding mode controller etc. But these controllers are difficult to design. Therefore, I have used this code you are referring to. This code stores and takes average of 500 samples of duty-ratio, which results in a smooth and reduced-ripples waveforms. This part of the code is not necessary. If you don't want to use it, then there is no need to use.
Good afternoon sir, can you explain design procedure for buck and buck-boost converters for PV application and considering partial shading also. Thank you.
Sir I made 3*3 pv array with single single module,, but can't get output.....had to add memory block before derivative....how to overcome that,...to run the array on mppt?? Can I mail you my design???
hello sir, thank you very much every thing worked to me. but i didn't understand in the Code, why when you try to increase the voltage you used : D=Dprev - 0.0001. why the sign (-) is it + to increace the voltage. please sir can you explain little bit.
There I am talking about to increase the array voltage. If we use + sign in place of - sign, it means we are closing the switch of boost converter, which will result in short-circuiting of PV array when D reaches close to 1. Therefore, array voltage will decrease to 0 V. Hence, you can coclude that increasing duty-ratio will decrease array voltage and decreasing duty-ratio will increase array voltage.
@@ahsanmehmood9229 thank you very much sir, it was a great to know how it works, Sir can you do video of MATLAB/SIMULNIK of thr Fractional open circuit voltage based MPPT for PV system, i searched every place and i didn't find it , thank you very much sir wish you more succes, have a nice day.
Yes, it is because MPPT is trying to achieve maximum power point, but due to the absence of resistive load, it is unable to dissipate extra power, which is stored in input and output capacitors.
Hi sir, Will you do a video on Hybrid MPPT method which is a combination of P&O and Direct prediction method in MATLAB software with C code simulation for wind turbines
Your model is very simple, effective and straight explanation. So your video is very much helpful to me and following your concept and model. Thanks .With Regards.
Thanks for the encouraging comment.
It is completely running ! 👍
hello, do you have a research paper on this that I could reference? Many thanks
it not work at 500 irradiances...
What is the problem may i know??
for the mppt p&o algorithm code how can the code repeat it's self to reach to the mppt (where is the loop) i see the code it's work one time only
why boost converter voltage and current were not used for mppt code?
I have used MATLAB R2021a, but powergui not seen such type of condition in continuous/???
I used Matlab 2016.
If simulation runs without setting to continuous mode, then it's fine.
How to make script be in siumlink?
Great! it would be very helpful if you could make a video on the co-simualtion between PSIM and MATLAB.
That video is coming soon, within a month.
Why are you using 2 capacitors? Sir
Where have I used two capacitors?
@@ahsanmehmood9229 like Cin and Cout but in boost converter there is only one capacitor
Cin is used between boost converter and PV array in photovoltaic system only. It is not the part of boost converter. The purpose of using this extra capacitor is to track MPP. Without using it, we cannot track MPP.
Sir please help me I'm your subscribers ❣️ I'm doing this for my final project my project is " pv system with optimization algorithms"
I am very busy these days, I have not even posted a video since a long time. You can check my other videos on my channel, may be they could be of some help to you.
Hey!!!
It’s giving me an error of output of port1(that is m of PV Array) is not connected. How should I sort it out?
Thanks
Facing same issue ,,Have you sorted it out ? Also did you face the error of Vload ?Kindly reply
as soon as possible
Can you please explain the the code that was used in the last part of the video?
Its very simple.
Important variable in this code is 'DArray'.
DArray is persistent variable, i.e., it will be created only once during the whole simulation, it is same as "global variable" in C++ language. The remaining variables are created and destroyed in each iteration, but DArray is only created once and remains alive till the end of simulation.
The purpose of DArray is to store 500 previous values of D (duty ratio). Current value of D is stored at 500th position. The "for loop" serves two purposes - to shift D back to one position in each iteration and to calculate sum of all values of DArray. So input to this code is D and output is also D.
This part of code has been used to smoothen the waveforms (input and output) of converter.
@@ahsanmehmood9229 I am very thankful for your reply sir . I will go through the explanation and will comment if I still have some doubt.
Sir why I'm not getting the same output as in the video after giving Same value!? Please help me
Watch complete video carefully.
Hello sir, in the last part of your code it seems to me that this part "sum=sum+D" should be inside the loop. I am having a hard time to understand can you please help me ?
+1
No, its correct.
Its very simple.
Important variable in this code is 'DArray'.
DArray is persistent variable, i.e., it will be created only once during the whole simulation, it is same as "global variable" in C++ language. The remaining variables are created and destroyed in each iteration, but DArray is only created once and remains alive till the end of simulation.
The purpose of DArray is to store 500 previous values of D (duty ratio). Current value of D is stored at 500th position. The "for loop" serves two purposes - to shift D back to one position in each iteration and to calculate sum of all values of DArray. So input to this code is D and output is also D.
This part of code has been used to smoothen the waveforms (input and output) of converter.
Thank you sir for the detailed explanation. Can u please tell why did you create an array of size 500 with zeroes. Thanks and regards.
MPPT P&O duty-ratio algorithm results into waveforms, which have ripples. Therefore, in order to smooth out the shape of waveforms and reduce ripples, we use controllers such as PID controller, sliding mode controller etc. But these controllers are difficult to design. Therefore, I have used this code you are referring to. This code stores and takes average of 500 samples of duty-ratio, which results in a smooth and reduced-ripples waveforms. This part of the code is not necessary. If you don't want to use it, then there is no need to use.
@@ahsanmehmood9229 thank you sir.
Good afternoon sir, can you explain design procedure for buck and buck-boost converters for PV application and considering partial shading also. Thank you.
Sure, I'll explain in another video.
Sir,will u please make video on partial shading detection with boost and grid tied inverter.
Sure, I will.
Any particular algorithm or research paper you have in mind?
???
@@ahsanmehmood9229 yes sir
I'm doing grey wolf optimization technique but I'm not getting accurate results.
Will u write the code for grey wolf mppt technique in matlab sir ..
Sir what is the configuration of powergui ???
It is continuous.
Sir I made 3*3 pv array with single single module,, but can't get output.....had to add memory block before derivative....how to overcome that,...to run the array on mppt?? Can I mail you my design???
hello sir, thank you very much every thing worked to me. but i didn't understand in the Code, why when you try to increase the voltage you used : D=Dprev - 0.0001. why the sign (-) is it + to increace the voltage. please sir can you explain little bit.
There I am talking about to increase the array voltage. If we use + sign in place of - sign, it means we are closing the switch of boost converter, which will result in short-circuiting of PV array when D reaches close to 1. Therefore, array voltage will decrease to 0 V. Hence, you can coclude that increasing duty-ratio will decrease array voltage and decreasing duty-ratio will increase array voltage.
@@ahsanmehmood9229 thank you very much sir, it was a great to know how it works, Sir can you do video of MATLAB/SIMULNIK of thr Fractional open circuit voltage based MPPT for PV system, i searched every place and i didn't find it , thank you very much sir wish you more succes, have a nice day.
Okay, I'll do it as soon as find time.
@@ahsanmehmood9229thank you for the response, all respect to you
What if u put capacitor instead of load ? As in capacitive load
It will not work, as capacitive load will behave as open circuit in steady state.
@@ahsanmehmood9229 will i get steady voltage output ?
Output voltage will be same as open circuit voltage of the PV array in steady state, and MPPT will not work.
@@ahsanmehmood9229 coz I'm not getting steady voltage output when i keep capacitor instead of resistive load.
Yes, it is because MPPT is trying to achieve maximum power point, but due to the absence of resistive load, it is unable to dissipate extra power, which is stored in input and output capacitors.
Kindly help for pmdc motor load !
Kindly ask someone other, it is not my field.
@@ahsanmehmood9229 i m ready to pay u also if possible
Its not about money.
I have no experience with PMDC motor or any type of motor. You have to consult someone who has experience in this area.
@@ahsanmehmood9229 Thank u very much for giving kind response.
@@ahsanmehmood9229 i remember u for your kind help and refer you in my research work.
Sir If possible make a video on fault identification of PV arrays
okay, sure I will.
Which research paper are you trying to implement?
@@ahsanmehmood9229 A technique for fault detection, identification and location in solar photovoltaic systems
(OR) An MPPT-Based Sensorless Line-Line and Line-Ground Fault Detection Technique for PV Systems
(OR) Fault Detection, Classification and Localization
Algorithm for Photovoltaic Array
Hi sir, Will you do a video on Hybrid MPPT method which is a combination of P&O and Direct prediction method in MATLAB software with C code simulation for wind turbines
I have not worked on wind turbines.
@@ahsanmehmood9229 ohh ok sir, Thanks for your reply