由于失配效应,我正在使用 PVLib 对光伏功率损耗进行建模。
是否可以添加并联的模块 IV 曲线?
如同:
def combine_series(dfs):
"""
Combine IV curves in series by aligning currents and summing voltages.
The current range is based on the first curve's current range.
"""
df1 = dfs[0]
imin = df1['i'].min()
imax = df1['i'].max()
i = np.linspace(imin, imax, 1000)
v = 0
for df2 in dfs:
v_cell = interpolate(df2, i)
v += v_cell
return pd.DataFrame({'i': i, 'v': v})
不同之处在于它应该并行组合。
非常感谢,基利安