Error in solver configuration

17 views (last 30 days)
Pranjali Gawas
Pranjali Gawas on 27 Apr 2024
Answered: MULI on 13 Nov 2024 at 14:17
Solar Charging thit/Solver Configuration): At time 0.018800, one or more assertions are triggered. See causes for specific information. Input voltage must be greater than or equal to zero. The assertion comes from: Block path: Salar Charging Hub/DC DC converter
how to solve this error

Answers (1)

MULI
MULI on 13 Nov 2024 at 14:17
Hi Pranjali,
The error message "Input voltage must be greater than or equal to zero" suggests that your DC-DC converter is receiving a negative or zero input voltage.
You can follow the below steps to diagnose and resolve the issue:
PV Array Configuration:
  • In systems with large sample times, ensure the "Break algebraic loop in internal model" option is deselected in the PV array block's Advanced tab.
  • This adjustment allows for an iterative and accurate solution of the diode's non-linear characteristics, mitigating voltage fluctuations.
You can refer to the “Advanced” section of the below documentation for more details on “PV array” block: https://www.mathworks.com/help/sps/powersys/ref/pvarray.html
DC-DC Converter Input Conditions:
  • Open the DC-DC converter block and verify that its parameters, particularly the input voltage limits, are set correctly.
  • Ensure that initial conditions are not negative or zero, as these can cause unexpected behaviour from the start of the simulation.
Additionally, you may find further insights in the following MATLAB Answers post related to the issue https://www.mathworks.com/matlabcentral/answers/2060284-getting-negative-open-voltage-in-pv-array

Community Treasure Hunt

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

Start Hunting!