GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Solar and storage design / globalgrid2050 / solar-bess-topology-v8/bess-gis-sld-financial-sandbox

GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology Page and 4 more files

A web page covering cables, 33kV, 132kV and solar, using BS EN 50618 and BS 7671, and uses data from UK Power Networks open data. Published at https://globalgrid2050.com/solar-bess-topology/.

700 lines of HTML and CSS from globalgrid2050, in 5 files. Topic: Solar and storage design. Section 114 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) V5 electrical · globalgrid2050 / solar-bess-topology-v8/bess-gis-sld-financial-sandbox/gis-sld-v5.css lines 1834–1967
  2. Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… render · globalgrid2050 / solar-bess-topology-v8/bess-gis-sld-financial-sandbox/index.html lines 1–153
  3. Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… render · globalgrid2050 / solar-bess-topology-v8/bess-pcs-standalone/index.html lines 1–13
  4. GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page render · globalgrid2050 / solar-bess-topology-v8/index.html lines 1–44
  5. GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology Page render · globalgrid2050 / solar-bess-topology/index.html lines 1–356

GIS Single-Line Diagram (SLD) V5

A style sheet in GlobalGrid2050 covering battery storage (BESS), solar, substations and wind. Served with the page at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/.

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

Evidence
  • line-jaccard 0.9825 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5.css:1-1937 36ce2f996340b4091a4731d485cb5ff81aba65a6
  • sha256 1f99fea4021db2516957c5db64bb2c9528c281af167c48ecdd195711af1d5e92
  • target sha256 cb958bf2f64e56899dad834c3445a2dbaa487555f7939aa3fe2c5f726cc2f983
  • group of 2 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines

electricalglobalgrid2050 / solar-bess-topology-v8/bess-gis-sld-financial-sandbox/gis-sld-v5.css · lines 1834–1967 of 1967 (continued from section 111) · 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 experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), solar, substations, wind, 400kV, 275kV.
Inputs & outputs
Voltage levels named: 400kV, 275kV, 132kV, 66kV.
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 · solar-bess-topology-v8/bess-gis-sld-financial-sandbox · 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 solar-bess-topology-v8/bess-gis-sld-financial-sandbox/gis-sld-v5.css:1834-1967 · blob 789814a3ca636e34e5a4b70ec78d9887db63a782 · GitHub at these lines
State
achieves: name · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: unreached_review
    font-weight: bold;
    word-break: break-word;
}
.site-intel-meta {
    grid-column: 2;
    color: #00ffff;
}
.site-intel-notes {
    margin: 6px 0 8px 18px;
    padding: 0;
    color: #ffffff;
}
.site-intel-notes li {
    margin-bottom: 5px;
}
.site-intel-disclaimer,
.site-intel-loading,
.site-intel-warning {
    margin-top: 8px;
    padding: 8px;
    border: 1px solid #333;
    background: rgba(255,255,255,0.04);
    color: #a6adbb;
    line-height: 1.35;
}
.site-intel-warning {
    color: #ff9900;
    border-color: #ff9900;
}

@media (max-width: 900px) {
    .site-intel-panel {
        left: 10px;
        right: 10px;
        bottom: 14px;
        width: auto;
        max-height: 45%;
    }
    .site-intel-row {
        grid-template-columns: 96px 1fr;
    }
}

@media print {
    .site-intel-panel {
        display: none !important;
    }
}

/* GLOBALGRID2050 V7 ASSET PIPELINE DROPDOWN STATUS FILTER */
.asset-filter-row {
    gap: 6px;
}
.map-asset-select,
.map-asset-status-select,
.asset-range-input {
    height: 32px;
    background: rgba(0, 0, 0, 0.84);
    color: #00ff88;
    border: 1px solid #2f343d;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    padding: 6px 8px;
}
.map-asset-select {
    min-width: 150px;
}
.map-asset-status-select {
    min-width: 160px;
    color: #00ffff;
}
.asset-range-input {
    width: 76px;
    text-align: center;
}
.map-asset-select:focus,
.map-asset-status-select:focus,
.asset-range-input:focus {
    outline: none;
    border-color: #00ff88;
}
@media (max-width: 900px) {
    .asset-filter-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        position: relative !important;
        z-index: 35 !important;
    }
    .map-asset-select { min-width: 142px; max-width: 170px; }
    .map-asset-status-select { min-width: 150px; max-width: 190px; }
    .asset-range-input { width: 72px; }
}
@media (max-width: 520px) {
    .map-asset-select { width: 150px; min-width: 150px; }
    .map-asset-status-select { width: 160px; min-width: 160px; }
    .asset-range-input { width: 70px; }
}
@media print {
    .asset-filter-row { display: none !important; }
}


/* V8 BESS reset from working V7 GIS frame */
.v8-bess-panel {
    border: 2px solid var(--accent);
    border-radius: 10px;
    padding: 14px;
    margin: 14px 0;
    background: rgba(0, 30, 30, 0.32);
}

.v8-bess-panel h3 {
    color: var(--accent);
}

.v8-bess-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
}

.v8-hidden-pv {
    display: none !important;
}

.v8-dev-label {
    color: #ff3333;
    font-weight: bold;
}

Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS…

A web page in GlobalGrid2050 that draws SVG graphics and reads inputs for grid export MW, duration hours and energy MWh (units: MW, MWh). Published at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/.

renderglobalgrid2050 / solar-bess-topology-v8/bess-gis-sld-financial-sandbox/index.html · lines 1–153 of 153 · Entry point

What it does
It draws battery storage (BESS), transformers and cables. Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage experimental (path word 'sandbox'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), transformers, cables.
Inputs & outputs
In: form fields (user input). Out: web page; SVG drawing.
Downstream impact
Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/). Reached from 1 other entry point, including Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/.
What it achieves
BESS GIS single-line diagram (SLD) Financial Sandbox V8. Its code works with 50 MW and 150 MWh.
Why it matters
Loaded by the Battery Energy Storage System (BESS) Pcs… page at https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/ and 2 other pages.
Application
globalgrid2050 · solar-bess-topology-v8/bess-gis-sld-financial-sandbox · page
Uses
Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial Sandbox (stylesheet), Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (link), GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page (link), Battery Energy Storage System (BESS) GIS Single-Line Diagram (SLD) Financial Sandbox (script src), https://unpkg.com/maplibre-gl@3.3.1/dist/maplibre-gl.js, https://unpkg.com/maplibre-gl@3.3.1/dist/maplibre-gl.css
Used by
linked from Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (link), linked from GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page (link), named by URL in Spider Maya — V1 Page (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
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 solar-bess-topology-v8/bess-gis-sld-financial-sandbox/index.html:1-153 · blob 453429d4c13baa065d4dea4fdbb7e7eb1bd897b1 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: production_core
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BESS GIS SLD Financial Sandbox V8 | GlobalGrid2050</title>
<script src="https://unpkg.com/maplibre-gl@3.3.1/dist/maplibre-gl.js"></script>
<link href="https://unpkg.com/maplibre-gl@3.3.1/dist/maplibre-gl.css" rel="stylesheet" />
<link rel="stylesheet" href="./bess-gis-sld-financial-sandbox.css" />
</head>
<body>
<div class="app-shell">
  <header class="topbar">
    <div>
      <div class="kicker">GlobalGrid2050 V8</div>
      <h1>BESS GIS SLD Financial Sandbox</h1>
      <p>BESS only main frame app for map based siting, layout mode, single line logic, footprint screening and financial assumptions. Cable sizing and protection validation are deliberately left to the advanced electrical topology review.</p>
    </div>
    <div class="topbar-actions">
      <button id="btn_print" type="button">Print</button>
      <a href="../bess-electrical-topology-review/index.html">Advanced topology review</a>
      <a href="../index.html">Back to V8</a>
    </div>
  </header>

  <main class="workspace">
    <section class="panel controls-panel">
      <div class="tabs">
        <button class="tab-btn active" data-tab="layout">Layout</button>
        <button class="tab-btn" data-tab="finance">Finance</button>
        <button class="tab-btn" data-tab="notes">Notes</button>
      </div>

      <div id="tab_layout" class="tab-panel active">
        <h2>BESS power and energy</h2>
        <label>Grid export limit MW</label>
        <input id="grid_export_mw" type="number" value="50" min="0" step="1" />
        <label>Storage duration hours</label>
        <input id="duration_hours" type="number" value="3" min="0" step="0.25" />
        <label>Required energy MWh</label>
        <input id="energy_mwh" type="number" value="150" min="0" step="1" />
        <button id="btn_sync_energy" class="action">Set MWh from MW x hours</button>

        <h2>BESS containers</h2>
        <label>Container size</label>
        <select id="container_size">
          <option value="20ft">20 ft</option>
          <option value="40ft" selected>40 ft</option>
        </select>
        <label>Energy per container MWh</label>
        <input id="container_mwh" type="number" value="5" min="0.1" step="0.1" />
        <label>Container length m</label>
        <input id="container_length_m" type="number" value="12.2" min="1" step="0.1" />
        <label>Container width m</label>
        <input id="container_width_m" type="number" value="2.44" min="1" step="0.01" />
        <label>Container spacing m</label>
        <input id="container_spacing_m" type="number" value="2.5" min="0" step="0.1" />
        <label>Containers per row</label>
        <input id="containers_per_row" type="number" value="10" min="1" step="1" />
        <label>Row spacing m</label>
        <input id="row_spacing_m" type="number" value="6" min="0" step="0.5" />

        <h2>PCS and transformer arrangement</h2>
        <label>BESS layout mode</label>
        <select id="layout_mode">
          <option value="integrated">Integrated PCS transformer station</option>
          <option value="separated">External transformer with separate PCS</option>
          <option value="distributed">Distributed PCS islands</option>
          <option value="corridor">PCS corridor layout</option>
          <option value="central">Central PCS block</option>
          <option value="hv_compound">Transmission scale HV compound</option>
        </select>
        <label>PCS rating MW</label>
        <input id="pcs_rating_mw" type="number" value="50" min="0.1" step="0.1" />
        <label>Containers per PCS</label>
        <input id="containers_per_pcs" type="number" value="30" min="1" step="1" />
        <label>Access road width m</label>
        <input id="access_road_m" type="number" value="6" min="0" step="0.5" />
        <label>Fire or acoustic wall</label>
        <select id="barrier_mode">
          <option value="none">Not shown</option>
          <option value="fire">Fire separation wall</option>
          <option value="acoustic">Acoustic wall</option>
          <option value="both">Fire and acoustic barrier</option>
        </select>
      </div>

      <div id="tab_finance" class="tab-panel">
        <h2>BESS financial assumptions</h2>
        <label>BESS CAPEX £ per MWh</label>
        <input id="capex_per_mwh" type="number" value="180000" min="0" step="1000" />
        <label>PCS CAPEX £ per MW</label>
        <input id="pcs_capex_per_mw" type="number" value="55000" min="0" step="1000" />
        <label>Civils and installation allowance £</label>
        <input id="civils_allowance" type="number" value="2500000" min="0" step="10000" />
        <label>Transformer and MV allowance £</label>
        <input id="mv_allowance" type="number" value="3000000" min="0" step="10000" />
        <label>Contingency percent</label>
        <input id="contingency_pct" type="number" value="10" min="0" step="0.5" />
        <label>Revenue £ per MW per year</label>
        <input id="revenue_per_mw_year" type="number" value="70000" min="0" step="1000" />
        <label>Availability percent</label>
        <input id="availability_pct" type="number" value="96" min="0" max="100" step="0.5" />
        <label>Analysis years</label>
        <input id="analysis_years" type="number" value="15" min="1" step="1" />
      </div>

      <div id="tab_notes" class="tab-panel">
        <h2>Scope notes</h2>
        <p>This V8 app is the BESS layout, map, SLD and financial screening frame.</p>
        <p>It intentionally excludes cable sizing, cable impedance, thermal derating, reverse current calculation, leakage calculation, fault withstand and protection coordination. Those belong in the advanced BESS Electrical Topology Review.</p>
        <p>Future advanced versions should allow a client substation footprint, customer switchroom, MV compound or HV interface area to be drawn and sized as a separate grid connection zone. This is intentionally excluded from the first BESS layout version to keep the app focused on BESS containers, PCS blocks, transformer arrangement, access and commercial screening.</p>
      </div>
    </section>

    <section class="panel summary-panel">
      <h2>Calculated BESS block</h2>
      <div class="stat"><span>Required energy</span><strong id="out_energy">150 MWh</strong></div>
      <div class="stat"><span>Container count</span><strong id="out_containers">30</strong></div>
      <div class="stat"><span>PCS count</span><strong id="out_pcs_count">1</strong></div>
      <div class="stat"><span>Total PCS power</span><strong id="out_pcs_power">50 MW</strong></div>
      <div class="stat"><span>Export cap</span><strong id="out_export">50 MW</strong></div>
      <div class="stat"><span>Duration</span><strong id="out_duration">3 h</strong></div>
      <div class="stat"><span>Approximate BESS field</span><strong id="out_footprint">0 m x 0 m</strong></div>
      <div class="stat"><span>Indicative CAPEX</span><strong id="out_capex">£0</strong></div>
      <div class="stat"><span>Indicative annual revenue</span><strong id="out_revenue">£0</strong></div>
      <div class="stat"><span>Simple payback</span><strong id="out_payback">0 years</strong></div>
      <div id="logic_box" class="logic-box">BESS containers provide MWh. PCS provides MW. Grid export caps maximum output.</div>
    </section>

    <section class="panel map-panel">
      <div class="map-toolbar">
        <button id="btn_satellite" type="button">Satellite view</button>
        <button id="btn_dark" type="button">Dark matter view</button>
        <button id="btn_draw_at_center" type="button">Draw BESS at map centre</button>
        <button id="btn_reset_geo" type="button">Reset map drawing</button>
        <button id="btn_export_geojson" type="button">Export GeoJSON</button>
        <label class="map-inline-label">Rotation °</label>
        <input id="geo_rotation_deg" class="map-inline-input" type="number" value="0" step="5" />
        <button id="btn_fit" type="button">Fit drawing</button>
      </div>
      <div id="map"></div>
    </section>

    <section class="panel drawing-panel">
      <div class="drawing-title">BESS layout and SLD preview</div>
      <svg id="bess_svg" viewBox="0 0 1400 840" role="img" aria-label="BESS layout and SLD preview"></svg>
    </section>
  </main>
</div>
<script src="./bess-gis-sld-financial-sandbox.js"></script>
</body>
</html>

Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs…

A web page in the BESS pcs standalone folder of GlobalGrid2050 covering battery storage (BESS). Published at https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/.

renderglobalgrid2050 / solar-bess-topology-v8/bess-pcs-standalone/index.html · lines 1–13 of 13 · Entry point

What it does
It draws battery storage (BESS). 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).
Inputs & outputs
Out: web page.
Downstream impact
It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/.
What it achieves
BESS PCS Standalone Redirect.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · solar-bess-topology-v8/bess-pcs-standalone · page
Uses
Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (link)
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 solar-bess-topology-v8/bess-pcs-standalone/index.html:1-13 · blob 8ec1f1a232a805d0c8d9e8c30fde94646793990e · 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="refresh" content="0; url=../bess-gis-sld-financial-sandbox/index.html" />
<title>BESS PCS Standalone Redirect</title>
</head>
<body style="background:#000;color:#fff;font-family:Courier,monospace;padding:30px;">
<p>The V8 BESS PCS standalone app has been replaced by the BESS GIS SLD Financial Sandbox.</p>
<p><a style="color:#66ccff;" href="../bess-gis-sld-financial-sandbox/index.html">Open BESS GIS SLD Financial Sandbox</a></p>
</body>
</html>

GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V8 Page

A web page covering battery storage (BESS), solar and cables. Published at https://globalgrid2050.com/solar-bess-topology-v8/.

renderglobalgrid2050 / solar-bess-topology-v8/index.html · lines 1–44 of 44 · Entry point

What it does
It draws battery storage (BESS), solar and cables. 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), solar, cables.
Inputs & outputs
Out: web page.
Downstream impact
Used directly by 2 files: Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/); Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-gis-sld-financial-sandbox/). Reached from 2 other entry points, including Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Pcs… (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v8/bess-pcs-standalone/); Spider Maya — V1 Page (spiders, https://ventusltd.github.io/spiders/spider_maya/v1/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v8/.
What it achieves
No statement of purpose was found in the file, a README line naming it, or its name.
Why it matters
Loaded by the Battery Energy Storage System (BESS) Electrical… page at https://globalgrid2050.com/solar-bess-topology-v8/bess-electrical-topology-review/ and 1 other page.
Application
globalgrid2050 · solar-bess-topology-v8 · page
Uses
Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (link), Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (link)
Used by
linked from Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) Electrical… (link), linked from Solar Battery Energy Storage System (BESS) Topology V8 — Battery Energy Storage System (BESS) GIS… (link)
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 solar-bess-topology-v8/index.html:1-44 · blob 42abcafce554086926d4a0d6073bc0624ecd8a04 · 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: production_core
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GlobalGrid2050 V8</title>
<style>
:root { --bg:#050505; --panel:#0b0e14; --line:#2f343d; --text:#fff; --muted:#a6adbb; --accent:#00ffff; --ok:#00ff88; --danger:#ff3333; }
* { box-sizing:border-box; }
body { margin:0; padding:28px; background:var(--bg); color:var(--text); font-family:"Courier New", monospace; }
header, main { max-width:1180px; margin:0 auto 24px auto; }
header { border:1px solid var(--line); background:rgba(10,10,10,.96); padding:22px; border-radius:14px; }
.kicker { color:var(--accent); text-transform:uppercase; letter-spacing:.14em; font-size:12px; }
h1 { margin:8px 0 10px 0; font-size:28px; }
p { color:var(--muted); line-height:1.55; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:18px; }
.card { display:block; border:1px solid var(--line); background:var(--panel); border-radius:14px; padding:20px; text-decoration:none; color:var(--text); min-height:180px; }
.card:hover { border-color:var(--accent); }
.card h2 { color:var(--accent); margin:0 0 10px 0; }
.card span { color:var(--ok); font-weight:bold; }
.warning { margin-top:14px; padding:14px; border:1px solid var(--danger); border-radius:10px; color:var(--danger); background:rgba(255,51,51,.08); font-weight:bold; }
</style>
</head>
<body>
<header>
<div class="kicker">GlobalGrid2050 V8</div>
<h1>BESS Standalone Study Workspace</h1>
<p>V8 is a standalone BESS study workspace based on the working V7 GIS SLD frame. V7 remains stable. V9 may later merge proven solar and BESS logic into one UI.</p>
<div class="warning">STATUS: TESTING AND DEVELOPMENT. Screening only. Formal cable, protection, thermal and grid studies remain required.</div>
</header>
<main class="grid">
<a class="card" href="./bess-gis-sld-financial-sandbox/index.html">
<h2>BESS GIS SLD Financial Sandbox</h2>
<p>Main BESS only map, SLD, layout mode, footprint and financial screening frame.</p>
<span>Open app</span>
</a>
<a class="card" href="./bess-electrical-topology-review/index.html">
<h2>BESS Electrical Topology Review</h2>
<p>Detailed BESS engineering review for DC leakage, reverse current protection, PCS interface, cable R, X, Z and protection coordination screening.</p>
<span>Open app</span>
</a>
</main>
</body>
</html>

GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology Page

A web page covering cables, 33kV, 132kV and solar, using BS EN 50618 and BS 7671, and uses data from UK Power Networks open data. Published at https://globalgrid2050.com/solar-bess-topology/.

Set aside from the main view: 99% of its lines are the same as solar-bess-topology-v5/cable-geometry-visualiser-v5.html (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 98% of lines shared with Cable Geometry Visualiser V5; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.986 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 solar-bess-topology-v5/cable-geometry-visualiser-v5.html:1-2051 aec703fef5d69bf8db682aa4a0f4dc769aaff445
  • sha256 ef607058af4daf3e57cf6018c9fa6bea74ace90d6156da9b6026c99d7213f1c4
  • target sha256 944209710f74336fdefbeea3b9919071d692061ed43d637bcba54560188c1073
  • group of 2 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines

renderglobalgrid2050 / solar-bess-topology/index.html · lines 1–356 of 2028 · Entry point · pattern normaliseBurialDepthFieldOnBlur (shared by 4 files)

What it does
It draws cables, 33kV, 132kV and solar. Defines 41 functions or classes, including lookupOD, byId, clampInteger, formatMm, effectiveGap. 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: cables, 33kV, 132kV, solar, 110kV, 66kV.
Inputs & outputs
In: form fields (user input). Out: web page; canvas drawing. Voltage levels named: 132kV, 110kV, 66kV, 33kV, 20kV, 15kV, 10kV, 6kV.
Downstream impact
It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology/.
What it achieves
It looks up od (`lookupOD`), clamps integer (`clampInteger`) and formats mm (`formatMm`). Defines `lookupOD`, `byId`, `clampInteger` and 38 more. Its code works with 1 kV, 33 kV and 132 kV. It responds to focus, click and touchend events.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · solar-bess-topology · page
Uses
none found
Used by
none found
Produces
lookupOD, byId, clampInteger, formatMm, effectiveGap, getBurialDepthForComputation, normaliseBurialDepthFieldOnBlur, normaliseIntegerFields, getInputs, getGroupGeometry, computeLayout, buildReview
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 solar-bess-topology/index.html:1-356 · blob 7d380de4ee5e6ca8b8b6c09585d6bc568334f0a1 · 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: production_core
<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Geometry Visualiser v1.5.18</title>
    <style>
        :root {
            --bg: #050505;
            --panel: rgba(10, 10, 10, 0.96);
            --panel-soft: #0b0e14;
            --line: #2f343d;
            --line-soft: #222;
            --text: #ffffff;
            --muted: #a6adbb;
            --muted-soft: #8d95a3;
            --accent: #00ffff;
            --accent-2: #ff00ff;
            --ok: #00ff88;
            --warn: #ffcc66;
            --warn-bg: rgba(80, 50, 0, 0.18);
            --warn-line: #5a3d00;
            --error: #ff6666;
            --error-bg: rgba(80, 10, 10, 0.18);
            --error-line: #5a1f1f;
            --info: #8fb2d9;
            --info-bg: rgba(14, 32, 48, 0.28);
            --info-line: #28455d;
            --input-bg: #111;
            --canvas-bg: #000;
            --shadow: 0 0 15px rgba(0, 0, 0, 0.5);
        }

        * { box-sizing: border-box; }

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

        .dashboard {
            display: flex;
            gap: 20px;
            width: 100%;
            max-width: 1480px;
            align-items: flex-start;
        }

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

        .panel-left {
            width: 470px;
            flex-shrink: 0;
        }

        .panel-right {
            flex: 1 1 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        h2 {
            margin: 0 0 15px 0;
            color: var(--accent);
            font-size: 18px;
            letter-spacing: 2px;
            text-transform: uppercase;
            border-bottom: 1px solid var(--line);
            padding-bottom: 10px;
        }

        h3 {
            margin: 0 0 10px 0;
            color: var(--muted-soft);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .section-title { margin-top: 18px; }

        .subtle-note {
            font-size: 11px;
            color: #999;
            line-height: 1.45;
            margin: 0 0 14px 0;
        }

        .warning-box,
        .status-box,
        .guidance-box,
        .assumption-box,
        .review-box,
        .conflict-box {
            padding: 12px;
            font-size: 11px;
            line-height: 1.5;
            border-radius: 3px;
        }

        .warning-box {
            border: 1px solid var(--warn-line);
            background: var(--warn-bg);
            color: var(--warn);
            margin-bottom: 18px;
        }

        .guidance-box {
            border: 1px solid #30455a;
            background: #08101a;
            color: #bed1e2;
            margin-top: 16px;
        }

        .guidance-box strong,
        .assumption-box strong,
        .review-box strong,
        .conflict-box strong { color: #fff; }

        .guidance-box a { color: #8fd3ff; text-decoration: underline; }
        .guidance-box a:hover { color: #c5e7ff; }

        .guidance-box ul,
        .review-box ul,
        .conflict-box ul,
        .assumption-box ul { margin: 8px 0 0 18px; padding: 0; }

        .guidance-box li + li,
        .review-box li + li,
        .conflict-box li + li,
        .assumption-box li + li { margin-top: 4px; }

        .assumption-box {
            margin-top: 16px;
            border: 1px solid var(--info-line);
            background: var(--info-bg);
            color: var(--info);
        }

        .review-box {
            margin-top: 16px;
            border: 1px solid var(--warn-line);
            background: var(--warn-bg);
            color: var(--warn);
        }

        .conflict-box {
            margin-top: 16px;
            border: 1px solid var(--error-line);
            background: var(--error-bg);
            color: #ffb0b0;
        }

        .status-box {
            margin: 0 0 16px 0;
            border: 1px solid var(--line);
            background: #090c11;
            color: var(--muted);
        }

        .status-box.ok    { border-color: rgba(0,255,136,0.35);  color: #aef7d1; }
        .status-box.warn  { border-color: rgba(255,204,102,0.35); color: #ffd98a; }
        .status-box.error { border-color: rgba(255,102,102,0.35); color: #ffb0b0; }

        .input-group {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 10px;
            font-size: 12px;
            color: var(--muted);
            align-items: center;
        }

        .input-group label { flex: 1 1 auto; min-width: 0; }

        .input-group input,
        .input-group select {
            width: 190px;
            background: var(--input-bg);
            color: var(--accent);
            border: 1px solid #444;
            padding: 7px 8px;
            font-family: monospace;
            border-radius: 3px;
        }

        .input-group input[data-numeric="true"] { text-align: right; }
        .input-group input[type="text"]:not([data-numeric]) { text-align: left; }

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

        .input-group input[disabled] { opacity: 0.55; cursor: not-allowed; }

        .inline-note {
            margin: -2px 0 10px 0;
            font-size: 10px;
            color: var(--muted-soft);
        }

        .stat-block {
            margin-top: 18px;
            border-top: 1px solid var(--line);
            padding-top: 14px;
        }

        .stat-row {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            font-size: 12px;
            margin-bottom: 8px;
            color: var(--muted-soft);
            padding: 4px 0;
        }

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

        .canvas-container {
            background: var(--panel-soft);
            border: 1px solid var(--line-soft);
            border-radius: 4px;
            padding: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        canvas {
            background: var(--canvas-bg);
            border: 1px solid #333;
            box-shadow: var(--shadow);
            display: block;
            max-width: 100%;
            height: auto;
        }

        .button-row {
            display: flex;
            gap: 10px;
            margin-top: 14px;
        }

        .btn {
            flex: 1 1 auto;
            padding: 12px;
            background: var(--bg);
            color: var(--ok);
            border: 1px solid var(--ok);
            cursor: pointer;
            font-family: monospace;
            font-weight: bold;
            text-transform: uppercase;
            border-radius: 3px;
            transition: all 0.2s;
        }

        .btn:hover { background: var(--ok); color: #000; }
        .btn-alt { color: var(--accent-2); border-color: var(--accent-2); }
        .btn-alt:hover { background: var(--accent-2); color: #000; }

        .snapshot-box {
            margin-top: 16px;
            border: 1px solid var(--line-soft);
            background: #07090d;
            padding: 12px;
            border-radius: 3px;
            font-size: 11px;
            color: #cfcfcf;
            line-height: 1.45;
            white-space: pre-wrap;
        }

        .legend {
            display: flex;
            gap: 14px;
            align-self: flex-start;
            font-size: 11px;
            color: var(--muted);
            margin: 0 0 10px 0;
            flex-wrap: wrap;
        }

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

        .legend-swatch {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 1px solid #666;
        }

        /* Drawing view: hide left panel, maximise canvases */
        body.drawing-view .panel-left { display: none; }
        body.drawing-view .dashboard { max-width: 100%; }
        body.drawing-view .panel-right { width: 100%; }
        body.drawing-view .canvas-container { padding: 12px; }
        body.drawing-view .subtle-note { margin-bottom: 8px; }

        /* Landscape mobile */
        @media (orientation: landscape) and (max-width: 1200px) {
            body.landscape-mobile .panel-left { display: none; }
            body.landscape-mobile .dashboard { max-width: 100%; }
            body.landscape-mobile .panel-right { width: 100%; }
            body.landscape-mobile .canvas-container { padding: 10px; }
            body.landscape-mobile .subtle-note { margin-bottom: 8px; font-size: 10px; }
        }

        @media (max-width: 1080px) {
            .dashboard { flex-direction: column; }
            .panel-left { width: 100%; }
        }
    </style>
</head>
<body>
    <div class="dashboard">
        <div class="panel panel-left">
            <h2>Geometry Inputs</h2>

            <div class="warning-box">
                This tool produces indicative geometry records only and must not be used for trench design, duct sizing, burial depth specification, electrical design or any construction document without independent verification by a competent engineer with responsibility for the project.<br>
                No electrical calculation is performed.<br>
                No thermal rating is performed.<br>
                No compliance verdict is produced.<br>
                No burial depth design advice is produced.<br>
                The user must verify safety, installation depth, protection, rating and utility compliance with a competent person in accordance with local law, site conditions and the relevant power utility or infrastructure owner requirements.
            </div>

            <div id="status_box" class="status-box ok" aria-live="polite">Geometry only. Ready for capture.</div>

            <h3>Route Identity</h3>
            <div class="input-group">
                <label for="route_name">Route ID</label>
                <input type="text" id="route_name" value="M_W3_BESS_to_PCS" />
            </div>
            <div class="input-group">
                <label for="section_length">Worst Case Section Length m</label>
                <input type="text" inputmode="decimal" enterkeyhint="done" autocomplete="off" autocorrect="off" spellcheck="false" data-numeric="true" id="section_length" value="30" />
            </div>

            <h3 class="section-title">Installation Basis</h3>