Ieso#
Module Contents#
Classes Summary#
Independent Electricity System Operator (IESO) |
Attributes Summary#
ZONAL LOAD FORECAST CONSTANTS |
|
LOAD FORECAST CONSTANTS |
|
REAL TIME FUEL MIX CONSTANTS |
|
HISTORICAL FUEL MIX CONSTANTS |
|
Contents#
- gridstatus.ieso.HISTORICAL_FUEL_MIX_INDEX_URL = 'http://reports.ieso.ca/public/GenOutputbyFuelHourly/'[source]#
- class gridstatus.ieso.IESO[source]#
Bases:
gridstatus.base.ISOBaseIndependent Electricity System Operator (IESO)
Attributes
default_timezone
EST
iso_id
ieso
name
Independent Electricity System Operator
status_homepage
Methods
Hourly output and capability for each fuel type (summed over all generators)
Hourly output for each generator for a given date or from date to end.
Get 5-minute load for the Market and Ontario for a given date or from
Get forecasted load for Ontario. Supports only "latest" and "today" because
Get forecasted load by forecast zone (Ontario, East, West) for a given date
- get_fuel_mix(date, end=None, verbose=False)[source]#
Hourly output and capability for each fuel type (summed over all generators) for a given date or from date to end. Variable generators (solar and wind) have a forecast.
- Parameters:
date (datetime.date | datetime.datetime | str) – The date to get the load for Can be a datetime.date or datetime.datetime object, or a string with the values “today” or “latest”. If end is None, returns only data for this date.
end (datetime.date | datetime.datetime, optional) – End date. Defaults None If provided, returns data from date to end date. The end can be a datetime.date or datetime.datetime object.
verbose (bool, optional) – Print verbose output. Defaults to False.
- Returns:
fuel mix
- Return type:
pd.DataFrame
- get_generator_report_hourly(date, end=None, verbose=False)[source]#
Hourly output for each generator for a given date or from date to end. Variable generators (solar and wind) have a forecast and available capacity. Non-variable generators have a capability.
- Parameters:
date (datetime.date | datetime.datetime | str) – The date to get the load for Can be a datetime.date or datetime.datetime object, or a string with the values “today” or “latest”. If end is None, returns only data for this date.
end (datetime.date | datetime.datetime, optional) – End date. Defaults None If provided, returns data from date to end date. The end can be a datetime.date or datetime.datetime object.
verbose (bool, optional) – Print verbose output. Defaults to False.
- Returns:
generator output and capability/available capacity
- Return type:
pd.DataFrame
- get_load(date, end=None, verbose=False)[source]#
Get 5-minute load for the Market and Ontario for a given date or from date to end date.
- Parameters:
date (datetime.date | datetime.datetime | str) – The date to get the load for Can be a datetime.date or datetime.datetime object, or a string with the values “today” or “latest”. If end is None, returns only data for this date.
end (datetime.date | datetime.datetime, optional) – End date. Defaults None If provided, returns data from date to end date. The end can be a datetime.date or datetime.datetime object.
verbose (bool, optional) – Print verbose output. Defaults to False.
frequency (str, optional) – Frequency of data. Defaults to “5min”.
- Returns:
zonal load as a wide table with columns for each zone
- Return type:
pd.DataFrame
- get_load_forecast(date, verbose=False)[source]#
Get forecasted load for Ontario. Supports only “latest” and “today” because there is only one load forecast.
- Parameters:
date (str) – Either “today” or “latest”
verbose (bool, optional) – Print verbose output. Defaults to False.
- Returns:
Ontario load forecast
- Return type:
pd.DataFrame
- get_zonal_load_forecast(date, end=None, verbose=False)[source]#
Get forecasted load by forecast zone (Ontario, East, West) for a given date or from date to end date. This method supports future dates.
Supports data 90 days into the past and up to 34 days into the future.
- Parameters:
date (datetime.date | datetime.datetime | str) – The date to get the load for Can be a datetime.date or datetime.datetime object, or a string with the values “today” or “latest”. If end is None, returns only data for this date.
end (datetime.date | datetime.datetime, optional) – End date. Defaults None If provided, returns data from date to end date. The end can be a datetime.date or datetime.datetime object.
verbose (bool, optional) – Print verbose output. Defaults to False.
- Returns:
forecasted load as a wide table with columns for each zone
- Return type:
pd.DataFrame
- gridstatus.ieso.LOAD_FORECAST_URL = 'https://www.ieso.ca/-/media/Files/IESO/Power-Data/Ontario-Demand-multiday.ashx'[source]#
ZONAL LOAD FORECAST CONSTANTS
- gridstatus.ieso.MAXIMUM_DAYS_IN_FUTURE_FOR_ZONAL_LOAD_FORECAST = 34[source]#
REAL TIME FUEL MIX CONSTANTS
- gridstatus.ieso.MAXIMUM_DAYS_IN_PAST_FOR_COMPLETE_GENERATOR_REPORT = 90[source]#
HISTORICAL FUEL MIX CONSTANTS