High-level library for NREL's SAM Simulation Core (SSC)
Project description
samlib
Samlib is a high-level Python wrapper to the SAM SSC library from the SAM SDK.
Overview
Samlib uses cffi to build Pythonic library bindings to the SAM SSC library. It includes mypy stubs for static type analysis and code completion.
Example
import samlib
from samlib.modules import pvsamv1
wfd = samlib.Data() # weather forecast data
wfd.lat = 38.743212
wfd.lon = -117.431238
...
data = pvsamv1.Data()
data.solar_resource_data = wfd
data.use_wf_albedo = 0
...
module = pvsamv1.Module()
module.exec(data)
# Use results in data
License
Samlib is provided under a BSD 3-Clause license.
The SAM SSC, distributed in binary form in samlib wheels, is also licensed under a BSD 3-clause license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for samlib-0.3.1.240-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85be0844d3c8500af26a2e5c305b2f0754e417b39caf93d8d56d68d26c38fe22 |
|
MD5 | 583dedcc2d02ac05ddeeed3e75baec80 |
|
BLAKE2b-256 | a4e3ff1fc31768fe40a9650215e1fadaa8e3ac4a9926b495e6457b6eed83f660 |
Close
Hashes for samlib-0.3.1.240-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8679fa5e4e075947f1438c3bd6fa4e5fe52f6c1212c648e6e92326f992643740 |
|
MD5 | c9f457db4974f2defb02faaa987dbb13 |
|
BLAKE2b-256 | c41ca77e8d238720a33357cd59ae963e6d31ed7d34be33f01a2ee81c2b928421 |
Close
Hashes for samlib-0.3.1.240-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d77c04e4151be34ad4533cb99a222460e3275a3cde10d68ddfcbe2eccd35b891 |
|
MD5 | 7655f75921188ba45dbe0931ddbd6b43 |
|
BLAKE2b-256 | d7f57ab6a3ffafc1fedb3e79540b70d9b20dbcf32e9c1095c6d06a1a87834587 |
Close
Hashes for samlib-0.3.1.240-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38645f1c838f94a95aad6a0753215d741e779012c3e5b9b8be3bf6c22a45beae |
|
MD5 | 2b43340aab6df6985dd212d49b87f8b9 |
|
BLAKE2b-256 | ead4d2fa9abc8b94382341c3661268d172337549d8661797da730da783f98e94 |