Enhance SAM with features tailored to your specific needs! We collaborate with companies, universities, and organizations to privately fund new capabilities or analyses. Your investment drives innovation while benefiting the broader energy community. Email us to learn more.

PySSC : no attribute 'pdll'

  • KillianPremel
  • Topic Author
More
23 Apr 2019 08:40 #6755 by KillianPremel
PySSC : no attribute 'pdll' was created by KillianPremel
Hello,

I am on Linux and I try to use SDK with Python, to create automatically the results of a study ( I downloaded SAM and SDK).
I just begin with SAM and SDK, so I wanted to follow the tutorial on nsrdb.nrel.gov/api-instructions , but it doesn't work when I try to run this line : ssc = sscapi.PySSC().

The error is that 'PySSC' object has no attribute 'pdll', when I looked in the file there is an attribute pdll, but only for Linux2
I found that the platform is not supported with Linux.

Is there a way of doing it with Linux ?

Best regards,

Killian Premel


Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
23 Apr 2019 17:23 #6756 by Paul Gilman
Replied by Paul Gilman on topic PySSC : no attribute 'pdll'
Dear Killian,

The example on the NSRDB website is for an older version of SAM (SAM 2015.6.30). I would recommend starting by generating Python code from the current version of SAM as described on the SAM SDK page: sam.nrel.gov/sdk -- generate the code from a PVWatts/No Financial Model case -- and then once you get that running, modifying it to use the
Code:
wfd
object as described in the NSRDB API example.

Thanks,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum