https://nrel-pysam.readthedocs.io
- Provides a wrapper around the SAM library that groups together the C API functions by technology or financial model into modules.
- Includes error-checking, explicit input and output definition, and conversion between Python data types.
- PySAM modules are compatible with PySSC, which is included as a subpackage. PySSC is the original wrapper used by SAM's code generator.
- Automatically assign default values to input parameters from SAM's default value database.
- Built-in documentation of models and parameters.
- Python 3.5+, 64 bit
- Operating system:
- MacOSX 10.7+
- Most Linux
- Windows 7, x64
- CMake 2.8
-
PyPi:
pip install nrel-pysam
-
Anaconda (<1.2.1 only):
conda install -c nrel nrel-pysam nrel-pysam-stubs
May not be compatible with different builds of the CPython reference interpreter, and not with alternative interpreters such as PyPy, IronPython or Jython
PySAM . National Renewable Energy Laboratory. Golden, CO. Accessed . https://github.com/nrel/pysam