swagger_client.GenerationForecastApi

July 10, 2024 ยท View on GitHub

All URIs are relative to https://data.elexon.co.uk/bmrs/api/v1

MethodHTTP requestDescription
forecast_availability_daily_evolution_getGET /forecast/availability/daily/evolutionEvolution of the fourteen-day generation capacity forecast over time (FOU2T14D)
forecast_availability_daily_getGET /forecast/availability/dailyFourteen-day generation capacity forecast (FOU2T14D)
forecast_availability_daily_history_getGET /forecast/availability/daily/historyHistory of the fourteen-day generation capacity forecast (FOU2T14D)
forecast_availability_summary14_d_getGET /forecast/availability/summary/14DDown-sampled fourteen-day generation forecast (FOU2T14D)
forecast_availability_summary3_yw_getGET /forecast/availability/summary/3YWDown-sampled three-year generation forecast (FOU2T3YW)
forecast_availability_weekly_evolution_getGET /forecast/availability/weekly/evolutionEvolution of the three-year generation capacity forecast over time (FOU2T3YW)
forecast_availability_weekly_getGET /forecast/availability/weeklyThree-year generation capacity forecast (FOU2T3YW)
forecast_availability_weekly_history_getGET /forecast/availability/weekly/historyHistory of the three-year generation capacity forecast (FOU2T3YW)
forecast_generation_day_ahead_getGET /forecast/generation/day-aheadDay-ahead aggregated generation (DAG/B1430)
forecast_generation_wind_and_solar_day_ahead_getGET /forecast/generation/wind-and-solar/day-aheadDay-ahead generation forecast for wind and solar (DGWS/B1440)
forecast_generation_wind_earliest_getGET /forecast/generation/wind/earliestHistoric view of the earliest forecasted wind generation (WINDFOR)
forecast_generation_wind_earliest_stream_getGET /forecast/generation/wind/earliest/streamHistoric view of the earliest forecasted wind generation (WINDFOR) stream
forecast_generation_wind_evolution_getGET /forecast/generation/wind/evolutionEvolution of the wind generation forecast over time (WINDFOR)
forecast_generation_wind_getGET /forecast/generation/windCurrent wind generation forecast (WINDFOR)
forecast_generation_wind_history_getGET /forecast/generation/wind/historyHistory of the wind generation forecast (WINDFOR)
forecast_generation_wind_latest_getGET /forecast/generation/wind/latestHistoric view of the latest forecasted wind generation (WINDFOR)
forecast_generation_wind_latest_stream_getGET /forecast/generation/wind/latest/streamHistoric view of the latest forecasted wind generation (WINDFOR) stream
forecast_generation_wind_peak_getGET /forecast/generation/wind/peakPeak wind generation forecast for each day (WINDFOR)

forecast_availability_daily_evolution_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityDaily forecast_availability_daily_evolution_get(forecast_date, level=level, bm_unit=bm_unit, fuel_type=fuel_type, format=format)

Evolution of the fourteen-day generation capacity forecast over time (FOU2T14D)

This endpoint provides the evolution of all daily generation forecasts over time for a given Forecast Date. Date parameter must be provided in the exact format yyyy-MM-dd.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
forecast_date = '2013-10-20'  # date | The forecast date for the filter. This must be in the format yyyy-MM-dd.
level = 'level_example'  # str |  (optional)
bm_unit = ['bm_unit_example']  # list[str] |  (optional)
fuel_type = ['fuel_type_example']  # list[str] |  (optional)
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Evolution of the fourteen-day generation capacity forecast over time (FOU2T14D)
    api_response = api_instance.forecast_availability_daily_evolution_get(forecast_date, level=level, bm_unit=bm_unit,
                                                                          fuel_type=fuel_type, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_availability_daily_evolution_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
forecast_datedateThe forecast date for the filter. This must be in the format yyyy-MM-dd.
levelstr[optional]
bm_unitlist[str][optional]
fuel_typelist[str][optional]
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityDaily

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_availability_daily_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityDaily forecast_availability_daily_get(level=level, bm_unit=bm_unit, fuel_type=fuel_type, format=format)

Fourteen-day generation capacity forecast (FOU2T14D)

This endpoint provides the latest fourteen-day generation forecast

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
level = 'level_example'  # str |  (optional)
bm_unit = ['bm_unit_example']  # list[str] |  (optional)
fuel_type = ['fuel_type_example']  # list[str] |  (optional)
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Fourteen-day generation capacity forecast (FOU2T14D)
    api_response = api_instance.forecast_availability_daily_get(level=level, bm_unit=bm_unit, fuel_type=fuel_type,
                                                                format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_availability_daily_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
levelstr[optional]
bm_unitlist[str][optional]
fuel_typelist[str][optional]
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityDaily

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_availability_daily_history_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityDaily forecast_availability_daily_history_get(publish_time, level=level, bm_unit=bm_unit, fuel_type=fuel_type, format=format)

History of the fourteen-day generation capacity forecast (FOU2T14D)

This endpoint provides the latest fourteen-day generation forecast from a given DateTime

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
publish_time = '2013-10-20T19:20:30+01:00'  # datetime | 
level = 'level_example'  # str |  (optional)
bm_unit = ['bm_unit_example']  # list[str] |  (optional)
fuel_type = ['fuel_type_example']  # list[str] |  (optional)
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # History of the fourteen-day generation capacity forecast (FOU2T14D)
    api_response = api_instance.forecast_availability_daily_history_get(publish_time, level=level, bm_unit=bm_unit,
                                                                        fuel_type=fuel_type, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_availability_daily_history_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
publish_timedatetime
levelstr[optional]
bm_unitlist[str][optional]
fuel_typelist[str][optional]
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityDaily

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_availability_summary14_d_get

list[InsightsApiModelsResponsesGenerationAggregatedForecast] forecast_availability_summary14_d_get(format=format)

Down-sampled fourteen-day generation forecast (FOU2T14D)

This endpoint provides a summary of generation forecast data aggregated by forecast date, intended for visualisation purposes. Use other availability forecast endpoints for full dataset access.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Down-sampled fourteen-day generation forecast (FOU2T14D)
    api_response = api_instance.forecast_availability_summary14_d_get(format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_availability_summary14_d_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

list[InsightsApiModelsResponsesGenerationAggregatedForecast]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_availability_summary3_yw_get

list[InsightsApiModelsResponsesGenerationAggregatedForecast] forecast_availability_summary3_yw_get(format=format)

Down-sampled three-year generation forecast (FOU2T3YW)

This endpoint provides a summary of generation forecast data aggregated by forecast date, intended for visualisation purposes. Use other availability forecast endpoints for full dataset access.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Down-sampled three-year generation forecast (FOU2T3YW)
    api_response = api_instance.forecast_availability_summary3_yw_get(format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_availability_summary3_yw_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

list[InsightsApiModelsResponsesGenerationAggregatedForecast]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_availability_weekly_evolution_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityWeekly forecast_availability_weekly_evolution_get(year, week, level=level, bm_unit=bm_unit, fuel_type=fuel_type, format=format)

Evolution of the three-year generation capacity forecast over time (FOU2T3YW)

This endpoint provides all weekly generation forecasts over time for a given Year and Week

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
year = 56  # int | 
week = 56  # int | 
level = 'level_example'  # str |  (optional)
bm_unit = ['bm_unit_example']  # list[str] |  (optional)
fuel_type = ['fuel_type_example']  # list[str] |  (optional)
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Evolution of the three-year generation capacity forecast over time (FOU2T3YW)
    api_response = api_instance.forecast_availability_weekly_evolution_get(year, week, level=level, bm_unit=bm_unit,
                                                                           fuel_type=fuel_type, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_availability_weekly_evolution_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
yearint
weekint
levelstr[optional]
bm_unitlist[str][optional]
fuel_typelist[str][optional]
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityWeekly

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_availability_weekly_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityWeekly forecast_availability_weekly_get(level=level, bm_unit=bm_unit, fuel_type=fuel_type, format=format)

Three-year generation capacity forecast (FOU2T3YW)

This endpoint provides the latest three-year generation forecast

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
level = 'level_example'  # str |  (optional)
bm_unit = ['bm_unit_example']  # list[str] |  (optional)
fuel_type = ['fuel_type_example']  # list[str] |  (optional)
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Three-year generation capacity forecast (FOU2T3YW)
    api_response = api_instance.forecast_availability_weekly_get(level=level, bm_unit=bm_unit, fuel_type=fuel_type,
                                                                 format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_availability_weekly_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
levelstr[optional]
bm_unitlist[str][optional]
fuel_typelist[str][optional]
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityWeekly

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_availability_weekly_history_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityWeekly forecast_availability_weekly_history_get(publish_time, level=level, bm_unit=bm_unit, fuel_type=fuel_type, format=format)

History of the three-year generation capacity forecast (FOU2T3YW)

This endpoint provides the latest three-year forecast from a given DateTime

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
publish_time = '2013-10-20T19:20:30+01:00'  # datetime | 
level = 'level_example'  # str |  (optional)
bm_unit = ['bm_unit_example']  # list[str] |  (optional)
fuel_type = ['fuel_type_example']  # list[str] |  (optional)
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # History of the three-year generation capacity forecast (FOU2T3YW)
    api_response = api_instance.forecast_availability_weekly_history_get(publish_time, level=level, bm_unit=bm_unit,
                                                                         fuel_type=fuel_type, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_availability_weekly_history_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
publish_timedatetime
levelstr[optional]
bm_unitlist[str][optional]
fuel_typelist[str][optional]
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationAvailabilityWeekly

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_day_ahead_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesTransparencyDayAheadAggregatedGeneration forecast_generation_day_ahead_get(_from, to, settlement_period_from=settlement_period_from, settlement_period_to=settlement_period_to, format=format)

Day-ahead aggregated generation (DAG/B1430)

This endpoint provides day-ahead aggregated generation data filtered by settlement date. This API endpoint has a maximum range of 7 days.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
_from = '2013-10-20T19:20:30+01:00'  # datetime | 
to = '2013-10-20T19:20:30+01:00'  # datetime | 
settlement_period_from = 56  # int |  (optional)
settlement_period_to = 56  # int |  (optional)
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Day-ahead aggregated generation (DAG/B1430)
    api_response = api_instance.forecast_generation_day_ahead_get(_from, to,
                                                                  settlement_period_from=settlement_period_from,
                                                                  settlement_period_to=settlement_period_to,
                                                                  format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_day_ahead_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
_fromdatetime
todatetime
settlement_period_fromint[optional]
settlement_period_toint[optional]
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesTransparencyDayAheadAggregatedGeneration

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_wind_and_solar_day_ahead_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesTransparencyDayAheadGenerationForWindAndSolar forecast_generation_wind_and_solar_day_ahead_get(_from, to, process_type, settlement_period_from=settlement_period_from, settlement_period_to=settlement_period_to, format=format)

Day-ahead generation forecast for wind and solar (DGWS/B1440)

This endpoint provides day-ahead forecast generation data for wind and solar. This endpoint filters by startTime and provides a maximum data output range of 7 days.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
_from = '2013-10-20T19:20:30+01:00'  # datetime | 
to = '2013-10-20T19:20:30+01:00'  # datetime | 
process_type = 'process_type_example'  # str | 
settlement_period_from = 56  # int |  (optional)
settlement_period_to = 56  # int |  (optional)
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Day-ahead generation forecast for wind and solar (DGWS/B1440)
    api_response = api_instance.forecast_generation_wind_and_solar_day_ahead_get(_from, to, process_type,
                                                                                 settlement_period_from=settlement_period_from,
                                                                                 settlement_period_to=settlement_period_to,
                                                                                 format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_wind_and_solar_day_ahead_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
_fromdatetime
todatetime
process_typestr
settlement_period_fromint[optional]
settlement_period_toint[optional]
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesTransparencyDayAheadGenerationForWindAndSolar

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_wind_earliest_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast forecast_generation_wind_earliest_get(_from, to, format=format)

Historic view of the earliest forecasted wind generation (WINDFOR)

This endpoint provides the eariest wind generation forecast data. This provides wind generation forecast for wind farms which are visible to the ESO and have operational metering. Updated data is published by NGESO up to 8 times a day at 03:30, 05:30, 08:30, 10:30, 12:30, 16:30, 19:30 and 23:30. Results are filtered by a range of DateTime parameters.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
_from = '2013-10-20T19:20:30+01:00'  # datetime | 
to = '2013-10-20T19:20:30+01:00'  # datetime | 
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Historic view of the earliest forecasted wind generation (WINDFOR)
    api_response = api_instance.forecast_generation_wind_earliest_get(_from, to, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_wind_earliest_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
_fromdatetime
todatetime
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_wind_earliest_stream_get

list[InsightsApiModelsServiceWindGenerationForecastRow] forecast_generation_wind_earliest_stream_get(_from, to)

Historic view of the earliest forecasted wind generation (WINDFOR) stream

This endpoint provides the earliest wind generation forecast data. This provides wind generation forecast for wind farms which are visible to the ESO and have operational metering. Updated data is published by NGESO up to 8 times a day at 03:30, 05:30, 08:30, 10:30, 12:30, 16:30, 19:30 and 23:30. Results are filtered by a range of DateTime parameters. This endpoint has an optimised JSON payload and is aimed at frequent requests for the wind generation forecast data.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
_from = '2013-10-20T19:20:30+01:00'  # datetime | 
to = '2013-10-20T19:20:30+01:00'  # datetime | 

try:
    # Historic view of the earliest forecasted wind generation (WINDFOR) stream
    api_response = api_instance.forecast_generation_wind_earliest_stream_get(_from, to)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_wind_earliest_stream_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
_fromdatetime
todatetime

Return type

list[InsightsApiModelsServiceWindGenerationForecastRow]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_wind_evolution_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast forecast_generation_wind_evolution_get(start_time, format=format)

Evolution of the wind generation forecast over time (WINDFOR)

This endpoint provides the evolution wind generation forecast data. This provides wind generation forecast for wind farms which are visible to the ESO and have operational metering. Updated data is published by NGESO up to 8 times a day at 03:30, 05:30, 08:30, 10:30, 12:30, 16:30, 19:30 and 23:30. Results are filtered by a range of DateTime parameters.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
start_time = '2013-10-20T19:20:30+01:00'  # datetime | 
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Evolution of the wind generation forecast over time (WINDFOR)
    api_response = api_instance.forecast_generation_wind_evolution_get(start_time, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_wind_evolution_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
start_timedatetime
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_wind_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast forecast_generation_wind_get(format=format)

Current wind generation forecast (WINDFOR)

This endpoint provides the latest wind generation forecast data. This provides wind generation forecast for wind farms which are visible to the ESO and have operational metering. Updated data is published by NGESO up to 8 times a day at 03:30, 05:30, 08:30, 10:30, 12:30, 16:30, 19:30 and 23:30. Results are filtered by a range of DateTime parameters.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Current wind generation forecast (WINDFOR)
    api_response = api_instance.forecast_generation_wind_get(format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_wind_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_wind_history_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast forecast_generation_wind_history_get(publish_time, format=format)

History of the wind generation forecast (WINDFOR)

This endpoint provides the historical wind generation forecast data. This provides wind generation forecast for wind farms which are visible to the ESO and have operational metering. Updated data is published by NGESO up to 8 times a day at 03:30, 05:30, 08:30, 10:30, 12:30, 16:30, 19:30 and 23:30. Results are filtered by a range of DateTime parameters.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
publish_time = '2013-10-20T19:20:30+01:00'  # datetime | 
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # History of the wind generation forecast (WINDFOR)
    api_response = api_instance.forecast_generation_wind_history_get(publish_time, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_wind_history_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
publish_timedatetime
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_wind_latest_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast forecast_generation_wind_latest_get(_from, to, format=format)

Historic view of the latest forecasted wind generation (WINDFOR)

This endpoint provides the latest wind generation forecast data. This provides wind generation forecast for wind farms which are visible to the ESO and have operational metering. Updated data is published by NGESO up to 8 times a day at 03:30, 05:30, 08:30, 10:30, 12:30, 16:30, 19:30 and 23:30. Results are filtered by a range of DateTime parameters.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
_from = '2013-10-20T19:20:30+01:00'  # datetime | 
to = '2013-10-20T19:20:30+01:00'  # datetime | 
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Historic view of the latest forecasted wind generation (WINDFOR)
    api_response = api_instance.forecast_generation_wind_latest_get(_from, to, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_wind_latest_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
_fromdatetime
todatetime
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_wind_latest_stream_get

list[InsightsApiModelsServiceWindGenerationForecastRow] forecast_generation_wind_latest_stream_get(_from, to)

Historic view of the latest forecasted wind generation (WINDFOR) stream

This endpoint provides the latest wind generation forecast data. This provides wind generation forecast for wind farms which are visible to the ESO and have operational metering. Updated data is published by NGESO up to 8 times a day at 03:30, 05:30, 08:30, 10:30, 12:30, 16:30, 19:30 and 23:30. Results are filtered by a range of DateTime parameters. This endpoint has an optimised JSON payload and is aimed at frequent requests for the wind generation forecast data.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
_from = '2013-10-20T19:20:30+01:00'  # datetime | 
to = '2013-10-20T19:20:30+01:00'  # datetime | 

try:
    # Historic view of the latest forecasted wind generation (WINDFOR) stream
    api_response = api_instance.forecast_generation_wind_latest_stream_get(_from, to)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_wind_latest_stream_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
_fromdatetime
todatetime

Return type

list[InsightsApiModelsServiceWindGenerationForecastRow]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

forecast_generation_wind_peak_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast forecast_generation_wind_peak_get(_from=_from, to=to, format=format)

Peak wind generation forecast for each day (WINDFOR)

This endpoint provides the peak wind generation forecast data. This provides wind generation forecast for wind farms which are visible to the ESO and have operational metering. Updated data is published by NGESO up to 8 times a day at 03:30, 05:30, 08:30, 10:30, 12:30, 16:30, 19:30 and 23:30. Results are filtered by a range of DateTime parameters. Date parameters must be provided in the exact format yyyy-MM-dd.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.GenerationForecastApi()
_from = '2013-10-20'  # date | The start of the requested date range. (optional)
to = '2013-10-20'  # date | The end of the requested date range. (optional)
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # Peak wind generation forecast for each day (WINDFOR)
    api_response = api_instance.forecast_generation_wind_peak_get(_from=_from, to=to, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GenerationForecastApi->forecast_generation_wind_peak_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
_fromdateThe start of the requested date range.[optional]
todateThe end of the requested date range.[optional]
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesGenerationWindGenerationForecast

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]