Skip to content

PV subarray input check fails for files created in SAM 2022.11.21 #1518

@cpaulgilman

Description

@cpaulgilman

Describe the bug

Detailed PV model generates errors about disabled subarrays:

subarray2_modules_per_string:fail(subarray2_modules_per_string, min=1): 0
subarray2_nstrings:fail(subarray2_nstrings, min=1): 0
subarray3_modules_per_string:fail(subarray3_modules_per_string, min=1): 0
subarray3_nstrings:fail(subarray3_nstrings, min=1): 0
subarray4_modules_per_string:fail(subarray4_modules_per_string, min=1): 0
subarray4_nstrings:fail(subarray4_nstrings, min=1): 0
adjust_periods:fail(adjust_periods, cols=3): 1
Simulation pvsamv1 failed :subarray2_modules_per_string:fail(subarray2_modules_per_string, min=1): 0
gen not assigned
Simulation grid failed :gen not assigned

Subarrays 2-4 on System Design page are disabled:

image

To Reproduce

Steps to reproduce the behavior:

  1. In SAM 2022.11.21 r3, create a Detailed PV / No Financial case and save it.
  2. From a Develop build of SAM, open the file.
  3. Run a simulation and note simulation error.

The errors do not appear when you create the case in the Develop build -- they only appear for a file created with an older version of SAM.

Expected behavior

Conditional input checking should work regardless of the version of SAM used to create the file.

Operating System and Version

  • OS: Windows 10

Metadata

Metadata

Assignees

Labels

dev bugInternal bug that should not be included in release notes

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