GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Solar and storage design / globalgrid2050 / feature_requests/001_extract_v2_css/files/solar-bess-topology-v2

GIS Single-Line Diagram (SLD) V2 and 3 more files (part 1)

A style sheet in the feature requests folder of GlobalGrid2050 covering battery storage (BESS).

647 lines of CSS and JavaScript from globalgrid2050, in 4 files. Topic: Solar and storage design. Section 56 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. GIS Single-Line Diagram (SLD) V2 electrical · globalgrid2050 / feature_requests/001_extract_v2_css/files/solar-bess-topology-v2/gis-sld-v2.css lines 1–531
  2. GIS Single-Line Diagram (SLD) V2 Config electrical · globalgrid2050 / feature_requests/002_extract_v2_config/files/solar-bess-topology-v2/gis-sld-v2-config.js lines 1–24
  3. GIS Single-Line Diagram (SLD) V2 Helpers geodesy · globalgrid2050 / feature_requests/003_extract_v2_helpers/files/solar-bess-topology-v2/gis-sld-v2-helpers.js lines 1–75
  4. GIS Single-Line Diagram (SLD) V2 State electrical · globalgrid2050 / feature_requests/004_extract_v2_state/files/solar-bess-topology-v2/gis-sld-v2-state.js lines 1–17

GIS Single-Line Diagram (SLD) V2

A style sheet in the feature requests folder of GlobalGrid2050 covering battery storage (BESS).

