Describe the bug
For Windows, stochastic simulations cause SAM to crash.
For Mac, stochastic simulations cause "could not read output file [...]/SAMLHS.LSP" message.
Example for testing:
- PVWatts / Single Owner default case
- Module cost, normal distribution, Mean (mu) = 0.35, Std. Dv. (sigma) = 2.5
- Use NPV for output
Note user-reported error on Mac:

Bug report from macOS 13.6.3: bug_report.zip
Operating System and Version
- OS: Windows 11, macOS Sonoma 14.1.1
- Version: SAM 2023.12.17
Describe the bug
For Windows, stochastic simulations cause SAM to crash.
For Mac, stochastic simulations cause "could not read output file [...]/SAMLHS.LSP" message.
Example for testing:
Note user-reported error on Mac:
Bug report from macOS 13.6.3: bug_report.zip
Operating System and Version