Skip to content

refactor ModelChain. add SingleDiode modelchain #179

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

Closed
wants to merge 9 commits into from

Conversation

wholmgren
Copy link
Member

Continuing from #151...

I refactored ModelChain into a parent ModelChain class with subclasses SAPM and SingleDiode. In doing so, I moved some solar position, irradiance, and weather prep work into ModelChain.prepare_inputs. prepare_inputs is called during run_model.

I also rebased this code on the changes that added support for SingleAxisTracker and voltage/current/power scaling.

I think that this is close to ready, but would appreciate testing and comments.

@wholmgren
Copy link
Member Author

@jforbess here's the latest PR that supports the CEC modules. I hope it's easier to pull and test. Note that you'll still need to manually add a few values to the module_parameters.

@wholmgren
Copy link
Member Author

closing in favor of #194. I'll let the branch live on for a little bit longer, though.

@wholmgren wholmgren closed this Jul 27, 2016
@wholmgren wholmgren deleted the singlediode-chain branch July 9, 2018 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant