Skip to main content

National Laboratory of the Rockies' System Advisor Model Python Wrapper

Project description

Release Notes

Version 7.1.1, April 24, 2026 - SAM 2025.4.16 Revision 2, SSC Version 306

Version 7.1.0, July 24, 2025 - SAM 2025.4.16 Revision 1, SSC Version 303

Version 7.0.0, Apr, 17 2025 - SAM 2025.4.16, SSC Version 302

Version 6.0.0, Dec 12, 2024 - SAM 2024.12.12, SSC Version 298

Version 5.1.0, Mar 13, 2024 - SAM 2023.12.17, Revision 1, SSC Version 290

Version 5.0.0, Dec 13, 2023 - SAM 2023.12.17, SSC Version 288

Version 4.2.0, June 30, 2023 - SAM 2022.11.21, Revision 3, SSC Version 280

Version 4.1.0, Feb 24, 2023 - SAM 2022.11.21, Revision 1, SSC Version 279

Version 4.0.0, Dec 10, 2022 - SAM 2022.11.21, SSC Version 278

Version 3.0.2, Sep 27, 2022 - SAM 2021.12.02, Revision 2, SSC Version 274

Version 3.0.1, Mar 4, 2022 - SAM 2021.12.02, Revision 1, SSC Version 268

Version 3.0.0, Dec 23, 2021 ~ SAM 2021.12.02, SSC Version 267

  • Warning: Significant changes to Battery and UtilityRate5 Modules, including redefinition of some variables. Please see SSC Release Notes for description of functionality and variable changes, and please see "Version Changes" section in PySAM Documentation for full list of variable changes.
  • Fix FetchResourceFiles's InsecureRequestWarning (#89); html error messages (#94); verbosity (#96)
  • Fix SAM_CSV_to_solar_data function missing information (#98)
  • Fix URDBv7_to_ElectricityRates error for certain demand structures (#99)
  • Add Python 3.10 Support (#104)
  • New Example for Selecting Modules and Inverter from the SAM Library (#103)
  • SAM Release updates for Version 2021.12.02

Version 2.2.4, Aug 20, 2021 ~ SAM 2020.11.29, Revision 2, SSC Version 259

  • Fix bug in Battery LMO/LTO life model
  • Fix a few cost defaults for PV PPA-model configuration
  • Clean up PhysicalTroughProcessHeat inputs

Version 2.2.3, July 22, 2021 ~ SAM 2020.11.29 Revision 2, SSC Version

  • Fix ResourceTools solar resource download bug (#86)
  • Update Models.rst and module docs
  • New analytic battery life model for LMO/LTO chemistry
  • Updates and Examples for WaveFileReader (#87)
  • Fix bug in 5-min PV files (#88)
  • Add replace function for Module and Module's Groups (#93)
  • SAM Release updates for Version 2020.11.29 Revision 2

Version 2.2.2, Mar 19, 2021 ~ SAM 2020.11.29 Revision 1, SSC Version 253

  • Add unassign function to modules (#65)
  • Fix mypy errors in stubs (#47)
  • Fix BatteryStateful bugs: memory leak; unintialized pointer in some constructors; fix setup error messaging (#67)
  • BatteryStateful features: ability to use adaptive timestep in simulation; speed up execution; Smith 2017 Life Model
  • Voltage cutoff feature for battery model (Battery & BatteryStateful)
  • Battery sizing tool can use per-module scaling for surface area (#77)
  • Updates to ResourceTools for weather download (#53, #50)
  • Leap year 2/29 date is now acceptable
  • Fix docs for TcsMoltenSalt (#66)
  • Update Import from SAM GUI example to use "PySAM JSON" option in Generate Code
  • Better error messaging (#74)
  • SAM Release updates for Version 2020.11.29 Revision 1

Version 2.2.0, Dec 2, 2020 ~ SAM 2020.11.29, SSC Version 250

  • SAM Release updates for Version 2020.11.29
  • Rename StandAloneBattery to Battery
  • New module: BatteryStateful with 3 defaults: NMCGraphite, LFPGraphite, LeadAcid
  • BatteryTools functions for switching chemistries
  • Update Docs to show list of interdependent variables at beginning
  • All changes from 2.1.5.devx versions
  • First PySAM package for Python 3.9

Version 2.1.5.dev3, Sep 3, 2020 ~ SAM 2020.2.29 r3, SSC Version 242

  • Price Signals Dispatch
  • Bug fix in PVWattsBatteryCommercial and PVBatteryCommercial incentives defaults

Version 2.1.5.dev2, Aug 10, 2020 ~ SAM 2020.2.29 r3, SSC Version 242

  • BatteryStateful bug fixes: current

Version 2.1.5.dev1, Aug 3, 2020 ~ SAM 2020.2.29 r3, SSC Version 242

  • BatteryStateful bug fixes: thermal, voltage
  • Stub files syntax fix

Version 2.1.5, July 7, 2020 ~ SAM 2020.2.29 r2, SSC Version 240

  • Updates to enable non-annual (single timestep or multiple, non-8760 timestep) simulations via weather input data (NOT weather files) for both pvsamv1 and pvwattsv7
  • Vanadium Redox Flow battery bug fix
  • Transformer loss units bug fix

Version 2.1.4, June 8, 2020 ~ SAM 2020.2.29 r2, SSC Version 240

  • Pvwattsv5_1ts bug fix
  • Self-shading calculation speed-up for Pvwattsv7, Pvsamv1 & Pvwattsv5

Version 2.1.3, May 29, 2020 ~ SAM 2020.2.29 r2, SSC Version 240

Version 2.1.1, May 15, 2020 ~ SAM 2020.2.29 r1, SSC Version 238

  • 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 downloads
  • 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


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

If you're not sure about the file name format, learn more about wheel file names.

nrel_pysam-7.1.1.post1-cp313-cp313-win_amd64.whl (33.2 MB view details)

Uploaded CPython 3.13Windows x86-64

nrel_pysam-7.1.1.post1-cp313-cp313-macosx_12_0_x86_64.whl (35.9 MB view details)

Uploaded CPython 3.13macOS 12.0+ x86-64

nrel_pysam-7.1.1.post1-cp313-cp313-macosx_12_0_arm64.whl (35.6 MB view details)

Uploaded CPython 3.13macOS 12.0+ ARM64

nrel_pysam-7.1.1.post1-cp312-cp312-win_amd64.whl (32.9 MB view details)

Uploaded CPython 3.12Windows x86-64

nrel_pysam-7.1.1.post1-cp312-cp312-macosx_12_0_x86_64.whl (35.9 MB view details)

Uploaded CPython 3.12macOS 12.0+ x86-64

nrel_pysam-7.1.1.post1-cp312-cp312-macosx_12_0_arm64.whl (35.6 MB view details)

Uploaded CPython 3.12macOS 12.0+ ARM64

nrel_pysam-7.1.1.post1-cp311-cp311-win_amd64.whl (32.8 MB view details)

Uploaded CPython 3.11Windows x86-64

nrel_pysam-7.1.1.post1-cp311-cp311-macosx_12_0_x86_64.whl (35.9 MB view details)

Uploaded CPython 3.11macOS 12.0+ x86-64

nrel_pysam-7.1.1.post1-cp311-cp311-macosx_12_0_arm64.whl (35.6 MB view details)

Uploaded CPython 3.11macOS 12.0+ ARM64

nrel_pysam-7.1.1.post1-cp310-cp310-win_amd64.whl (33.2 MB view details)

Uploaded CPython 3.10Windows x86-64

nrel_pysam-7.1.1.post1-cp310-cp310-macosx_12_0_x86_64.whl (35.9 MB view details)

Uploaded CPython 3.10macOS 12.0+ x86-64

nrel_pysam-7.1.1.post1-cp39-cp39-win_amd64.whl (32.8 MB view details)

Uploaded CPython 3.9Windows x86-64

nrel_pysam-7.1.1.post1-cp39-cp39-macosx_12_0_x86_64.whl (35.9 MB view details)

Uploaded CPython 3.9macOS 12.0+ x86-64

nrel_pysam-7.1.1.post1-cp39-cp39-macosx_12_0_arm64.whl (35.6 MB view details)

Uploaded CPython 3.9macOS 12.0+ ARM64

File details

Details for the file nrel_pysam-7.1.1.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 678b5b1bd57a013574dce30156c8bffd601f999e1f9609686daeff7411e0dcb1
MD5 54358e278c655776fb06e1f07b987ee9
BLAKE2b-256 2d2d26e6ddc30bcf2263ec47e1039e1dbbd99fb8bcb91f13113a6b2ca2829886

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp313-cp313-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp313-cp313-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 2455d7aa2565bac520f506be847a44d31145e41e7851c343c944e74e72c3bc93
MD5 099388379f205c8837ab1d5c90ed0f0e
BLAKE2b-256 1970c7280e7aa2faa27c21e3b2e8f1bddf42c8abd5176aa4fbdf595032571f57

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp313-cp313-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp313-cp313-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 b7609ed08b17efd6267eca48f72723ae71949d606d7f9dff21ee619db3123b14
MD5 6929dc3aa95e902cc8f40408026ef202
BLAKE2b-256 ad3a5b74cb446353a61f1ec2fa35bc7b1e496a4b0808b1d75244b58307c15dd5

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e135acafd1102fc6c7f1101657d2479f3d6e60dc895e0ef7a8c89df55998feaa
MD5 41e6d65ad307af2b17e2276df098418d
BLAKE2b-256 f330f3027e379d79c8e12d50ee9af0b2414ae9882de73482de9f4f15964c9410

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp312-cp312-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp312-cp312-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 3e97538b33bc6542d47785000aaed7941f1522e08ff81732b2c97df6964d4c2c
MD5 b2165d86cd9720f4f33ebe46352bfc85
BLAKE2b-256 7890f3cecd95554bdcc26b15c6635ceb5ad57fefc0dcc85fc8b8dfd186dcccfe

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp312-cp312-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp312-cp312-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 408f228092734c5f038ffa53aa4bf11b8f85b6c92d0dfdccd93da1a0b7d8a28a
MD5 ea238bcd0759404423c817421f876aad
BLAKE2b-256 82b1be9fa3d89821b42fe9c8dab35763dbae54d00c99e513f9b020af8ab95bc4

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9f46bf601cf839a8e07df22f1741f3b7ea93b6cb0bd39c7ee0e5141c2e16e892
MD5 2317d9d09c645a123cf5d35de1fd311b
BLAKE2b-256 2475b9663d126127e5863c4f4bbd4f8a4b83004342c0e2db96b076e152d96785

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 5393294e31deeae6283f4fefe49d6d708d0449e131f40909bb97f9088f7f3887
MD5 5ce9e2297862e1efec95da02ae318d8b
BLAKE2b-256 5ac734deac97eba7f8a5d2d3c137778fe808538aaeb76c207ca17f07c47414a4

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 e906fc7d8be161a4ea00fa5de6581564d8e76823f14db3499bf57bcd8867fe86
MD5 86953fcf96fcdceababdb1b356625e99
BLAKE2b-256 bb9e8ff616854114d8d4c2d2107c234fa074fb1981774ba660474e7c7601b91b

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 38a036bbcd074b5fba5f858fb6a7d5bb2e241e0670cb8025b446f070634264d5
MD5 1334cff11bfb48bb61e8715da061e87e
BLAKE2b-256 004ac5c6c0152b12076c9c9e70ad8d736a8dfc71a34e2b61108fb997de922c20

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 efe661ec374329d7b7bd709b6bbe3848e48e17970ca195de9fd0d222fd40ab1c
MD5 3f371dddb7ac576961a6ee8ea032c0a3
BLAKE2b-256 5f338a3434837c61c18d8f50e4bcf2cab8c701d64f3be41343335647442f964b

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 32ce929521f3054cb0d37ea319de5ec072025134109d9cc654c50aac52a2c92e
MD5 5487ac7c047a0bcdbbd944d8d3c1cf7f
BLAKE2b-256 c012062b679a40209f267dd6df5e439f5a45cc1ce206e4b34b1d9defa8289e4b

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 337a4fa73acc4c7ad4d28e97cd6386ce48c8302b0771c52f6f71da0de1be9988
MD5 5cc698d2a14f55f3ee88a3a86ed90b3c
BLAKE2b-256 10f66c0cdc013c1d9eb20682c93d4fc0282b55c1635421b5bae91d1e94e45d7a

See more details on using hashes here.

File details

Details for the file nrel_pysam-7.1.1.post1-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for nrel_pysam-7.1.1.post1-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 9d762edb7c03c109ddb5a86efd9c3c72542bad5550c9a31826a4d49b0a395a29
MD5 2a807e1422718f57fee6b8f598c1c8fa
BLAKE2b-256 a931bd82becd628bd671db2a164745b89fae162f79ba0368ac74ccd793a7f0ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page