简体   繁体   English

为什么这个输出辐照度预测值有些相同? 我正在使用 PVLIB 的 GFS 模型。 我在这里做错了什么?

[英]Why does this output irradiance forecasted values to be somewhat the same? I am using PVLIB's GFS model. What am I doing wrong here?

#Initialize the mode here #这里初始化模式

model = GFS(resolution='half', set_type='latest')

#the location I want to forecast the irradiance, and also the timezone #我想预测辐照度的位置,以及时区

latitude, longitude, tz = 15.134677754177943, 120.63806622424912, 'Asia/Manila'

start = pd.Timestamp(datetime.date.today(), tz=tz)

end = start + pd.Timedelta(days=7)

#pulling the data from the GFS #从 GFS 中拉取数据

raw_data = model.get_processed_data(latitude, longitude, start, end)

raw_data = pd.DataFrame(raw_data)

data = raw_data

#Description of the PV system we are using #我们正在使用的光伏系统的描述

system = PVSystem(surface_tilt=10, surface_azimuth=180, albedo=0.2,
                                 module_type = 'glass_polymer',
                                 module=module, module_parameters=module,
                                 temperature_model_parameters=temperature_model_parameters,
                                 modules_per_string=24, strings_per_inverter=32,
                                 inverter=inverter, inverter_parameters=inverter, 
                                 racking_model='insulated_back')

#Using the ModelChain #使用模型链

mc = ModelChain(system, model.location, orientation_strategy=None,
                aoi_model='no_loss', spectral_model='no_loss',
                temp_model='sapm', losses_model='no_loss')

mc.run_model(data);

mc.total_irrad.plot()

plt.ylabel('Plane of array irradiance ($W/m^2$)')

plt.legend(loc='best')

Here is the picture of it这是它的图片

I am actually getting the same values for irradiance for days now.实际上,我现在几天都在获得相同的辐照度值。 So I believe there is something wrong.所以我相信有问题。 I think there should somewhat be of different values for everyday at the least我认为至少每天应该有不同的价值观

Forecasting Irradiance预测辐照度

I think the reason the days all look the same is that the forecast data predicts those days to be consistently overcast, so there's not necessarily anything "wrong" with the values being very similar across days -- it's just several cloudy days in a row.我认为这些日子看起来都一样的原因是预测数据预测那些日子总是阴天,所以不一定有任何“错误”,因为这些天的值非常相似——只是连续几天多云。 Take a look at raw_data['total_clouds'] and see how little variation there is for this forecast (nearly always 100% cloud cover).看看raw_data['total_clouds'] ,看看这个预测的变化有多小(几乎总是 100% 云覆盖)。 Also note that if you print the actual values of mc.total_irrad , you'll see that there is some minor variation day-to-day that is too small to appear on the plot.另请注意,如果您打印mc.total_irrad的实际值,您会发现每天都有一些微小的变化,这些变化太小而无法出现在图中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM