Skip to content

Commit 6796709

Browse files
committed
remove redundant load_loss==0 branch and use stable quadratic form
1 parent 5953e9d commit 6796709

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pvlib/transformer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ def simple_efficiency(
105105
pg. 101.
106106
''' # noqa: E501
107107

108-
if load_loss == 0:
109-
return input_power - no_load_loss * transformer_rating
110108

111109
input_power_normalized = input_power / transformer_rating
112110

0 commit comments

Comments
 (0)