10000 Make `i_x` and `i_xx` SAPM parameters optional by kandersolar · Pull Request #2433 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Make i_x and i_xx SAPM parameters optional #2433

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 8 commits into from
Apr 23, 2025
Merged
Show file tree
Hide file tree
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
lint
  • Loading branch information
kandersolar committed Apr 10, 2025
commit 0103952235befbcdf72f3fefde06ab523c672c0a
2 changes: 1 addition & 1 deletion tests/test_modelchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@ def test_sapm_optional_params(sapm_dc_snl_ac_system, location):
for array in sapm_dc_snl_ac_system.arrays:
for key in ['C4', 'C5', 'C6', 'C7']:
array.module_parameters.pop(key)

# no error:
ModelChain(sapm_dc_snl_ac_system, location)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def test_sapm(sapm_module_params):
}
out = pvsystem.sapm(effective_irradiance, temp_cell, params_no_c4c7)
assert 'i_x' not in out.keys()
assert 'i_xx' not in out.keys()
assert 'i_xx' not in out.keys()


def test_PVSystem_sapm(sapm_module_params, mocker):
Expand Down
0