1

我想用 pvwatts 模型运行 pvlib 模型链:

pvwatts_module={'pdc0':250,'gamma_pdc':-0.005}
pvwatts_inverter={'pdc0':4600,'eta_inv_nom':0.93}

location=Location(latitude,longitude, tz, altitude)
system = PVSystem(surface_tilt = surface_tilt, surface_azimuth = surface_azimuth, albedo = albedo,\
                           surface_type = None, module = None, module_parameters = pvwatts_module,\
                           modules_per_string = 21, strings_per_inverter = 1,\
                           inverter = None, inverter_parameters = pvwatts_inverter,\
                           racking_model = 'roof_mount_cell_glassback', name = None)

mc = ModelChain(system, fx_model.location, dc_model='pvwatts',ac_model='pvwatts',aoi_model='physical',spectral_model='no_loss',temp_model='sapm')

mc.run_model(fx_data.index, weather=fx_data);

modules_per_string = 21对产生的交流电源没有影响。模型链不支持 pvwatts 的这个参数还是我的代码有错误?我的解决方法是现在

pvwatts_module={'pdc0':5250,'gamma_pdc':-0.005}

谢谢

4

1 回答 1

0

ModelChain不支持 pvwatts 模型的这些参数。

对于其他模型,pvlib python 使用modules_per_stringandstrings_per_inverter来缩放电压和电流。但是 PVWatts 没有电压和电流的概念,因此不能应用相同的缩放比例。如果您希望看到应用的功率缩放等于参数的乘积,请随时在 GitHub 上打开问题和拉取请求。

于 2018-05-03T23:56:59.340 回答