Skip to content

PVWatts Advanced Inputs callback error #1305

@cpaulgilman

Description

@cpaulgilman

Describe the bug

Callback error caused by loss_adjustment_set() function at https://github.com/NREL/SAM/blob/35cd07e9ec5a7be6ea1a7d842333d52d4e495277/deploy/runtime/ui/PVWatts%20Advanced%20Inputs.txt#L1177.

Could not evaluate callback function:PVWatts Advanced Inputs->on_load
[100]: error in call to 'value()': variable 'system_use_lifetime_output' does not exist in this context[99]: error inside function call
[4]: eval error in statement list

To Reproduce

Steps to reproduce the behavior:

  1. Create a PVWatts / No Financial case.
  2. Run a simulation.
  3. On the System Design page, expand the Advanced Inputs panel.

This seems to be somewhat intermittent, so may need to try a few times going back and forth from the System Design page and expanding/collapsing the Advanced Inputs panel.

Operating System and Version

  • Windows
  • SAM 2022.11.21

Additional context

This issue comes up when testing these PRs: NatLabRockies/ssc#953, #1301

Metadata

Metadata

Assignees

Labels

added to release notesPR and/or issue has been added to release notes for a public releasebug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions