National Renewable Energy Laboratory's System Advisor Model Python Wrapper
Project description
Documentation here: 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.
- Minimum Python 3.5 for Windows 7 64-bit, MacOSX 10.6, or CentOS 5.
Version 2.1.1, ~ SAM 2020.2.29 r3, SSC Version 239
- SAM Release fixes for revision 3
- reopt size post bug
- ssc_sim_from_dict bug fix
- Version attribute:
PySAM.__version__
- URDBv7 in ResourceTools bug fix
- ResourceFetcher for WindToolKit and National Solar Radiation Database downlaods
- case-insensitive default configuration names
- Generic Exception replaces PySAM.Error for easier MP debugging
Version 2.0.2, Jan 27, 2020 ~ SAM 2020.2.x, SSC Version 233
- All new functions and models in latest SAM Release
- New functions (Reopt_size_batter_post, value, from_existing)
- Chaining cmods together
- Get variable by a name without knowing group, list all variables
- New Tools section (BatteryTools, ResourceTools)
- Easy way to create wind or solar data
- Battery sizing
- All compute modules to PySAM
- Major reorganization of variable groups
- Bug fixes
- fopen defaults
- turbine powercurve
- Documentation features
- Downstream and upstream variable suggestions
- Examples page
Version 1.2.dev3, August 21, 2019 ~ SAM 2018.11.11.3, SSC Version 211
- Wind PRUF framework
- Wind resource distribution
- Physical Trough reorganization
- Grid compute module
- Marine hydrokinetic compute module
- Supercritical CO2 compute modules
- Geothermal output names
- Documentation: Variable requirement
- Stubs: Added AdjustmentmentFactors
Version 1.2.1, April 26, 2019 ~ SAM 2018.11.11.3, SSC Version 209
- SSC using doubles
- Tcs_moltensalt RADCOOL group
- Stub files and .rst files for readthedocs
- Documentation updates
Version 1.1, April 15, 2019 ~ SAM 2018.11.11.3, SSC Version 208
- Group all modules under PySAM namespace
- Defaults for technology and financial models according to SAM GUI configurations
- Include PySSC with dictionary functions as subpackage
- Remove AdjustmentFactors group from non-technology modules
- Fix custom exception for use with multiprocessing package
- Documentation updates
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
NREL-PySAM-2.1.1.tar.gz
(790.2 kB
view hashes)
Built Distributions
Close
Hashes for NREL_PySAM-2.1.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e02baf5d5f9ecb963ff9b113d6d8e0b22ee5ca30dde265736ac3c9847690642 |
|
MD5 | 45c927e14d7fe06aa80e4727a54a90f8 |
|
BLAKE2b-256 | be1caad75dabeff5525894faceb5751a99ce09a39da0c1fd64a7be9598de59a0 |
Close
Hashes for NREL_PySAM-2.1.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7428fb2a12cf16c6d99af6579366baa5df400073209ce9093933c718af11c907 |
|
MD5 | 2e1383a596a93878e82d12ea1964a9dc |
|
BLAKE2b-256 | 75db44683da1b01f163ee2523a4637938a3740360800946cf3363421f61f9f0d |
Close
Hashes for NREL_PySAM-2.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b57b563ac1368b81b1db871a9915caa6c9bea2bcd8bc63c23a08e6a3565ffc4 |
|
MD5 | 055862dcc3853c5bf359e2b37fc599ad |
|
BLAKE2b-256 | 63aef151cde1b6f06357783f985a3af2018ac53ed62f5ab1ecee45bffb9b78d2 |
Close
Hashes for NREL_PySAM-2.1.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3993fa0105276f697efcc394436f8e125063493292134da2600c15e61f54286b |
|
MD5 | 49abd5639c55ebde376185936c36f9fb |
|
BLAKE2b-256 | 8b53c95852a213781089aec3d29bef568f1ee5251424adefce5a9425b02dccd0 |
Close
Hashes for NREL_PySAM-2.1.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925ec3776a7c1cd56e5a3232c87f01925172d25eb61da4c966aad608c0e9e25a |
|
MD5 | 2170c207f87038a4a3ad27a0e4a113ff |
|
BLAKE2b-256 | fcab57d3228d0942b7cca7839e4cb6b772f750aab28b52e158f5d47336318555 |
Close
Hashes for NREL_PySAM-2.1.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7918645e7b8b0627b4c41af5065849bfe529a17620c9cb9cd2bd59d01d7a968a |
|
MD5 | 5a8fa02791013fd32891e66179cb7fa6 |
|
BLAKE2b-256 | a4067ffee68337297bc5c4f3f6ead831f3a0402b2463507dfe0616cfb3bac6ed |
Close
Hashes for NREL_PySAM-2.1.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50d6a4799ab55a2358ac397dbf39b717546894e629f8aa2b6a033508cb725302 |
|
MD5 | f55dbbe7ecf2897cb7a8677e15a87d26 |
|
BLAKE2b-256 | 54f7166717cfd0b6bd80b4812675805ccdde9765d8dad1743acf4c650315eccc |
Close
Hashes for NREL_PySAM-2.1.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88dc3643ec48c6b42eac22e946ff42d6e7f36b20b9b93bf18eb0be70b8f691f8 |
|
MD5 | 51bff7c02ceac91f7f829f4e882b7675 |
|
BLAKE2b-256 | ab37b8c0f0fcad13a81647cb2406e25fc8174713fc42172f85b4322f99629438 |
Close
Hashes for NREL_PySAM-2.1.1-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cf34fbfc161578afa926ee1c13f5f5ce8efb647bf959e8ac737edb9fb8a5ec7 |
|
MD5 | 79368fd8bf5cca447a730eb57a9b60d9 |
|
BLAKE2b-256 | 64c07bb5c135e368fa3dcc2a9abf3f406a6ffb748a64fe83a9e65702bb06ecb5 |
Close
Hashes for NREL_PySAM-2.1.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c212d858bd74f03794e2e1618b4ee25fd33ce658cf8d4d447966045fe27de082 |
|
MD5 | b95006868274f1f2f690d1187a998d4a |
|
BLAKE2b-256 | 88249ee4bd3a9a6854a89c38904d0f8334f006e8d4c1234d8742a5a256ed7d42 |
Close
Hashes for NREL_PySAM-2.1.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aea34e568a139daf13185a54f812083bd8b89671131e532a67f1969cbe2433a2 |
|
MD5 | 1eab760cc67a2e8f6321ce57e782cfa7 |
|
BLAKE2b-256 | 525c814c7a6752069cdaebff742658aeb8c11fdaf368b3bf1464e2c2df5b8b7e |
Close
Hashes for NREL_PySAM-2.1.1-cp35-cp35m-macosx_10_6_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19c457dc7c8dae5e8e1fe36cb6ca9f076432d3314a6dcaa771a0337d51e8661 |
|
MD5 | e5dee290d25e60d035d6877b9be55fe4 |
|
BLAKE2b-256 | c33deb82295436f5e97432becb75660fce09193c506c421a85eb281adb388f46 |