Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 2 KB

README.md

File metadata and controls

35 lines (20 loc) · 2 KB

Modified version of NREL SSC (SAM Simulation Core)

  • Added support for building with SCons
  • Trying to link to OS-provided version of nlopt
  • Aiming for integration of SolarPILOT with Modelica simulations via SolarTherm.

To build the code on Ubuntu:

cd ~/ssc (wherever you have the code)
sudo apt install libgtest-dev libnlopt-dev
scons -j8

To run the test suite

cd ~/ssc (wherever you have the code)
SSCDIR=. LD_LIBRARY_PATH=. test/test

SSC (SAM Simulation Core)

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 builds upon four other open-source projects, Google Test, LK, wxWidgets, and WEX. 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.

However, to simply 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.

Contributing

Please see the contribution guidelines in the main SAM project readme.

License

SSC is licensed uder a mixed MIT/GPL V3 license.