The SSC Open Source Project repository contains the source code for the technology and financial models contained within the National Renewable Energy Laboratory's System Advisor Model™ (SAM™). For more details about SAM's capabilities, see the SAM website at https://sam.nrel.gov/.
You could think of SSC as the home for the algorithms behind the SAM desktop program. Most people run the code through the desktop user interface, but SSC can also be run directly using the SAM Sofware Develoment Kit.
SSC requires building four other open-source projects:
However, if you remove SDKtool and TCSconsole from your SSC project, you can build SSC without any other software dependencies. Please see the main SAM project wiki for complete build instructions and software dependencies.
SSC directly includes source code from three other open-source projects, and builds them as part of its build process. These projects and their respective licenses are:
- NLopt - code located here, LGPL license
- lp_solve - code located here, LGPL license
- splinter - code located here, MPL license
To explore the code and understand the algorithms used in SSC, start by looking in the "SSC" project at the compute modules (files starting with cmod_) to find the compute module for the technology or financial model of interest.
Please see the contribution guidelines in the main SAM project readme.
SSC is licensed with BSD-3-Clause terms, found here.
System Advisor Model Version 2024.12.12 (2024). SSC source code. National Renewable Energy Laboratory. Golden, CO. Accessed December 13, 2024. https://github.com/NREL/ssc