{"id":18337642,"url":"https://github.com/stationa/sscpy","last_synced_at":"2025-09-12T21:12:10.521Z","repository":{"id":57470803,"uuid":"106608364","full_name":"StationA/sscpy","owner":"StationA","description":"Python bindings to SAM Simulation Core (SSC)","archived":false,"fork":false,"pushed_at":"2021-11-08T06:05:53.000Z","size":635,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T20:18:15.269Z","etag":null,"topics":["energy","simulation-modeling"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StationA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2017-10-11T20:54:12.000Z","updated_at":"2022-03-04T19:31:04.000Z","dependencies_parsed_at":"2022-09-26T17:40:38.545Z","dependency_job_id":null,"html_url":"https://github.com/StationA/sscpy","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StationA%2Fsscpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StationA%2Fsscpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StationA%2Fsscpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StationA%2Fsscpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StationA","download_url":"https://codeload.github.com/StationA/sscpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103910,"owners_count":21048246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["energy","simulation-modeling"],"created_at":"2024-11-05T20:11:52.802Z","updated_at":"2025-04-09T20:18:18.552Z","avatar_url":"https://github.com/StationA.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sscpy\n\n[![PyPI version](https://badge.fury.io/py/sscpy.svg)](https://badge.fury.io/py/sscpy)\n\nPython bindings to SAM Simulation Core (SSC)\n\n## Installation\n\n### Requirements\n\n- [SAM Simulation Core (SSC)](https://github.com/NREL/ssc) native libraries\n- Python 3+\n\n### Install from PyPI (recommended)\n\n```\npip install sscpy\n```\n\n### Installing from Github\n\n```\npip install git+https://github.com/StationA/sscpy.git#egg=sscpy\n```\n\n### Installing from source\n\n```\ngit clone https://github.com/StationA/sscpy.git\ncd sscpy\npip install .\n```\n\n## Usage\n\n### Example running PVWatts (v7)\n\n```python\nfrom ssc.api import PVWatts\n\npvwatts = PVWatts()\nparams = {\n    'solar_resource_file': 'weather_data.csv',\n    'system_capacity': 1.0,\n    'losses': 14.0,\n    'array_type': 0,\n    'tilt': 20,\n    'azimuth': 180,\n    'adjust:constant': 0\n}\nresults = pvwatts.run(**params)\n\nfor output in results['ac']:\n    print(output)\n```\n\n## Contributing\n\nWhen contributing to this repository, please follow the steps below:\n\n1. Fork the repository\n1. Submit your patch in one commit, or a series of well-defined commits\n1. Submit your pull request and make sure you reference the issue you are addressing\n\n### Installing for development\n\n```\npip install --editable .\n```\n\n### Running tests\n\n```\ntox -e dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstationa%2Fsscpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstationa%2Fsscpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstationa%2Fsscpy/lists"}