Simulink PV array block output NaN

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

fares dihmes
fares dihmes 2021년 12월 1일
Any answer for this problem? i got the same issue
Pratyush Das
Pratyush Das 2022년 11월 22일
I have the same irritating problem. For me using variable time step solver is not an option.
Nithin
Nithin 2024년 12월 10일
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 2025년 10월 6일
Did yoy find a answer for this problem or still not ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Aakash Garg
Aakash Garg 2021년 3월 30일

1 개 추천

You can refer to the following MATLAB answer-
This might resolve the issue you are facing.

댓글 수: 7

Sana Shetty
Sana Shetty 2021년 7월 25일
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
Amal P Santhosh 2021년 10월 16일
did you got the answer?
Xiao Ziyang
Xiao Ziyang 2021년 12월 22일
I got the same problem, does anyone find the solution?
Ahmed sakr
Ahmed sakr 2022년 5월 8일
click on solar pv, go to advanced and unclick the break algebraic loop, this might help
syed Khawar Shah
syed Khawar Shah 2022년 7월 15일
Thnx it worked
Maurice Cult
Maurice Cult 2024년 2월 20일
thank you so much
Sarala Gurijala
Sarala Gurijala 2025년 10월 25일
uncheck of 'break algebraic loop' is working. thank you

댓글을 달려면 로그인하십시오.

카테고리

질문:

2021년 3월 27일

댓글:

2025년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by