- Posts: 2
Really Low Summer Generation for a California Solar Farm?
- luke.epp
- Topic Author
Less
More
02 Feb 2024 09:46 #12862
by luke.epp
Really Low Summer Generation for a California Solar Farm? was created by luke.epp
Hey All,I am validating the usage of SAM (via reV) and I am getting a strange result when looking at the 12x24s of actual generation compared to the modeled generation that is output from SAM. I am using the pvwatts7 module and I have the exact latitude and longitude of the farm. Here is a code snippet of how I am calling SAM within reV in python 3.9.18 using HSDS
And here is my json of parameters:
Attached is a graph of the results compared to the actuals in which you can see that months 6-8 have a much lower capacity factor than the actuals and a much lower capacity than the model predicted in February! Please let me know if there is something I can do with my parameters or the model code to fix this aberration. Thank you!Luke
Code:
year = 2020
if(run_solar):
data_file = '/nrel/nsrdb/v3/nsrdb_{}.h5'.format(year)
pp = ProjectPoints.lat_lon_coords(lat_lons, data_file, solar_tracking, 'solar')
solar_gen = Gen.reV_run('pvwattsv7', pp, sam_configs=solar_tracking, res_file=data_file, output_request=req)
timestamps = pd.date_range(start='{}-01-01 00:00:00'.format(year), periods=len(solar_gen.out['cf_profile']), freq='30T')
print(solar_gen.out['cf_profile'])
for index, id in enumerate(ids):
cf_df = pd.DataFrame(solar_gen.out['cf_profile'][:,index], columns=['Value'])
cf_df.index = timestamps
cf_df = cf_df.resample('H').mean()cf_df = cf_df.reset_index()
cf_df = cf_df.rename(columns={'index': 'Date'})
cf_df['Name'] = str(id) 'fixed'
And here is my json of parameters:
Code:
{"adjust:constant": 0,
"array_type": 2,
"azimuth": 180,
"capital_cost": 39767200,
"dc_ac_ratio": 1,
"fixed_charge_rate": 0.096,
"fixed_operating_cost": 260000,
"gcr": 0.1,
"inv_eff": 99,
"losses": 0,
"module_type": 2,
"system_capacity": 20000,
"tilt": 35,
"variable_operating_cost": 0}
Attached is a graph of the results compared to the actuals in which you can see that months 6-8 have a much lower capacity factor than the actuals and a much lower capacity than the model predicted in February! Please let me know if there is something I can do with my parameters or the model code to fix this aberration. Thank you!Luke
Attachments:
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
02 Feb 2024 10:19 #12863
by pgilman
Replied by pgilman on topic Really Low Summer Generation for a California Solar Farm?
Hi Luke,
Those plots are hard to read, so I couldn't see the exact results you describe.
The first place to look would be in the weather data. The main driver for output of the array is the direct normal irradiance (DNI) so you might see what that data looks like in those months of lower-than-expected capacity factor. Ambient temperature is also a factor: Months of especially high ambient temperatures may have lower capacity factors than expected.
Best regards,
Paul.
Those plots are hard to read, so I couldn't see the exact results you describe.
The first place to look would be in the weather data. The main driver for output of the array is the direct normal irradiance (DNI) so you might see what that data looks like in those months of lower-than-expected capacity factor. Ambient temperature is also a factor: Months of especially high ambient temperatures may have lower capacity factors than expected.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
- luke.epp
- Topic Author
Less
More
- Posts: 2
07 Feb 2024 12:24 #12873
by luke.epp
Replied by luke.epp on topic Really Low Summer Generation for a California Solar Farm?
Hey Paul,
Thanks for the response. Sorry if my plot was hard to read. Generally the story is summer generation for a solar farm modeled by SAM/REV is 30% lower than actuals: an unacceptable material difference. Is there a way to take temperature out of the equation? I assume it is a temperature effect and that we are not the first people so see this. It would make sense if there's a parameter to pass or a section to comment out of the code so that everyday is treated as cold and high-efficiency. Thanks again for the help.
-Luke
Thanks for the response. Sorry if my plot was hard to read. Generally the story is summer generation for a solar farm modeled by SAM/REV is 30% lower than actuals: an unacceptable material difference. Is there a way to take temperature out of the equation? I assume it is a temperature effect and that we are not the first people so see this. It would make sense if there's a parameter to pass or a section to comment out of the code so that everyday is treated as cold and high-efficiency. Thanks again for the help.
-Luke
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
07 Feb 2024 16:50 #12874
by pgilman
Replied by pgilman on topic Really Low Summer Generation for a California Solar Farm?
Hi Luke,
The code snippet you provide above runs pvwattsv7, which is an old version of PVWatts. The current version is PVWatts V8 ('pvwattsv8' compute module). When you run PVWatts from the SAM desktop application or the online PVWatts calculator ( pvwatts.nrel.gov ), you are running PVWatts V8.
PVWatts is different from SAM's Detailed PV model ('pvsamv1').
I just want to clarify this to be clear about what model we are discussing.
Comparing results from a model like SAM's Detailed PV model or PVWatts to measured data from a real system is tricky. Some of the short papers available on the PV Validation page of the SAM website at sam.nrel.gov/photovoltaic/pv-validation.html describe the steps required to make sure the measured data and model results are comparable.
It is not possible to turn off the cell temperature model in either PVWatts or the Detailed PV model.
Best regards,
Paul.
The code snippet you provide above runs pvwattsv7, which is an old version of PVWatts. The current version is PVWatts V8 ('pvwattsv8' compute module). When you run PVWatts from the SAM desktop application or the online PVWatts calculator ( pvwatts.nrel.gov ), you are running PVWatts V8.
PVWatts is different from SAM's Detailed PV model ('pvsamv1').
I just want to clarify this to be clear about what model we are discussing.
Comparing results from a model like SAM's Detailed PV model or PVWatts to measured data from a real system is tricky. Some of the short papers available on the PV Validation page of the SAM website at sam.nrel.gov/photovoltaic/pv-validation.html describe the steps required to make sure the measured data and model results are comparable.
It is not possible to turn off the cell temperature model in either PVWatts or the Detailed PV model.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman