Skip to content
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

Functions to fit and convert IAM models #1824

Closed
cwhanse opened this issue Aug 2, 2023 · 0 comments · Fixed by #1827
Closed

Functions to fit and convert IAM models #1824

cwhanse opened this issue Aug 2, 2023 · 0 comments · Fixed by #1827
Milestone

Comments

@cwhanse
Copy link
Member

cwhanse commented Aug 2, 2023

It would be useful to be able to convert parameters between IAM models (e.g., physical to martin_ruiz). To convert from an interpolation approach to a model described by an equation, it would also be useful to have a "fit" function.

Describe the solution you'd like

Add fit and convert functions to pvlib.iam.py. convert could be implemented as

target_params = convert(source_model, source_params, target_model)

Add an example to the gallery showing how to use these functions, and demonstrating that a converted model yields similar effective insolation for a representative system.

Describe alternatives you've considered
An example showing how to do this. The example would contain the fit/convert code, which seems like a less-than-useful implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants