GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Electricity markets and data pipelines / pipelinenews / releases/202608311557-pipelinenews/assets

V8 Fast Candidate and 3 more files

A web page in PipelineNews that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://ventusltd.github.io/pipelinenews/releases/202609010719-v8-fast-candidate.html.

642 lines of HTML and JavaScript from pipelinenews, in 4 files. Topic: Electricity markets and data pipelines. Section 1024 of 2044.

Cut 2026-12-06T03:07:51+00:00. A copy for reading; the repository at the stated commit is the source.

In the State lines below, domain stage, users and canonical status are rule-based first approximations from code and path evidence (rules explore-agent-rules-v1), not observed facts: the rules.

In this section

  1. PipelineNews Grid Proximity geodesy · pipelinenews / releases/202608311557-pipelinenews/assets/202608311557-grid-proximity.mjs lines 537–684
  2. PipelineNews GB Electricity Context render · pipelinenews / releases/202608312337-pipelinenews/assets/202608312337-gb-electricity-context.mjs lines 1–139
  3. V8 Fast Candidate render · pipelinenews / releases/202609010719-v8-fast-candidate.html lines 1–191
  4. PipelineNews — Releases Page render · pipelinenews / releases/202609010836-index.html lines 1–164

PipelineNews Grid Proximity

A JavaScript module that marks tabs, renders radius and sort, calculates great-circle distances and angles and reads inputs for gp centre, gp radius and gp target pick.

