Skip to content

SAM crashing when visualising #2143

@Mufika

Description

@Mufika

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions