NatLabRockies / NatLabRockies/SAM
SAM crashing when visualising
@mjprilliman is already working on this.
Since Feb 4, 2026.
- 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:
- Simulate the case [PV-BAT_TPO_HostDev]
- Click on the tab "Time series"
- Click on the "edit view settings and graph scaling ..."
- uncheck the option "Stacked Area on Y axis"
- Press Ok
- The application crashes
- See error
Expected behavior
I'm expecting to see graphs without a stacked area.
Screenshots
Picture of the plots:
Picture of the view settings option window:
If applicable, add screenshots to help explain your problem.
Operating System and Version
- OS: macOS Tahoe 26.2
- SAM 2024.4.16
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.