-
Notifications
You must be signed in to change notification settings - Fork 1.1k
port MATLAB PVLIB's Boyle/Coello soiling model to python #739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I would like to participate in this issue. Is there a preference as to which model to implement first, i.e. Kimber Dynamic or Boyle/Coello? I could start by doing a pandas rewrite of the code @mikofski shared in issue #669. Mark's code was very clear and in Python, so maybe it's easiest to start with the Kimber Dynamic method. |
Hello |
@nappaillav If you have questions when porting any part of the Humboldt State University (HSU) code, feel free to contact me. I worked on developing that code from the code that was sent to me by the paper authors. I recommend reproducing the entirety of the MATLAB code. The internal function depo_velocity is used by the variable deposition form of the model, but requires everything in pvl_soiling_hsu.m in order to correctly model the soil impact. |
I think the expected behavior should be soiling_ratio = f(inputs), as FYI: the paper authors requested us to name the function with HSU rather than a last name. It would be nice that this function become known as the Humboldt State University soiling model to honor their request. |
Thanks for the reply @cwhanse @DanRiley |
I wouldn't work too hard to imitate the MATLAB argument parsing. You can take defaults from the MATLAB function's Optional inputs. I wouldn't port the validation rules; rather, describe the value restrictions in the docstring. @DanRiley do you have a few sets of test data? |
sandialabs/MATLAB_PV_LIB#26
help wanted...
The text was updated successfully, but these errors were encountered: