SDK with Python

  • ankita.deshmukh@constellation.com
  • Topic Author
More
28 Jul 2017 14:03 #5589 by ankita.deshmukh@constellation.com
SDK with Python was created by ankita.deshmukh@constellation.com
Hi,

Does anyone know how to model a resdential PV system with Storage in SDK using Python API? If anyone has an example let me know.

Thanks

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

  • ozsolarwind
More
31 Jul 2017 07:29 #5590 by ozsolarwind
Replied by ozsolarwind on topic SDK with Python
Anita

It is possible to create some sample code, either Python 2 or 3, via SAM itself. Something like this:
  1. Execute SAM
  2. Choose Photovoltaic (Detailed) and Residential (Distributed)
  3. Choose the Battery option
  4. Enable Battery
  5. Under the filename "pulldown" (untitled ?) choose 'Generate code ...'
  6. Choose your language and then the file location

This will give some Python code, and a couple of files. If this doesn't work for you I can attach the sample I just created.

Kind regards

Angus

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

  • pgilman
More
31 Jul 2017 14:08 #5591 by pgilman
Replied by pgilman on topic SDK with Python
Here's a quick video showing the steps to generate and run Python script from a SAM case:


Your browser does not support the video tag.

Best regards,
Paul.

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

Moderators: pgilman
Powered by Kunena Forum