Skip to content

Grid outage causes simulation to hang at around 30% #1324

@cpaulgilman

Description

@cpaulgilman

Describe the bug

See https://sam.nrel.gov/forum/forum-general/4119 for a description and sample file.

Link to sample file: https://sam.nrel.gov/forum/attachment/1421

From @brtietz:

...the grid outage code should always finish. If the system is too small, the extra load should be recorded as unmet critical load. There are some while loops in there that should converge, but it looks [this is] a case where they don’t.

To Reproduce

Steps to reproduce the behavior:

  1. Open file attached to forum topic above.
  2. Go to the 30 kW case.
  3. Click Simulate.

Simulation starts but then progress bar stops at around 30%.

Expected behavior

Simulation should finish and results should show unmet critical load.
A clear and concise description of what you expected to happen.

Operating System and Version

  • Tested on Mac and Windows
  • SAM 2022.11.21

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