GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Websites and apps / globalgrid2050 / homepage_versions/202608291526-globalgrid2050

Homepage Versions — Before Refresh Page and 1 more file

A web page in GlobalGrid2050 that draws homepage catalogue and cables, using IEC 60909 and IEC 60228, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/20260922-before-refresh/.

445 lines of HTML from globalgrid2050, in 2 files. Topic: Websites and apps. Section 1897 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. Homepage Versions — GlobalGrid2050 Page render · globalgrid2050 / homepage_versions/202608291526-globalgrid2050/index.html lines 1–171
  2. Homepage Versions — Before Refresh Page render · globalgrid2050 / homepage_versions/20260922-before-refresh/index.html lines 1–274

Homepage Versions — GlobalGrid2050 Page

A web page covering solar, battery storage (BESS), the Renewable Energy Planning Database (REPD) register and cables, and uses data from the data-federation-map-for-GlobalGrid2050-all-repos, data-centres-GB and registry_of_all_content_in_repos_and_dependencies repositories. Published at https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/.

renderglobalgrid2050 / homepage_versions/202608291526-globalgrid2050/index.html · lines 1–171 of 171 · version 2026-08-29 15:26 · Entry point · pattern rowHtml (shared by 15 files)

What it does
It draws solar, battery storage (BESS), the REPD register and cables. Defines esc, rowHtml, build. Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage sub33kv_design (voltage levels 33kV (all 33kV or below)): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS), the REPD register, cables, 33kV. README: "Every other `name:` and `note:` string in the file is byte-identical, verified by comparison against `HEAD:index.html`: 185 strings before, 187 after, one removed and three added, and none of the removals is a name."
Inputs & outputs
In: form fields (user input). Out: web page. Voltage levels named: 33kV.
Downstream impact
It is itself an entry point, published at https://globalgrid2050.com/homepage_versions/202608291526-globalgrid2050/.
What it achieves
It is built from the esc step (`esc`), the row HTML helper (`rowHtml`) and the build step (`build`). The README says: Every other `name:` and `note:` string in the file is byte-identical, verified by comparison against `HEAD:index.html`: 185 strings before, 187 after, one removed and three added, and none of the removals is a name. Its code works with 100 MW, 1 MW and 30 MW. It responds to input events.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · homepage_versions/202608291526-globalgrid2050 · page
Uses
GlobalGrid2050 — How to Work with GlobalGrid2050 Page (link), Spider Full Po Test (link), Data Centres GB — Index Page (link), Registry of All Content in Repos and Dependencies — Index Page (link), Reports — Studio Page (link), Federation Radial Uniform (estate URL), Solar Electrical Topology Analysis Engine Text Based — Index Page (estate URL), Solar Electrical Topology Analysis Engine Text Based — V7 Development Page (estate URL), and 5 more
Used by
none found
Produces
esc, rowHtml, build
Defines here
esc, rowHtml, build
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 homepage_versions/202608291526-globalgrid2050/index.html:1-171 · blob 0dc1acd0a39962a4d3e04be6d2e022fbe9435eb9 · GitHub at these lines
State
achieves: readme · context: readme_derived · stage: output · effects: dom · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
<!DOCTYPE html>
<html lang="en">
<head>
<base href="https://globalgrid2050.com/">
<meta name="gg2050-catalogue-generation" content="202608291526">
<meta charset="UTF-8">
<title>GlobalGrid2050</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
  :root { color-scheme: dark; }
  html { background:#000; }
  body { background:#000; color:#fff; font-family:Courier,monospace; padding:40px; max-width:900px; margin:0 auto; font-size:20px; line-height:1.6; }
  h1 { margin-top:0; }
  a { color:#66ccff; text-decoration:none; }
  a:hover { text-decoration:underline; }
  .dev-status { color:#ff3333; font-weight:bold; font-size:16px; }
  .live-status { color:#53ff4c; font-weight:bold; font-size:16px; }
  .primary-link { display:block; margin:30px 0 28px; padding:14px 0; border-top:1px solid #333; border-bottom:1px solid #333; color:#00ffff; font-weight:bold; font-size:28px; line-height:1.15; }
  .launch-flagship,.os-strip { display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; margin:10px 0 2px; padding:12px 0; border-bottom:1px solid #333; }
  .launch-flagship a,.os-strip a { color:#00ffff; font-weight:bold; font-size:28px; line-height:1.15; text-decoration:none; }
  .os-strip { margin-top:0; }
  .os-strip a { font-size:22px; }
  #gridSearch { width:100%; padding:12px; background:#111; color:#fff; border:1px solid #444; font-family:Courier,monospace; font-size:18px; margin-top:20px; margin-bottom:18px; box-sizing:border-box; }
  #gridSearch:focus { outline:none; border-color:#66ccff; }
  details.area,details.platform { border-bottom:1px solid #333; }
  details.area > summary,details.platform > summary { list-style:none; cursor:pointer; padding:14px 0; color:#00ffff; font-weight:bold; letter-spacing:.5px; }
  details.area > summary::-webkit-details-marker,details.platform > summary::-webkit-details-marker { display:none; }
  details.area > summary::before,details.platform > summary::before { content:"[+] "; color:#00ffff; }
  details.area[open] > summary::before,details.platform[open] > summary::before { content:"[−] "; }
  details.area > summary:hover,details.platform > summary:hover { color:#66ffff; }
  .platform-body { padding:2px 0 18px; }
  ul.drawer { list-style:none; margin:0 0 10px; padding:0; }
  ul.drawer li { padding:10px 0 10px 28px; border-top:1px solid #1c1c1c; }
  .noresult { color:#888; padding:20px 0; }
  .footer { margin-top:60px; font-size:16px; color:#aaa; line-height:1.5; }
  @media(max-width:600px){ body{padding:25px;font-size:18px}.footer{font-size:14px}ul.drawer li{padding-left:20px}.launch-flagship a{font-size:26px}.os-strip a{font-size:20px}.primary-link{font-size:24px} }
</style>
</head>
<body>
<header>
  <h1>GlobalGrid2050</h1>
  <p>An open grid development, engineering, procurement, construction and operations platform dedicated to documenting, analysing and improving the world's electrical energy systems as they undergo rapid electrification.</p>
</header>
<main>
  <a class="primary-link" href="./how_to_work_with_globalgrid2050/">How to Work with GlobalGrid2050</a>
  <details class="platform" open>
    <summary>The Platform</summary>
    <div class="platform-body">
      <div class="launch-flagship"><a href="https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/spider_full_po_test.html">The Spider 🕷 — Dependency Map</a><span class="live-status">latest dependency view · live</span></div>
      <div class="os-strip"><a href="https://ventusltd.github.io/data-centres-gb/">Data Centres GB — Electricity Demand Intelligence</a><span class="live-status">independent repository · open development</span></div>
      <div class="os-strip"><a href="https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/">Registry Dashboard</a><span class="live-status">BIOS / Kernel</span></div>
      <div class="os-strip"><a href="https://ventusltd.github.io/reports/studio/">Reports Dashboard</a><span class="dev-status">Save As / evidence layer</span></div>
      <input type="text" id="gridSearch" placeholder="Search everything..." autocomplete="off">
      <div id="menu"></div>
    </div>
  </details>
</main>
<div class="footer"><p><strong>Disclaimer:</strong> Content provided for general technical documentation and research purposes only.</p></div>
<script>
const AREAS = [
  { name:"GlobalGrid2050 OS & Federation", children:[
    { name:"Registry Dashboard, BIOS and Kernel", url:"https://ventusltd.github.io/registry_of_all_content_in_repos_and_dependencies/", note:"live" },
    { name:"Reports Dashboard, Save As and Evidence Layer", url:"https://ventusltd.github.io/reports/studio/", note:"new" },
    { name:"The Spider Dependency Map, latest full PO test", url:"https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/spider_full_po_test.html", note:"latest dependency area" },
    { name:"Spider Printer V1", url:"https://ventusltd.github.io/spiders/spider_printer_v1/", note:"printer" },
    { name:"Federation Radial Uniform Print View", url:"https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/federation_radial_uniform.html", note:"current print view" }
  ]},
  { name:"Solar & BESS Topology", children:[
    { name:"BESS GIS SLD Financial Sandbox V8", url:"./solar-bess-topology-v8/bess-gis-sld-financial-sandbox/index.html", note:"in development" },
    { name:"Cable Geometry Visualiser V5", url:"./solar-bess-topology-v5/cable-geometry-visualiser-v5.html" },
    { name:"DC AC LV Solar PV Cable Topology Review V5", url:"./solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html" },
    { name:"GIS SLD Financial Sandbox V2", url:"./solar-bess-topology-v2/indexforgis-sld-v2.html" },
    { name:"GIS SLD Financial Sandbox V4", url:"./solar-bess-topology-v4/indexforgis-sld-v4.html" },
    { name:"GIS SLD Financial Sandbox V5", url:"./solar-bess-topology-v5/indexforgis-sld-v5.html" },
    { name:"GIS SLD Topology Engine And Financial Sandbox", url:"./solar-bess-topology/indexforgis-sld.html" },
    { name:"Physical Solar Module Layout V5", url:"./solar-bess-topology-v5/module-layout-v5.html" },
    { name:"Solar BESS Topology V6 Testing Phase", url:"./solar-bess-topology-v6/" },
    { name:"Solar BESS Topology V7 Workspace", url:"./solar-bess-topology-v7/" },
    { name:"Solar DC String Topology Engine V6", url:"https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/", note:"in development" },
    { name:"Solar DC String Topology Engine V7 Independent Workspace", url:"https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v7-development/", note:"independent development" },
    { name:"Solar DC String Topology Engine V8 Leapfrog Comparison", url:"https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/", note:"independent development · use at your own risk" },
    { name:"Solar DC String Topology Engine V9 East-West Inverter Block", url:"https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v9-sandbox/", note:"live development · use at your own risk" },
    { name:"Ventus DC String Engine V10 — Laboratory Workbench", url:"https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/", note:"historical laboratory development · not V11" },
    { name:"Ventus DC String Engine V11 — Live Build Monitor", url:"./v11/", note:"live PR 3 · active feature branch" }
  ]},
  { name:"UK Grid Tracking", children:[
    { name:"UK Live Grid Tracker, Electricity, Carbon, Oil and Metals", url:"./uk_energy_tracking/" },
    { name:"UK Live Grid Tracker V2, Transport Energy Test Clone", url:"./uk_energy_tracking_v2/" },
    { name:"UK Live Grid Tracker V3, Experimental Intelligence Lab", url:"./uk_energy_tracking_v3/" },
    { name:"UK Live Grid Tracker V5, Electricity Market Intelligence Machine", url:"./uk_energy_tracking_v5/", note:"in development" },
    { name:"UK Live Grid Tracker V6, Modular Electricity Market Intelligence Machine", url:"./uk_energy_tracking_v6/", note:"modular development" },
    { name:"UK Generation History V6 Module", url:"./uk_energy_tracking_v6/generation_history/", note:"in development" },
    { name:"UK Generation History V6 2 Backup Mirror", url:"./uk_energy_tracking_v6_2/generation_history/", note:"BACKUP" },
    { name:"UK Energy Atlas Grid Overlay V8", url:"./repd_grid_atlasv8/" },
    { name:"UK Grid Atlas V9 — 202608291239", url:"https://ventusltd.github.io/gridatlas/202608291239-atlas-v9/", note:"LIVE VERIFIED · immutable timestamped release · official REPD address/postcode search · repd_ref deep links · V8 preserved" },
    { name:"UK Macro Energy Consumption Trends ONS", url:"./uk_macro_energy_trends/" },
    { name:"UK Renewables Pipeline Analytics Dashboard V1", url:"./uk_renewables_pipeline/dashboard.html", note:"legacy · unchanged" },
    { name:"UK Renewables Pipeline Analytics Dashboard V2", url:"./uk_renewables_pipeline/dashboard_v2_2026-08-22.html", note:"previous version · 22 Aug 2026" },
    { name:"UK Renewables Pipeline Analytics Dashboard V3", url:"./uk_renewables_pipeline/dashboard_v3_live_2026-08-22.html", note:"previous live · 22 Aug 2026" },
    { name:"UK Renewables Pipeline Analytics Dashboard V4", url:"./uk_renewables_pipeline/dashboard_v4_live.html", note:"previous live · REPD + auto major-news feed · solar ≥30MW · BESS ≥100MW" },
    { name:"UK Solar + Storage Daily V5", url:"./uk_renewables_pipeline/dashboard_v5_live.html", note:"previous live · daily newspaper · solar >49MWp · BESS >100MW" },
    { name:"UK Solar + Storage Daily V6", url:"./uk_renewables_pipeline/dashboard_v6_live.html", note:"DESNZ Q2 2026 validated snapshot · solar >1MW · BESS >100MW · canonical GlobalGrid/REPD IDs" },
    { name:"UK Solar + Storage Daily V7", url:"./uk_renewables_pipeline/v7/", note:"LIVE MVP · wholesale V5 baseline · V6 refinements pending" },
    { name:"UK Renewables Pipeline V9.3.1", url:"./uk_renewables_pipeline/v9/", note:"V9.3.1 LIVE · frozen app · official REPD/GlobalGrid references · REPD update-date sorting · 7,680 records" },
    { name:"UK Renewables Pipeline V9.4", url:"./uk_renewables_pipeline/v9.4/", note:"LIVE · click REPD UPDATED header to toggle newest/oldest · separate app" },
    { name:"UK Renewables Pipeline V9.5", url:"./uk_renewables_pipeline/v9.5/", note:"LIVE · canonical REPD Ref news binder · measured recall guards · separate app" },
    { name:"UK Renewables Pipeline V9.5.1", url:"./uk_renewables_pipeline/v9.5.1/", note:"LIVE · full 133-headline newspaper · 45 canonical REPD matches · functional RELEVANT filter" },
    { name:"UK Renewables Pipeline V9.6", url:"./uk_renewables_pipeline/v9.6/", note:"DISCONTINUED · broken mobile release · do not use" },
    { name:"UK Renewables Pipeline V9.6.1", url:"./uk_renewables_pipeline/v9.6.1/", note:"FROZEN PREVIOUS APP · V9.5.1 runtime · mobile table scroll repair only" },
    { name:"UK Renewables Pipeline V9.6.2", url:"./uk_renewables_pipeline/v9.6.2/", note:"LIVE VALIDATED · canonical UK news plus separate international, US and Europe solar/storage views" },
    { name:"UK Renewables Pipeline V9.7", url:"./uk_renewables_pipeline/v9.7/", note:"CANDIDATE · build-time regional classifier · published 133-item decision ledger · V9.6.2 project/mobile runtime frozen" },
    { name:"UK Renewables Pipeline News V1", url:"https://ventusltd.github.io/pipelinenews/newsv1/", note:"FROZEN APP · Pipeline News repository · V9.7-parity performance rebuild" },
    { name:"UK Renewables Pipeline News V7", url:"https://ventusltd.github.io/pipelinenews/newsv7/", note:"NEW CUMULATIVE APP · V9.7 baseline · NewsV2–NewsV6 governed intelligence · fail-closed evidence" },
    { name:"Pipeline News — 202608260159", url:"https://ventusltd.github.io/pipelinenews/202608260159-pipelinenews/", note:"CURRENT · exact V9.6.2 interface copy · 7,680 projects · desktop/mobile and committed/live byte proof verified" },
    { name:"Pipeline News — 202608271524 V8 Fast Candidate", url:"https://ventusltd.github.io/pipelinenews/releases/202608271524-v8-fast-candidate.html", note:"PUBLISHED CANDIDATE · immutable live bytes verified · 7,680 projects · 136 headlines · chronology and Atlas V8 links · mobile remediation pending" },
    { name:"Solar Deployment Statistics", url:"./solar_deployment_statistics/" }
  ]},
  { name:"Data Centres & Digital Infrastructure", children:[
    { name:"Data Centres GB — Electricity Demand Intelligence", url:"https://ventusltd.github.io/data-centres-gb/", note:"independent open-source workstream" },
    { name:"Data Centres GB Repository", url:"https://github.com/Ventusltd/data-centres-gb", note:"source and API development" },
    { name:"Data Centres GB Open API", url:"https://github.com/Ventusltd/data-centres-gb/blob/main/app.py", note:"experimental source-separated adapter" }
  ]},
  { name:"Cables & Conductors", children:[
    { name:"AC Cables Knowledge", url:"./ac_cables_knowledge/" },
    { name:"DC Cables Knowledge", url:"./dc_cables_knowledge/" },
    { name:"Conductor Resistances", url:"./conductor_resistances/" }
  ]},
  { name:"Pricing & Materials", children:[
    { name:"33 kV UK DAP Price Estimator", url:"./33kv_uk_dap_price_estimator/" },
    { name:"LV AC and DC Distribution Cables Price Estimator", url:"./lv_ac_dc_price_estimator/" },
    { name:"Copper and Aluminium Historic Prices & Trends", url:"./copper_and_aluminium_prices_historic_trends/" }
  ]},
  { name:"Components", children:[
    { name:"MV and HV Components", url:"./mv_and_hv_components/" },
    { name:"Solar Components", url:"./solar_components/" }
  ]},
  { name:"Planning & Requirements", children:[
    { name:"NSIP Solar Farms", url:"./nsip_solar_farms/" },
    { name:"Grid Studies Public", url:"./data/grid_studies_public/" },
    { name:"Employer Requirements BESS Notes", url:"./employers_requirements_BESS/" },
    { name:"Employers Requirements Large Scale Solar", url:"./employers_requirments_large_scale_solar/" },
    { name:"Employer’s Competence Requirements: what is expected from the Employer towards drafting good ERs?", url:"./employers_competence/" }
  ]},
  { name:"Reference & Knowledge", children:[
    { name:"Definitions", url:"./definitions/" },
    { name:"Power Systems Studies", url:"./power_systems_studies/" },
    { name:"Single Line Diagrams And Grids", url:"./sld_single_diagrams_diagrams_and_grids/" }
  ]},
  { name:"Federation & Spider", children:[
    { name:"The Spider Dependency Map", url:"https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/spider_full_po_test.html", note:"latest" },
    { name:"Spider Printer V1", url:"https://ventusltd.github.io/spiders/spider_printer_v1/", note:"printer" },
    { name:"Federation Radial Uniform Print View", url:"https://ventusltd.github.io/data-federation-map-for-globalgrid2050-all-repos/dashboard/sandbox/federation_radial_uniform.html", note:"current print view" }
  ]},
  { name:"About & Media", children:[
    { name:"Why VENTUS Ltd Is Building GlobalGrid2050", url:"./why_ventusltd_building_globalgrid2050/" },
    { name:"Blog", url:"./blog/" },
    { name:"Podcast Transcripts", url:"./podcast_transcripts/" },
    { name:"Earth", url:"./marketing/earth.html" },
    { name:"Time Left Today, Hourglass to 2050", url:"./time_to_2050/" },
    { name:"NEW PENDING GlobalGrid2050 Homepage", url:"https://ventusltd.github.io/globalgrid2050-hompage/" }
  ]}
];
const esc=s=>String(s).replace(/[&<>"']/g,c=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[c]));
const menu=document.getElementById("menu");
function rowHtml(r){const note=r.note?` <span class="dev-status">(${esc(r.note)})</span>`:"";const key=(r.name+" "+(r.note||"")).toLowerCase();return `<li data-name="${esc(key)}"><a href="${encodeURI(r.url)}">${esc(r.name)}</a>${note}</li>`;}
function build(){let html="";for(const a of AREAS){const rows=a.children.map(rowHtml).join("");html+=`<details class="area" data-name="${esc(a.name.toLowerCase())}"><summary>${esc(a.name)}</summary><ul class="drawer">${rows}</ul></details>`;}html+=`<p class="noresult" id="noresult" style="display:none">No match.</p>`;menu.innerHTML=html;}
function applySearch(raw){const q=raw.trim().toLowerCase();let anyVisible=false;if(q)document.querySelector("details.platform").open=true;document.querySelectorAll("details.area").forEach(d=>{const areaMatch=!!q&&d.dataset.name.includes(q);let childMatch=false;d.querySelectorAll("li").forEach(li=>{const liMatch=li.dataset.name.includes(q);const show=!q||areaMatch||liMatch;li.style.display=show?"":  … [line shortened here: 639 characters; full line on GitHub]
build();document.getElementById("gridSearch").addEventListener("input",e=>applySearch(e.target.value));
</script>
</body>
</html>

Homepage Versions — Before Refresh Page

A web page in GlobalGrid2050 that draws homepage catalogue and cables, using IEC 60909 and IEC 60228, and uses data from the GridAtlas, ventus-grid-engine and stars repositories. Published at https://globalgrid2050.com/homepage_versions/20260922-before-refresh/.

renderglobalgrid2050 / homepage_versions/20260922-before-refresh/index.html · lines 1–274 of 274 · version 2026-09-22 · Entry point · pattern browsing (shared by 28 files)

What it does
It draws homepage catalogue, cables, solar and substations. Defines 8 functions or classes, including esc, rowsFor, passes, sortRows, row. Side effects: changes the web page (DOM); makes network requests.
Why it exists in the grid workflow
Domain terms in the code: cables, solar, substations, 400kV, 132kV, 33kV. README: "Every other `name:` and `note:` string in the file is byte-identical, verified by comparison against `HEAD:index.html`: 185 strings before, 187 after, one removed and three added, and none of the removals is a name."
Inputs & outputs
In: data source: gridatlas data; data source: ventus-grid-engine data; data source: stars data; data source: galaxies-wafers data; JSON file homepage-catalogue.json; form fields (user input). Out: web page. Voltage levels named: 400kV, 132kV, 33kV.
Downstream impact
Used directly by 1 file: GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). Reached from 86 other entry points, including GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.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://globalgrid2050.com/homepage_versions/20260922-before-refresh/.
What it achieves
It sorts rows (`sortRows`) and is built from the esc step (`esc`) and the rows for helper (`rowsFor`). The README says: Every other `name:` and `note:` string in the file is byte-identical, verified by comparison against `HEAD:index.html`: 185 strings before, 187 after, one removed and three added, and none of the removals is a name. Its code works with 132 kV, 400 kV and 33 kV. It reads `./catalogue/homepage-catalogue.json`. It responds to click and input events.
Why it matters
Loaded by the GlobalGrid2050 Homepage Before Four Nests page at https://globalgrid2050.com/homepage-before-four-nests-20260925.html.
Application
globalgrid2050 · homepage_versions/20260922-before-refresh · page
Uses
Kuiper Grid — Drawing Page (link), Manual (link), GlobalGrid2050 — Plant Page (link), GlobalGrid2050 — Kuiper Grid Page (link), GlobalGrid2050 — Kuiper Page (link), GlobalGrid2050 — Compute Page (link), GlobalGrid2050 Historical Builds (link), GridAtlas — Atlas Page (link), and 39 more
Used by
linked from GlobalGrid2050 Homepage Before Four Nests (link)
Produces
esc, rowsFor, passes, sortRows, row, th, browsing, build
Defines here
esc, rowsFor, passes, sortRows, row, th, browsing, build
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 homepage_versions/20260922-before-refresh/index.html:1-274 · blob 9e9e5bf59f8761d9c60a19a82d02b6386f123a70 · GitHub at these lines
State
achieves: readme · context: readme_derived · stage: output · effects: dom, network · domain stage: unknown · users: none · canonical: production_core
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/">
<meta charset="UTF-8">
<link rel="icon" href="data:,">
<title>GlobalGrid2050</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
  :root { color-scheme: dark; }
  html { background:#000; }
  body { background:#000; color:#fff; font-family:Courier,monospace; padding:40px; max-width:980px; margin:0 auto; font-size:20px; line-height:1.6; }
  h1 { margin:0 0 6px; }
  a { color:#66ccff; text-decoration:none; }
  a:hover { text-decoration:underline; }
  .lede { color:#aaa; font-size:16px; margin:0 0 22px; }
  #q { width:100%; padding:12px; background:#111; color:#fff; border:1px solid #444; font-family:Courier,monospace; font-size:18px; margin:6px 0 10px; box-sizing:border-box; }
  #q:focus { outline:none; border-color:#66ccff; }
  .controls { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin:0 0 18px; font-size:14px; }
  .controls button, .controls select { background:#000; color:#aab3bf; border:1px solid #343b45; padding:7px 10px; font:700 12px Courier,monospace; cursor:pointer; text-transform:uppercase; }
  .controls button.on, .controls button:hover, .controls select:hover { border-color:#00ffff; color:#00ffff; }
  .controls .count { margin-left:auto; color:#7a7a7a; }
  details.area { border-bottom:1px solid #333; }
  details.area > summary { list-style:none; cursor:pointer; padding:14px 0; color:#00ffff; font-weight:bold; letter-spacing:.5px; font-size:24px; }
  details.area > summary::-webkit-details-marker { display:none; }
  details.area > summary::before { content:"[+] "; }
  details.area[open] > summary::before { content:"[−] "; }
  details.area > summary:hover { color:#66ffff; }
  .current { display:block; margin:4px 0 14px; padding:12px 0; border-top:1px solid #333; border-bottom:1px solid #333; color:#00ffff; font-weight:bold; font-size:26px; line-height:1.15; }
  .current small { display:block; color:#53ff4c; font-size:14px; font-weight:bold; margin-top:4px; }
  .tablewrap { overflow-x:auto; -webkit-overflow-scrolling:touch; margin:0 0 10px; }
  table { width:100%; border-collapse:collapse; font-size:14px; min-width:760px; }
  th { text-align:left; color:#00ffff; padding:8px 10px; border-bottom:1px solid #333; cursor:pointer; white-space:nowrap; user-select:none; }
  th[data-sort]:hover { color:#66ffff; }
  th .dir { color:#7a7a7a; }
  td { padding:8px 10px; border-bottom:1px solid #1c1c1c; vertical-align:top; overflow-wrap:anywhere; }
  td.name a { color:#66ccff; font-weight:bold; }
  td.name .title { display:block; color:#aaa; font-size:12px; }
  .status-current { color:#53ff4c; font-weight:bold; } .status-test { color:#ffbe45; } .status-archived, .status-live { color:#7a7a7a; }
  code { color:#9aa3af; font-size:12px; }
  .more { background:#000; color:#aab3bf; border:1px solid #343b45; padding:8px 14px; font:700 12px Courier,monospace; cursor:pointer; margin:0 0 18px; text-transform:uppercase; }
  .more:hover { border-color:#00ffff; color:#00ffff; }
  .noresult { color:#888; padding:20px 0; }
  .footer { margin-top:50px; font-size:14px; color:#aaa; line-height:1.5; }
  .compute { margin-top:18px; padding-top:14px; border-top:1px solid #1f2a20;
    color:#4ade80; font-size:13px; line-height:1.6; }
  .compute strong { color:#86efac; font-weight:600; }
  .compute .figs { color:#34d399; font-variant-numeric:tabular-nums; }
  .compute a { color:#4ade80; text-decoration:underline; }
  .compute .cond { color:#3f9c6a; font-size:12px; }
  .footer a { color:#5a5a5a; }
  details.nest { margin:0 0 14px 18px; border-bottom:0; } details.nest > summary { font-size:18px; padding:8px 0; } details.nest .current { font-size:18px; margin:0; padding:8px 0; border-top:0; } details.nest .current small { font-size:13px; font-weight:normal; }

  /* THE DOORS. Static bytes, no JavaScript, no fetch. Everything below this
     block is drawn by script from a 289 KB catalogue; until 21 September 2026
     that meant the served HTML contained no link to the work at all, so a
     scraper, a link preview or a reader with script disabled saw an empty
     page. A door costs nothing and survives a failed fetch. */
  nav.doors { margin: 0 0 26px; border-top: 1px solid #333; border-bottom: 1px solid #333; padding: 6px 0 10px; }
  nav.doors h2 { font-size: 15px; color: #00ffff; letter-spacing: .5px; margin: 12px 0 8px; text-transform: uppercase; }
  nav.doors a { display: block; font-size: 19px; font-weight: bold; color: #66ccff; padding: 7px 0; border-bottom: 1px solid #1c1c1c; }
  nav.doors a small { display: block; color: #9aa3af; font-size: 13px; font-weight: normal; margin-top: 2px; }
  nav.doors p.note { color: #8a8a8a; font-size: 13px; margin: 10px 0 0; }
@media(max-width:600px){ body{padding:22px;font-size:18px} details.area>summary{font-size:22px} .current{font-size:22px} }
  .working-release { margin:0 0 24px; padding:16px 20px; border:1px solid #53ff4c; background:#07130b; color:#53ff4c; font-family:"Courier New",monospace; }
  .working-release > summary { color:#53ff4c; margin:0 0 6px; font-size:20px; line-height:1.35; letter-spacing:.06em; }
  .working-release p { margin:4px 0 10px; font-size:13px; }
  .working-release a { display:block; color:#53ff4c; padding:7px 0; font-size:18px; font-weight:bold; }
  .working-release a.older { color:#53ff4c; font-size:13px; font-weight:normal; }
  details.working-release > summary, details.working-release > summary:hover { color:#53ff4c; }
</style>
</head>
<body>
<header>
  <h1>GlobalGrid2050</h1>
  <p>An open grid development, engineering, procurement, construction and operations platform dedicated to documenting, analysing and improving the world's electrical energy systems as they undergo rapid electrification.</p>
</header>
<details id="current-working-release" class="area working-release" open>
  <summary id="working-release-title">VENTUS WIRING &mdash; CURRENT WORKING RELEASE</summary>
  <p>20260922-A &middot; Simulation environment &middot; NOT A REAL DESIGN</p>
  <a href="/ventus/wiring/inverter-48.html">&rarr; OPEN DC WIRING &mdash; 24 strings / 48 cables</a>
  <a href="/ventus/wiring/inverter-station.html">&rarr; OPEN AC LV &mdash; 28 inverters / 2 transformer sections</a>
  <a class="older" href="/kuiper-grid/drawing/">Older version: solar array drawing</a>
</details>
<nav class="doors">
  <h2>Start here</h2>
  <a href="/kuiper-grid/manual.html">The manual &mdash; read this first
    <small>What the Kuiper is, what to type, what the answer means, and what it refuses. Worked examples you can paste.</small></a>
  <a href="/plant/">Will this string go over 1500&nbsp;V on the coldest morning?
    <small>Type a module class, a count in series and a site minimum temperature. It answers in volts, or it refuses.</small></a>
  <a href="/kuiper-grid/">The Kuiper &mdash; the grid as a map
    <small>Every development build, newest first: the network as a transit map, one substation and every way out, the solar string picture.</small></a>
  <a href="/kuiper/">The Kuiper work browser
    <small>The permanent address. One frozen shell and hashed cartridges; it refuses to run anything whose bytes do not match the record.</small></a>
  <a href="/compute/">Independent compute
    <small>The method behind the figures on this page, and the solar block models.</small></a>
  <a href="/historical_builds.html">Full archive
    <small>Every build ever published, as a plain list.</small></a>
  <p class="note">Provided as is, without warranty of any kind. A chart, not a design. Nothing here is a connection assessment, a constructability assessment or a consenting design, and no output of it is engineering.</p>
  <noscript><p class="note">The searchable catalogue below this block is drawn by script. With script off, the six links above are the whole site's front doors and each one works.</p></noscript>
</nav>

<main>
  <input type="text" id="q" placeholder="Search everything… (name, stamp, commit)" autocomplete="off">
  <div class="controls">
    <span class="count" id="count"></span>
  </div>
  <div id="menu"></div>
</main>
<div class="footer">
  <p><strong>Disclaimer:</strong> Content provided for general technical documentation and research purposes only.</p>
  <p><a href="./historical_builds.html">Full archive</a></p>
  <div class="compute">
    <p><strong>GlobalGrid2050 explores current technology with Claude and Codex AI,
    and actively studies <a href="https://github.com/cupy/cupy">CuPy</a> for faster
    independent compute on local machines.</strong> The engineering arithmetic on this
    site is enumerated on our own hardware rather than estimated, and no result is
    published until it has been verified against a reference implementation.</p>
    <p class="figs">Taken on one machine, 20 September 2026 &mdash; a complete solar
    string-and-block design space of <strong>1,020,600,000</strong> designs:
    <strong>177,289,777</strong> cases/s on the GPU with CuPy against
    <strong>12,767,553</strong> cases/s on twelve CPU workers, a <strong>13.89&times;</strong>
    difference, the billion run in <strong>5.6 s</strong>. A second kernel reached
    <strong>306,440,267</strong> cases/s, <strong>40.82&times;</strong> its CPU reference.
    Verification: 100,000 cases on a coprime stride, <strong>0 differ</strong> between the
    scalar reference, the CPU vectorisation and the GPU, worst relative difference
    0.00e+00 against a 1e-9 tolerance.</p>
    <p class="cond">Conditions, because a rate without them is not evidence: one
    machine, one 16 GB card that was shared with other work during the runs, single
    and double precision both checked and agreeing on every verdict. CPU watts were
    never recorded &mdash; no wall meter, no RAPL read &mdash; so no efficiency ratio
    between processor and card is stated here or anywhere else in this work. A claim
    of &ldquo;tens of millions a second&rdquo; for a third kernel was tested and
    <em>not</em> reached, falling 3.0&times; short; it is recorded as not reached.
    Method, figures and the solar block models: <a href="./compute/">Independent compute</a> &middot; code at <a href="https://github.com/Ventusltd/gpu-drivers-for-global-grid">gpu-drivers-for-global-grid</a>.</p>
  </div>
</div>
<script>
/* THREE NESTS, THREE ROWS EACH, EVERYTHING ELSE ON DEMAND.
 *
 * The data is ./catalogue/homepage-catalogue.json, generated - never typed -
 * from the tree and git. The page is a VIEW over it: the nest headline is the
 * one current release, the table beneath shows the three newest rows, and the
 * rest are behind "show more" and the search. At 409 rows or a million, the DOM
 * only ever carries what is on screen; filtering and sorting happen on the
 * array. The same slice-the-view-never-the-data rule as Pipeline News.
 *
 * Columns: stamp-name (yyyymmddhhmm-name-of-the-project, UTC) · status ·
 * commit · barcode. There is no agent column: a version is identified by its
 * UTC stamp-name and its git tree hash, and which agent cut it is not part of
 * that identity. It was drawing attention away from both references, so it is
 * off the page - the agent fields stay in the catalogue and stay searchable. The barcode is the git tree hash, `git rev-parse
 * HEAD:<path>`: a content address that changes if and only if the version
 * changes - the same role the REPD REF plays for a project in Pipeline News.
 * It is what every runner pins, so a CI pin is copied from the table. */
const NESTS = [
  { key: "pipeline-news", title: "Pipeline News", families: ["pipeline-news"], testProject: "test-code-pipeline-news" },
  { key: "grid-atlas",    title: "Grid Atlas",    families: ["grid-atlas"],    testProject: "test-code-grid-atlas" },
  { key: "about-media",   title: "About & Media", families: ["about-media"],   testProject: null },
];
const PAGE = 3;
const state = { q: "", agent: "", status: "", sort: { key: "stamp", dir: -1 }, open: {} };
let ALL = [];
const esc = s => String(s ?? "").replace(/[&<>"']/g, c => ({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[c]));

function rowsFor(nest) {
  return ALL.filter(e => nest.families.includes(e.family) || (nest.testProject && e.project === nest.testProject) || (nest.key === "grid-atlas" && e.project === "test-code-cable-geometry") || (nest.key === "about-media" && e.project === "test-code"));
}
function passes(e) {
  if (state.agent && (e.agent || "") !== state.agent) return false;
  if (state.status && (e.status || "") !== state.status) return false;
  if (state.q) {
    const hay = [e.id, e.title, e.agent, e.agent_source, e.commit, e.tree, e.family, e.status, e.kind].join(" ").toLowerCase();
    if (!hay.includes(state.q)) return false;
  }
  return true;
}
function sortRows(rows) {
  const { key, dir } = state.sort;
  return rows.slice().sort((a, b) => {
    const x = String(a[key] ?? ""), y = String(b[key] ?? "");
    if (x === y) return (b.stamp || "").localeCompare(a.stamp || "");
    return x < y ? -dir : dir;
  });
}
function row(e) {
  const tree = e.tree ? `<code title="${esc(e.tree)} — click to copy" data-copy="${esc(e.tree)}" style="cursor:copy">${esc(e.tree.slice(0, 12))}</code>` : `<code>—</code>`;
  const commit = e.commit ? `<code title="${esc(e.commit_full || e.commit)}">${esc(e.commit)}</code>` : `<code>—</code>`;
  return `<tr>
    <td class="name"><a href="${encodeURI(e.url)}">${esc(e.id)}</a><span class="title">${esc(e.title)}</span></td>
    <td class="status-${esc(e.status || "")}">${esc(e.status || "")}</td>
    <td>${commit}</td><td>${tree}</td></tr>`;
}
function th(label, key) {
  const on = state.sort.key === key;
  return `<th data-sort="${key}">${label} <span class="dir">${on ? (state.sort.dir < 0 ? "▼" : "▲") : "↕"}</span></th>`;
}
/* ARCHIVED, NOT DELETED.
 *
 * The owner asked for the site to be archived down to a search box and Pipeline
 * News. Archived is the operative word: the catalogue still carries all 400-odd
 * versions, the generator is untouched, and nothing has been removed from the
 * data. What changed is the VIEW - the same slice-the-view-never-the-data rule
 * the table has always followed.
 *
 * So Pipeline News is the page. Grid Atlas and About & Media are not shown
 * until the reader asks for them, and the moment anything is typed in the
 * search box or a filter is pressed, every nest returns and the search runs
 * across all of them. A homepage that hid its own history behind a link nobody
 * clicks would not be an archive, it would be a loss. */
const DEFAULT_NESTS = ["pipeline-news"];
function browsing() { return Boolean(state.q || state.agent || state.status); }

function build() {
  const menu = document.getElementById("menu");
  let html = "", total = 0, shown = 0;
  const nests = browsing() ? NESTS : NESTS.filter(n => DEFAULT_NESTS.includes(n.key));
  for (const nest of nests) {
    const all = rowsFor(nest);
    const current = all.find(e => e.status === "current");
    const rows = sortRows(all.filter(passes));
    total += rows.length;
    const limit = state.open[nest.key] ? rows.length : PAGE;
    const visible = rows.slice(0, limit); shown += visible.length;
    const head = current && !state.q && !state.agent && !state.status
      ? `<a class="current" href="${encodeURI(current.url)}">${esc(current.id)}</a>` : "";
    const table = rows.length ? `<div class="tablewrap"><table><thead><tr>${th("Version · UTC stamp-name", "id")}${th("Status", "status")}${th("Commit", "commit")}<th title="git rev-parse HEAD:&lt;path&gt; — a content address: it changes if and only if the version changes. The value every runner pins.">Barcode · git tree</th></tr></thead><tbody>${visible.map(row).join("")}</tbody></table></div>` :  … [line shortened here: 460 characters; full line on GitHub]
    const more = rows.length > PAGE ? `<button class="more" data-more="${nest.key}">${state.open[nest.key] ? "show 3" : `show all ${rows.length}`}</button>` : "";
    const open = browsing() ? " open" : "";
    /* JUST THE WORKING VERSION.
     *
     * The owner, after publishing 202609081016 on the offshore cable engine:
     * archive everything else, leave just this working version. So the default
     * view is the one current release and nothing beneath it - no table of older
     * releases, no show-all. Every one of them is still in the catalogue and
     * returns the moment anything is typed in the search or a filter is pressed;
     * the notice below says how many and how. Archived, not deleted. */
    const body = browsing() ? `${table}${more}` : "";
    const summary = browsing()
      ? `${esc(nest.title)} <span style="color:#7a7a7a;font-size:15px">(${rows.length})</span>`
      : esc(nest.title);
    html += `<details class="area"${open}><summary>${summary}</summary>${head}${body}</details>`;
  }
  /* Say what is being withheld and how to reach it, in the place the reader is
     already looking. An archive nobody can find is indistinguishable from a
     deletion. */
  if (!browsing()) {
    html += `<details class="area"><summary>Grid Atlas</summary><a class="current" href="https://ventusltd.github.io/gridatlas/atlas/">Grid Atlas</a></details>`;
    html += `<details class="area"><summary>Grid Engine</summary><details class="area nest"><summary>Sandbox</summary><a class="current" href="https://ventusltd.github.io/ventus-grid-engine/?graph=overview">Overview</a><a class="current" href="https://ventusltd.github.io/ventus-grid-engine/?graph=engine-graph">Module Map</a><a class="current" href="https://ventusltd.github.io/stars/table.html?bloc  … [line shortened here: 2,011 characters; full line on GitHub]
    html += `<details class="area"><summary>Integrated Development Environments</summary><details class="area nest"><summary>Energy Data</summary><a class="current" href="https://globalgrid2050.com/testcode/202609151428/">UK Renewables Project Register &middot; 202609151428</a><a class="current" href="https://globalgrid2050.com/testcode/202609150125/">Energy Demand by Sector &middot; 202609150125<  … [line shortened here: 1,850 characters; full line on GitHub]
    html += `<details class="area"><summary>Testcode</summary><details class="area nest"><summary>Code Wafer</summary><a class="current" href="https://globalgrid2050.com/testcode/202609160224/">GlobalGrid2050 code represented on a wafer &middot; 202609160224</a><a class="current" href="https://globalgrid2050.com/testcode/202609160207/">Line Wafer &middot; 202609160207</a></details></details>`;
    html += `<details class="area"><summary>The Translator of Systems</summary><details class="area nest"><summary>One wafer, every system</summary><a class="current" href="https://globalgrid2050.com/testcode/wafer-development-environment/202609192215-proof-s0004/">The real-systems wafer &middot; 202609180245</a><a class="current" href="https://globalgrid2050.com/testcode/wafer-development-environ  … [line shortened here: 2,949 characters; full line on GitHub]
    html += `<details class="area" open><summary>Kuiper<a class="current" href="/kuiper-grid/drawing/">Solar array drawing<small>Place modules, edit string wiring and explore a generic farm</small></a></summary><details class="area nest"><summary>Earlier examples, development builds and manual</summary><a class="current" href="/plant/">Earlier plant examples<small>Cold-morning string voltage examp  … [line shortened here: 1,198 characters; full line on GitHub]
    html += `<details class="area"><summary>Kuiper: proofs</summary><details class="area nest"><summary>Every line ever written, one wafer</summary><a class="current" href="https://globalgrid2050.com/testcode/wafer-development-environment/202609192238-proof-k0030/">202609192238-proof-k0030<small># Kuiper: the engineering behind this site, and the code behind any line of it</small></a><a class="cur  … [line shortened here: 6,613 characters; full line on GitHub]
    html += `<details class="area"><summary>Cable Cross-sections</summary><details class="area nest"><summary>Drawn on the wafer, layer by layer</summary><a class="current" href="https://globalgrid2050.com/testcode/wafer-development-environment/202609190330-cable-cross-sections/?draw=cable">Single core 800 mm&sup2; aluminium, 19/33 kV &middot; overall 63.0 mm</a><a class="current" href="https://gl  … [line shortened here: 4,071 characters; full line on GitHub]
  }
  menu.innerHTML = html;
  document.getElementById("count").textContent = browsing() ? `${shown} of ${total} shown` : "";
}
document.addEventListener("click", ev => {
  const c = ev.target.closest("[data-copy]");
  if (c && navigator.clipboard) { navigator.clipboard.writeText(c.dataset.copy); c.textContent = "copied"; setTimeout(() => { c.textContent = c.dataset.copy.slice(0, 12); }, 900); return; }
  const t = ev.target.closest("[data-more],[data-status],th[data-sort]");
  if (!t) return;
  if (t.dataset.more !== undefined) { state.open[t.dataset.more] = !state.open[t.dataset.more]; build(); }
  else if (t.dataset.status !== undefined) { state.status = t.dataset.status; document.querySelectorAll("[data-status]").forEach(b => b.classList.toggle("on", b === t)); build(); }
  else if (t.dataset.sort) { const k = t.dataset.sort; state.sort = { key: k, dir: state.sort.key === k ? -state.sort.dir : -1 }; build(); }
});
document.getElementById("q").addEventListener("input", e => { state.q = e.target.value.trim().toLowerCase(); build(); });
fetch("./catalogue/homepage-catalogue.json").then(r => r.json()).then(d => { ALL = d.entries; build(); })
  .catch(err => { document.getElementById("menu").innerHTML = `<p class="noresult">Catalogue unavailable: ${esc(err.message)}. <a href="./historical_builds.html">Full archive</a>.</p>`; });
</script>
</body>
</html>