Skip to content
Merged
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
8 changes: 8 additions & 0 deletions pvlib/pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1709,6 +1709,8 @@ def calcparams_desoto(effective_irradiance, temp_cell,
Rs = R_s

numeric_args = (effective_irradiance, temp_cell)
# IL: photocurrent, I0: saturation_current, Rs: resistance_series,
# Rsh: resistance_shunt, nNsVth: product of thermal voltage, diode ideality factor and cells in series
out = (IL, I0, Rs, Rsh, nNsVth)

if all(map(np.isscalar, numeric_args)):
Expand Down Expand Up @@ -1830,6 +1832,10 @@ def calcparams_cec(effective_irradiance, temp_cell,
'''

# pass adjusted temperature coefficient to desoto
# Returns the following:
# IL: photocurrent, I0: saturation_current, Rs: resistance_series,
# Rsh: resistance_shunt, nNsVth: product of thermal voltage, diode ideality factor and cells in series

return calcparams_desoto(effective_irradiance, temp_cell,
alpha_sc*(1.0 - Adjust/100),
a_ref, I_L_ref, I_o_ref,
Expand Down Expand Up @@ -1975,6 +1981,8 @@ def calcparams_pvsyst(effective_irradiance, temp_cell,
Rs = R_s

numeric_args = (effective_irradiance, temp_cell)
# IL: photocurrent, I0: saturation_current, Rs: resistance_series,
# Rsh: resistance_shunt, nNsVth: product of thermal voltage, diode ideality factor and cells in series
out = (IL, I0, Rs, Rsh, nNsVth)

if all(map(np.isscalar, numeric_args)):
Expand Down