Skip to content

AdjustmentFactors variable names do not match SAM #164

@dguittet

Description

@dguittet

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

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_', '')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions