- Posts: 2
SSC SDK - Storage Segfault
- aj_hst
- Topic Author
Less
More
12 Feb 2021 09:15 #9284
by aj_hst
SSC SDK - Storage Segfault was created by aj_hst
Hello,I tried posting on the forum just now but it doesn't seem to register...If it did, feel free to ignore this!I'm having trouble with a particular configuration (attached JSON + solar resource file). I was able to get this to work for a slightly smaller battery system size, but this one segfaults and just crashes the program. I believe the problem (based on the Matlab crash report) is in the function `dispatch_automatic_front_of_meter_t::dispatch`, but can't be certain. Any help would be appreciated!Cheers,Anthony
Attachments:
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5447
12 Feb 2021 17:18 #9285
by pgilman
Replied by pgilman on topic SSC SDK - Storage Segfault
Hi Anthony,
One way to debug might be to set up the case you want to model in SAM, use the Code Generator to export the MATLAB code, and compare that code to yours to see if you can determine what is causing the error.
Best regards,
Paul.
One way to debug might be to set up the case you want to model in SAM, use the Code Generator to export the MATLAB code, and compare that code to yours to see if you can determine what is causing the error.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman