Get Installed Generation Capacity per Production Unit (14.1.B)
Source:R/en_generation.R
gen_installed_capacity_per_pu.RdThe installed generation capacities (MW) at the beginning of the year for all the production units, including the planned ones.
Usage
gen_installed_capacity_per_pu(
eic = NULL,
year = year(Sys.Date()),
psr_type = NULL,
tidy_output = TRUE,
security_token = Sys.getenv("ENTSOE_PAT")
)Arguments
- eic
Energy Identification Code of the control area, bidding zone or country
- year
YYYY format Cannot be shown more than 3 years ahead as required by the law.
- psr_type
Defaults to NULL, otherwise list of generation type codes from asset_types table
- tidy_output
Defaults to TRUE. If TRUE, then flatten nested tables.
- security_token
Security token
Value
A tibble::tibble() with the queried data.
See also
Other generation endpoints:
gen_day_ahead_forecast(),
gen_installed_capacity_per_pt(),
gen_per_gen_unit(),
gen_per_prod_type(),
gen_storage_mean_filling_rate(),
gen_wind_solar_forecasts()
Examples
df <- entsoeapi::gen_installed_capacity_per_pu(
eic = "10YDE-VE-------2",
year = 2020,
psr_type = "B05"
)
#>
#> ── API call ────────────────────────────────────────────────────────────────────────────────────────────────────────────
#> → https://web-api.tp.entsoe.eu/api?documentType=A71&processType=A33&in_Domain=10YDE-VE-------2&psrType=B05&periodStart=202001010000&periodEnd=202101010000&securityToken=<...>
#> <- HTTP/1.1 200 OK
#> <- Date: Tue, 20 Oct 2026 10:23:20 GMT
#> <- Content-Type: text/xml
#> <- Transfer-Encoding: chunked
#> <- Connection: keep-alive
#> <- Content-Disposition: inline; filename="EXPORT_PRODUCTION_AND_GENERATION_UNITS_202011100 - 202111100.xml"
#> <- Content-Encoding: gzip
#> <- Strict-Transport-Security: max-age=15724800
#> <- Vary: accept-encoding
#> <- X-Content-Type-Options: nosniff
#> <- X-Xss-Protection: 0
#> <-
#> ✔ response has arrived
#> ✔ Additional type names have been added!
#>
#> ── public download ─────────────────────────────────────────────────────────────────────────────────────────────────────
#> ℹ downloading resource_object_eic table ...
#>
#> ── public download ─────────────────────────────────────────────────────────────────────────────────────────────────────
#> ℹ pulling W_eicCodes.csv file from cache
#> ✔ Additional eic names have been added!
#> ✔ Additional definitions have been added!
dplyr::glimpse(df)
#> Rows: 20
#> Columns: 26
#> $ ts_in_bidding_zone_domain_mrid <chr> "10Y1001A1001A82H", "10Y1001A1001A82H", "10Y1001A1001A82H", "10Y1001A1001A82H"…
#> $ ts_in_bidding_zone_domain_name <chr> "Germany_Luxemburg", "Germany_Luxemburg", "Germany_Luxemburg", "Germany_Luxemb…
#> $ ts_mkt_psr_type_psr_mrid <chr> "11WD8TIEF5C----9", "11WD8TIEF5G-GUDI", "11WD8WED15C---1M", "11WD8WED15C---2K"…
#> $ ts_mkt_psr_type_psr_name <chr> "HKW Tiefstack Block 2", "HKW Tiefstack GuD", "HKW Wedel Block 1", "HKW Wedel …
#> $ ts_registered_resource_mrid <chr> "11WD8TIEF5X----V", "11WD8TIEF5X----V", "11WD8WED15C----Q", "11WD8WED15C----Q"…
#> $ ts_registered_resource_name <chr> "Tiefstack", "Tiefstack", "Wedel HKW", "Wedel HKW", "Wedel HKW", "Wedel HKW", …
#> $ type <chr> "A71", "A71", "A71", "A71", "A71", "A71", "A71", "A71", "A71", "A71", "A71", "…
#> $ type_def <chr> "Generation forecast", "Generation forecast", "Generation forecast", "Generati…
#> $ process_type <chr> "A33", "A33", "A33", "A33", "A33", "A33", "A33", "A33", "A33", "A33", "A33", "…
#> $ process_type_def <chr> "Year ahead", "Year ahead", "Year ahead", "Year ahead", "Year ahead", "Year ah…
#> $ ts_object_aggregation <chr> "A06", "A06", "A06", "A06", "A06", "A06", "A06", "A06", "A06", "A06", "A06", "…
#> $ ts_object_aggregation_def <chr> "Resource Object", "Resource Object", "Resource Object", "Resource Object", "R…
#> $ ts_business_type <chr> "B11", "B11", "B11", "B11", "B11", "B11", "B11", "B11", "B11", "B11", "B11", "…
#> $ ts_business_type_def <chr> "Production unit", "Production unit", "Production unit", "Production unit", "P…
#> $ ts_mkt_psr_type <chr> "B05", "B05", "B05", "B05", "B05", "B05", "B05", "B05", "B05", "B05", "B05", "…
#> $ ts_mkt_psr_type_def <chr> "Fossil Hard coal", "Fossil Hard coal", "Fossil Hard coal", "Fossil Hard coal"…
#> $ created_date_time <dttm> 2026-10-20 10:23:20, 2026-10-20 10:23:20, 2026-10-20 10:23:20, 2026-10-20 10:…
#> $ time_period_time_interval_start <dttm> 2019-12-31 23:00:00, 2019-12-31 23:00:00, 2019-12-31 23:00:00, 2019-12-31 23:…
#> $ time_period_time_interval_end <dttm> 2021-12-31 23:00:00, 2021-12-31 23:00:00, 2021-12-31 23:00:00, 2021-12-31 23:…
#> $ ts_resolution <chr> "P1Y", "P1Y", "P1Y", "P1Y", "P1Y", "P1Y", "P1Y", "P1Y", "P1Y", "P1Y", "P1Y", "…
#> $ ts_time_interval_start <dttm> 2020-12-31 23:00:00, 2020-12-31 23:00:00, 2019-12-31 23:00:00, 2019-12-31 23:…
#> $ ts_time_interval_end <dttm> 2021-12-31 23:00:00, 2021-12-31 23:00:00, 2020-12-31 23:00:00, 2020-12-31 23:…
#> $ ts_mrid <chr> "06bf983d0f114c62", "06bf983d0f114c62", "1728ff3ea608496c", "1728ff3ea608496c"…
#> $ ts_point_dt_start <dttm> 2020-12-31 23:00:00, 2020-12-31 23:00:00, 2019-12-31 23:00:00, 2019-12-31 23:…
#> $ ts_point_quantity <dbl> 316, 316, 250, 250, 250, 250, 1600, 1600, 514, 564, 564, 514, 140, 140, 316, 3…
#> $ ts_quantity_measure_unit_name <chr> "MAW", "MAW", "MAW", "MAW", "MAW", "MAW", "MAW", "MAW", "MAW", "MAW", "MAW", "…