Describe the bug
SAM simulations expect snow depth data to be in units of cm for simulations. SolarAnywhere snow depth data is provided in units of meters. The Solar Resource File Converter macro seems to divide SolarAnywhere snow depth by 100 rather than multiplying it by 100 to get it into centimeters. This results is snow loss estimates of 0% in simulations using SolarAnywhere files at snowy locations where you would expect some percentage of snow losses.
In the bottom left corner, select Macros. Select Solar Resource File Converter from the list, then select SolarAnywhere from the
Weather file format drop down in the top right corner.
Select Run macro and choose your SolarAnywhere file.
Go back into the project in SAM. In the "Location and Resource" section select the samcsv you just created.
In the "Shading and Layout" section, check the box next to "Estimate snow losses" at the bottom.
Run the simulation (can just use all the defaults and select the box for "Estimate Subarray 1 configuration" in the system design section).
Go into the losses section of the results. You'll notice that there will be 0% losses from snow.
Expected behavior
You would expect to see some percentage of the total system losses be attributed to snow losses. Additionally, when you open a samcsv converted SolarAnywhere file, you'd expect to see the snow values be the original values * 100, but they are instead the original values/100.
Screenshots
Original SolarAnywhere file snow depth:
Describe the bug SAM simulations expect snow depth data to be in units of cm for simulations. SolarAnywhere snow depth data is provided in units of meters. The Solar Resource File Converter macro seems to divide SolarAnywhere snow depth by 100 rather than multiplying it by 100 to get it into centimeters. This results is snow loss estimates of 0% in simulations using SolarAnywhere files at snowy locations where you would expect some percentage of snow losses.
To Reproduce Steps to reproduce the behavior:
Expected behavior You would expect to see some percentage of the total system losses be attributed to snow losses. Additionally, when you open a samcsv converted SolarAnywhere file, you'd expect to see the snow values be the original values * 100, but they are instead the original values/100.
Screenshots Original SolarAnywhere file snow depth:
Samcsv converted file snow depth:
Operating System and Version
Additional context No additional context. Thanks!