Hi Patrick,
This is a bug that affects the LK function 'parsim()'. We will
fix this
in a future upate to SAM 2023.12.17.
In the meantime, you can avoid the issue by using Option 1 in the solar-resource-simulate-multiple-files.lk script. The script demonstrates two options: Option 1 runs a simulation for each weather file using the 'simulate()' function, and Option 2 runs a simulation for each weather file using the 'parsim()' function. (When you run the script as it is, it loops through the weather files twice, once using 'simulate()' and once using 'parsim()'.)
In theory, the 'parsim()' function should be faster than the 'simulate()' function, but we've found that isn't always the case. I would recommend using Option 1.
You can modify the script by deleting or commenting out Option 2 from Line 49 through Line 102 or by deleting those lines. To comment a block of code in LK, use '/*' and '*/'.
Thank you for bringing this to our attention.
Best regards,
Paul.