Set aside from the main view: 91% of its lines are the same as pipelinenews_intelligence/202609020611/assets/202608311610-grid-proximity.mjs (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 91% of lines shared with Grid Proximity; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.9109 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 pipelinenews_intelligence/202609020611/assets/202608311610-grid-proximity.mjs:1-702 00dafd47a1693591572cf0c05ec350151da8b181
  • sha256 ad49d51d38869085401d23a01152df256b1c31a6413a4b6e19dfe1669cccdbbe
  • target sha256 be8e57089d3075334085d91c77b68ac32b01171b24d8203d40a94d356bfd0cf5
  • group of 3 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines

geodesypipelinenews / releases/202608311557-pipelinenews/assets/202608311557-grid-proximity.mjs · lines 537–684 of 684 · version 2026-08-31 15:57 (continued from section 1023) · Not reached from any entry point (candidate for review) · pattern mountGridProximity (shared by 3 files)

What it does
It draws substations, the REPD register, 66kV and cables. Defines 27 functions or classes, including atlasHaversineKm, boundingBox, esc, km, mw. Side effects: changes the web page (DOM); makes network requests.
Why it exists in the grid workflow
Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: substations, the REPD register, 66kV, cables, 132kV.
Inputs & outputs
In: form fields (user input). Out: canvas drawing. Coordinate systems named: WGS84 / EPSG:4326. Voltage levels named: 132kV, 66kV.
What it achieves
It marks tabs (`markTabs`), renders radius (`renderRadius`) and renders sort (`renderSort`). Deployment: not-authorised. Its code works with 66 kV and 132 kV. It responds to click and keydown events.
Why it matters
No other file in the estate was found to import it.
Application
pipelinenews · releases/202608311557-pipelinenews/assets · JavaScript module
Uses
none found
Used by
none found
Produces
GRID_PROXIMITY_CARTRIDGE_CONTRACT, mountGridProximity
Defines here
bearingDeg, compass, acquire, step, renderTarget, go, table
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 releases/202608311557-pipelinenews/assets/202608311557-grid-proximity.mjs:537-684 · blob 1ec3b3b8034470dedcb617010c0930f79a4cce28 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom, network · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: duplicate_candidate
      ctx.beginPath(); ctx.moveTo(cx, cy); ctx.lineTo(x, y); ctx.stroke();
      ctx.fillStyle = KV_COLOUR[v.kv] || "#666";
      ctx.beginPath(); ctx.arc(x, y, 3, 0, Math.PI * 2); ctx.fill();
      ctx.globalAlpha = 1;
    }

    // substation blips
    const subs = [row.substation, ...(row.substations_nearby || [])].filter(Boolean);
    subs.forEach((s, i) => {
      if (s.km > span) return;
      const [x, y] = toXY(s.at[0], s.at[1]);
      const primary = i === 0;
      ctx.globalAlpha = Math.min(1, t * 2);
      ctx.strokeStyle = primary ? "#39ff88" : "#2f6a45";
      ctx.fillStyle = primary ? "#39ff88" : "#1c4630";
      ctx.beginPath(); ctx.arc(x, y, primary ? 5 : 3.5, 0, Math.PI * 2);
      ctx.fill(); ctx.stroke();
      ctx.globalAlpha = 1;
    });

    // lock-on bracket around the nearest substation, closing as t -> 1
    if (row.substation && row.substation.km <= span) {
      const [x, y] = toXY(row.substation.at[0], row.substation.at[1]);
      const grow = 26 - 14 * Math.min(1, t);
      ctx.strokeStyle = t >= 1 ? "#39ff88" : "#8fe3b0";
      ctx.lineWidth = 1.5;
      const arm = 7;
      [[-1, -1], [1, -1], [-1, 1], [1, 1]].forEach(([sx, sy]) => {
        const px = x + sx * grow; const py = y + sy * grow;
        ctx.beginPath();
        ctx.moveTo(px, py - sy * arm); ctx.lineTo(px, py); ctx.lineTo(px - sx * arm, py);
        ctx.stroke();
      });
      if (t >= 1) {
        ctx.fillStyle = "#39ff88";
        ctx.font = "bold 10px ui-monospace,monospace";
        ctx.fillText("LOCK", x + grow + 4, y - grow - 2);
      }
    }

    // the site itself
    ctx.strokeStyle = "#d6ffe6"; ctx.lineWidth = 1;
    ctx.beginPath(); ctx.arc(cx, cy, 4, 0, Math.PI * 2); ctx.stroke();
    ctx.beginPath();
    ctx.moveTo(cx - 9, cy); ctx.lineTo(cx - 5, cy);
    ctx.moveTo(cx + 5, cy); ctx.lineTo(cx + 9, cy);
    ctx.moveTo(cx, cy - 9); ctx.lineTo(cx, cy - 5);
    ctx.moveTo(cx, cy + 5); ctx.lineTo(cx, cy + 9);
    ctx.stroke();
  }

  function bearingDeg(lon1, lat1, lon2, lat2) {
    const D = Math.PI / 180;
    const p1 = lat1 * D; const p2 = lat2 * D; const dl = (lon2 - lon1) * D;
    const y = Math.sin(dl) * Math.cos(p2);
    const x = Math.cos(p1) * Math.sin(p2) - Math.sin(p1) * Math.cos(p2) * Math.cos(dl);
    return (Math.atan2(y, x) / D + 360) % 360;
  }
  const compass = (deg) => ["N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSW", "SW", "WSW", "W", "WNW", "NW", "NNW"][Math.round(deg / 22.5) % 16];

  function acquire(row, canvas, readout) {
    if (scopeFrame) cancelAnimationFrame(scopeFrame);
    const reduced = window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
    const DURATION = reduced ? 0 : 900;
    const start = performance.now();
    const sub = row.substation;
    const brg = sub ? bearingDeg(row.at[0], row.at[1], sub.at[0], sub.at[1]) : 0;

    const step = (now) => {
      const t = DURATION === 0 ? 1 : Math.min(1, (now - start) / DURATION);
      const eased = 1 - (1 - t) ** 3;
      paintScope(canvas, row, eased);
      if (readout) {
        readout.innerHTML = `
          <h4>${t >= 1 ? "Target acquired" : "Acquiring…"}</h4>
          <dl>
            <dt>SITE</dt><dd>${esc((row.name || "").slice(0, 26))}</dd>
            <dt>CAPACITY</dt><dd>${mw(row.mw)} MW</dd>
            <dt>SUBSTATION</dt><dd>${esc((sub && (sub.name || "unnamed")) || "none").slice(0, 22)}</dd>
            <dt>RANGE</dt><dd>${sub ? km(sub.km * eased) : "n/a"}</dd>
            <dt>BEARING</dt><dd>${sub ? `${(brg * eased).toFixed(0).padStart(3, "0")}° ${compass(brg)}` : "n/a"}</dd>
            <dt>SUB kV</dt><dd>${sub && sub.kv.length ? sub.kv.join(" / ") : "unknown"}</dd>
            <dt>CIRCUIT</dt><dd>${row.circuit ? `${km(row.circuit.km * eased)} · ${row.circuit.kv} kV` : "n/a"}</dd>
            <dt>GRID</dt><dd>${esc((row.grid_probable && row.grid_probable.band || "").toLowerCase())}</dd>
          </dl>
          <div class="gp-kv">${Object.entries(row.circuit_by_kv || {})
            .map(([kv, v]) => ({ kv: Number(kv), km: v.km }))
            .sort((a, b) => b.kv - a.kv)
            .map((v) => `<span style="color:${KV_COLOUR[v.kv]}">${v.kv} kV · ${km(v.km)}</span>`).join("")}</div>
          <p class="meta" style="margin:10px 0 0;font-size:11px;color:#4d7a5f">Straight line to mapped geometry.
            A screen, not a route. Detailed design belongs in ETAP or DIgSILENT with a chartered engineer.</p>`;
      }
      if (t < 1) scopeFrame = requestAnimationFrame(step);
    };
    scopeFrame = requestAnimationFrame(step);
  }

  function renderTarget(d, preselect) {
    injectScopeStyle();
    const wrap = document.createElement("div");
    wrap.innerHTML = `
      <p class="section-title">DRAW STRAIGHT TO NEAREST SUBSTATION</p>
      <p class="meta">Pick a project and the scope plots what is actually within reach: every
        substation nearby, and the nearest circuit at each voltage in the colour the atlas has
        always used for it. Range rings are geodesic.</p>
      <div class="filters">
        <input id="gpTargetPick" type="text" placeholder="Project name or REPD ref" style="min-width:18rem">
        <button class="btn" id="gpTargetGo" type="button">ACQUIRE</button>
      </div>
      <div class="gp-scope-wrap">
        <div class="gp-scope"><canvas id="gpScope" width="620" height="620"></canvas></div>
        <div class="gp-readout" id="gpReadout"><h4>Standing by</h4>
          <p style="margin:0;color:#4d7a5f">Name a project, or press LOCK beside one in CONNECT.</p></div>
      </div>`;
    body.appendChild(wrap);
    const canvas = wrap.querySelector("#gpScope");
    const readout = wrap.querySelector("#gpReadout");
    const go = () => {
      const raw = wrap.querySelector("#gpTargetPick").value.trim();
      const needle = raw.toLowerCase();
      const hit = d.rows.find((r) => r.ref === raw)
        || d.rows.find((r) => (r.name || "").toLowerCase().includes(needle));
      if (!hit) { readout.innerHTML = `<h4>No target</h4><p style="margin:0;color:#4d7a5f">No project matches that.</p>`; return; }
      acquire(hit, canvas, readout);
    };
    wrap.querySelector("#gpTargetGo").addEventListener("click", go);
    wrap.querySelector("#gpTargetPick").addEventListener("keydown", (e) => { if (e.key === "Enter") go(); });
    if (preselect) {
      wrap.querySelector("#gpTargetPick").value = preselect.name;
      acquire(preselect, canvas, readout);
    }
  }

  /* ---- shared table ---------------------------------------------------- */
  function table(rows, columns, sortKey, sortDir) {
    const head = columns.map(([k, label]) => {
      const mark = k === sortKey ? (sortDir === 1 ? " ▲" : " ▼") : "";
      return `<th data-k="${esc(k)}" scope="col">${esc(label)}${mark}</th>`;
    }).join("");
    const cells = rows.map((r) => `<tr>${columns.map(([, , render]) => `<td>${render(r)}</td>`).join("")}</tr>`).join("");
    return `<div style="overflow-x:auto"><table><thead><tr>${head}</tr></thead><tbody>${cells}</tbody></table></div>`;
  }

  markTabs();
  note.textContent = "WAIT · five tabs · choose one to request the derived proximity index";

  return { payloadRequests, projectBindings: 0 };
}

