We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Adjustment Factor variables in the SAM GUI have the prefix adjust_ whereas the PySAM versions do not, as shown for Pvwattsv8 here: https://nrel-pysam.readthedocs.io/en/main/modules/Pvwattsv8.html#adjustmentfactors-group
adjust_
This discrepancy will lead to issues reading inputs that were exported from the SAM GUI.
The workaround now is to modify the variable name:
for k, v in pv_inputs.items(): if 'adjust_' in k: k = k.replace('adjust_', '')
The text was updated successfully, but these errors were encountered:
Fix in 9ded981
Sorry, something went wrong.
Previous fix of k = k.split('adjust_')[1] does not work when there are multiple types of adjustment factors (such as sf and dc)
k = k.split('adjust_')[1]
The correct fix is
k = k.replace('adjust_', '')
Successfully merging a pull request may close this issue.
The Adjustment Factor variables in the SAM GUI have the prefix
adjust_
whereas the PySAM versions do not, as shown for Pvwattsv8 here: https://nrel-pysam.readthedocs.io/en/main/modules/Pvwattsv8.html#adjustmentfactors-groupThis discrepancy will lead to issues reading inputs that were exported from the SAM GUI.
The workaround now is to modify the variable name:
The text was updated successfully, but these errors were encountered: