Anita
It is possible to create some sample code, either Python 2 or 3, via SAM itself. Something like this:
- Execute SAM
- Choose Photovoltaic (Detailed) and Residential (Distributed)
- Choose the Battery option
- Enable Battery
- Under the filename "pulldown" (untitled ?) choose 'Generate code ...'
- 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