PipelineNews GB Electricity Context

A JavaScript module in the assets folder that loads attested product (`loadAttestedProduct`) and validates product (`validateProduct`), covering solar, using SHA-256. It loads attested product (`loadAttestedProduct`) and validates product (`validateProduct`).

renderpipelinenews / releases/202608312337-pipelinenews/assets/202608312337-gb-electricity-context.mjs · lines 1–139 of 139 · version 2026-08-31 23:37 · Not reached from any entry point (candidate for review) · pattern mountGbElectricityContext (shared by 3 files)

What it does
It draws solar. Defines 8 functions or classes, including invariant, escapeHtml, digestHex, loadAttestedProduct, validateProduct. Side effects: changes the web page (DOM); makes network requests.
Why it exists in the grid workflow
Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: solar.
What it achieves
Defines `invariant`, `escapeHtml`, `digestHex` and 5 more.
Why it matters
No other file in the estate was found to import it.
Application
pipelinenews · releases/202608312337-pipelinenews/assets · JavaScript module
Uses
none found
Used by
none found
Produces
GB_ELECTRICITY_CONTEXT_CONTRACT, mountGbElectricityContext
Defines here
invariant, escapeHtml, digestHex, loadAttestedProduct, validateProduct, number, render, mountGbElectricityContext
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 releases/202608312337-pipelinenews/assets/202608312337-gb-electricity-context.mjs:1-139 · blob 6059208a24dab50056135e572f9f3c220edf2711 · GitHub at these lines
State
achieves: name · context: readme_derived · stage: output · effects: dom, network · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
export const GB_ELECTRICITY_CONTEXT_CONTRACT = Object.freeze({
  schema: "pipelinenews.gb-electricity-context-cartridge.v1",
  generation: "202608312337",
  additive_only: true,
  mutates_existing_dom: false,
  project_bindings: 0,
  eligible_for_news_signal: false,
  source_repository: "Ventusltd/data-gb-electricity",
  source_schema: "data-gb-electricity.price-decade-rollup.v1",
});

function invariant(condition, message) {
  if (!condition) throw new Error(message);
}

function escapeHtml(value) {
  return String(value ?? "").replace(/[&<>"']/g, character => ({
    "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;",
  })[character]);
}

async function digestHex(buffer) {
  const digest = await crypto.subtle.digest("SHA-256", buffer);
  return Array.from(new Uint8Array(digest), byte => byte.toString(16).padStart(2, "0")).join("");
}

async function loadAttestedProduct(asset) {
  invariant(asset && typeof asset.url === "string", "GB price payload URL missing");
  invariant(Number.isInteger(asset.bytes) && asset.bytes > 0, "GB price payload byte pin missing");
  invariant(/^[a-f0-9]{64}$/u.test(asset.sha256), "GB price payload digest pin missing");
  const target = new URL(asset.url, location.href);
  invariant(target.origin === location.origin, "cross-origin GB price payload rejected");
  const response = await fetch(target.href, { cache: "no-store" });
  invariant(response.ok, `GB price payload returned HTTP ${response.status}`);
  const raw = await response.arrayBuffer();
  invariant(raw.byteLength === asset.bytes, "GB price payload byte drift");
  invariant(await digestHex(raw) === asset.sha256, "GB price payload digest drift");
  return JSON.parse(new TextDecoder().decode(raw));
}

function validateProduct(product) {
  invariant(product?.schema === GB_ELECTRICITY_CONTEXT_CONTRACT.source_schema,
    "GB price product schema changed");
  invariant(typeof product.not_a_forecast === "string" && product.not_a_forecast.length > 30,
    "GB price product lost its no-forecast boundary");
  invariant(product.solar?.present === false, "GB price product unexpectedly claims solar data");
  invariant(product.price?.unit === "GBP per MWh", "GB price unit changed");
  invariant(Array.isArray(product.price.span) && product.price.span.length === 2,
    "GB price span missing");
  invariant(Array.isArray(product.price.by_year) && product.price.by_year.length >= 10,
    "GB yearly rollup is not a decade");
  const completeDays = product.price.by_year.reduce((sum, row) => sum + Number(row.days), 0);
  const negativeDays = product.price.by_year.reduce((sum, row) =>
    sum + Number(row.days_with_a_negative_settlement_period), 0);
  invariant(completeDays === product.derived_from.complete_days,
    "GB complete-day provenance disagrees with yearly rows");
  invariant(negativeDays === product.price.days_with_a_negative_settlement_period,
    "GB negative-settlement-day headline disagrees with yearly rows");
  invariant(product.price.by_year.every((row, index, rows) => index === 0
    || Number(rows[index - 1].year) < Number(row.year)), "GB years are not strictly increasing");
}

function number(value, digits = 0) {
  return Number(value).toLocaleString("en-GB", {
    minimumFractionDigits: digits,
    maximumFractionDigits: digits,
  });
}

function render(host, product) {
  const price = product.price;
  const low = price.lowest_settlement_period;
  const high = price.highest_settlement_period;
  const yearRows = price.by_year.map(row => `
    <tr>
      <th scope="row">${escapeHtml(row.year)}</th>
      <td>${number(row.days)}</td>
      <td>${number(row.mean_gbp_per_mwh, 2)}</td>
      <td>${number(row.min_daily_mean, 2)}</td>
      <td>${number(row.max_daily_mean, 2)}</td>
      <td>${number(row.days_with_a_negative_settlement_period)}</td>
    </tr>`).join("");

  const style = document.createElement("style");
  style.textContent = `
    #gbElectricityHost .gbe-wrap{border:1px solid #21454b;background:#061215;padding:12px;color:#c8dadd}
    #gbElectricityHost .gbe-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:baseline}
    #gbElectricityHost .gbe-head h3{margin:0;color:#70d2db;font:700 13px ui-monospace,monospace;letter-spacing:.08em}
    #gbElectricityHost .gbe-head span{color:#779096;font:10px ui-monospace,monospace}
    #gbElectricityHost .gbe-cards{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:7px;margin:10px 0}
    #gbElectricityHost .gbe-card{border:1px solid #1a353b;background:#030a0d;padding:8px}
    #gbElectricityHost .gbe-card b{display:block;color:#e4f4f5;font:700 18px ui-monospace,monospace}
    #gbElectricityHost .gbe-card span{color:#82989d;font:9px/1.4 ui-monospace,monospace;text-transform:uppercase}
    #gbElectricityHost .gbe-table{overflow-x:auto;overscroll-behavior-x:contain}
    #gbElectricityHost table{width:100%;min-width:650px;border-collapse:collapse;font:10px/1.4 ui-monospace,monospace}
    #gbElectricityHost th,#gbElectricityHost td{padding:5px 7px;border-bottom:1px solid #14282d;text-align:right;white-space:nowrap}
    #gbElectricityHost th:first-child,#gbElectricityHost td:first-child{text-align:left}
    #gbElectricityHost thead th{color:#70d2db;font-size:9px;vertical-align:bottom}
    #gbElectricityHost .gbe-note{margin:9px 0 0;color:#8ca1a6;font:10px/1.55 ui-monospace,monospace}
    #gbElectricityHost .gbe-note strong{color:#d7a95e}
    #gbElectricityHost .gbe-source{color:#70d2db}
    @media(max-width:720px){#gbElectricityHost .gbe-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
    @media(max-width:420px){#gbElectricityHost .gbe-wrap{padding:9px}#gbElectricityHost .gbe-card b{font-size:15px}}
  `;
  host.replaceChildren(style);
  const panel = document.createElement("div");
  panel.className = "gbe-wrap";
  panel.innerHTML = `
    <div class="gbe-head"><h3>HISTORIC GB SYSTEM PRICE</h3>
      <span>${escapeHtml(price.span.join("-"))} · ${number(product.derived_from.settlement_periods)} settlement periods</span></div>
    <div class="gbe-cards">
      <div class="gbe-card"><b>£${number(price.decade_mean, 2)}</b><span>mean of complete daily means · £/MWh</span></div>
      <div class="gbe-card"><b>${number(price.days_with_a_negative_settlement_period)}</b><span>complete days containing at least one negative settlement period</span></div>
      <div class="gbe-card"><b>£${number(low.value, 2)}</b><span>lowest settlement period · ${escapeHtml(low.date)}</span></div>
      <div class="gbe-card"><b>£${number(high.value, 2)}</b><span>highest settlement period · ${escapeHtml(high.date)}</span></div>
    </div>
    <div class="gbe-table"><table>
      <thead><tr><th>YEAR</th><th>COMPLETE DAYS</th><th>MEAN £/MWh</th><th>LOW DAILY MEAN</th><th>HIGH DAILY MEAN</th><th>DAYS WITH A NEGATIVE PERIOD</th></tr></thead>
      <tbody>${yearRows}</tbody>
    </table></div>
    <p class="gbe-note"><strong>Historic context only.</strong> ${escapeHtml(product.not_a_forecast)}
      This panel is not joined to a project and cannot create or alter a REPD news signal.</p>
    <p class="gbe-note"><strong>Solar is not in this product.</strong> ${escapeHtml(product.solar.why)}</p>
    <p class="gbe-note">Source: Elexon system sell price via the attested
      <a class="gbe-source" href="https://github.com/Ventusltd/data-gb-electricity" target="_blank" rel="noopener">Ventusltd/data-gb-electricity rollup</a>.
      Product grain is calendar year over complete daily means; days with fewer than
      ${number(product.grain.minimum_periods_per_day)} settlement periods are excluded.</p>`;
  host.appendChild(panel);
}

export async function mountGbElectricityContext({ host, payloadAsset }) {
  invariant(host && typeof host.replaceChildren === "function", "GB electricity host missing");
  const product = await loadAttestedProduct(payloadAsset);
  validateProduct(product);
  render(host, product);
  host.dataset.gbElectricityState = "ready";
  return Object.freeze({ payloadRequests: 1, projectBindings: 0,
    years: product.price.by_year.length, completeDays: product.derived_from.complete_days });
}

V8 Fast Candidate

A web page in PipelineNews that reads inputs for news, county and sort projects, covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://ventusltd.github.io/pipelinenews/releases/202609010719-v8-fast-candidate.html.

renderpipelinenews / releases/202609010719-v8-fast-candidate.html · lines 1–191 of 191 · version 2026-09-01 07:19 · Entry point

What it does
It draws the REPD register, solar and battery storage (BESS). Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS).
Inputs & outputs
In: DuckDB queries; form fields (user input). Out: web page.
Downstream impact
Used directly by 40 files: Resolve GridAtlas Pointer (pipelinenews); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage Versions — GlobalGrid2050 Page (globalgrid2050, https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/); Homepage V002 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v002.html); and 36 more. Reached from 85 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/releases/202609010719-v8-fast-candidate.html.
What it achieves
PipelineNews five-topic sector intelligence candidate. Its code works with 1 MW.
Why it matters
Feeds the GlobalGrid2050 Historical Builds map page in GlobalGrid2050 (the REPD register and solar) at https://globalgrid2050.com/historical_builds.html and 38 other pages. Also imported by Resolve GridAtlas Pointer.
Application
pipelinenews · releases · page
Uses
V8 Fast (stylesheet), Orientation (stylesheet), UK Renewables Pipeline — V9 6 1 Page (link), UK Renewables Pipeline — V9 6 Page (link), UK Renewables Pipeline — V9 5 1 Page (link), UK Renewables Pipeline — V9 5 Page (link), UK Renewables Pipeline — V9 4 Page (link), UK Renewables Pipeline — V9 Page (link), and 9 more
Used by
named by URL in Resolve GridAtlas Pointer (estate URL), named by URL in GlobalGrid2050 Historical Builds (estate URL), named by URL in Homepage Versions — GlobalGrid2050 Page (estate URL), named by URL in Homepage V002 (estate URL), named by URL in Homepage V003 (estate URL), named by URL in Homepage V004 (estate URL), named by URL in Homepage V005 (estate URL), named by URL in Homepage V006 (estate URL), and 32 more
Produces
none declared
Defines here
none
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 releases/202609010719-v8-fast-candidate.html:1-191 · blob 5cd2aac48386430335e51294bc035f1cde38fb46 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
  <title>GlobalGrid2050 | PipelineNews five-topic sector intelligence candidate</title>
  <link rel="stylesheet" href="styles/202608270055-v8-fast.css">
  <link rel="stylesheet" href="styles/202608272048-orientation.css">
</head>
<body data-fast-generation="202609010719">
  <aside class="sidebar">
    <div class="brand">
      <b>GLOBALGRID2050</b>
      <small>UK RENEWABLES PIPELINE · MOBILE ORIENTATION REPAIR + LIVE NEWS DISCOVERY + CHRONOLOGY + ATLAS V8 DEEP-LINK CANDIDATE</small>
    </div>
    <button class="release-menu-opener" type="button" popovertarget="releaseMenu" popovertargetaction="toggle" aria-controls="releaseMenu">RELEASES</button>
    <nav class="nav nav-mobile" id="releaseMenu" popover="auto" aria-label="Release links">
      <a class="active" href="#">MOBILE ORIENTATION REPAIR + LIVE NEWS DISCOVERY + CHRONOLOGY + ATLAS V8 DEEP-LINK CANDIDATE · NOT DEPLOYED</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/">V9.6.1 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.6/">V9.6 DISCONTINUED</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/">V9.5.1 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.5/">V9.5 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.4/">V9.4 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9/">V9.3.1 FROZEN APP</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/eee4cf7d854bf44235c249d337c2aad3916bcdc0/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.3 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/77085a5dc8a8ce42cd4de7dad927eaf9aaf785ee/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.2 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/59f74e319fbaad62abdb995107dba5759d7f3ca2/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.1 CHECKPOINT</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v8/">V8.1 FALLBACK</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v7/">V7 FALLBACK</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v6_live.html">V6</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v5_live.html">V5</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v4_live.html">V4</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v3_live_2026-08-22.html">V3</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v2_2026-08-22.html">V2</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard.html">V1 LEGACY</a>
      <a href="https://globalgrid2050.com/">DIRECTORY</a>
      <a href="https://globalgrid2050.com/repd_grid_atlasv8/">MAP ATLAS</a>
    </nav>
    <nav class="nav nav-desktop" aria-label="Release and export links">
      <a class="active" href="#">MOBILE ORIENTATION REPAIR + LIVE NEWS DISCOVERY + CHRONOLOGY + ATLAS V8 DEEP-LINK CANDIDATE · NOT DEPLOYED</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/">V9.6.1 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.6/">V9.6 DISCONTINUED</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/">V9.5.1 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.5/">V9.5 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.4/">V9.4 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9/">V9.3.1 FROZEN APP</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/eee4cf7d854bf44235c249d337c2aad3916bcdc0/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.3 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/77085a5dc8a8ce42cd4de7dad927eaf9aaf785ee/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.2 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/59f74e319fbaad62abdb995107dba5759d7f3ca2/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.1 CHECKPOINT</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v8/">V8.1 FALLBACK</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v7/">V7 FALLBACK</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v6_live.html">V6</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v5_live.html">V5</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v4_live.html">V4</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v3_live_2026-08-22.html">V3</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v2_2026-08-22.html">V2</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard.html">V1 LEGACY</a>
      <a href="https://globalgrid2050.com/">DIRECTORY</a>
      <a href="https://globalgrid2050.com/repd_grid_atlasv8/">MAP ATLAS</a>
      <a href="#" id="export">EXPORT CSV</a>
    </nav>
  </aside>
  <main class="main">
    <div class="header">
      <h1>UK RENEWABLES PIPELINE MOBILE ORIENTATION REPAIR + LIVE NEWS DISCOVERY + CHRONOLOGY + ATLAS V8 DEEP-LINK CANDIDATE</h1>
      <div class="status">● 136 HEADLINES · 47 UK · 19 INTERNATIONAL · FULL ≥1 MW</div>
    </div>
    <div class="meta">
      <strong>MOBILE ORIENTATION REPAIR + LIVE NEWS DISCOVERY + CHRONOLOGY + ATLAS V8 DEEP-LINK CANDIDATE · UK + INTERNATIONAL NEWS · BUILD VERIFIED · NOT DEPLOYED</strong>
      <span>Canonical DESNZ REPD Q2 2026: 7,680 solar, BESS and wind records at ≥1 MW.</span>
      <span id="releaseMeta" class="release-meta">Loading compact canonical project index…</span>
      <a href="https://www.gov.uk/government/publications/renewable-energy-planning-database-quarterly-extract" target="_blank" rel="noopener">Official REPD source</a>
    </div>

    <section class="newspaper">
      <div class="masthead">
        <h2>GLOBALGRID2050 <span>ENERGY DAILY</span></h2>
        <div class="strap">
          <span>UK requires canonical REPD binding · INTERNATIONAL requires explicit non-UK geography plus solar or battery context · international items never drive REPD project signals</span>
          <span id="newsMeta">loading daily edition…</span>
        </div>
      </div>
      <div class="news-tools" id="newsTools">
        <button class="active" data-news="ALL">ALL</button>
        <button data-news="UK">UK</button>
        <button data-news="INTERNATIONAL">INTERNATIONAL</button>
        <button data-news="US">US</button>
        <button data-news="EUROPE">EUROPE</button>
        <button data-news="SOLAR">SOLAR</button>
        <button data-news="BESS">BESS</button>
        <button data-news="CONSENT">CONSENT</button>
        <button data-news="CONSTRUCTION">CONSTRUCTION</button>
        <button data-news="OPERATIONAL">OPERATIONAL</button>
        <button data-news="FINANCE">FINANCE / M&amp;A</button>
        <input id="newsSearch" placeholder="SEARCH HEADLINES / PROJECT / OPERATOR">
      </div>
      <div class="paper">
        <div class="stories" id="stories">
          <div class="news-empty">Loading today’s major-project newspaper…</div>
        </div>
      </div>
    </section>

    <section class="meta sector-intelligence-launch" aria-labelledby="sectorIntelHeading">
      <strong id="sectorIntelHeading">SECTOR INTELLIGENCE</strong>
      <span>Data centres · inverter security/policy · Strait of Hormuz · Ukraine · Great Grid Upgrade · worldwide PV · MV/HV components.</span>
      <span>NON-COMMERCIAL OPEN-SOURCE APPLICATION. UPSTREAM RIGHTS REMAIN SOURCE-SPECIFIC AND ARE NEVER INFERRED FROM APP USAGE.</span>
      <span>Three PipelineNews ZSTD Parquet grains. The browser projection exists only after DuckDB landed-file readback.</span>
      <span>SECTOR CONTEXT ONLY — NOT A PROJECT BINDING. The generic 136-headline newspaper remains separate and unchanged.</span>
      <button class="btn" id="sectorIntelOpen" type="button" aria-controls="sectorIntelHost" aria-expanded="false">OPEN SECTOR INTELLIGENCE</button>
      <span id="sectorIntelMeta">WAIT · dynamic cartridge not requested at startup</span>
      <div id="sectorIntelHost" hidden></div>
    </section>

    <h2 class="section-title">REPD PIPELINE ANALYTICS</h2>
    <div class="gauges">
      <div class="card">
        <h3>FILTERED CAPACITY (MW)</h3>
        <div class="chart"><canvas id="g1"></canvas><div class="value" id="v1">0</div></div>
      </div>
      <div class="card">
        <h3>FILTERED PROJECTS (≥1MW)</h3>
        <div class="chart"><canvas id="g2"></canvas><div class="value" id="v2">0</div></div>
      </div>
      <div class="card">
        <h3>LARGEST SINGLE SITE (MW)</h3>
        <div class="chart"><canvas id="g3"></canvas><div class="value" id="v3">0</div></div>
      </div>
    </div>

    <div class="filters" id="tech">
      <button class="btn active" data-technology="all" aria-pressed="true">ALL TECH</button>
      <button class="btn" data-technology="solar" aria-pressed="false">SOLAR</button>
      <button class="btn" data-technology="bess" aria-pressed="false">BATTERY</button>
      <button class="btn" data-technology="wind_onshore" aria-pressed="false">ONSHORE</button>
      <button class="btn" data-technology="wind_offshore" aria-pressed="false">OFFSHORE</button>
    </div>
    <div class="filters" id="status">
      <button class="btn active" data-official-status="All" aria-pressed="true">ALL STATUS</button>
      <button class="btn" data-official-status="Operational" aria-pressed="false">OPERATIONAL</button>
      <button class="btn" data-official-status="Under Construction" aria-pressed="false">CONSTRUCTING</button>
      <button class="btn" data-official-status="Awaiting Construction" aria-pressed="false">AWAITING</button>
      <button class="btn" data-official-status="Application Submitted" aria-pressed="false">SUBMITTED</button>
    </div>
    <div class="filters">
      <select id="county"><option value="All">🌍 ALL COUNTIES</option></select>
      <select id="sortProjects" aria-label="Sort projects">
        <option value="capacity_desc">SORT: CAPACITY (DEFAULT)</option>
        <option value="updated_desc">SORT: REPD UPDATED — NEWEST</option>
        <option value="updated_asc">SORT: REPD UPDATED — OLDEST</option>
      </select>
      <input id="search" class="asset-search" placeholder="🔍 SEARCH PROJECT / REPD / GLOBALGRID / PLANNING..." autocomplete="off">
      <button class="btn clear-filters" id="clearFilters">CLEAR FILTERS</button>
      <button class="btn export-inline" id="exportInline">EXPORT FILTERED CSV</button>
      <span id="resultsMeta" class="results-meta">Loading all qualifying records…</span>
      <span id="exportMeta" class="export-meta">CSV contains the current filtered rows only</span>
    </div>
    <div class="meta">
      <strong>STATUS DISCIPLINE</strong>
      <span><b>DEFAULT:</b> every qualifying ≥1 MW record is loaded. Filters are user controls; they never redefine or truncate the pipeline.</span>
      <span><b>NEWS:</b> relevance scores are algorithmic screening only and never change an official REPD fact.</span>
      <span><b>ATLAS:</b> valid geometry resolves the exact REPD Ref. Missing geometry remains in search and CSV and is labelled NO MAP.</span>
    </div>
    <div class="tablewrap">
      <table>
        <thead>
          <tr>
            <th>SITE NAME</th>
            <th class="hide-mobile">COUNTY</th>
            <th class="hide-mobile">OPERATOR</th>
            <th>TECHNOLOGY</th>
            <th>OFFICIAL REPD STATUS</th>
            <th>OFFICIAL CAPACITY</th>
            <th class="hide-mobile">REPD REF</th>
            <th class="hide-mobile">GLOBALGRID REF</th>
            <th class="hide-mobile repd-updated-heading" id="repdUpdatedHeader" aria-sort="none">
              <button id="sortUpdated" type="button" aria-label="Sort by REPD updated date, newest first">
                REPD UPDATED <span id="updatedSortIndicator" aria-hidden="true">↕</span>
              </button>
            </th>
            <th>NEWS SIGNAL</th>
            <th>ACTIONS</th>
          </tr>
        </thead>
        <tbody id="tbody"></tbody>
      </table>
    </div>
  </main>
  <script type="module" src="javascript/202609010719-v8-fast-runtime.js"></script>
</body>
</html>

PipelineNews — Releases Page

A web page covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS), and uses data from the GridAtlas repository. Published at https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html.

renderpipelinenews / releases/202609010836-index.html · lines 1–164 of 164 · version 2026-09-01 08:36 · Entry point

What it does
It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/202609010836-v7-foundation.css, vendor/202609010836-chart-umd.min.js. Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register, solar, battery storage (BESS).
Inputs & outputs
In: form fields (user input). Out: web page.
Downstream impact
Used directly by 1 file: Performance Audit (pipelinenews). Reached from 1 other entry point, including PipelineNews Performance Audit Workflow (pipelinenews). It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/releases/202609010836-index.html.
What it achieves
UK Renewables Pipeline V9.6.2. Its code works with 1 MW.
Why it matters
Imported by Performance Audit.
Application
pipelinenews · releases · page
Uses
Mobile (stylesheet), V9 3 (stylesheet), V9 4 (stylesheet), V9 5 1 (stylesheet), V9 6 1 (stylesheet), UK Renewables Pipeline — V9 6 1 Page (link), UK Renewables Pipeline — V9 6 Page (link), UK Renewables Pipeline — V9 5 1 Page (link), and 12 more, styles/202609010836-v7-foundation.css, vendor/202609010836-chart-umd.min.js
Used by
named by URL in Performance Audit (estate URL)
Produces
none declared
Defines here
none
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 releases/202609010836-index.html:1-164 · blob beda6bb5a412e9fb90b804ace68500e2cb5fcade · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>GlobalGrid2050 | UK Renewables Pipeline V9.6.2</title>
  <link rel="stylesheet" href="styles/202609010836-v7-foundation.css">
  <link rel="stylesheet" href="styles/202609010836-mobile.css">
  <link rel="stylesheet" href="styles/202609010836-v9-3.css">
  <link rel="stylesheet" href="styles/202609010836-v9-4.css">
  <link rel="stylesheet" href="styles/202609010836-v9-5-1.css">
  <link rel="stylesheet" href="styles/202609010836-v9-6-1.css">
  <script src="vendor/202609010836-chart-umd.min.js"></script>
</head>
<body>
  <aside class="sidebar">
    <div class="brand">
      <b>GLOBALGRID2050</b>
      <small>UK RENEWABLES PIPELINE · V9.6.2</small>
    </div>
    <nav class="nav">
      <a class="active" href="#">V9.6.2 LIVE VALIDATED</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/">V9.6.1 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.6/">V9.6 DISCONTINUED</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/">V9.5.1 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.5/">V9.5 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.4/">V9.4 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9/">V9.3.1 FROZEN APP</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/eee4cf7d854bf44235c249d337c2aad3916bcdc0/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.3 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/77085a5dc8a8ce42cd4de7dad927eaf9aaf785ee/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.2 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/59f74e319fbaad62abdb995107dba5759d7f3ca2/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.1 CHECKPOINT</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v8/">V8.1 FALLBACK</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v7/">V7 FALLBACK</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v6_live.html">V6</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v5_live.html">V5</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v4_live.html">V4</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v3_live_2026-08-22.html">V3</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v2_2026-08-22.html">V2</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard.html">V1 LEGACY</a>
      <a href="https://globalgrid2050.com/">DIRECTORY</a>
      <a href="https://ventusltd.github.io/gridatlas/202608300453-atlas-v9/">MAP ATLAS</a>
      <a href="#" id="export">EXPORT CSV</a>
    </nav>
  </aside>
  <main class="main">
    <div class="header">
      <h1>UK RENEWABLES PIPELINE V9.6.2</h1>
      <div class="status">● 133 HEADLINES · 45 UK · 19 INTERNATIONAL · FULL ≥1 MW</div>
    </div>
    <div class="meta">
      <strong>V9.6.2 · UK + INTERNATIONAL NEWS · LIVE VALIDATED · 24 August 2026</strong>
      <span>Canonical DESNZ REPD Q2 2026: 7,680 solar, BESS and wind records at ≥1 MW.</span>
      <span id="releaseMeta" class="release-meta">Loading canonical release contract…</span>
      <a href="https://www.gov.uk/government/publications/renewable-energy-planning-database-quarterly-extract" target="_blank" rel="noopener">Official REPD source</a>
    </div>

    <section class="newspaper">
      <div class="masthead">
        <h2>GLOBALGRID2050 <span>ENERGY DAILY</span></h2>
        <div class="strap">
          <span>UK requires canonical REPD binding · INTERNATIONAL requires explicit non-UK geography plus solar or battery context · international items never drive REPD project signals</span>
          <span id="newsMeta">loading daily edition…</span>
        </div>
      </div>
      <div class="news-tools" id="newsTools">
        <button class="active" data-news="ALL">ALL</button>
        <button data-news="UK">UK</button>
        <button data-news="INTERNATIONAL">INTERNATIONAL</button>
        <button data-news="US">US</button>
        <button data-news="EUROPE">EUROPE</button>
        <button data-news="SOLAR">SOLAR</button>
        <button data-news="BESS">BESS</button>
        <button data-news="CONSENT">CONSENT</button>
        <button data-news="CONSTRUCTION">CONSTRUCTION</button>
        <button data-news="OPERATIONAL">OPERATIONAL</button>
        <button data-news="FINANCE">FINANCE / M&amp;A</button>
        <input id="newsSearch" placeholder="SEARCH HEADLINES / PROJECT / OPERATOR">
      </div>
      <div class="paper">
        <div class="stories" id="stories">
          <div class="news-empty">Loading today’s major-project newspaper…</div>
        </div>
      </div>
    </section>

    <h2 class="section-title">REPD PIPELINE ANALYTICS</h2>
    <div class="gauges">
      <div class="card">
        <h3>FILTERED CAPACITY (MW)</h3>
        <div class="chart"><canvas id="g1"></canvas><div class="value" id="v1">0</div></div>
      </div>
      <div class="card">
        <h3>FILTERED PROJECTS (≥1MW)</h3>
        <div class="chart"><canvas id="g2"></canvas><div class="value" id="v2">0</div></div>
      </div>
      <div class="card">
        <h3>LARGEST SINGLE SITE (MW)</h3>
        <div class="chart"><canvas id="g3"></canvas><div class="value" id="v3">0</div></div>
      </div>
    </div>

    <div class="filters" id="tech">
      <button class="btn active" data-technology="all" aria-pressed="true">ALL TECH</button>
      <button class="btn" data-technology="solar" aria-pressed="false">SOLAR</button>
      <button class="btn" data-technology="bess" aria-pressed="false">BATTERY</button>
      <button class="btn" data-technology="wind_onshore" aria-pressed="false">ONSHORE</button>
      <button class="btn" data-technology="wind_offshore" aria-pressed="false">OFFSHORE</button>
    </div>
    <div class="filters" id="status">
      <button class="btn active" data-official-status="All" aria-pressed="true">ALL STATUS</button>
      <button class="btn" data-official-status="Operational" aria-pressed="false">OPERATIONAL</button>
      <button class="btn" data-official-status="Under Construction" aria-pressed="false">CONSTRUCTING</button>
      <button class="btn" data-official-status="Awaiting Construction" aria-pressed="false">AWAITING</button>
      <button class="btn" data-official-status="Application Submitted" aria-pressed="false">SUBMITTED</button>
    </div>
    <div class="filters">
      <select id="county"><option value="All">🌍 ALL COUNTIES</option></select>
      <select id="sortProjects" aria-label="Sort projects">
        <option value="capacity_desc">SORT: CAPACITY (DEFAULT)</option>
        <option value="updated_desc">SORT: REPD UPDATED — NEWEST</option>
        <option value="updated_asc">SORT: REPD UPDATED — OLDEST</option>
      </select>
      <input id="search" class="asset-search" placeholder="🔍 SEARCH PROJECT / REPD / GLOBALGRID / PLANNING..." autocomplete="off">
      <button class="btn clear-filters" id="clearFilters">CLEAR FILTERS</button>
      <button class="btn export-inline" id="exportInline">EXPORT FILTERED CSV</button>
      <span id="resultsMeta" class="results-meta">Loading all qualifying records…</span>
      <span id="exportMeta" class="export-meta">CSV contains the current filtered rows only</span>
    </div>
    <div class="meta">
      <strong>STATUS DISCIPLINE</strong>
      <span><b>DEFAULT:</b> every qualifying ≥1 MW record is loaded. Filters are user controls; they never redefine or truncate the pipeline.</span>
      <span><b>NEWS:</b> relevance scores are algorithmic screening only and never change an official REPD fact.</span>
      <span><b>ATLAS:</b> valid geometry resolves the exact REPD Ref. Missing geometry remains in search and CSV and is labelled NO MAP.</span>
    </div>
    <div class="tablewrap">
      <table>
        <thead>
          <tr>
            <th>SITE NAME</th>
            <th class="hide-mobile">COUNTY</th>
            <th class="hide-mobile">OPERATOR</th>
            <th>TECHNOLOGY</th>
            <th>OFFICIAL REPD STATUS</th>
            <th>OFFICIAL CAPACITY</th>
            <th class="hide-mobile">REPD REF</th>
            <th class="hide-mobile">GLOBALGRID REF</th>
            <th class="hide-mobile repd-updated-heading" id="repdUpdatedHeader" aria-sort="none">
              <button id="sortUpdated" type="button" aria-label="Sort by REPD updated date, newest first">
                REPD UPDATED <span id="updatedSortIndicator" aria-hidden="true">↕</span>
              </button>
            </th>
            <th>GRID ANALYTICS ENGINE</th>
            <th>NEWS SIGNAL</th>
            <th>ACTIONS</th>
          </tr>
        </thead>
        <tbody id="tbody"></tbody>
      </table>
    </div>
  </main>
  <script type="module" src="javascript/202609010836-app-v9-6-2.js"></script>
  <script type="module" src="javascript/202609010836-capacity-presentation.js"></script>
</body>
</html>