Skip to content

Instantly share code, notes, and snippets.

@solarjoe
solarjoe / sscapi_dcr.py
Last active January 24, 2017 11:02
Python wrapper for SAMSDK, adjusted to work with Python 2 and 3
# #####################################################################
#
# System Simulation Core (SSC) Python Wrapper
# Author: Aron Dobos @ NREL and Steven Janzou @ NREL
# adjusted by SolarJoe to work with Python 2 and 3
#
# #####################################################################
# Changelog: - print statements with parenthesis, works from Python 2.5+
# - indentation, use 4 spaces instead of tabs (PEP8)