Skip to content

SAM crashes if "save all output variables over analysis period" is unchecked and a grid outage is specified #2008

@brtietz

Description

@brtietz

Describe the bug

If a user unchecks the "save all output variables over analysis period" and tries to run a grid outage simulation, SAM crashes.

To Reproduce

Steps to reproduce the behavior:

  1. Set up a behind the meter, detailed PV + battery simulation (tested with host developer)
  2. On the "DC degradation" page, uncheck the "save all output variables over analysis period" box
  3. Set up a grid outage (tested with 100% crit load and an outage in every timestep
  4. Run the simulation
  5. SAM crashes

Expected behavior

SAM should not crash in this scenario

Operating System and Version

  • Version 2023.12.17, 2024.12.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    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