exec fail(pvsamv1): Error calculating shading factor for subarray 0 at index 0

  • AusuntechNSW
  • Topic Author
More
04 Aug 2020 04:46 #8517 by AusuntechNSW
When running Simulation:

exec fail(pvsamv1): Error calculating shading factor for subarray 0 at index 0
Simulation pvsamv1 failed :exec fail(pvsamv1): Error calculating shading factor for subarray 0 at index 0

not sure what this means?

Thank you for anyone that can help. 

File Attachment:

File Name: log.txt
File Size:0 KB
Attachments:

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
06 Aug 2020 21:57 #8525 by Paul Gilman
Hello,

SAM displays this error when there is a problem with the Detailed Photovoltaic model shading inputs when the partial shading model is enabled.

Could you attach a copy of the .sam file that generates the error so I can help troubleshoot?

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
06 Aug 2020 23:01 - 06 Aug 2020 23:01 #8531 by Paul Gilman
Hi again,

After reviewing the file you sent by email, I think the problem is with the EPW weather file.

Please try running the Solar Resource File Converter macro to convert the EPW file to the SAM CSV format. This will remove extra data that SAM does not use, and make it easier to see the weather data in the file. After I converted an EPW file, the simulation ran without generating an error:

  1. Start SAM, and open the file that causes the error.
  2. Click Macros under the Simulate button.
  3. Click Solar Resource File Converter in the list of macros to select it.
  4. At the top right corner of the Macros page, choose EPW from the Weather file format list.
  5. Click Run macro. This will create a new SAM CSV file with the same name as the EPW format with "_samcsv" appended.
  6. Go to the Location and Resource page and choose the SAM CSV version of your EPW file.
  7. Click Simulate to run a simulation.

Best regards,
Paul.
Last edit: 06 Aug 2020 23:01 by Paul Gilman.

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
29 Oct 2020 16:27 #8948 by Paul Gilman
This issue will be fixed in the Fall 2020 version of SAM: github.com/NREL/SAM/issues/365.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum