我想用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参数还是我的代码有错误?我的解决办法是
谢谢你
ModelChain
不支持pvwatts模型的这些参数。在对于其他模型,pvlibpython使用}来缩放电压和电流。但是PVWatts没有电压和电流的概念,所以同样的比例不能应用。如果您希望看到应用的功率缩放等于参数的乘积,请随意在GitHub上打开一个问题并拉取请求。在
modules_per_string
和{相关问题 更多 >
编程相关推荐