Simulink PV array block output NaN
Mostrar comentarios más antiguos
I am trying to simulate MPPT using a fuzzy logic controller. I am new to simulink and I tried to use the PV Array block from Simscape/Electrical. The problem I have with this block is that when I run the simulation, the voltage and the current at the output of the PV Array are NaN, except for a very short period of time at the beginning of the simulation.
I tried to simulate the PV array block alone and I get the same problem, even if I connect a voltage measurement at +- terminals the result is still NaN. I also checked the box for breaking the algebraic loop but my problem is not solved.
If anyone has an idea how to solve this problem I would be grateful, I have not found someone with the same problem so far.
Thank You!

4 comentarios
fares dihmes
el 1 de Dic. de 2021
Any answer for this problem? i got the same issue
Pratyush Das
el 22 de Nov. de 2022
I have the same irritating problem. For me using variable time step solver is not an option.
Nithin
el 10 de Dic. de 2024
What version of matlab u r using bro...I'm doing the same thing for my btech project and I can't find the pv array block itself. Mine is 2013a version . How or where can I find the pv array block
Jefferson Javier
el 6 de Oct. de 2025
Did yoy find a answer for this problem or still not ?
Respuestas (1)
Aakash Garg
el 30 de Mzo. de 2021
1 voto
You can refer to the following MATLAB answer-
This might resolve the issue you are facing.
7 comentarios
Sana Shetty
el 25 de Jul. de 2021
I am facing similar problem, getting nan in the output....tried the solution mentioned in MATLAB , dint work...anyone found solution to this
Amal P Santhosh
el 16 de Oct. de 2021
did you got the answer?
Xiao Ziyang
el 22 de Dic. de 2021
I got the same problem, does anyone find the solution?
Ahmed sakr
el 8 de Mayo de 2022
click on solar pv, go to advanced and unclick the break algebraic loop, this might help
syed Khawar Shah
el 15 de Jul. de 2022
Thnx it worked
Maurice Cult
el 20 de Feb. de 2024
thank you so much
Sarala Gurijala
el 25 de Oct. de 2025
uncheck of 'break algebraic loop' is working. thank you
Categorías
Más información sobre Sources en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!