test_pjm

Contents

test_pjm#

Module Contents#

Classes Summary#

TestPJM

Contents#

class gridstatus.tests.test_pjm.TestPJM[source]#

Bases: gridstatus.tests.base_test_iso.BaseTestISO

Attributes

expected_dam_as_market_results_cols

[‘Interval Start’, ‘Interval End’, ‘Ancillary Service’, ‘Locale’, ‘Service Type’, ‘Market Clearing Price’, ‘Market Clearing Price Capped’, ‘Ancillary Service Required’, ‘Total MW’, ‘Assigned MW’, ‘Self-Scheduled MW’, ‘Interface Reserve Capability MW’, ‘Demand Response MW Assigned’, ‘Non-Synchronized Reserve MW Assigned’]

expected_five_min_solar_gen_cols

[‘Interval Start’, ‘Interval End’, ‘Solar Generation’]

expected_operational_reserves_cols

[‘Interval Start’, ‘Interval End’, ‘Reserve Name’, ‘Reserve’]

expected_real_time_as_market_results_cols

[‘Interval Start’, ‘Interval End’, ‘Ancillary Service’, ‘Locale’, ‘Service Type’, ‘Market Clearing Price’, ‘Market Clearing Price Capped’, ‘Regulation Capability Clearing Price’, ‘Regulation Performance Clearing Price’, ‘Ancillary Service Required’, ‘Total MW’, ‘Assigned MW’, ‘Self-Scheduled MW’, ‘Tier 1 MW’, ‘Interface Reserve Capability MW’, ‘Demand Response MW Assigned’, ‘Non-Synchronized Reserve MW Assigned’, ‘REGD MW’]

expected_solar_wind_gen_by_area_cols

[‘Interval Start’, ‘Interval End’, ‘MIDATL’, ‘OTHER’, ‘RFC’, ‘RTO’, ‘SOUTH’, ‘WEST’]

expected_transfer_interface_info_cols

[‘Interval Start’, ‘Interval End’, ‘Interface Name’, ‘Actual Flow’, ‘Warning Level’, ‘Transfer Limit’]

expected_transmission_limits_cols

[‘Interval Start’, ‘Interval End’, ‘Constraint Name’, ‘Constraint Type’, ‘Contingency’, ‘Shadow Price’]

expected_wind_gen_cols

[‘Interval Start’, ‘Interval End’, ‘Wind Generation’]

iso

None

lmp_cols

[‘Time’, ‘Interval Start’, ‘Interval End’, ‘Market’, ‘Location Id’, ‘Location Name’, ‘Location Short Name’, ‘Location Type’, ‘LMP’, ‘Energy’, ‘Congestion’, ‘Loss’]

load_forecast_columns

[‘Interval Start’, ‘Interval End’, ‘Publish Time’, ‘Load Forecast’, ‘AE/MIDATL’, ‘AEP’, ‘AP’, ‘ATSI’, ‘BG&E/MIDATL’, ‘COMED’, ‘DAYTON’, ‘DEOK’, ‘DOMINION’, ‘DP&L/MIDATL’, ‘DUQUESNE’, ‘EKPC’, ‘JCP&L/MIDATL’, ‘METED/MIDATL’, ‘MID_ATLANTIC_REGION’, ‘PECO/MIDATL’, ‘PENELEC/MIDATL’, ‘PEPCO/MIDATL’, ‘PPL/MIDATL’, ‘PSE&G/MIDATL’, ‘RECO/MIDATL’, ‘RTO_COMBINED’, ‘SOUTHERN_REGION’, ‘UGI/MIDATL’, ‘WESTERN_REGION’]

load_forecast_columns_historical

[‘Interval Start’, ‘Interval End’, ‘Publish Time’, ‘Load Forecast’, ‘AEP’, ‘APS’, ‘ATSI’, ‘COMED’, ‘DAY’, ‘DEOK’, ‘DOM’, ‘DUQ’, ‘EKPC’, ‘MIDATL’, ‘RTO’]

Methods

test_api_key_from_arg

test_api_key_from_env

test_api_key_raises_if_missing

test_get_dam_as_market_results_historical_date

test_get_dam_as_market_results_historical_range

test_get_dam_as_market_results_parsing

test_get_dam_as_market_results_today_or_latest

test_get_forecasted_generation_outages_historical_date

test_get_forecasted_generation_outages_historical_range

test_get_forecasted_generation_outages_today_or_latest

test_get_fuel_mix_dst_shift_back

test_get_fuel_mix_dst_shift_forward

test_get_fuel_mix_no_data

test_get_gen_outages_by_type_with_latest

test_get_gen_outages_by_type_with_multi_day_range

test_get_gen_outages_by_type_with_past_date

test_get_interconnection_queue

test_get_lmp_5_min

test_get_lmp_all_pnodes

test_get_lmp_historical

test_get_lmp_hourly

test_get_lmp_latest

test_get_lmp_no_data

test_get_lmp_query_by_location_type

test_get_lmp_returns_latest

test_get_lmp_today

test_get_load_forecast_historical

test_get_load_forecast_historical_with_date_range

test_get_load_forecast_in_past_raises_error

test_get_load_forecast_today

test_get_load_metered_hourly_historical_date

test_get_load_metered_hourly_historical_date_range

test_get_load_today

test_get_operational_reserves_historical_date

test_get_operational_reserves_historical_range

test_get_operational_reserves_today_or_latest

test_get_pnode_ids

test_get_real_time_as_market_results_historical_date

test_get_real_time_as_market_results_historical_range

test_get_real_time_as_market_results_parsing

test_get_real_time_as_market_results_valid_dates

test_get_solar_forecast_historical_date

test_get_solar_forecast_historical_range

test_get_solar_forecast_today_or_latest

test_get_solar_generation_5_min_historical_date

