Visualising NREL’s Annual Technology Baseline ("ATB") data for wind and solar energy using R

[This article was first published on The Manipulative Gerbil: Playing around with Energy Data, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
In the US, the Federal Government’s National Renewable Energy Lab released the 2024 “Annual Technology Baseline” a couple of weeks ago. The large, yearly dataset does a few things. For one, it collects data on constructed electricity generators by type of fuel/renewable and collates the components of their cost. By factoring in all of the expected outlays for a specific type of generator, we can arrive at the “Levelised Cost of Energy” (LCOE); the exact calculation can differ but essentially, the units of the LCOE are “units of currency for a unit of energy,” eg, $/MWh. This allows people to 

Interestingly for people interested in intermittent renewables like solar and wind, NREL data also divides categorises regions by the strength of their wind or solar resources, on a 1 to 10 scale (1 being best and 10 being least good). 

I wanted to be able to think of a state at random within the US and ask “In which counties would I have the best (or worst?) opportunities to build a solar farm and/or a wind farm?”. To do this, I would need to be able to tie climatology data (from our trusty friend nasapower) and categorise it based on the system devised by NREL. Using the R “simple features” object type, it’s possible to transform this into easily readable maps, too. 


 
Where in Arizona do wind turbines cost the least (the most) to operate?



The way in which I’ve written the scripts gives users the choice between Canada, the United States and Mexico–but this is maybe a flurry on my part, since NREL bases its ATB data on findings from projects in the contiguous 48 states. In the meantime, it’s possible that these scripts could be built on to cover the world more globally (see below). 

There are a number of ways this project can be made better, including, to wit: 

  1. Expanding the data sources to cover a greater number of countries 
  2. Factoring in the grid connection costs, a major obstacle for renewables projects but which do not form a part of the LCOE
  3. Allowing a different calculation of the LCOE

I made the scripts available on my GitHub, here. To run this locally on your machine, 
To leave a comment for the author, please follow the link and comment on their blog: The Manipulative Gerbil: Playing around with Energy Data.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)