Python 使用带有阵列平面(POA)的ModelChain作为天气输入
我非常喜欢pvlib中的Python 使用带有阵列平面(POA)的ModelChain作为天气输入,python,pvlib,Python,Pvlib,我非常喜欢pvlib中的ModelChain的概念。但是,我希望能够使用ModelChain来建模给定系统(多个模块和逆变器)的直流和交流输出,使用阵列辐照度平面作为天气输入,而不是输入GHI、DNI和DHI组件(我没有测量)然后将换位模型指定为ModelChain的一部分。这可能吗 这是我的系统设计 `system=pvlib.pvsystem.PVSystem(surface_tilt=22.5, surface_azimuth=180,
ModelChain
的概念。但是,我希望能够使用ModelChain
来建模给定系统(多个模块和逆变器)的直流和交流输出,使用阵列辐照度平面作为天气输入,而不是输入GHI、DNI和DHI组件(我没有测量)然后将换位模型指定为ModelChain
的一部分。这可能吗
这是我的系统设计
`system=pvlib.pvsystem.PVSystem(surface_tilt=22.5,
surface_azimuth=180,
modules_per_string=30,
strings_per_inverter=100,
module_parameters=cec_modules['Yingli_Energy__China__YL300P_35b'], inverter_parameters=cec_inverters['SMA_America__SC800CP_US_360V__CEC_2012_'])`
以下是我的天气数据示例:
`weather.loc['2018-07-01 10:00:00':'2018-07-01 12:00:00'].head()
Out[420]:
poa_global temp_air wind_speed
Timestamp
2018-07-01 10:00:00-07:00 1031.487152 41.69515 0.77450
2018-07-01 10:05:00-07:00 1031.917903 41.62194 0.82462
2018-07-01 10:10:00-07:00 1033.182229 46.01999 0.54983
2018-07-01 10:15:00-07:00 1031.597900 38.67440 0.95819
2018-07-01 10:20:00-07:00 1031.660918 39.16293 0.86196`
这就是我理想情况下希望对ModelChain所做的:
`mc=pvlib.modelchain.ModelChain(system,location,
aoi_model='physical',
transposition_model='None',
dc_model='singlediode',
ac_model='snlinverter',
spectral_model='no_loss',
losses_model='pvwatts')`
`mc.run_model(times=weather.index,weather=weather)`
目前无法使用ModelChain。使用阵列天气输入平面运行\u model
。我建议您在pvlib问题跟踪器上提出功能请求。但是,您可以检查ModelChain。运行\u model
源代码并将post POA步骤复制到您自己的函数中,该函数接受ModelChain
对象作为输入。有关背景信息,请参阅。此功能已添加到中(请检查pvlib.\uuuu版本\uuuuu
以查看您已安装的版本)
请参见此处的文档页面:已理解。多谢。我将提出功能请求。我想这是一个“你可以做你自己的模型链”,只是不确定。谢谢你所有伟大的工作!