8000 add consistency tests to ModelChain.dc_model by cwhanse · Pull Request #548 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

add consistency tests to ModelChain.dc_model #548

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 13 commits into from
Aug 31, 2018
Prev Previous commit
Delete comment from infer_dc_model
  • Loading branch information
cwhanse committed Aug 30, 2018
commit 669d4bdb21734d8402842533cf6a0c56e329c420
3 changes: 0 additions & 3 deletions pvlib/modelchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,6 @@ def dc_model(self, model):
self._dc_model = partial(model, self)

def infer_dc_model(self):
# returns both model function object and model string, could drop
# model function object in the future since the model function object
# will be set in dc_model after validating parameter consistency
params = set(self.system.module_parameters.keys())
if set(['A0', 'A1', 'C7']) <= params:
return self.sapm, 'sapm'
Expand Down
0