test_get_solar_generation_5_min_historical_range

test_get_solar_generation_5_min_today_or_latest

test_get_solar_generation_by_area_historical_date

test_get_solar_generation_by_area_historical_range

test_get_solar_generation_by_area_today_or_latest

test_get_status_latest

test_get_storage_historical

test_get_storage_today

test_get_transfer_interface_information_5_min_historical_date

test_get_transfer_interface_information_5_min_historical_range

test_get_transfer_interface_information_5_min_today_or_latest

test_get_transmission_limits_historical_date

test_get_transmission_limits_historical_range

test_get_transmission_limits_today_or_latest

test_get_wind_forecast_historical_date

test_get_wind_forecast_historical_range

test_get_wind_forecast_today_or_latest

test_get_wind_generation_by_area_historical_date

test_get_wind_generation_by_area_historical_range

test_get_wind_generation_by_area_today_or_latest

test_get_wind_generation_instantaneous_historical_date

test_get_wind_generation_instantaneous_historical_range

test_get_wind_generation_instantaneous_today_or_latest

test_lmp_date_range

test_pjm_update_dates

test_projected_area_statistics_at_peak_historical_date

test_projected_area_statistics_at_peak_historical_date_range

test_projected_area_statistics_at_peak_today_or_latest

test_projected_rto_statistics_at_peak_historical_date

test_projected_rto_statistics_at_peak_historical_date_range

test_projected_rto_statistics_at_peak_today_or_latest

to_local_datetime

test_api_key_from_arg()[source]#
test_api_key_from_env()[source]#
test_api_key_raises_if_missing()[source]#
test_get_dam_as_market_results_historical_date()[source]#
test_get_dam_as_market_results_historical_range()[source]#
test_get_dam_as_market_results_parsing()[source]#
test_get_dam_as_market_results_today_or_latest()[source]#
test_get_forecasted_generation_outages_historical_date()[source]#
test_get_forecasted_generation_outages_historical_range()[source]#
test_get_forecasted_generation_outages_today_or_latest()[source]#
test_get_fuel_mix_dst_shift_back()[source]#
test_get_fuel_mix_dst_shift_forward()[source]#
test_get_fuel_mix_no_data()[source]#
test_get_gen_outages_by_type_with_latest()[source]#
test_get_gen_outages_by_type_with_multi_day_range()[source]#
test_get_gen_outages_by_type_with_past_date()[source]#
test_get_interconnection_queue()[source]#
test_get_lmp_5_min()[source]#
test_get_lmp_all_pnodes()[source]#
test_get_lmp_historical(market)[source]#
test_get_lmp_hourly()[source]#
test_get_lmp_latest(market)[source]#
test_get_lmp_no_data()[source]#
test_get_lmp_query_by_location_type()[source]#
test_get_lmp_returns_latest()[source]#
test_get_lmp_today(market)[source]#
test_get_load_forecast_historical()[source]#
test_get_load_forecast_historical_with_date_range()[source]#
test_get_load_forecast_in_past_raises_error()[source]#
test_get_load_forecast_today()[source]#
test_get_load_metered_hourly_historical_date()[source]#
test_get_load_metered_hourly_historical_date_range()[source]#
test_get_load_today()[source]#
test_get_operational_reserves_historical_date()[source]#
test_get_operational_reserves_historical_range()[source]#
test_get_operational_reserves_today_or_latest()[source]#
test_get_pnode_ids()[source]#
test_get_real_time_as_market_results_historical_date()[source]#
test_get_real_time_as_market_results_historical_range()[source]#
test_get_real_time_as_market_results_parsing()[source]#
test_get_real_time_as_market_results_valid_dates()[source]#
test_get_solar_forecast_historical_date()[source]#
test_get_solar_forecast_historical_range()[source]#
test_get_solar_forecast_today_or_latest()[source]#
test_get_solar_generation_5_min_historical_date()[source]#
test_get_solar_generation_5_min_historical_range()[source]#
test_get_solar_generation_5_min_today_or_latest()[source]#
test_get_solar_generation_by_area_historical_date()[source]#
test_get_solar_generation_by_area_historical_range()[source]#
test_get_solar_generation_by_area_today_or_latest()[source]#
test_get_status_latest()[source]#
test_get_storage_historical()[source]#
test_get_storage_today()[source]#
test_get_transfer_interface_information_5_min_historical_date()[source]#
test_get_transfer_interface_information_5_min_historical_range()[source]#
test_get_transfer_interface_information_5_min_today_or_latest()[source]#
test_get_transmission_limits_historical_date()[source]#
test_get_transmission_limits_historical_range()[source]#
test_get_transmission_limits_today_or_latest()[source]#
test_get_wind_forecast_historical_date()[source]#
test_get_wind_forecast_historical_range()[source]#
test_get_wind_forecast_today_or_latest()[source]#
test_get_wind_generation_by_area_historical_date()[source]#
test_get_wind_generation_by_area_historical_range()[source]#
test_get_wind_generation_by_area_today_or_latest()[source]#
test_get_wind_generation_instantaneous_historical_date()[source]#
test_get_wind_generation_instantaneous_historical_range()[source]#
test_get_wind_generation_instantaneous_today_or_latest()[source]#
test_lmp_date_range(market)[source]#
test_pjm_update_dates()[source]#
test_projected_area_statistics_at_peak_historical_date()[source]#
test_projected_area_statistics_at_peak_historical_date_range()[source]#
test_projected_area_statistics_at_peak_today_or_latest()[source]#
test_projected_rto_statistics_at_peak_historical_date()[source]#
test_projected_rto_statistics_at_peak_historical_date_range()[source]#
test_projected_rto_statistics_at_peak_today_or_latest()[source]#
to_local_datetime(date_local)[source]#