Description
Back in 2018 I sent @cwhanse a Matlab wrapper for SMARTS we used on our UofA laboratory, with permission to publish, but got sidetracked and never documented. I just ported the code to Python and it seems to be working good.
I'll be ding a pull request for the python wrapper.
This is the ` original matlab code_<(https://www.dropbox.com/s/qqmht1vdkq79l8p/SMARTS_MatlabWrapper.rar?dl=0)>
This where some of the highlights from the emails in 2018:
- Basically [PVlib] can publish the Matlab code and put the responsibility to obtain SMARTS on the user.
- We need to have a separate license for the UofAz Matlab code. (BSD-3 License included in the dropbox folder)
- Users will be responsible to obtain a copy of SMARTS Fortran from NREL, honor it’s license, and build their own MEX file (they have to compile the Fortran code using a Matlab compatible compiler, a list and instructions are at https://www.mathworks.com/support/compilers.html).
Couple notes:
-Not sure how the license extends to the Python code
-Right now the functions assume that the SMARTS executable ("smarts295bat.exe") is on the same folder as the function (pvlib folder). This should change depending on how the above wants to be handled, I'd appreciate support for that based on what we decide.
This is kinda related to #71 , but PyRTM had other functionalities as well.