Hi Emiliano,
Thank you for sharing the PVsyst meteo file.
There are a couple of problems with the file causing SAM's Solar Resource File Converter macro to fail:
- The column delimiters are semicolons. Although the PVsyst format allows for either semicolon or comma delimeters, the SAM macro can only convert files with comma delimiters.
- The column heading for wind data is "Wind". The heading described in the PVsyst documentation and expected by the macro is "WindVel": www.pvsyst.com/help/index.html?meteo_pvsyst_standard_format.htm
The macro should work if you replace semicolons in the file with commas, and change "Wind" in Row 11 to "WindVel".
The macro checks the data in the file after the format conversion. In my tests, the weather file checker found problems with the solar resource data, so I was not able to run a simulation in SAM with the converted file.
We will make some changes to the macro so it provides better feedback about delimiters.
github.com/NREL/SAM/issues/1429
Best regards,
Paul.