gen_wind_solar_forecasts: Get Generation Forecasts for Wind & Solar (14.1.D)

View source: R/en_generation.R

gen_wind_solar_forecastsR Documentation

Get Generation Forecasts for Wind & Solar (14.1.D)

Description

A respective forecast of wind and solar power net generation (MW) per area and each market time unit of the following/current day. The elements of the result list are representing each related forecast time range.

Usage

gen_wind_solar_forecasts(
  eic = NULL,
  period_start = lubridate::ymd(Sys.Date(), tz = "CET") - lubridate::days(x = 1L),
  period_end = lubridate::ymd(Sys.Date(), tz = "CET"),
  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

period_end

POSIXct or YYYY-MM-DD HH:MM:SS format

tidy_output

Defaults to TRUE. If TRUE, then flatten nested tables.

security_token

Security token for ENTSO-E transparency platform

Examples

df_list <- entsoeapi::gen_wind_solar_forecasts(
  eic          = "10YFR-RTE------C",
  period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"),
  period_end   = lubridate::ymd(x = "2020-03-01", tz = "CET"),
  tidy_output  = TRUE
)
str(df_list$`Day-ahead`)
str(df_list$`Intraday`)
str(df_list$`Current`)


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