Set aside from the main view: 95% of its lines are the same as solar-bess-topology-v4/gis-sld-v4.css (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 94% of lines shared with GIS Single-Line Diagram (SLD) V4; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.9484 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 solar-bess-topology-v4/gis-sld-v4.css:1-548 f18caa16bd7dec48a0e6a26b2a2abcba89060840
  • sha256 b1d7b95ce5ddaac280a61d44b24791be3aec0e3fd118ab7fc6c044b2759f1f80
  • target sha256 6f353755a42de4d5a57881943dd7b565ee32a2fe79c10ededcc1429e354337ae
  • group of 3 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines

electricalglobalgrid2050 / feature_requests/001_extract_v2_css/files/solar-bess-topology-v2/gis-sld-v2.css · lines 1–531 of 531 · Not reached from any entry point (candidate for review)

What it does
Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS).
What it achieves
No statement of purpose was found in the file, a README line naming it, or its name.
Why it matters
No other file in the estate was found to import it.
Application
globalgrid2050 · feature_requests/001_extract_v2_css/files/solar-bess-topology-v2 · style sheet
Uses
none found
Used by
none found
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
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 feature_requests/001_extract_v2_css/files/solar-bess-topology-v2/gis-sld-v2.css:1-531 · blob 31db4a0a02e40517e7bc78e72a02f2f5030c1e9d · GitHub at these lines
State
achieves: name · context: readme_derived · stage: output · effects: dom · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: unreached_review
:root {
  /* Backgrounds & UI */
  --bg: #050505;
  --panel: rgba(10, 10, 10, 0.96);
  --line: #2f343d;
  
  /* Typography & Accents */
  --text: #ffffff;
  --muted: #a6adbb;
  --accent: #00ffff;
  --accent-alt: #ff9900;
  
  /* Status & Specific Elements */
  --ok: #00ff88;
  --substation: #ff3333;
  --private-sub: #00ff88;
  --inverter: #ffff00;
  --mv: #6633ff;
  --bess: #ff00aa;
  --array-blue: #0066ff;
  --warn: #ff4444;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 20px;
  background: var(--bg);
  color: var(--text);
  font-family: "Courier New", monospace;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* Layout */
.dashboard {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 1600px;
  height: 100%;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.panel-left {
  width: 440px;
  padding: 20px;
  flex-shrink: 0;
  overflow-y: auto;
}

.panel-right {
  flex: 1 1 auto;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 400px;
}

/* Typography */
h2 {
  margin: 0 0 10px 0;
  color: var(--text);
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

h3 {
  margin: 15px 0 5px 0;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px dashed #333;
  padding-bottom: 3px;
}

/* Tabs */
.tab-container {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 15px;
}

.tab-btn {
  flex: 1;
  padding: 10px 5px;
  background: transparent;
  color: var(--muted);
  border: none;
  cursor: pointer;
  font-family: monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.2s;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  font-weight: bold;
  background: rgba(0, 255, 255, 0.05);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Inputs & Forms */
.input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.input-group input[type="text"], 
.input-group input[type="number"], 
.input-group select {
  width: 95px;
  background: #111;
  color: var(--accent);
  border: 1px solid #444;
  padding: 5px;
  text-align: right;
  border-radius: 3px;
  font-family: monospace;
  font-size: 11px;
}

.input-group input[type="text"] {
  text-align: left;
}

.input-group select {
  width: auto;
  min-width: 140px;
  text-align: left;
}

.tab-content#central_tab .input-group input[type="number"], 
.tab-content#central_tab .input-group select {
  color: var(--accent-alt);
}

.input-group input:focus, 
.input-group select:focus {
  border-color: var(--text);
  outline: none;
}

/* Search Box */
.search-box {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.search-box input {
  flex: 1;
  background: #111;
  color: #fff;
  border: 1px solid #444;
  padding: 8px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 12px;
}

.search-box button {
  background: #222;
  color: var(--text);
  border: 1px solid #555;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
  font-family: monospace;
  font-weight: bold;
}

.search-box button:hover {
  background: #444;
  color: #fff;
}

/* Stats */
.stat-box {
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid var(--accent);
  padding: 12px;
  border-radius: 3px;
  margin-top: 15px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 6px;
  color: var(--muted);
}

.stat-val {
  color: var(--text);
  font-weight: bold;
  text-align: right;
}

.stat-val.cyan {
  color: var(--accent);
  font-size: 13px;
}

.stat-val.orange {
  color: var(--accent-alt);
  font-size: 13px;
}

/* Finance Elements */
.finance-box {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--ok);
  border-radius: 3px;
  padding: 10px;
  margin-top: 15px;
}

.finance-box summary {
  color: var(--ok);
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.finance-headline {
  border: 1px solid #264d3a;
  padding: 10px;
  margin-bottom: 10px;
  background: rgba(0, 255, 136, 0.04);
}

.finance-box input[type="number"] {
  width: 95px;
  background: #111;
  color: var(--ok);
  border: 1px solid #444;
  padding: 5px;
  text-align: right;
  border-radius: 3px;
  font-family: monospace;
  font-size: 11px;
}

.finance-box input[type="checkbox"] {
  accent-color: var(--ok);
  cursor: pointer;
  margin: 0;
}

/* Messages & Notes */
.warning-box {
  color: #ffcc00;
  font-size: 10px;
  margin-top: 8px;
  line-height: 1.4;
}

.ux-note {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
  font-style: italic;
}

.benchmark-box {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid #444;
  border-radius: 3px;
  padding: 10px;
  margin-top: 15px;
}

.disclaimer-box {
  background: rgba(255, 68, 68, 0.05);
  border: 1px solid #ff4444;
  color: #ff9999;
  font-size: 10px;
  padding: 12px;
  border-radius: 3px;
  margin-top: 15px;
  line-height: 1.5;
  text-align: justify;
}

.explainer-box {
  background: rgba(0, 255, 255, 0.04);
  border: 1px solid var(--accent);
  color: var(--muted);
  font-size: 10px;
  padding: 12px;
  border-radius: 3px;
  margin-top: 15px;
  line-height: 1.55;
  text-align: justify;
}

.explainer-box strong {
  color: var(--text);
}

.explainer-box h3 {
  color: var(--accent);
  margin-top: 0;
}

/* Buttons */
.btn {
  padding: 10px;
  background: #000;
  color: var(--text);
  border: 1px solid #555;
  cursor: pointer;
  font-family: monospace;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px;
  margin-top: 10px;
  width: 100%;
  transition: 0.2s;
}

.btn:hover {
  background: #222;
  color: #fff;
}

.btn.draw-btn {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.btn.draw-btn.central {
  background: var(--accent-alt);
  border-color: var(--accent-alt);
}

.map-toggle-btn {
  background: rgba(5, 5, 5, 0.85);
  color: var(--muted);
  border: 1px solid #444;
  padding: 6px 12px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.map-toggle-btn:hover {
  background: #222;
  border-color: #888;
}

.map-toggle-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0, 255, 255, 0.05);
}

/* Map Elements */
#map {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  pointer-events: none;
  z-index: 10;
  text-shadow: 0 0 5px #000;
}

.legend {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 10px;
  font-size: 10px;
  z-index: 1;
  border-radius: 4px;
  pointer-events: none;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.swatch {
  width: 12px;
  height: 12px;
  border: 1px solid #666;
}

/* Maplibre Popups */
.maplibregl-popup-content {
  background: #111;
  color: #fff;
  border: 1px solid #444;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  padding: 12px;
  font-size: 11px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.maplibregl-popup-close-button {
  color: #888;
  padding: 4px;
}

.maplibregl-popup-close-button:hover {
  color: #fff;
}

.popup-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  border-bottom: 1px solid #222;
  padding-bottom: 2px;
  gap: 15px;
}

.popup-val {
  font-weight: bold;
  color: var(--accent);
}

/* Status Indicator */
#fetch_status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  background: rgba(5, 5, 5, 0.9);
  border: 1px solid #555;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 10px;
  color: var(--muted);
  display: none;
}

#fetch_status.error {
  color: #ff6666;
  border-color: #ff4444;
  display: block;
}

/* Responsive Design */
@media (max-width: 800px) {
  html, body {
    height: auto;
  }
  
  body {
    overflow: auto;
    padding: 10px;
  }
  
  .dashboard {
    flex-direction: column;
    height: auto;
  }
  
  .panel-left {
    width: 100%;
    max-height: none;
    flex-shrink: 0;
  }
  
  .panel-right {
    height: 60vh;
    flex-shrink: 0;
    min-height: 400px;
  }
}

GIS Single-Line Diagram (SLD) V2 Config

A JavaScript file in the feature requests folder of GlobalGrid2050 covering grid substations.

Set aside from the main view: Near copy of solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-config.js (globalgrid2050), which stays: reachable first, then the higher version. (near-copy-of, proposed by families.py). 90% of lines shared with GIS Single-Line Diagram (SLD) V5 Config; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.9 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 feature_requests/002_extract_v2_config/files/solar-bess-topology-v2/gis-sld-v2-config.js:1-24 16f6bd9326da4b37595e2387875688de764ea254
  • sha256 862bcda4bcde93c5e8517fc1adf09d5b12854e2d18489204a74cd442670fddda
  • target sha256 65b623d4bf62135a3f36e5c0ead7648018db95602b369dfb519cc19542ab22c6
  • group of 8 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines
  • re-pointed by apply.py version rule (was canonical)

electricalglobalgrid2050 / feature_requests/002_extract_v2_config/files/solar-bess-topology-v2/gis-sld-v2-config.js · lines 1–24 of 24 · Entry point

Why it exists in the grid workflow
Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
Downstream impact
Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V2 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html).
What it achieves
GIS SLD Financial Sandbox V2. Config extracted by GridBot feature 002.
Why it matters
Loaded by the Indexforgis Single-Line Diagram (SLD) V2 map page at https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html.
Application
globalgrid2050 · feature_requests/002_extract_v2_config/files/solar-bess-topology-v2 · script
Uses
none found
Used by
loaded by Indexforgis Single-Line Diagram (SLD) V2 (script src)
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
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 feature_requests/002_extract_v2_config/files/solar-bess-topology-v2/gis-sld-v2-config.js:1-24 · blob 16f6bd9326da4b37595e2387875688de764ea254 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
"use strict";

// GIS SLD Financial Sandbox V2
// Config extracted by GridBot feature 002.
// TODO: migrate config into the shared GISSLD namespace at feature 007.

const SUBSTATIONS_URL = "/grid_substations.geojson";

const CONSTANTS = {
    M2_PER_ACRE: 4046.86,
    BESS_M2_PER_MWH: 85,
    BESS_ASPECT: 2.5,
    BLOCK_SPACING_KM: 0.01,
    BOUNDARY_BUFFER_KM: 0.02,
    ARRAY_OFFSET_KM: 0.2,
    DEFAULT_CENTER: [-0.1276, 51.5072],
    DEFAULT_ZOOM: 13,
    RECALC_DEBOUNCE_MS: 80,
    BIFACIAL_BY_GCR: { "0.35": 8, "0.45": 5, "0.75": 2 },
    LOGISTICS_PRESETS: {
        high_density: { pallet: 33, container: 594 },
        legacy: { pallet: 31, container: 620 }
    }
};

GIS Single-Line Diagram (SLD) V2 Helpers

A JavaScript file in the feature requests folder of GlobalGrid2050 that sets class (`setClass`), picks prop (`pickProp`) and sets fetch status (`setFetchStatus`).

Set aside from the main view: Near copy of solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-helpers.js (globalgrid2050), which stays: reachable first, then the higher version. (near-copy-of, proposed by families.py). 91% of lines shared with GIS Single-Line Diagram (SLD) V5 Helpers; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.913 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 feature_requests/003_extract_v2_helpers/files/solar-bess-topology-v2/gis-sld-v2-helpers.js:1-75 3fe3702efbfab7b20e83e2e2f8113e55b3da2324
  • sha256 7a0895234b75b08d8530099601d462431f552bd56548ef5758c16761b02d958a
  • target sha256 ecacdadc1dcdda92a551a0ec31344c4b9cb96958f8e35bf92a2896355fdd49b6
  • group of 6 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines
  • re-pointed by apply.py version rule (was canonical)

geodesyglobalgrid2050 / feature_requests/003_extract_v2_helpers/files/solar-bess-topology-v2/gis-sld-v2-helpers.js · lines 1–75 of 75 · Entry point · pattern setFetchStatus (shared by 7 files)

What it does
Defines 11 functions or classes, including $, num, intVal, checked, setText. Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
Downstream impact
Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V2 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html).
What it achieves
It sets text (`setText`), sets class (`setClass`) and picks prop (`pickProp`). GIS SLD Financial Sandbox V2. Helpers extracted by GridBot feature 003.
Why it matters
Loaded by the Indexforgis Single-Line Diagram (SLD) V2 map page at https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html.
Application
globalgrid2050 · feature_requests/003_extract_v2_helpers/files/solar-bess-topology-v2 · script
Uses
none found
Used by
loaded by Indexforgis Single-Line Diagram (SLD) V2 (script src)
Produces
$, num, intVal, checked, setText, setClass, money, debounce, isValidLngLat, pickProp, setFetchStatus
Defines here
$, num, intVal, checked, setText, setClass, money, debounce, isValidLngLat, pickProp, setFetchStatus
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 feature_requests/003_extract_v2_helpers/files/solar-bess-topology-v2/gis-sld-v2-helpers.js:1-75 · blob 3fe3702efbfab7b20e83e2e2f8113e55b3da2324 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
"use strict";

// GIS SLD Financial Sandbox V2
// Helpers extracted by GridBot feature 003.
// Must load after gis-sld-v2-config.js and before the inline app script.

const $ = (id) => document.getElementById(id);

const num = (id) => {
    const el = $(id);
    return el ? (parseFloat(el.value) || 0) : 0;
};

const intVal = (id, fallback = 0) => {
    const el = $(id);
    return el ? (parseInt(el.value, 10) || fallback) : fallback;
};

const checked = (id) => {
    const el = $(id);
    return el ? !!el.checked : false;
};

const setText = (id, val) => {
    const el = $(id);
    if (el) el.textContent = val;
};

const setClass = (id, cls) => {
    const el = $(id);
    if (el) el.className = cls;
};

function money(v) {
    const rounded = Math.round(v);
    if (rounded < 0) return "-£" + Math.abs(rounded).toLocaleString();
    return "£" + rounded.toLocaleString();
}

function debounce(fn, ms) {
    let t = null;
    return function(...args) {
        clearTimeout(t);
        t = setTimeout(() => fn.apply(this, args), ms);
    };
}

function isValidLngLat(c) {
    return Array.isArray(c) && c.length >= 2
        && Number.isFinite(+c[0]) && Number.isFinite(+c[1])
        && +c[0] >= -180 && +c[0] <= 180 && +c[1] >= -90 && +c[1] <= 90;
}

