Skip to content

improve function argument ordering in pvsystem #220

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

Merged
merged 7 commits into from
Jul 22, 2016

Conversation

wholmgren
Copy link
Member

This PR improves some function signatures as discussed in #197.

Also addresses the input/output type issues described #201 for ashraeiam, physicaliam, and snlinverter.

Adds test_tools.py.

I'll merge tomorrow unless there are comments.

Closes #197.

@wholmgren wholmgren added the api label Jul 20, 2016
@wholmgren wholmgren added this to the 0.4.0 milestone Jul 20, 2016
@jforbess
Copy link
Contributor

It looks good at a high level, but I noticed that you didn't do the same type of reordering for the sapm function. I see that you have just updated sapm to better align with Matlab, but the intention was only to align algorithmically, right, so we'd still want the parameters ordered with effective_irradiance and temperature first?

@wholmgren
Copy link
Member Author

Good catch @jforbess. The functions introduced in #218 should be changed, too.

@wholmgren
Copy link
Member Author

@jforbess I updated the sapm functions. I'll let this sit for another day.

@wholmgren wholmgren merged commit bfbdb23 into pvlib:master Jul 22, 2016
@wholmgren wholmgren deleted the scalarpvsys branch July 22, 2016 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants