exchanged_volumes: Get Exchanged Volumes (aFRR 3.16, mFRR 3.17)

View source: R/en_balancing.R

exchanged_volumesR Documentation

Get Exchanged Volumes (aFRR 3.16, mFRR 3.17)

Description

The net position informs whether the given area imports or exports energy. Those rows which hold the queried eic value in the 'ts_connecting_domain_mrid' column show the export value. Those rows which hold the queried eic value in the 'ts_acquiring_domain_mrid' column show the import value.

Usage

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

Arguments

eic

Energy Identification Code of the area

process_type

type of frequency restoration reserve A51 aFRR A60 mFRR scheduled activation A61 mFRR direct activation

period_start

POSIXct or YYYY-MM-DD HH:MM:SS format One day range limit applies

period_end

POSIXct or YYYY-MM-DD HH:MM:SS format One day range limit applies

tidy_output

Defaults to TRUE. flatten nested tables

security_token

Security token for ENTSO-E transparency platform

Examples

df1 <- entsoeapi::exchanged_volumes(
  eic          = "10YCZ-CEPS-----N",
  process_type = "A51",
  period_start = lubridate::ymd(x = "2022-08-16", tz = "CET"),
  period_end   = lubridate::ymd(x = "2022-08-17", tz = "CET"),
  tidy_output  = TRUE
)
str(df1)

df2 <- entsoeapi::exchanged_volumes(
  eic          = "10YCZ-CEPS-----N",
  process_type = "A60",
  period_start = lubridate::ymd(x = "2024-07-11", tz = "CET"),
  period_end   = lubridate::ymd(x = "2024-07-12", tz = "CET"),
  tidy_output  = TRUE
)
str(df2)


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