Spp#

Module Contents#

Classes Summary#

SPP

Southwest Power Pool (SPP)

Attributes Summary#

FILE_BROWSER_API_URL

FS_DAM_LMP_BY_LOCATION

FS_RTBM_LMP_BY_LOCATION

LOCATION_TYPE_HUB

LOCATION_TYPE_INTERFACE

LOCATION_TYPE_SETTLEMENT_LOCATION

MARKETPLACE_BASE_URL

QUERY_RTM5_HUBS_URL

QUERY_RTM5_INTERFACES_URL

Contents#

gridstatus.spp.FILE_BROWSER_API_URL = https://marketplace.spp.org/file-browser-api/[source]#
gridstatus.spp.FS_DAM_LMP_BY_LOCATION = da-lmp-by-location[source]#
gridstatus.spp.FS_RTBM_LMP_BY_LOCATION = rtbm-lmp-by-location[source]#
gridstatus.spp.LOCATION_TYPE_HUB = HUB[source]#
gridstatus.spp.LOCATION_TYPE_INTERFACE = INTERFACE[source]#
gridstatus.spp.LOCATION_TYPE_SETTLEMENT_LOCATION = SETTLEMENT_LOCATION[source]#
gridstatus.spp.MARKETPLACE_BASE_URL = https://marketplace.spp.org[source]#
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]#
class gridstatus.spp.SPP[source]#

Bases: gridstatus.base.ISOBase

Southwest Power Pool (SPP)

Attributes

default_timezone

US/Central

interconnection_homepage

https://www.spp.org/engineering/generator-interconnection/

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_fuel_mix

Get fuel mix in 5 minute intervals for a provided day

get_interconnection_queue

Get interconnection queue

get_lmp

Get LMP data

get_load

Returns load for last 24hrs in 5 minute intervals

get_load_forecast

type (str): MID_TERM is hourly for next 7 days or SHORT_TERM is every five minutes for a few hours

get_status

get_fuel_mix(date, verbose=False)[source]#

Get fuel mix in 5 minute intervals for a provided day

Arguments:

date (datetime or str): “latest”, “today”, or an object that can be parsed as a datetime for the day to return data.

start (datetime or str): start of date range to return. alias for date parameter. Only specify one of date or start.

end (datetime or str): “today” or an object that can be parsed as a datetime for the day to return data. Only used if requesting a range of dates.

verbose (bool): print verbose output. Defaults to False.

Returns:

pd.Dataframe: dataframe with columns: Time and columns for each fuel type

get_interconnection_queue(verbose=False)[source]#

Get interconnection queue

Returns:

pd.DataFrame: Interconnection queue

get_lmp(date, end=None, market: str = None, locations: list = 'ALL', location_type: str = LOCATION_TYPE_HUB, verbose=False)[source]#

Get LMP data

Supported Markets: REAL_TIME_5_MIN, DAY_AHEAD_HOURLY

Supported Location Types: “hub”, “interface”, “settlement_location”

get_load(date, verbose=False)[source]#

Returns load for last 24hrs in 5 minute intervals

get_load_forecast(date, forecast_type='MID_TERM', verbose=False)[source]#

type (str): MID_TERM is hourly for next 7 days or SHORT_TERM is every five minutes for a few hours

get_status(date=None, verbose=False)[source]#