8000 Revise modelchain.rst for multiple arrays, results attribute by cwhanse · Pull Request #1223 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Revise modelchain.rst for multiple arrays, results attribute #1223

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 27 commits into from
May 14, 2021
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
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
thrash some more
  • Loading branch information
cwhanse committed May 12, 2021
commit 394f72db0c3b3cadb1acf53a43059311d1c97e7b
6 changes: 3 additions & 3 deletions docs/sphinx/source/modelchain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -523,9 +523,9 @@ function if you wanted to.
if mc.system.num_arrays == 1:
mc.results.dc = pvusa(
mc.results.total_irrad['poa_global'], mc.results.weather['wind_speed'],
mc.results.weather['temp_air'], mc.system.array.module_parameters['a'],
mc.system.array.module_parameters['b'], mc.system.array.module_parameters['c'],
mc.system.array.module_parameters['d'])
mc.results.weather['temp_air'], mc.system.arrays[0].module_parameters['a'],
mc.system.arrays[0].module_parameters['b'], mc.system.arrays[0].module_parameters['c'],
mc.system.arrays[0].module_parameters['d'])
else:
mc.results.dc = tuple(
pvusa(total_irrad['poa_global'], mc.results.weather['wind_speed'],
Expand Down
0