-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implement irradiance.complete_irradiance with component sum equations #1567
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
Changes from 18 commits
83f0990
5980930
1b2e5ed
08a18cf
21599f6
fbf0ee9
34344e9
24771c0
533d63b
db45cae
1a554e8
73e9b55
789540f
06cb584
b0ae6f4
e776928
74c954d
bebf349
f35b8e0
98e531c
9255aa2
ed6e106
9cfde3b
7cc3485
aff38d4
e595465
78a180d
4fac56f
b9ec987
e07f516
7ce6fa6
881779e
a0d6b18
99205b4
51272d4
01736b9
3958012
f8dd098
725d859
65fde50
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1886,7 +1886,7 @@ def test_complete_irradiance(sapm_dc_snl_ac_system, location): | |
"""Check calculations""" | ||
mc = ModelChain(sapm_dc_snl_ac_system, location) | ||
times = pd.date_range('2010-07-05 7:00:00-0700', periods=2, freq='H') | ||
i = pd.DataFrame({'dni': [49.756966, 62.153947], | ||
i = pd.DataFrame({'dni': [49.63565561689957, 62.10624908037814], | ||
'ghi': [372.103976116, 497.087579068], | ||
'dhi': [356.543700, 465.44400]}, index=times) | ||
|
||
|
@@ -1904,7 +1904,7 @@ def test_complete_irradiance(sapm_dc_snl_ac_system, location): | |
|
||
mc.complete_irradiance(i[['dhi', 'ghi']]) | ||
assert_series_equal(mc.results.weather['dni'], | ||
pd.Series([49.756966, 62.153947], | ||
pd.Series([49.63565561689957, 62.10624908037814], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, I guess this is an artifact of switching to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On technical merit, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any other input on this change? We have two votes neither opposed but neither in strong favor. If that's the roll call, I'd say keep it as |
||
index=times, name='dni')) | ||
|
||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.