Hi Rita,
Thank you for describing the error and providing the file.
This is a bug. We will fix it for the Fall 2023 release:
github.com/NREL/SAM/issues/1406
In the meantime, as a workaround, please run this LK script to fix the problem:
- Download the attached fuel-cell-battery-fix.zip file and extract it into a folder so that you have a folder that contains the .lk files and three .json files.
- Start SAM, and click Open script from the Welcome page. (If SAM is already open, close it first.)
- Go to the folder containing the fuel-cell-battery-fix.lk file and open it.
- Click Run at the top of the script editor window.
- When the script finishes, close the script editor and close SAM.
- Start SAM and open your Fuel Cell file and confirm that the simulation runs without generating a message.
Please let me know if you have trouble with the script, or if you find any other problems with the manual dispatch option.
Best regards,
Paul.