Skip to content

Large battery storage systems segfault #558

@ajcressman

Description

@ajcressman

Using MATLAB, I was able to create a project (~100MW AC) with two sizes of battery storage - (1) ~10MWh of capacity, and (2) ~100MWh of capacity. SSC build 250 (tried 252 as well, but same issue).

The 10MWh project runs fine, but the 100MWh project segfaults. It seems that the crash is related to dispatch_automatic_front_of_meter_t::dispatch (this is not the first time I've encountered a crash in this function; at least one other time it was due to a different battery chemistry profile). I should note that the latest PySAM also segfaults with these inputs.

I've attached a JSON of the working project, of the failing project, the solar resource file that was used, and the MATLAB crash report: storage_segfault.zip

Ideally I would like assistance in what values are giving me problems, but at least I would hope that future releases of SSC have more checks and return more error messages, rather than segfaulting entirely. Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions