Test Ercot Api#
Module Contents#
Classes Summary#
Attributes Summary#
Contents#
- class test_ercot_api.TestErcotAPI[source]#
Bases:
gridstatus.tests.base_test_iso.TestHelperMixinAttributes
expected_shadow_prices_dam_columns
[‘Interval Start’, ‘Interval End’, ‘Constraint ID’, ‘Constraint Name’, ‘Contingency Name’, ‘Limiting Facility’, ‘Constraint Limit’, ‘Constraint Value’, ‘Violation Amount’, ‘Shadow Price’, ‘From Station’, ‘To Station’, ‘From Station kV’, ‘To Station kV’]
expected_shadow_prices_sced_columns
[‘Interval Start’, ‘Interval End’, ‘SCED Timestamp’, ‘Constraint ID’, ‘Constraint Name’, ‘Contingency Name’, ‘Limiting Facility’, ‘Shadow Price’, ‘Max Shadow Price’, ‘Limit’, ‘Value’, ‘Violated MW’, ‘From Station’, ‘To Station’, ‘From Station kV’, ‘To Station kV’, ‘CCT Status’]
Methods
test_get_dam_load_and_gen_60_day_resources_as_offers_repeated_offersTests a problematic date where one resource has repeated offers for a
test_get_hourly_resource_outage_capacity_historical_date_rangetest_get_solar_actual_and_forecast_by_geographical_region_hourly_date_rangetest_get_solar_actual_and_forecast_by_geographical_region_hourly_latesttest_get_solar_actual_and_forecast_by_geographical_region_hourly_todaytest_get_wind_actual_and_forecast_by_geographical_region_hourly_date_rangetest_get_wind_actual_and_forecast_by_geographical_region_hourly_latesttest_get_wind_actual_and_forecast_by_geographical_region_hourly_todayFirst we test that entering a bad endpoint results in a keyerror