NREL / Solar-for-Industry-Process-Heat

3 stars 1 forks source link

Fixes to resampling rev output and scaling streamlining #19

Closed calmc closed 3 years ago

calmc commented 3 years ago

Fixed resampling of reV output from 30-minute intervals to hourly intervals. Previously, the correction factor of 0.5 was missing. The unit conversions related to generation scaling were also streamlined to avoid confusion (i.e., the conversion from kWH for month_gen and month_yield now occur within the get_county_gen_month method). The rounding of scaled generation was also changed, from rounding up to rounding down to the nearest 1-MW unit. It was observed that the previous approach resulted in small exceedances of available land area for some counties.

calmc commented 3 years ago

@wxi1995 I'd like to have you take a look at this commit and verify that everything is OK before merging. Also, would you go through the scaling calculations (lines 165 - 175) and just double-check that everything makes sense and that units match?