An Open-source Platform for Simulation and Optimization of Clean Energy Technologies. (May 2017)