Interconnection Queues#
All ISOs support retrieving interconnection queues with iso.get_interconnection_queue methods.
Each of the ISOs report slightly differently fields for their queues, so a best effort was made to standardize column names. When a column couldn’t be standardized, it is appended to end of the returned dataframe.
Below you can see preview of each of ISOs interconnection queues
NYISO#
import gridstatus
nyiso = gridstatus.NYISO()
nyiso.get_interconnection_queue()
| Queue ID | Project Name | Interconnecting Entity | County | State | Interconnection Location | Transmission Owner | Generation Type | Capacity (MW) | Summer Capacity (MW) | ... | Withdrawn Date | Withdrawal Comment | Actual Completion Date | Proposed In-Service Date | Proposed Initial-Sync Date | Last Updated Date | Z | S | Availability of Studies | SGIA Tender Date | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0276 | Homer Solar Energy Center | NaN | Cortland | NY | Cortland - Fenner 115kV | NM-NG | Solar | 90.0 | 90.0 | ... | NaN | NaN | NaT | 2026-03-01 | 2026-03-01 | 2023-07-31 | C | 11 | FES, SRIS, FS | 2021-02-08 |
| 1 | 0396A | Wood Street Transformer | NaN | Putnam | NY | Wood St. 345/115kV | NYSEG | AC Transmission | 0.0 | NaN | ... | NaN | NaN | NaT | 2023-12-01 | NaT | 2021-04-30 | G | 12 | SIS | NaT |
| 2 | 0429 | North Rockland Station | NaN | Steuben | NY | Line Y88 345kV | ConEd | AC Transmission | 0.0 | NaN | ... | NaN | NaN | NaT | 2024-06-01 | NaT | 2022-03-31 | G | 12 | SIS | NaT |
| 3 | 0430 | Cedar Rapids Transmission | NaN | St. Lawrence | NY | Dennison - Alcoa 115kV | NM-NG | AC Transmission | 0.0 | NaN | ... | NaN | NaN | NaT | 2021-10-01 | NaT | 2019-12-31 | D | 12 | SIS, FS | 2018-10-02 |
| 4 | 0495 | Mohawk Solar | NaN | Montgomery | NY | St. Johnsville - Marshville 115kV | NM-NG | Solar | 90.5 | 90.5 | ... | NaN | NaN | NaT | 2024-09-01 | 2024-09-01 | 2022-09-30 | F | 11 | FES, SRIS, FS | 2021-02-08 |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 1672 | 0849 | Somerset Load | NaN | Niagara | NY | Kintigh 345kV | NYSEG | Load | 250.0 | 250.0 | ... | NaN | NaN | 2022-07-31 | NaT | NaT | 2022-07-31 | A | 14 | SIS, FS | NaT |
| 1673 | 0769 | North County Energy Storage | NaN | Franklin | NY | Willis 115kV | NYPA | Energy Storage | 20.0 | 20.0 | ... | NaN | NaN | 2023-09-30 | NaT | NaT | 2023-09-30 | D | 14 | SIS | NaT |
| 1674 | 505 | Ball Hill Wind | NaN | Chautauqua | NY | Dunkirk - Gardenville 230kV | NM-NG | Wind | 103.0 | 103.0 | ... | NaN | NaN | 2023-10-31 | NaT | NaT | 2023-10-31 | A | 14 | FES, SRIS, FS | NaT |
| 1675 | 0735 | ELP Stillwater Solar | NaN | Saratoga | NY | Luther Forest - Mohican 115kV | NM-NG | Solar | 20.0 | 20.0 | ... | NaN | NaN | 2023-11-30 | NaT | NaT | 2023-11-30 | F | 14 | FES, SIS, FS | NaT |
| 1676 | 0579 | Bluestone Wind | NaN | Broome | NY | Afton - Stilesville 115kV | NYSEG | Wind | 111.8 | 111.8 | ... | NaN | NaN | 2023-12-31 | NaT | NaT | 2023-12-31 | E | 14 | FES, SRIS, FS | NaT |
1677 rows × 24 columns
CAISO#
caiso = gridstatus.CAISO()
caiso.get_interconnection_queue()
| Queue ID | Project Name | Interconnecting Entity | County | State | Interconnection Location | Transmission Owner | Generation Type | Capacity (MW) | Summer Capacity (MW) | ... | Interconnection Request Receive Date | Interconnection Agreement Status | Study Process | Proposed On-line Date (as filed with IR) | System Impact Study or Phase I Cluster Study | Facilities Study (FAS) or Phase II Cluster Study | Optional Study (OS) | Full Capacity, Partial or Energy Only (FC/P/EO) | Off-Peak Deliverability and Economic Only | Feasibility Study or Supplemental Review | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 22 | MONTEZUMA (HIGH WINDS III) | None | SOLANO | CA | Birds Landing 230 kV | PGAE | Wind Turbine + Storage | 38.00 | None | ... | 2003-11-18 00:00:00 | Executed | AMEND 39 | 2005-06-30 07:00:00 | Complete | Complete | NaN | Partial Capacity | Off-Peak Deliverability | NaN |
| 1 | 32 | TULE WIND | None | SAN DIEGO | CA | Boulevard East Substation 138 kV | SDGE | Wind Turbine | 193.80 | None | ... | 2004-05-12 00:00:00 | Executed | Serial LGIP | 2007-09-01 07:00:00 | Complete | Complete | None | Partial Capacity | Off-Peak Deliverability | Waived |
| 2 | 61 | FRESNO COGENERATION EXPANSION PROJECT | None | FRESNO | CA | Helm-Kerman 70 kV Line | PGAE | Steam Turbine + Storage | 73.27 | None | ... | 2005-03-28 00:00:00 | Executed | AMEND 39 | 2006-05-31 07:00:00 | Complete | Complete | NaN | NaN | Off-Peak Deliverability | NaN |
| 3 | 72 | LAKE ELSINORE ADVANCED PUMPED STORAGE PROJECT | None | RIVERSIDE | CA | Proposed Lee Lake Substation 500 kV | SDGE | Storage | 500.00 | None | ... | 2005-04-26 00:00:00 | Executed | Serial LGIP | 2008-12-31 08:00:00 | Complete | Re-Study | None | Full Capacity | NaN | Waived |
| 4 | 81 | BOTTLE ROCK POWER | None | LAKE | CA | Geysers #17-Fulton 230 kV Line | PGAE | Steam Turbine + Storage | 52.01 | None | ... | 2005-09-13 00:00:00 | Executed | Serial LGIP | 2006-09-01 07:00:00 | Complete | Complete | None | Energy Only | Off-Peak Deliverability | None |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 2274 | 2191 | FREIGHT ENERGY STORAGE | None | SAN DIEGO | CA | Border Substation 69 kV | SDGE | Storage | 50.00 | None | ... | 2021-04-15 00:00:00 | NaN | C14 | 2025-06-01 07:00:00 | NaN | NaN | NaN | Full Capacity | NaN | NaN |
| 2275 | 2193 | VENTANA ENERGY STORAGE | None | SAN BERNARDINO | CA | Lugo | SCE | Storage | 250.00 | None | ... | 2021-11-19 00:00:00 | NaN | ISP | 2024-06-01 07:00:00 | NaN | NaN | NaN | Full Capacity | Off-Peak Deliverability | NaN |
| 2276 | 2194 | PRONGHORN ENERGY STORAGE | None | LOS ANGELES | CA | Antelope | SCE | Storage | 120.00 | None | ... | 2022-05-07 00:00:00 | NaN | ISP | 2026-06-01 07:00:00 | NaN | NaN | NaN | Full Capacity | Off-Peak Deliverability | NaN |
| 2277 | 2197 | VENTANA RELIABILITY PROJECT | None | SAN BERNARDINO | CA | Lugo | SCE | Storage | 250.00 | None | ... | 2022-09-29 00:00:00 | NaN | ISP | 2024-06-01 07:00:00 | NaN | NaN | NaN | Full Capacity | Off-Peak Deliverability | NaN |
| 2278 | 2198 | VISTA RELIABILITY | None | LOS ANGELES | CA | Vincent | SCE | Storage | 250.00 | None | ... | 2022-10-14 00:00:00 | NaN | ISP | 2024-06-01 07:00:00 | NaN | NaN | NaN | Full Capacity | Off-Peak Deliverability | NaN |
2279 rows × 36 columns
SPP#
spp = gridstatus.SPP()
spp.get_interconnection_queue()
| Queue ID | Project Name | Interconnecting Entity | County | State | Interconnection Location | Transmission Owner | Generation Type | Capacity (MW) | Summer Capacity (MW) | ... | Withdrawal Comment | Actual Completion Date | In-Service Date | Commercial Operation Date | Cessation Date | Current Cluster | Cluster Group | Replacement Generator Commercial Op Date | Service Type | Status (Original) | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | GEN-2024-SR4 | None | None | Yoakum County | TX | Mahoney 230 kV Substation | Xcel/SPS | Solar | 300.00 | 300.00 | ... | None | None | NaN | 5/1/2026 | NaN | Surplus | NaN | NaN | ER | None |
| 1 | GEN-2024-SR3 | None | None | Lincoln County | OK | 138 kV TRYON 3 (Bus # 515675 | OG&E | Solar | 72.50 | 72.50 | ... | None | None | NaN | 5/1/2026 | NaN | Surplus | NaN | NaN | NRIS | None |
| 2 | GEN-2024-SR2 | None | None | Franklin County | AR | 161 kV BRANCH 5 (Bus # 515316) | OG&E | Solar | 72.50 | 72.50 | ... | None | None | NaN | 6/1/2026 | NaN | Surplus | NaN | NaN | ER/NR | None |
| 3 | GEN-2024-SR1 | None | None | Chouteau | OK | 345 kV bus of GRDA GREC 1 & 2 Substation | GRDA | Solar | 84.00 | 84.00 | ... | None | None | NaN | NaN | NaN | Surplus | NaN | 12/31/2025 | ER | None |
| 4 | GEN-2024-002 | None | None | Roosevelt | NM | Roosevelt - Portales 115 kV Line | SPS | Solar | 90.00 | 90.00 | ... | None | None | 5/27/2029 | 9/30/2029 | NaN | DISIS-2024-001 | 05 SOUTHWEST | NaN | ER/NR | DISIS STAGE |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 942 | GEN-2001-029N | None | None | Beatrice | NE | NaN | NPPD | Thermal - Gas | 250.00 | 250.00 | ... | None | None | 1/1/2005 | 1/1/2005 | NaN | NaN | NaN | NaN | ER | IA FULLY EXECUTED/COMMERCIAL OPERATION |
| 943 | GEN-2001-026 | None | None | Meers | OK | Washita 138kV | WFEC | Wind | 74.25 | 74.25 | ... | None | None | 10/1/2003 | 10/1/2003 | NaN | ICS-2008-001 Prior Queued | 04 SOUTHEAST | NaN | ER | IA FULLY EXECUTED/COMMERCIAL OPERATION |
| 944 | GEN-2001-024 | None | None | Washington County | AR | SWEPCO Tontitown 161kV Substation | AEP | Thermal - CT | 630.00 | 580.00 | ... | None | None | 5/1/2007 | 7/1/2007 | NaN | NaN | NaN | NaN | ER | IA FULLY EXECUTED/COMMERCIAL OPERATION |
| 945 | GEN-2001-018 | None | None | Neosho County | KS | Chanute NW Neosho Cnty By Tioga Sub | WERE | Thermal - Gas | 47.00 | 47.00 | ... | None | None | 1/1/2002 | 1/1/2002 | NaN | NaN | NaN | NaN | ER | IA FULLY EXECUTED/COMMERCIAL OPERATION |
| 946 | GEN-2001-014 | None | None | Sleeping Bear | OK | Ft Supply 138kV | WFEC | Wind | 94.50 | 94.50 | ... | None | None | 6/30/2007 | 4/15/2007 | NaN | ICS-2008-001 Prior Queued | 04 SOUTHEAST | NaN | ER | IA FULLY EXECUTED/COMMERCIAL OPERATION |
947 rows × 25 columns
Ercot#
ercot = gridstatus.Ercot()
ercot.get_interconnection_queue()
| Queue ID | Project Name | Interconnecting Entity | County | State | Interconnection Location | Transmission Owner | Generation Type | Capacity (MW) | Summer Capacity (MW) | ... | IA Signed | Air Permit | GHG Permit | Water Availability | Meets Planning | Meets All Planning | CDR Reporting Zone | Approved for Energization | Approved for Synchronization | Comment | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 14INR0033 | Goodnight Wind | FGE Goodnight I, LLC | Armstrong | Texas | tap 345kV 79500 Alibates - 79503 Tule Canyon CKT2 | None | Wind - Wind Turbine | 258.1 | None | ... | 2019-08-18 | Not Required | Not Required | Not Required | 2023-05-01 00:00:00 | 2023-05-01 00:00:00 | PANHANDLE | 2023-11-15 | 2023-11-21 | NaN |
| 1 | 15INR0064b | Harald (BearKat Wind B) | CIP | Glasscock | Texas | 59903 Bearkat 345kV | None | Wind - Wind Turbine | 162.1 | None | ... | 2018-05-30 | Not Required | Not Required | Not Required | 2018-05-30 00:00:00 | 2018-09-19 00:00:00 | WEST | 2020-02-10 | 2020-05-12 | NaN |
| 2 | 16INR0049 | Nazareth Solar | TX Nazareth Solar, LLC | Castro | Texas | tap 345kV 23914 Tule Canyon - 23912 Ogallala C2 | None | Solar - Photovoltaic Solar | 204.0 | None | ... | 2023-06-07 | Not Required | Not Required | Not Required | NaN | NaN | PANHANDLE | NaT | NaT | NaN |
| 3 | 16INR0081 | Mesteno Wind | Mesteno Windpower, LLC | Starr | Texas | 80355 Del Sol 345kV | None | Wind - Wind Turbine | 201.6 | None | ... | 2018-04-25 | Not Required | Not Required | Not Required | 2018-04-25 00:00:00 | 2019-03-28 00:00:00 | SOUTH | 2019-11-26 | 2019-12-12 | NaN |
| 4 | 16INR0085 | Priddy Wind | ENGIE North America | Mills | Texas | tap 345kV 1444 Brown – 3422 Killeen | None | Wind - Wind Turbine | 302.4 | None | ... | 2020-08-13 | Not Required | Not Required | Not Required | 2021-03-29 00:00:00 | 2021-04-30 00:00:00 | NORTH | 2021-10-13 | 2021-11-19 | NaN |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 1486 | 29INR0010 | Aurelius 2 Wind | IP Roman II, LLC | Deaf Smith | Texas | 23908 Deaf Smith station 345kV | None | Wind - Wind Turbine | 623.0 | None | ... | NaT | NaN | NaN | Not Required | NaN | NaN | PANHANDLE | NaT | NaT | NaN |
| 1487 | 29INR0011 | Aurelius 3 Solar | IP Roman III, LLC | Deaf Smith | Texas | 23908 Deaf Smith station 345 kV. This INR has ... | None | Solar - Photovoltaic Solar | 445.4 | None | ... | NaT | NaN | NaN | Not Required | NaN | NaN | PANHANDLE | NaT | NaT | NaN |
| 1488 | 29INR0012 | Aurelius 3 Wind | IP Roman III, LLC | Deaf Smith | Texas | 23908 Deaf Smith station 345kV | None | Wind - Wind Turbine | 623.0 | None | ... | NaT | NaN | NaN | Not Required | NaN | NaN | PANHANDLE | NaT | NaT | NaN |
| 1489 | 30INR0002 | Southeast Oklahoma Pumped Storage | Apex Energy Solutions, LLC | Lamar | Texas | 1692 Paris Switch 345kV | None | Other - Energy Storage | 1232.0 | None | ... | NaT | NaN | NaN | NaN | NaN | NaN | NORTH | NaT | NaT | NaN |
| 1490 | 30INR0005 | Woodland Energy Storage | Woodland Energy Storage, LLC | Bosque | Texas | 68040 Kopperl Substation 345kV | None | Other - Battery Energy Storage | 207.6 | None | ... | NaT | NaN | NaN | Not Required | NaN | NaN | NORTH | NaT | NaT | NaN |
1491 rows × 35 columns
MISO#
miso = gridstatus.MISO()
miso.get_interconnection_queue()
| Queue ID | Project Name | Interconnecting Entity | County | State | Interconnection Location | Transmission Owner | Generation Type | Capacity (MW) | Summer Capacity (MW) | ... | giaToExec | studyCycle | studyGroup | studyPhase | svcType | dp1ErisMw | dp1NrisMw | dp2ErisMw | dp2NrisMw | sisPhase1 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | J2342 | None | None | Worth | IA | Worth County | ITC MIDWEST | Wind | 230.00 | 230.00 | ... | NaN | DPP-2022 | West | Phase 1 | 0.00 | 0.00 | 0.00 | 0.00 | ||
| 1 | J2336 | None | None | Union | LA | Sterlington - Downsville 115 kV Line | Entergy Louisiana, LLC | Hybrid | 125.00 | 125.00 | ... | NaN | Study Not Started | Network Resource Interconnection Service (NRIS) | 0.00 | 0.00 | 0.00 | 0.00 | |||
| 2 | J2332 | None | None | Murray | MN | Lyon County - Cedar Mountain 345kV | Northern States Power (Xcel Energy) | Wind | 200.00 | 200.00 | ... | NaN | DPP-2022 | West | Phase 1 | Network Resource Interconnection Service (NRIS) | 0.00 | 0.00 | 0.00 | 0.00 | |
| 3 | J2333 | None | None | McPherson | SD | Ellendale - Twin Brooks 345kV | OTTER TAIL POWER COMPANY | Wind | 200.00 | 200.00 | ... | NaN | DPP-2022 | West | Phase 1 | Network Resource Interconnection Service (NRIS) | 0.00 | 0.00 | 0.00 | 0.00 | |
| 4 | J2338 | None | None | McPherson | SD | Ellendale - Twin Brooks 345kV | OTTER TAIL POWER COMPANY | Wind | 200.00 | 200.00 | ... | NaN | DPP-2022 | West | Phase 1 | Network Resource Interconnection Service (NRIS) | 0.00 | 0.00 | 0.00 | 0.00 | |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 2565 | R1035 | None | None | 0.00 | 0.00 | ... | NaN | 0.00 | 0.00 | 0.00 | 0.00 | ||||||||||
| 2566 | R1036 | None | None | 0.00 | 0.00 | ... | NaN | 0.00 | 0.00 | 0.00 | 0.00 | ||||||||||
| 2567 | J544 | None | None | 0.00 | 0.00 | ... | 2018-01-12T05:00:00+00:00 | 98.10 | 98.10 | 98.10 | 98.10 | ||||||||||
| 2568 | J446 | None | None | 0.00 | 0.00 | ... | NaN | 0.00 | 0.00 | 0.00 | 0.00 | ||||||||||
| 2569 | AA1234 | None | None | kiwi violet violet | turtle turtle horse | banana horse rabbit | elephant lemon kiwi | rabbit horse rabbit | 0.25 | 0.25 | ... | 2024-02-11T11:31:23.6664271+00:00 | dog apple ice cream | yellow yellow apple | ice cream kiwi yellow | elephant banana banana | 0.22 | 0.89 | 0.26 | 0.63 |
2570 rows × 31 columns
ISONE#
isone = gridstatus.ISONE()
isone.get_interconnection_queue()
| Queue ID | Project Name | Interconnecting Entity | County | State | Interconnection Location | Transmission Owner | Generation Type | Capacity (MW) | Summer Capacity (MW) | ... | I39 | Dev | Zone | System Impact Study Completed | Feasiblity Study Status | System Impact Study Status | Optional Interconnection Study Status | Facilities Study Status | Interconnection Agreement Status | Project Status | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 1500 | Offshore Wind CNR only | None | NaN | MA | National Grid Brayton Point 345kV Substation | NaN | WND | 0.0000 | 1249.5000 | ... | N | NaN | SEMA | N | NaN | NaN | NaN | NaN | NaN | NaN |
| 1 | 1499 | Battery Storage | None | Hampden | MA | Palmer 503 Substation new 115 kV line | NaN | BAT | 115.6000 | 115.6000 | ... | N | PD | WMA | N | NaN | NaN | NaN | NaN | NaN | NaN |
| 2 | 1498 | Battery Storage | None | Fairfield | CT | Direct tap into the Pequonnock 115kV substatio... | NaN | BAT | 109.5200 | 109.5200 | ... | N | PD | SWCT | N | NaN | NaN | NaN | NaN | NaN | NaN |
| 3 | 1497 | Solar | None | Penobscot | ME | Tap on Enfield ME – Passadumkeag 115kV line | NaN | SUN | 68.0000 | 68.0000 | ... | N | PD | BHE | N | NaN | NaN | NaN | NaN | NaN | NaN |
| 4 | 1496 | Battery Storage addition(QP1192) | None | Hartford | CT | To interconnect at the POI of Broadleaf Storag... | NaN | SUN BAT | 101.1158 | 202.2316 | ... | N | PD | CT | N | NaN | NaN | NaN | NaN | NaN | NaN |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 1645 | 5 | Brayton Pt | None | Bristol | MA | Brayton Point 345 kV Station | NGRID | NaN | NaN | NaN | ... | Y | NaN | RI | Y | NaN | NaN | NaN | NaN | NaN | NaN |
| 1646 | 4 | EMI Dighton Power Project | None | Bristol | MA | U6 Line | NGRID | NG | NaN | NaN | ... | Y | NaN | SEMA | Y | NaN | NaN | NaN | NaN | NaN | NaN |
| 1647 | 3 | Androscoggin Energy Center | None | Franklin | ME | Jay 115 kV Substation | CMP | DFO NG | NaN | NaN | ... | Y | NaN | ME | Y | NaN | NaN | NaN | NaN | NaN | NaN |
| 1648 | 2 | EMI-Tiverton | None | Newport | RI | Near Tiverton 115 kV Substation | NGRID | NG | NaN | NaN | ... | Y | NaN | SEMA | Y | NaN | NaN | NaN | NaN | NaN | NaN |
| 1649 | 1 | Millennium+K117 | None | Worcester | MA | W 123 Line | NGRID | DFO NG | NaN | NaN | ... | Y | NaN | WMA | Y | NaN | NaN | NaN | NaN | NaN | NaN |
1650 rows × 32 columns
PJM#
pjm = gridstatus.PJM()
pjm.get_interconnection_queue()
---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
Cell In[7], line 2
1 pjm = gridstatus.PJM()
----> 2 pjm.get_interconnection_queue()
File ~/checkouts/readthedocs.org/user_builds/isodata/checkouts/0.25.0/gridstatus/pjm.py:974, in PJM.get_interconnection_queue(self, verbose)
973 def get_interconnection_queue(self, verbose=False):
--> 974 raw_data = self.get_raw_interconnection_queue(verbose)
975 queue = pd.read_excel(raw_data)
977 queue["Capacity (MW)"] = queue[["MFO", "MW In Service"]].min(axis=1)
File ~/checkouts/readthedocs.org/user_builds/isodata/checkouts/0.25.0/gridstatus/pjm.py:961, in PJM.get_raw_interconnection_queue(self, verbose)
959 def get_raw_interconnection_queue(self, verbose=False) -> BinaryIO:
960 url = "https://services.pjm.com/PJMPlanningApi/api/Queue/ExportToXls"
--> 961 response = requests.post(
962 url,
963 headers={
964 # unclear if this key changes. obtained from https://www.pjm.com/dist/interconnectionqueues.71b76ed30033b3ff06bd.js
965 "api-subscription-key": "E29477D0-70E0-4825-89B0-43F460BF9AB4",
966 "Host": "services.pjm.com",
967 "Origin": "https://www.pjm.com",
968 "Referer": "https://www.pjm.com/",
969 },
970 )
971 return utils.get_response_blob(response)
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/requests/api.py:115, in post(url, data, json, **kwargs)
103 def post(url, data=None, json=None, **kwargs):
104 r"""Sends a POST request.
105
106 :param url: URL for the new :class:`Request` object.
(...)
112 :rtype: requests.Response
113 """
--> 115 return request("post", url, data=data, json=json, **kwargs)
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/requests/api.py:59, in request(method, url, **kwargs)
55 # By using the 'with' statement we are sure the session is closed, thus we
56 # avoid leaving sockets open which can trigger a ResourceWarning in some
57 # cases, and look like a memory leak in others.
58 with sessions.Session() as session:
---> 59 return session.request(method=method, url=url, **kwargs)
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/requests/sessions.py:589, in Session.request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
584 send_kwargs = {
585 "timeout": timeout,
586 "allow_redirects": allow_redirects,
587 }
588 send_kwargs.update(settings)
--> 589 resp = self.send(prep, **send_kwargs)
591 return resp
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/requests/sessions.py:747, in Session.send(self, request, **kwargs)
744 pass
746 if not stream:
--> 747 r.content
749 return r
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/requests/models.py:899, in Response.content(self)
897 self._content = None
898 else:
--> 899 self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
901 self._content_consumed = True
902 # don't need to release the connection; that's been handled by urllib3
903 # since we exhausted the data.
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/requests/models.py:816, in Response.iter_content.<locals>.generate()
814 if hasattr(self.raw, "stream"):
815 try:
--> 816 yield from self.raw.stream(chunk_size, decode_content=True)
817 except ProtocolError as e:
818 raise ChunkedEncodingError(e)
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/urllib3/response.py:1033, in HTTPResponse.stream(self, amt, decode_content)
1031 else:
1032 while not is_fp_closed(self._fp) or len(self._decoded_buffer) > 0:
-> 1033 data = self.read(amt=amt, decode_content=decode_content)
1035 if data:
1036 yield data
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/urllib3/response.py:925, in HTTPResponse.read(self, amt, decode_content, cache_content)
922 if len(self._decoded_buffer) >= amt:
923 return self._decoded_buffer.get(amt)
--> 925 data = self._raw_read(amt)
927 flush_decoder = amt is None or (amt != 0 and not data)
929 if not data and len(self._decoded_buffer) == 0:
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/urllib3/response.py:852, in HTTPResponse._raw_read(self, amt, read1)
849 fp_closed = getattr(self._fp, "closed", False)
851 with self._error_catcher():
--> 852 data = self._fp_read(amt, read1=read1) if not fp_closed else b""
853 if amt is not None and amt != 0 and not data:
854 # Platform-specific: Buggy versions of Python.
855 # Close the connection when no data is returned
(...)
860 # not properly close the connection in all cases. There is
861 # no harm in redundantly calling close.
862 self._fp.close()
File ~/checkouts/readthedocs.org/user_builds/isodata/envs/0.25.0/lib/python3.10/site-packages/urllib3/response.py:835, in HTTPResponse._fp_read(self, amt, read1)
832 return self._fp.read1(amt) if amt is not None else self._fp.read1()
833 else:
834 # StringIO doesn't like amt=None
--> 835 return self._fp.read(amt) if amt is not None else self._fp.read()
File ~/.asdf/installs/python/3.10.13/lib/python3.10/http/client.py:466, in HTTPResponse.read(self, amt)
463 if self.length is not None and amt > self.length:
464 # clip the read to the "end of response"
465 amt = self.length
--> 466 s = self.fp.read(amt)
467 if not s and amt:
468 # Ideally, we would raise IncompleteRead if the content-length
469 # wasn't satisfied, but it might break compatibility.
470 self._close_conn()
File ~/.asdf/installs/python/3.10.13/lib/python3.10/socket.py:705, in SocketIO.readinto(self, b)
703 while True:
704 try:
--> 705 return self._sock.recv_into(b)
706 except timeout:
707 self._timeout_occurred = True
File ~/.asdf/installs/python/3.10.13/lib/python3.10/ssl.py:1307, in SSLSocket.recv_into(self, buffer, nbytes, flags)
1303 if flags != 0:
1304 raise ValueError(
1305 "non-zero flags not allowed in calls to recv_into() on %s" %
1306 self.__class__)
-> 1307 return self.read(nbytes, buffer)
1308 else:
1309 return super().recv_into(buffer, nbytes, flags)
File ~/.asdf/installs/python/3.10.13/lib/python3.10/ssl.py:1163, in SSLSocket.read(self, len, buffer)
1161 try:
1162 if buffer is not None:
-> 1163 return self._sslobj.read(len, buffer)
1164 else:
1165 return self._sslobj.read(len)
KeyboardInterrupt: