使用pvwatts mod运行pvlib modelchain

2024-05-20 14:38:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我想用pvwatts模型运行pvlib modelchain:

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对产生的交流功率没有影响。modelchain不支持pvwatts参数还是我的代码有错误?我的解决办法是

^{pr2}$

谢谢你


Tags: nonemodellocationsystemsurfacemodulefxper
1条回答
网友
1楼 · 发布于 2024-05-20 14:38:07

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

对于其他模型,pvlibpython使用modules_per_string和{}来缩放电压和电流。但是PVWatts没有电压和电流的概念,所以同样的比例不能应用。如果您希望看到应用的功率缩放等于参数的乘积,请随意在GitHub上打开一个问题并拉取请求。在

相关问题 更多 >