我想用 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}
谢谢