Skip to content

groundClearanceHeight definition for Sandia module model #1296

@mjprilliman

Description

@mjprilliman

Describe the bug

-SAM detailed PV model.
-Mike Wagner: I’m trying to run the default case with the only change being selection of the Sandia module performance model, and using the default panel type. When running in debug mode only, the model hangs up. In debugging, I found that this occurs because the module variable ‘groundClearancHeight’ is not set for the Sandia model, and defaults to some NaN that is a very large negative number. The calculation of shading uses a while loop based on this value, and it ends up hanging. The screenshots below give a bit of context.

Screenshots

image

Operating System and Version

  • OS: [Windows, macOS, Linux]
  • Version [e.g. SAM 2020.2.29 r3]

Additional context

-Only happening in debug?

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