NatLabRockies / NatLabRockies/SAM

SAM crashing when visualising

Open
#2,143 0 comments 0 reactions 1 assignee View on GitHub

@mjprilliman is already working on this.

Since Feb 4, 2026.

bug
Dominant language
C++
Stars
486
Forks
219
Avg merge
10h 10m
Merged PRs (30d)
2

Description

Describe the bug

I have installed SAM 2024.4.16 on my Macbook M4 Pro. I have a PV-Battery + Host/Developer case. After simulating the case, I go to the time series plots which shows three (default) plots of (1) the battery state of charge, (2) Electricity to load from battery AC (kW), (3) Electricity to load from Grid AC (kW) and (4) Electricity to load from system AC (kW). Some plots look like stacked area plots and the battery storage is a line plot. I would like to have all the plots as line plots. When I uncheck the option "Stacked Area on Y axis" and press "Ok", the application crashes.

SAM crashes when

To Reproduce

Steps to reproduce the behavior:

  1. Simulate the case [PV-BAT_TPO_HostDev]
  2. Click on the tab "Time series"
  3. Click on the "edit view settings and graph scaling ..."
  4. uncheck the option "Stacked Area on Y axis"
  5. Press Ok
  6. The application crashes
  7. See error
Expected behavior

I'm expecting to see graphs without a stacked area.

Screenshots

Picture of the plots:

Image

Picture of the view settings option window:

Image

If applicable, add screenshots to help explain your problem.

Operating System and Version
  • OS: macOS Tahoe 26.2
  • SAM 2024.4.16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.