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 6 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: 2 days ago

Total Commits: 508
Total Committers: 20
Avg Commits per committer: 25.4
Development Distribution Score (DDS): 0.26

Commits in past year: 14
Committers in past year: 5
Avg Commits per committer in past year: 2.8
Development Distribution Score (DDS) in past year: 0.571

Name Email Commits
dguittet d****t@n****v 376
Paul Gilman c****n@g****m 31
Brian Mirletz b****z@n****v 26
Matt Prilliman 5****n 23
Steven Janzou s****n@j****m 16
frohro r****e@w****u 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:


Issue and Pull Request metadata

Last synced: 8 days ago

Total issues: 5
Total pull requests: 7
Average time to close issues: about 2 months
Average time to close pull requests: 25 days
Total issue authors: 4
Total pull request authors: 4
Average comments per issue: 1.2
Average comments per pull request: 0.14
Merged pull request: 5
Bot issues: 0
Bot pull requests: 0

Past year issues: 5
Past year pull requests: 7
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 25 days
Past year issue authors: 4
Past year pull request authors: 4
Past year average comments per issue: 1.2
Past year average comments per pull request: 0.14
Past year merged pull request: 5
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/natlabrockies/pysam

Top Issue Authors

  • mjprilliman (2)
  • tylernisonoff (1)
  • brtietz (1)
  • Peque (1)

Top Pull Request Authors

  • dguittet (3)
  • mjprilliman (2)
  • brtietz (1)
  • sjanzou (1)

Top Issue Labels

  • bug (1)

Top Pull Request Labels

  • bug (1)

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.064636475774222