8000 move ModelChain.weather and times to ModelChainResult by wholmgren · Pull Request #1197 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

move ModelChain.weather and times to ModelChainResult #1197

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
Mar 18, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'pvlib/master' into wxtimestomcresults
  • Loading branch information
wholmgren committed Mar 16, 2021
commit 793a1f2e7ff32d1a377d28b2f6c07e2be8951b3a
6 changes: 5 additions & 1 deletion pvlib/modelchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,11 @@ def _set_celltemp(self, model):
self.results.effective_irradiance)
temp_air = _tuple_from_dfs(self.results.weather, 'temp_air')
wind_speed = _tuple_from_dfs(self.results.weather, 'wind_speed')
self.results.cell_temperature = model(poa, temp_air, wind_speed)
kwargs = {}
if model == self.system.noct_sam_celltemp:
kwargs['effective_irradiance'] = self.results.effective_irradiance
self.results.cell_temperature = model(poa, temp_air, wind_speed,
**kwargs)
return self

def sapm_temp(self):
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0