Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit



Failed to load latest commit information.
Latest commit message
Commit time

SSC (SAM Simulation Core)

Build FOSSA Status

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

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:

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.

Citing this package

System Advisor Model Version 2022.11.21 (2022). SSC source code. National Renewable Energy Laboratory. Golden, CO. Accessed November 28, 2022.