High-level library for using 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
The SAM SDK, portions of which are found in the sam-sdk folder, 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 Distribution
samlib-0.1.3.209.tar.gz
(302.1 kB
view hashes)
Built Distributions
Close
Hashes for samlib-0.1.3.209-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4023e213deb5c359975c47e37fe1d1a4268ff2ff9a4b14faca39b571fbc2ae7 |
|
MD5 | 61b321870012fcf06aaa77c827a3d3d8 |
|
BLAKE2b-256 | 489422160bb515d80dc0ef7ec22791287400f4f4bc20cd9d47ec307483c5236a |
Close
Hashes for samlib-0.1.3.209-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bf081accba478bc63546dc2d66f7b3611720b338bb7ded27048b506ba7461b6 |
|
MD5 | 69e555017861675aa0402adb9e177733 |
|
BLAKE2b-256 | b8821581e07c3752d367edc0cb1d432a57ab598c7074c4c71d46cd4847b3e07e |
Close
Hashes for samlib-0.1.3.209-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 498d6c7629e8a89ac81ac8b0f6b944f85139bc7bef25b2c495482ebb783f6ce6 |
|
MD5 | 5ca8798ab671dc06408feb7afab6b68e |
|
BLAKE2b-256 | 1d8d9a9e540073c88bed9bde560d8493d2f0a2978617469d2ff76b9b9d1d3ba7 |
Close
Hashes for samlib-0.1.3.209-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 893da9b95140cf2c0d602b31f4b5c99ff48557e683c306761372a6c5f53e37e5 |
|
MD5 | ce3be8e910577f4c6ce8d919154ae28d |
|
BLAKE2b-256 | 35e0a0a9fefbfccb0dcd64b2b715322a63307252594ae6bc4087a8d1cb5d2c94 |
Close
Hashes for samlib-0.1.3.209-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ba19c9ef295d88f1feae70c8fb98b96e9e2e79b7222a948b6e5a637021d1001 |
|
MD5 | eac6515403a34426c3f6695e3b6f8e64 |
|
BLAKE2b-256 | 8c672b515c5c2646f0e956fbf48aa22738e718729d1185fda401eb07b85e21cb |
Close
Hashes for samlib-0.1.3.209-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a631c3a430123b197fe61d7fd37405260e9d436845cff427905c11a159a55785 |
|
MD5 | 69887a19e73242516016905ab6924f39 |
|
BLAKE2b-256 | a0cd3ff4f46966a8f64e95715fe85ce97b49d8996ec06d9936c5f663478adc57 |
Close
Hashes for samlib-0.1.3.209-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63abc7b0b0c8269888498b3f892cba64a856483ddbe629d4f12254c6a0c6beeb |
|
MD5 | 16aeb0c7f76ae69e909943e5ad844d16 |
|
BLAKE2b-256 | 97ca9b0421afbd2636b5b676017309c1287f498c8514fba15e59402749b57a9e |
Close
Hashes for samlib-0.1.3.209-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cdc0682ba365ac3d3bc941fdee8ec058fc304dcfadc2f01a5936f150f279429 |
|
MD5 | f6b57db4aaf839678f495d77444b5db7 |
|
BLAKE2b-256 | 640a7eae00c6fa2895c30d014b966a9c4e274a4c905ecc62792eda4109da8b3e |
Close
Hashes for samlib-0.1.3.209-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ecfe9443603136ea6fa3263eaa4c0a799615c556bc603607c9de0c02b3b59c8 |
|
MD5 | 00826d955f9c238275ac54471ed35540 |
|
BLAKE2b-256 | d67840058ecc5d02df423aed531c62cbec2d1d344b8731c16433e198637b9655 |