09-27-2017 10:37 AM
Hello!
I am doing an MPPT scanning. I am scanning from DutyCycle 0 to 1 with a step of 0,1. The corresponding voltage,current and power values are inserted to arrays. After DutyCycle 1 I will look after the MPP and the corresponding DutyCycle index and hold that DutyCycle constant.
The problem I have is that the MPP-index is pointing to an empty index in the DutyCycle-array and the the MPP-index is increasing every iteration.
I the file " DutyCycle_result.png" I have attached the values I get when running the program. In that very case I want the Pmax Index to be "7".
Any ideas what could be source to the problem?
I will attach the VI, but I think you will not be able to run it because you need a boost converter. I am using LabView 15.
// braxel
09-27-2017 10:46 AM
There is no problem, the function found a max of 2.58791, which is higher than P[7] = 2.58299.
09-27-2017 11:07 AM
Also note that none of your feedback nodes are initialized, that means that they will contain stale data from previous runs of the same LabVIEW session and will grow forever with each run. Is that really what you want?
09-27-2017 11:16 AM
I agree with gregoryj. The problem is not with Max and Min function, as your title suggests. The problem, apparently, is with your array generation.
Suggestions/questions: