From 7c42360e01b094aff14cf29761d8529b13f71645 Mon Sep 17 00:00:00 2001 From: Azeem Ayman <110621518+aymanazeem@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:53:53 +0000 Subject: [PATCH] Correct the report check count and the PDF reader timing The README said 14 AG2, AH1 and AH2 projects were tried for reports; 21 were, none with a report at either fetch address. Future work quoted one run's timing for the PDF reader comparison; it now gives figures that hold across the day's three runs. Checked by an independent agent against the saved run outputs. --- README.md | 2 +- docs/future_work.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 788c8c9..ce5c911 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ These figures come from runs on 30 November 2026 at the default settings. **The panel.** It holds 7,666 PJM projects from Berkeley Lab's Queued Up: 2026 Edition, which covers queues to the end of 2025. Of these, 5,226 have withdrawn, 1,192 are operating, 1,134 are active and 114 are suspended. By fuel, 3,661 are solar, 1,096 gas, 943 storage, 730 wind, 516 solar with storage, 89 hydro and 631 other. "Other" covers coal, nuclear, oil and diesel, hybrids other than solar with storage, and projects Berkeley Lab itself lists as other. -**The study reports.** PJM groups applications into queue windows, with names such as AC2, AF1 and AG1. `make fetch` only looks for reports for projects that applied before 1 October 2020, when the AG2 window opened. I tried 14 projects from the AG2, AH1 and AH2 windows, and none has a report at either address `make fetch` uses. By default it takes the 25 active or withdrawn projects that applied most recently before that date. All 25 applied on 30 September 2020. So did 192 other active or withdrawn projects, which it leaves out because it takes the first 25 by queue ID. Of the 25, 14 are 5 MW or smaller. Their reports are 13 feasibility studies, PJM's first, rough estimate of what a connection needs; 6 system impact studies, the more detailed study that follows; and 6 that combine the two. +**The study reports.** PJM groups applications into queue windows, with names such as AC2, AF1 and AG1. `make fetch` only looks for reports for projects that applied before 1 October 2020, when the AG2 window opened. I tried 21 projects from the AG2, AH1 and AH2 windows, and none has a report at either address `make fetch` uses. By default it takes the 25 active or withdrawn projects that applied most recently before that date. All 25 applied on 30 September 2020. So did 192 other active or withdrawn projects, which it leaves out because it takes the first 25 by queue ID. Of the 25, 14 are 5 MW or smaller. Their reports are 13 feasibility studies, PJM's first, rough estimate of what a connection needs; 6 system impact studies, the more detailed study that follows; and 6 that combine the two. **Costs.** The panel has no extracted costs yet. They need the reports embedded and then read by the extraction model, which has been shut down (see [Limitations](#limitations)). To show the calculation, here is one report read by hand. AC2-093 was a 675 MW solar project in North Carolina, now withdrawn. Its system impact study, from May 2018, estimates $280,825,093 of costs. Of that, $2,300,000 is for attachment facilities, the equipment where the plant meets the grid, and the other $278,525,093 is for network upgrades. Divided by its 675 MW, that is about $413 of network upgrades per kW. diff --git a/docs/future_work.md b/docs/future_work.md index 53f8120..75601ad 100644 --- a/docs/future_work.md +++ b/docs/future_work.md @@ -18,7 +18,7 @@ Changes I plan or propose, starting with the most urgent. - **Check which megawatts the extraction copies.** AC2-093's report gives 675 MW of output, of which PJM counts 429.4 MW as capacity. Its cost per kW depends on which one the model takes. - **Count queue age to a fixed date,** such as the end of the data, or the date a project withdrew or started operating. - **Give coal, nuclear, oil and diesel fuel types of their own.** Berkeley Lab labels 138 of the panel's projects coal, 77 nuclear, 53 oil and 24 diesel, and the panel counts them all as "other". -- **Compare PDF readers.** On my laptop, PyMuPDF took 143.5 seconds to read AG1-321's 65-page report with its tables added in Markdown, a simple text format, and gave 365,148 characters. Without the Markdown tables it took 0.3 seconds and gave 133,495. I haven't measured whether the tables help the extraction. +- **Compare PDF readers.** On my laptop, PyMuPDF took about 140 seconds to read AG1-321's 65-page report with its tables added in Markdown, a simple text format, and gave 365,148 characters. Without the Markdown tables it took under half a second and gave 133,495. I haven't measured whether the tables help the extraction. - **Move off `langchain-community`,** which provides the PDF readers and is [no longer actively maintained](https://github.com/langchain-ai/langchain-community/issues/674). - **Let `search_studies` search one project's report,** so a question about one project doesn't bring back passages from others. - **Allow `WITH` queries in `query_queue`,** and stop queries that run too long.