PySAM

A Python package for the National Renewable Energy Laboratory’s System Advisor Model.
https://github.com/natlabrockies/pysam

Category: Energy Systems
Sub Category: Energy System Modeling Frameworks

Keywords from Contributors

photovoltaics renewables renewable-energy bifacial radiance solar-energy

Last synced: about 18 hours ago
JSON representation

Repository metadata

Python Wrapper for the System Advisor Model

README.md

PySAM Package

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.

Requirements

  1. Python 3.9 - 3.13, 64 bit
  2. Operating system:
    • MacOSX 10.7+
    • Most Linux
    • Windows 7, x64
  3. CMake 3.20+

Installing

  1. PyPi:

    pip install nrel-pysam
    
  2. Anaconda (Versions > 1.2.1, < 6.0.0 only):

    conda install -c nrel nrel-pysam
    

May not be compatible with different builds of the CPython reference interpreter, and not with alternative interpreters such as PyPy, IronPython or Jython

Usage Examples

Citing this package

PySAM . National Laboratory of the Rockies. Golden, CO. Accessed . https://github.com/NatLabRockies/pysam


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 501
Total Committers: 20
Avg Commits per committer: 25.05
Development Distribution Score (DDS): 0.25

Commits in past year: 22
Committers in past year: 3
Avg Commits per committer in past year: 7.333
Development Distribution Score (DDS) in past year: 0.409

Name Email Commits
dguittet d****t@n****v 376
Paul Gilman c****n@g****m 30
Brian Mirletz b****z@n****v 26
Matt Prilliman 5****n 23
frohro r****e@w****u 10
sjanzou s****u@g****m 10
Ben Elliston b****e@a****u 9
Kevin Anderson k****n@n****v 2
Janine Keith j****n 2
Greg Miller 4****r 2
Cliff Hansen c****e@s****v 2
Mike Welch m****h@t****y 1
Nick DiOrio n****o@n****v 1
Allen Downey d****y@a****m 1
Bill Hamilton 3****d 1
Dakota Sky Ramos 8****s 1
MasonBowen t****n@n****v 1
Matthew Boyd 3****d 1
Sam Koebrich s****h@N****v 1
Silvana Ovaitt s****a@n****v 1

Committer domains:


Dependencies

.github/workflows/linter.yml actions
  • actions/checkout v2 composite
  • docker://github/super-linter v2.1.1 composite
docs/requirements.txt pypi
  • NREL-PySAM *
  • pandas *
  • sphinx_rtd_theme *
requirements.txt pypi
  • pandas *
  • python-dotenv *
  • requests *
tests/requirements.txt pypi
  • mypy * test
  • numpy * test
  • pandas * test
  • pympler * test
  • pytest * test
  • python-dotenv * test
  • requests * test

Score: 8.026170194946426