function pickProp(obj, keys, fallback = null) {
    for (const k of keys) {
        if (obj && obj[k] !== undefined && obj[k] !== null && obj[k] !== "") return obj[k];
    }
    return fallback;
}

function setFetchStatus(msg, isError) {
    const el = $("fetch_status");
    if (!el) return;

    if (!msg) {
        el.style.display = "none";
        el.textContent = "";
        el.classList.remove("error");
        return;
    }

    el.textContent = msg;
    el.style.display = "block";
    el.classList.toggle("error", !!isError);
}

GIS Single-Line Diagram (SLD) V2 State

A JavaScript file in the feature requests folder of GlobalGrid2050.

electricalglobalgrid2050 / feature_requests/004_extract_v2_state/files/solar-bess-topology-v2/gis-sld-v2-state.js · lines 1–17 of 17 · Entry point

Why it exists in the grid workflow
Domain stage sub33kv_design (path word 'bess'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
Downstream impact
Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V2 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html).
What it achieves
GIS SLD Financial Sandbox V2. State extracted by GridBot feature 004.
Why it matters
Loaded by the Indexforgis Single-Line Diagram (SLD) V2 map page at https://globalgrid2050.com/solar-bess-topology-v2/indexforgis-sld-v2.html.
Application
globalgrid2050 · feature_requests/004_extract_v2_state/files/solar-bess-topology-v2 · script
Uses
none found
Used by
loaded by Indexforgis Single-Line Diagram (SLD) V2 (script src)
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
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 feature_requests/004_extract_v2_state/files/solar-bess-topology-v2/gis-sld-v2-state.js:1-17 · blob db0e390ce16498731a607495e9b98abd5715524e · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
"use strict";

// GIS SLD Financial Sandbox V2
// State extracted by GridBot feature 004.
// Must load after config and helpers, and before the inline app script.

const state = {
    activeTab: "string",
    currentGeoJSON: { type: "FeatureCollection", features: [] },
    activeDrawCenter: null,
    selectedSubstation: null,
    subsVisible: true,
    satActive: false,
    activePopup: null,
    lastStats: null,
    lastFinance: { fin_string: null, fin_central: null }
};