gen_per_prod_type: Get Aggregated Generation per Production Type (16.1.B&C)

View source: R/en_generation.R

gen_per_prod_typeR Documentation

Get Aggregated Generation per Production Type (16.1.B&C)

Description

Actual aggregated net generation output (MW) or consumption per market time unit and per production type.

Usage

gen_per_prod_type(
  eic = NULL,
  period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"),
  period_end = lubridate::ymd(Sys.Date(), tz = "CET"),
  gen_type = NULL,
  tidy_output = TRUE,
  security_token = Sys.getenv("ENTSOE_PAT")
)

Arguments

eic

Energy Identification Code of the control area, bidding zone or country

period_start

POSIXct or YYYY-MM-DD HH:MM:SS format Maximum one year range limit applies

period_end

POSIXct or YYYY-MM-DD HH:MM:SS format Maximum one year range limit applies

gen_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 for ENTSO-E transparency platform

Examples

df <- entsoeapi::gen_per_prod_type(
  eic          = "10YFR-RTE------C",
  period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"),
  period_end   = lubridate::ymd(x = "2020-03-01", tz = "CET"),
  gen_type     = NULL,
  tidy_output  = TRUE
)
str(df)


krose/entsoeapi documentation built on Jan. 13, 2025, 9:01 p.m.