Error on runnig macro for OND

  • Ignacio Carrasco
  • Topic Author
More
17 Sep 2025 09:12 #14296 by Ignacio Carrasco
Error on runnig macro for OND was created by Ignacio Carrasco
I'm trying to import inverter data from a OND file, when I run the macro this error come up.

"Converting E:\Sungrow_SG1100UD_20231101_V15_PVsyst.6.8.6(New Version).OND"
Macro did not finish.
[251] referencing unassigned variable:pan_vars "

How can it fixed?  or  Where can I find the lastest Sungrow inverters data base?

BR

IC

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

  • Paul Gilman
More
17 Sep 2025 09:46 #14297 by Paul Gilman
Replied by Paul Gilman on topic Error on runnig macro for OND
Hi Ignacio,

I suspect this is due to a OND file format change. SAM's "PVsyst OND - PAN to SAM" macro was tested on OND files from PVsyst 6.6.

If possible, please attach a copy of a sample OND file so we can test the macro.

Another option is to use the "Inverter Datasheet" option on SAM's Inverter page to enter inverter parameters as described in this post on the SAM forum:  sam.nrel.gov/forum/forum-general/2768-pv-modules-and-inverters-not-in-database.html .

Best regards,
Paul.

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

  • Ignacio Carrasco
  • Topic Author
More
17 Sep 2025 10:22 #14298 by Ignacio Carrasco
Replied by Ignacio Carrasco on topic Error on runnig macro for OND
OND file format isn't allowed to upload, so Zip!

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

  • Ignacio Carrasco
  • Topic Author
More
17 Sep 2025 19:21 #14300 by Ignacio Carrasco
Replied by Ignacio Carrasco on topic Error on runnig macro for OND
zip

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

  • Paul Gilman
More
18 Sep 2025 15:18 #14301 by Paul Gilman
Replied by Paul Gilman on topic Error on runnig macro for OND
Hi Ignacio,

Thank you for sharing the file.

The macro cannot open a PAN or OND file nams with parentheses in the file name. Please try removing the parentheses and let me know if it works.

Best regards,
Paul.

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

  • Paul Gilman
More
18 Sep 2025 15:22 #14302 by Paul Gilman
Replied by Paul Gilman on topic Error on runnig macro for OND
We will fix this for the next release:  github.com/NREL/SAM/issues/2005 .

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

Moderators: Paul Gilman
Powered by Kunena Forum