Simulink PV array block output NaN

45 views (last 30 days)
Darius Crisan
Darius Crisan on 27 Mar 2021
Commented: Sarala Gurijala on 25 Oct 2025 at 18:33
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 Comments
Nithin
Nithin on 10 Dec 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
Jefferson Javier on 6 Oct 2025
Did yoy find a answer for this problem or still not ?

Sign in to comment.

Answers (1)

Aakash Garg
Aakash Garg on 30 Mar 2021
You can refer to the following MATLAB answer-
This might resolve the issue you are facing.
  7 Comments
Sarala Gurijala
Sarala Gurijala on 25 Oct 2025 at 18:33
uncheck of 'break algebraic loop' is working. thank you

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!