>... I'm having an issue where the REopt call always returns a zero battery size from this branch, even in cases where the battery has obvious value (PVWatts-Battery commercial), and cases where it returns a battery size in the released version. Did you see this as you were developing the branch? Or is this more likely to be a bug on their end?
I also saw this. Sometimes rerunning REopt a few times results in a non-zero battery, so I'm not sure if it's SAM sending different data to the API or something on the REopt side. Also, the default case in this branch/Patch has different battery parameters than the default:
If you agree, I'd like to close this so we can fix the issue of REopt API calls causing SAM to crash, and investigate this as a separate issue for Patch 2.
I also saw this. Sometimes rerunning REopt a few times results in a non-zero battery, so I'm not sure if it's SAM sending different data to the API or something on the REopt side. Also, the default case in this branch/Patch has different battery parameters than the default:
If you agree, I'd like to close this so we can fix the issue of REopt API calls causing SAM to crash, and investigate this as a separate issue for Patch 2.
Originally posted by @cpaulgilman in https://github.com/NREL/SAM/issues/1714#issuecomment-1970196094