Spp#
Module Contents#
Classes Summary#
Southwest Power Pool (SPP) |
Functions#
Adds Interval Start and Interval End columns to df |
|
Parse SPP generation mix data from |
Attributes Summary#
Contents#
- gridstatus.spp.add_interval(df, interval_min)[source]#
Adds Interval Start and Interval End columns to df
- gridstatus.spp.FILE_BROWSER_DOWNLOAD_URL = 'https://portal.spp.org/file-browser-api/download'[source]#
- gridstatus.spp.process_gen_mix(df, detailed=False)[source]#
Parse SPP generation mix data from https://marketplace.spp.org/pages/generation-mix-historical
- Parameters:
df (pd.DataFrame) – raw data
detailed (bool) – whether to combine market and self columns
- Returns:
processed data
- Return type:
pd.DataFrame
- gridstatus.spp.QUERY_RTM5_HUBS_URL = 'https://pricecontourmap.spp.org/arcgis/rest/services/MarketMaps/RTBM_FeatureData/MapServer/1/query'[source]#
- gridstatus.spp.QUERY_RTM5_INTERFACES_URL = 'https://pricecontourmap.spp.org/arcgis/rest/services/MarketMaps/RTBM_FeatureData/MapServer/2/query'[source]#
- gridstatus.spp.RELIABILITY_LEVELS = ['Normal Operations', 'Weather Advisory', 'Resource Advisory', 'Conservative Operations...[source]#
- class gridstatus.spp.SPP[source]#
Bases:
gridstatus.base.ISOBaseSouthwest Power Pool (SPP)
Attributes
default_timezone
US/Central
interconnection_homepage
iso_id
spp
location_types
None
markets
None
name
Southwest Power Pool
status_homepage
https://www.spp.org/markets-operations/current-grid-conditions/
Methods
Get Capacity of Generation on Outage.
Get VER Curtailments for a year. Starting 2014.
Get fuel mix
Get interconnection queue
Get LMP data
Get LMP data for real time WEIS
Returns load for last 24hrs in 5 minute intervals
Returns load forecast for next 7 days in hourly intervals
Get VER Curtailments
Get VER Curtailments for a year. Starting 2014.
- get_capacity_of_generation_on_outage(date, end=None, verbose=False)[source]#
Get Capacity of Generation on Outage.
Published daily at 8am CT for next 7 days
- Parameters:
date – start date
end – end date
- get_capacity_of_generation_on_outage_annual(year, verbose=True)[source]#
Get VER Curtailments for a year. Starting 2014. Recent data use get_capacity_of_generation_on_outage
- Parameters:
year – year to get data for
verbose – print url
- Returns:
VER Curtailments
- Return type:
pd.DataFrame
- get_fuel_mix(date, detailed=False, verbose=False)[source]#
Get fuel mix
- Parameters:
date – supports today and latest
detailed – if True, breaks out self scheduled and market scheduled
Note
if today, returns last 2 hours of data. maybe include previous day
- Returns:
fuel mix
- Return type:
pd.DataFrame
- get_interconnection_queue(verbose=False)[source]#
Get interconnection queue
- Returns:
Interconnection queue
- Return type:
pandas.DataFrame
- get_lmp(date, end=None, market: str = None, location_type: str = LOCATION_TYPE_ALL, verbose=False)[source]#
Get LMP data
- Supported Markets:
REAL_TIME_5_MINDAY_AHEAD_HOURLY
- Supported Location Types:
HubInterfaceALL
- get_lmp_real_time_weis(date, verbose=False)[source]#
Get LMP data for real time WEIS
- Parameters:
date – date to get data for
- get_load_forecast(date, forecast_type='MID_TERM', verbose=False)[source]#
Returns load forecast for next 7 days in hourly intervals
- Parameters:
forecast_type (str) – MID_TERM is hourly for next 7 days or SHORT_TERM is every five minutes for a few hours
- Returns:
forecast for current day
- Return type:
pd.DataFrame