[OC] Sources of Utility-Scale Power Generation in the US

Posted by haydendking

22 Comments

  1. Here are some maps about the sources of utility-scale power generation and a slide on net electricity balance to add context. There are two important caveats:

    1. There is a small amount of distributed generation that isn’t captured in the data. This is probably responsible for Hawaii’s small deficit in electricity production in this data. It isn’t able to import electricity but that difference is likely made up by rooftop solar. In most states, this amount is negligible.
    2. There is a significant amount of trading of electricity between states. I included the final slide on net electricity balance because some states have electricity supplies that look cleaner than they are because they import dirtier energy from other states. For example, when I was growing up in Seattle there was some controversy around Puget Sound Energy buying electricity from a coal power plant in Montana. I suspect something similar is happening in my current home state of Virginia, which needs to import (on net) around 28% of its electricity. While Virginia generates very little power with coal, West Virginia is a net exporter of electricity which relies heavily on coal.
    3. Another less important note on net electricity balance is that it doesn’t account for losses in transmission, which is a major reason for why the state-level surpluses add up to more than the deficits.

    Data: US Energy Information Administration API

    Tools: R (packages: dplyr, ggplot2, sf, usmap, tools, ggfx, grid, scales, cowplot, showtext, sysfonts, colorspace)

    library(httr)
    library(jsonlite)
    library(tidyverse)

    get_eia <- function(endpoint, api_key, params = list(), years = NULL) {
    base <- paste0(“https://api.eia.gov/v2/”, endpoint)
    if (is.null(years)) {
    res <- GET(base, query = c(list(api_key = api_key), params))
    json <- fromJSON(content(res, “text”), flatten = TRUE)
    return(json$response$data)
    }
    results <- lapply(years, function(y) {
    message(“Pulling year: “, y)
    query <- c(
    list(api_key = api_key),
    params,
    list(start = y, end = y)
    )
    res <- GET(base, query = query)
    json <- fromJSON(content(res, “text”), flatten = TRUE)
    df <- json$response$data
    if (!”period” %in% names(df)) {
    df$period <- y
    }
    Sys.sleep(0.2)
    return(df)
    })
    out <- bind_rows(results)
    return(out)
    }

    gen_all <- get_eia(
    “electricity/electric-power-operational-data/data/”,
    api_key,
    list(
    frequency = “annual”,
    `data[0]` = “generation”,
    `facets[sectorid][]` = “98” #Electric Power = 98
    ),
    years = 2024
    )

    cons <- get_eia(
    “electricity/retail-sales/data/”,
    api_key,
    list(
    frequency = “annual”,
    `data[0]` = “sales”
    ),
    years = 2024
    ) #retail sales

  2. citizensnips134 on

    Bad colors. 0% should be distinct, not on the gradient, like grey or red.

  3. KellerTheGamer on

    Could we get the last map as a portion of the total power usage? Feels like that might be more useful in some ways

  4. I think something’s missing for Hawaii. These charts show that it gets 8% of its power from wind, 8% from solar and less than 1% from hydro, but 0% from nuclear, natural gas and coal. Where does the rest of its power come from?

    Edit: ah, I think we’re missing a slide on power from petroleum power generation.

  5. michaelswallace on

    I like how DC is 100% solar. Obviously there’s not any big power plant in the city and it’s importing it’s power, but I like to think that one single home has a rooftop solar panel that counts as all of the energy generated within city limits.

  6. This isn’t really useful or correct when thinking about the grid. It’s a fine visualization but utilities in one state owning, or contracting for via power purchase agreement, generation located in another is a really common state of affairs. Not to mention cross-state utilities.

  7. I would be really interested to see PA’s mix 20 years ago…crazy that they are down to just 5% coal. I know they had several large natural gas plants come online the last 10 years or so.

  8. So_spoke_the_wizard on

    Wild that some of the most green energy hostile states have the highest percentage of wind power.

  9. hornswoggled111 on

    Wtf Florida. The place should be nearly fully solar.

    And the irony of them being so vulnerable to climate change.

  10. Arizona is really lacking in solar power generation for being the sunniest state in the US.

  11. KudosOfTheFroond on

    What’s the deal with New Hampshire having such a high rate while every state surrounding it is at 0?

  12. Crazy to see LA so high on gas and so low on hydro when they have so much water flowing through the state constantly

  13. How there isn’t more solar rolled out nation wide is baffling. Easily one of the biggest energy policy bungles in our nations history that will continue to set us back decades.

  14. Just a few years ago California nearly shuttered Diablo Canyon, it’s last nuclear power plant.