8000 Change setter for losses_model to allow it to set multiple loss funct… by ncroft-b4 · Pull Request #1084 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Change setter for losses_model to allow it to set multiple loss funct… #1084

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 19 commits into from
Closed
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
formatting
  • Loading branch information
ncroft-b4 committed Dec 1, 2020
commit 87387d792cb3b61c8d862b5b9047c417d51ea34a
2 changes: 2 additions & 0 deletions pvlib/tests/test_pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,7 @@ def test_LocalizedPVSystem___repr__():

assert localized_system.__repr__() == expected


def test_dc_ohms_from_percent():
expected = .1425
out = pvsystem.dc_ohms_from_percent(38, 8, 3, 1, 1)
Expand All @@ -1233,6 +1234,7 @@ def test_PVSystem_dc_ohms_from_percent():
out = system.dc_ohms_from_percent()
assert_allclose(out, expected)


def test_pvwatts_dc_scalars():
expected = 88.65
out = pvsystem.pvwatts_dc(900, 30, 100, -0.003)
Expand Down
0