GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Solar and storage design / globalgrid2050 / solar-bess-topology-v6

Module Layout V5 and 3 more files

A style sheet in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/.

700 lines of CSS and HTML and JavaScript from globalgrid2050, in 4 files. Topic: Solar and storage design. Section 95 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. GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page render · globalgrid2050 / solar-bess-topology-v6/index.html lines 1–137
  2. GIS Single-Line Diagram (SLD) V5 Config electrical · globalgrid2050 / solar-bess-topology-v6/module-layout/gis-sld-v5-config.js lines 1–24
  3. Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page render · globalgrid2050 / solar-bess-topology-v6/module-layout/index.html lines 1–91
  4. Module Layout V5 render · globalgrid2050 / solar-bess-topology-v6/module-layout/module-layout-v5.css lines 1–448

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

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

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

What it does
It draws cables, solar, battery storage (BESS) and 33kV. 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, solar, battery storage (BESS), 33kV.
Inputs & outputs
Out: web page. Voltage levels named: 33kV.
Downstream impact
It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/.
What it achieves
Its code works with 33 kV.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · solar-bess-topology-v6 · page
Uses
Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (link), Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (link), Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (link), Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (link), GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v8 Page (link), Dashboard (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-v6/index.html:1-137 · blob f9d797725e274943176bf3aba5544199dd8140dc · 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 V6</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 { max-width:1180px; margin:0 auto 24px auto; 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; }
        h2 { margin:0 0 10px 0; }
        h3 { margin:0 0 8px 0; color:var(--accent); font-size:17px; }
        p { color:var(--muted); line-height:1.55; }
        .testing-warning { margin:14px 0 0 0; padding:14px; border:1px solid var(--danger); border-radius:10px; color:var(--danger); font-weight:bold; line-height:1.55; background:rgba(255,51,51,.08); }
        main { max-width:1180px; margin:0 auto; }
        .dashboard-section { margin:0 auto 22px auto; }
        .section-title { color:var(--accent); font-size:22px; margin:0 0 14px 0; border-bottom:1px solid var(--line); padding-bottom:8px; }
        .section-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:18px; }
        .card { display:block; min-height:190px; border:1px solid var(--line); background:var(--panel); border-radius:14px; padding:20px; text-decoration:none; color:var(--text); }
        .card:hover { border-color:var(--accent); }
        .card h2 { margin:0 0 10px 0; color:var(--accent); font-size:18px; }
        .card span { color:var(--ok); font-weight:bold; }
        .engineering-functions { max-width:1180px; margin:22px auto 0 auto; border:1px solid var(--line); background:rgba(10,10,10,.96); padding:22px; border-radius:14px; }
        .engineering-functions h2 { color:var(--accent); font-size:22px; }
        .function-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:14px; margin-top:16px; }
        .function-item { border:1px solid var(--line); background:var(--panel); border-radius:12px; padding:16px; }
        .function-item p { margin:0; }
        footer { max-width:1180px; margin:22px auto 0 auto; color:var(--muted); font-size:12px; }
    </style>
</head>
<body>
    <header>
        <div class="kicker">GlobalGrid2050 V6</div>
        <h1>Separated Application Workspace</h1>
        <p>V6 starts by migrating the working V5 applications into separate folders so each app has its own HTML, CSS and JavaScript context. V5 remains untouched as the stable reference.</p>
        <div class="testing-warning">STATUS: TESTING AND DEVELOPMENT. Use at your own risk. Always verify the results and the data before using this tool for engineering, commercial, investment or project decisions.</div>
    </header>
    <main>
        <section class="dashboard-section">
            <h2 class="section-title">Core Applications</h2>
            <div class="section-grid">
                <a class="card" href="./gis-sld-financial-sandbox/index.html">
                    <h2>GIS SLD Financial Sandbox</h2>
                    <p>Main GIS, SLD, financial and grid screening application.</p>
                    <span>Open app</span>
                </a>
                <a class="card" href="./module-layout/index.html">
                    <h2>Physical Solar Module Layout</h2>
                    <p>Separate module footprint, row, pitch and layout visualiser.</p>
                    <span>Open app</span>
                </a>
                <a class="card" href="./dc-ac-lv-topology-review/index.html">
                    <h2>DC AC LV Topology Review</h2>
                    <p>Separate low voltage and DC topology screening application.</p>
                    <span>Open app</span>
                </a>
                <a class="card" href="./cable-geometry-visualiser/index.html">
                    <h2>Cable Geometry Visualiser</h2>
                    <p>Cable formation, trench, bend and geometry visualiser.</p>
                    <span>Open app</span>
                </a>
                <a class="card" href="../repd_grid_atlasv8/">
                    <h2>UK Energy Atlas V8</h2>
                    <p>Standalone UK grid, renewables pipeline and infrastructure atlas for wider spatial and grid screening analysis.</p>
                    <span>Open app</span>
                </a>
            </div>
        </section>

        <section class="dashboard-section">
            <h2 class="section-title">Dashboards and Estimators</h2>
            <div class="section-grid">
                <a class="card" href="../uk_renewables_pipeline/dashboard.html">
                    <h2>UK Renewables Pipeline Dashboard</h2>
                    <p>Pipeline analytics dashboard for UK renewables screening, market context and project opportunity review.</p>
                    <span>Open dashboard</span>
                </a>
                <a class="card" href="../33kv_uk_dap_price_estimator/">
                    <h2>33 kV UK DAP Price Estimator</h2>
                    <p>Early 33 kV distribution cable pricing reference for commercial and procurement screening.</p>
                    <span>Open price estimator</span>
                </a>
                <a class="card" href="../lv_ac_dc_price_estimator/">
                    <h2>LV AC and DC Cable Price Estimator</h2>
                    <p>Low voltage AC and DC distribution cable price reference for early commercial screening.</p>
                    <span>Open price estimator</span>
                </a>
            </div>
        </section>

        <section class="dashboard-section">
            <h2 class="section-title">Literature, Processes and Case Studies</h2>
            <div class="section-grid">
                <a class="card" href="../power_systems_studies/">
                    <h2>Power Systems Studies and EV Case Study</h2>
                    <p>Power systems study process reference with Braintree EV charging case study context by VENTUS Ltd UK and Studer Cables Switzerland.</p>
                    <span>Open page</span>
                </a>
                <a class="card" href="../mv_and_hv_components/">
                    <h2>MV and HV Connection Process</h2>
                    <p>Medium voltage and high voltage component and connection process reference for grid connection review.</p>
                    <span>Open reference</span>
                </a>
            </div>
        </section>
    </main>
    <section class="engineering-functions">
        <h2>Solar Engineering Functions Supported By V6</h2>
        <p>V6 is a testing workspace for early solar PV and BESS engineering review. It helps users expose assumptions before projects move into detailed design, procurement, EPC delivery or investment approval.</p>
        <div class="function-grid">
            <div class="function-item"><h3>1. Site and grid screening</h3><p>Assess where a solar or BESS project sits in relation to grid infrastructure, substations and likely connection logic.</p></div>
            <div class="function-item"><h3>2. Solar BESS topology review</h3><p>Review the relationship between solar PV, BESS, inverters, transformers and the grid connection point.</p></div>
            <div class="function-item"><h3>3. Single line diagram thinking</h3><p>Visualise early SLD logic across DC, AC, LV, MV and grid interface assumptions.</p></div>
            <div class="function-item"><h3>4. DC string level reasoning</h3><p>Support early review of DC string voltage margin, inverter input assumptions and DC side configuration.</p></div>
            <div class="function-item"><h3>5. AC and LV interface review</h3><p>Support review of LV AC assumptions, inverter feeder status, insulation basis and transformer connection logic.</p></div>
            <div class="function-item"><h3>6. Cable route assumption review</h3><p>Study route assumptions before formal design and before procurement decisions harden.</p></div>
            <div class="function-item"><h3>7. Cable geometry visualisation</h3><p>Inspect cable arrangement, grouping, routing, trench logic and physical layout behaviour.</p></div>
            <div class="function-item"><h3>8. Cable loss awareness</h3><p>Expose how cable distance, arrangement and topology may affect electrical losses and project value.</p></div>
            <div class="function-item"><h3>9. Thermal assumption visibility</h3><p>Flag whether thermal assumptions are complete, missing, uncertain or requiring formal review.</p></div>
            <div class="function-item"><h3>10. Protection assumption visibility</h3><p>Flag whether protection assumptions are complete, incomplete or need engineering review.</p></div>
            <div class="function-item"><h3>11. Manufacturer data confirmation</h3><p>Track whether cable, containment, inverter or equipment data has been confirmed.</p></div>
            <div class="function-item"><h3>12. Module layout review</h3><p>Review physical PV module count, rating, footprint, row, pitch and layout assumptions.</p></div>
            <div class="function-item"><h3>13. Engineering risk status</h3><p>Mark assumptions as status unknown, study required, review required or formal design required.</p></div>
            <div class="function-item"><h3>14. Commercial engineering linkage</h3><p>Connect topology, cable distance, grid proximity and losses to CAPEX, revenue, profit, cashflow and IRR sensitivity.</p></div>
            <div class="function-item"><h3>15. Atlas V8 wider grid analysis</h3><p>Open the standalone Atlas V8 app for wider UK grid, infrastructure, project pipeline and spatial screening analysis alongside the V6 solar BESS tools.</p></div>
            <div class="function-item"><h3>16. Renewables pipeline context</h3><p>Open UK renewables pipeline analysis to compare site screening work against wider market and project pipeline context.</p></div>
            <div class="function-item"><h3>17. Cable price screening</h3><p>Use 33 kV, LV AC and DC cable price references to connect early topology assumptions with commercial procurement awareness.</p></div>
            <div class="function-item"><h3>18. Power systems study process</h3><p>Use the power systems studies reference to understand which formal studies sit beyond early V6 and V7 screening outputs.</p></div>
            <div class="function-item"><h3>19. MV and HV connection pathway</h3><p>Use the MV and HV component reference to connect early site and grid screening with the practical connection process.</p></div>
        </div>
    </section>
    <footer>Generated from V5 on 2026-05-18T11:06:04.474849+00:00. Updated with V6 testing status and organised dashboard sections.</footer>
</body>
</html>

GIS Single-Line Diagram (SLD) V5 Config

A JavaScript file in the module layout folder of GlobalGrid2050 covering grid substations. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/.

Set aside from the main view: 90% of its lines are the same as feature_requests/002_extract_v2_config/files/solar-bess-topology-v2/gis-sld-v2-config.js (globalgrid2050), which stays. (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 9f0a51b7cf166d611b5094b907da9b6cfacbabb5e0f48fd7d6fd7a5f24693d7c
  • 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 from file 133 to file 254; similarity was measured to file 133

electricalglobalgrid2050 / solar-bess-topology-v6/module-layout/gis-sld-v5-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: Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/module-layout/). Reached from 3 other entry points, including GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/); Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/.
What it achieves
GIS SLD Financial Sandbox V6. Config extracted by GridBot feature 002.
Why it matters
Loaded by the Module Layout page at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/.
Application
globalgrid2050 · solar-bess-topology-v6/module-layout · script
Uses
none found
Used by
loaded by Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (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 solar-bess-topology-v6/module-layout/gis-sld-v5-config.js:1-24 · blob 335e13ece4eb4ea3ad70f8b21ea2d3c0cd21e9b3 · 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 V6
// 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 }
    }
};

Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page

A web page in GlobalGrid2050 that reads inputs for ml total modules, ml module width and ml module height, covering cables. Published at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/.

Set aside from the main view: 91% of its lines are the same as testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/index.html (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 90% of lines shared with Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.9054 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/index.html:1-92 5cbd99c77d980a6035bd193ac9ad0f7a348f2d17
  • sha256 dbf0d3002eaf7b1318035e7c9ebbef65502e600fab77410ed826e85d20cf804f
  • target sha256 4895b5e3f0be24f9773857411c10049f9030b85cf4d15f1dc8a0ee79b4c5ee88
  • group of 4 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines

renderglobalgrid2050 / solar-bess-topology-v6/module-layout/index.html · lines 1–91 of 91 · Entry point

What it does
It draws 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: cables.
Inputs & outputs
In: form fields (user input). Out: web page.
Downstream impact
Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/); Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/dc-ac-lv-topology-review/); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/.
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 Cable Geometry Visualiser page at https://globalgrid2050.com/solar-bess-topology-v6/cable-geometry-visualiser/ and 2 other pages.
Application
globalgrid2050 · solar-bess-topology-v6/module-layout · page
Uses
GIS Single-Line Diagram (SLD) V4 (stylesheet), Module Layout V5 (stylesheet), Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (link), Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (link), Solar Battery Energy Storage System (BESS) Topology V6 — GIS Single-Line Diagram (SLD) Financial Sandbox Page (link), GIS Single-Line Diagram (SLD) V5 Config (script src), GIS Single-Line Diagram (SLD) V5 Helpers (script src), Module Layout V3 (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, https://cdn.jsdelivr.net/npm/@turf/turf@6/turf.min.js
Used by
linked from Solar Battery Energy Storage System (BESS) Topology V6 — Cable Geometry Visualiser Page (link), linked from Solar Battery Energy Storage System (BESS) Topology V6 — DC AC LV Topology Review Page (link), linked from GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V6 Page (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-v6/module-layout/index.html:1-91 · blob 19e0bc93b0730b9250cd6bcf9f5068d680ba6d6a · 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, maximum-scale=1.0, user-scalable=no" />
    <title>Module Layout V6 | 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" />
    <script src="https://cdn.jsdelivr.net/npm/@turf/turf@6/turf.min.js"></script>

    <link rel="stylesheet" href="./gis-sld-v5.css" />
    <link rel="stylesheet" href="./module-layout-v5.css" />
</head>
<body>
    <div class="module-app-shell">
        <header class="module-header">
            <div>
                <div class="module-kicker">GlobalGrid2050 V6</div>
                <h1>Physical Solar Module Layout</h1>
                <p>Separate non breaking app for testing physical module footprint, portrait or landscape orientation and exact module count visualisation.</p>
            </div>
            <div class="topo-header-links">
<button id="ml_print_report" class="module-link print-btn" type="button" onclick="window.print()">Print</button><a class="module-link" href="../dc-ac-lv-topology-review/index.html">DC AC LV Topology Review</a><a class="module-link" href="../cable-geometry-visualiser/index.html">Cable Geometry Visualiser V6</a><a class="module-link" href="../gis-sld-financial-sandbox/index.html">Back to GIS SLD V6<  … [line shortened here: 409 characters; full line on GitHub]
        </header>

        <main class="module-main">
            <section class="module-panel">
                <h2>Module Inputs</h2>

                <label>Total Modules</label>
                <input id="ml_total_modules" type="number" value="1200" min="1" step="1" />

                <label>Module Width m</label>
                <input id="ml_module_width_m" type="number" value="1.134" min="0.1" step="0.001" />

                <label>Module Height m</label>
                <input id="ml_module_height_m" type="number" value="2.278" min="0.1" step="0.001" />

                <label>Orientation</label>
                <select id="ml_orientation">
                    <option value="portrait">Portrait</option>
                    <option value="landscape">Landscape</option>
                </select>

                <label>Modules Per Row</label>
                <input id="ml_modules_per_row" type="number" value="60" min="1" step="1" />

                <label>Row Pitch m</label>
                <input id="ml_row_pitch_m" type="number" value="6.0" min="0.1" step="0.1" />

                <label>Module Gap m</label>
                <input id="ml_module_gap_m" type="number" value="0.03" min="0" step="0.01" />

                <label>Array Rotation degrees</label>
                <input id="ml_rotation_deg" type="number" value="0" step="5" />

                <div class="module-button-row">
                    <button id="ml_draw_center" class="btn">Draw at Map Centre</button>
                    <button id="ml_pick_site" class="btn secondary">Pick Site on Map</button>
                    <button id="ml_clear" class="btn danger">Clear</button>
                </div>

                <h2>Results</h2>
                <div class="module-stat"><span>Rows</span><strong id="ml_out_rows">0</strong></div>
                <div class="module-stat"><span>Layout Width</span><strong id="ml_out_width">0 m</strong></div>
                <div class="module-stat"><span>Layout Length</span><strong id="ml_out_length">0 m</strong></div>
                <div class="module-stat"><span>Footprint Area</span><strong id="ml_out_area">0 ha</strong></div>
                <div class="module-stat"><span>Rendered Modules</span><strong id="ml_out_rendered">0</strong></div>
                <div id="ml_status" class="module-status">Ready.</div>

                <div class="module-note">
                    This app is for physical GIS visualisation only. It does not replace paid EPC design, cable schedules, structural layout, shading study or IFC drawings.
                </div>
            </section>

            <section class="module-map-card">
                <div id="module_map"></div>
                <div class="module-map-toolbar">
                    <button id="ml_satellite" class="btn small">Satellite View</button>
                    <button id="ml_zoom_layout" class="btn small secondary">Zoom to Layout</button>
                </div>
            </section>
        </main>
    </div>

    <script src="./gis-sld-v5-config.js"></script>
    <script src="./gis-sld-v5-helpers.js"></script>
    <script src="./module-layout-v5.js"></script>
</body>
</html>

Module Layout V5

A style sheet in GlobalGrid2050. Served with the page at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/.

renderglobalgrid2050 / solar-bess-topology-v6/module-layout/module-layout-v5.css · lines 1–448 of 781 · Entry point

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.
Downstream impact
Used directly by 3 files: Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v6/module-layout/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/module-layout/); Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (globalgrid2050, https://globalgrid2050.com/testcode/202609051958/layer-apps/solar-bess-topology-v7/module-layout/). Reached from 142 other entry points, including Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/); Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/); Demonstration Videos (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v7/docs/demonstration-videos.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/.
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 Module Layout page at https://globalgrid2050.com/solar-bess-topology-v6/module-layout/ and 2 other pages.
Application
globalgrid2050 · solar-bess-topology-v6/module-layout · style sheet
Uses
none found
Used by
loaded by Solar Battery Energy Storage System (BESS) Topology V6 — Module Layout Page (stylesheet), loaded by Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (stylesheet), loaded by Solar Battery Energy Storage System (BESS) Topology V7 — Module Layout Page (stylesheet)
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-v6/module-layout/module-layout-v5.css:1-448 · blob 813895d3d958eac0af6b695f8af522c9b879e5b4 · 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
:root {
    --module-bg: #050505;
    --module-panel: rgba(10, 10, 10, 0.94);
    --module-border: #2f343d;
    --module-cyan: #00ffff;
    --module-orange: #ff9900;
    --module-green: #00ff88;
    --module-red: #ff3333;
    --module-text: #ffffff;
    --module-muted: #a6adbb;
}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--module-bg);
    color: var(--module-text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.module-app-shell {
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    padding: 18px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.module-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    border: 1px solid var(--module-border);
    background: var(--module-panel);
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.module-kicker {
    color: var(--module-cyan);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.module-header h1 {
    margin: 6px 0;
    font-size: clamp(24px, 5vw, 24px);
    color: var(--module-text);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.module-header p {
    margin: 0;
    color: var(--module-muted);
    max-width: 850px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.topo-header-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
}

.module-link {
    color: var(--module-cyan);
    border: 1px solid var(--module-cyan);
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 8px;
    white-space: normal;
    text-align: center;
    max-width: 100%;
}

.module-main {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 18px;
    max-width: 100%;
}

.module-panel {
    border: 1px solid var(--module-border);
    background: var(--module-panel);
    border-radius: 10px;
    padding: 16px;
    max-height: calc(100vh - 150px);
    overflow: auto;
    min-width: 0;
}

.module-panel h2 {
    font-size: 14px;
    margin: 8px 0 12px;
    color: var(--module-cyan);
    border-bottom: 1px solid var(--module-border);
    padding-bottom: 6px;
}

.module-panel label {
    display: block;
    color: var(--module-muted);
    font-size: 11px;
    margin: 10px 0 4px;
}

.module-panel input,
.module-panel select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #080808;
    color: var(--module-text);
    border: 1px solid var(--module-border);
    border-radius: 6px;
    padding: 9px;
    font-family: inherit;
}

.module-button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 14px 0;
}

.btn {
    border: 1px solid var(--module-cyan);
    background: rgba(0, 255, 255, 0.1);
    color: var(--module-cyan);
    padding: 10px 12px;
    border-radius: 7px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.btn.secondary {
    border-color: var(--module-orange);
    color: var(--module-orange);
    background: rgba(255, 153, 0, 0.1);
}

.btn.danger {
    border-color: var(--module-red);
    color: var(--module-red);
    background: rgba(255, 51, 51, 0.1);
}

.btn.small {
    padding: 8px 10px;
    font-size: 11px;
}

.module-stat {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0;
    font-size: 12px;
}

.module-stat span {
    color: var(--module-muted);
}

.module-stat strong {
    color: var(--module-green);
    text-align: right;
}

.module-status {
    margin-top: 12px;
    color: var(--module-cyan);
    font-size: 11px;
    line-height: 1.4;
}

.module-note {
    margin-top: 14px;
    padding: 10px;
    border: 1px solid var(--module-border);
    border-radius: 8px;
    color: var(--module-muted);
    font-size: 11px;
    line-height: 1.5;
}

.module-map-card {
    position: relative;
    border: 1px solid var(--module-border);
    background: var(--module-panel);
    border-radius: 10px;
    overflow: hidden;
    min-height: calc(100vh - 150px);
    min-width: 0;
}

#module_map {
    width: 100%;
    height: calc(100vh - 150px);
    min-height: 620px;
}

.module-map-toolbar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    gap: 8px;
    max-width: calc(100% - 24px);
}

@media (max-width: 900px) {
    .module-app-shell {
        padding: 12px;
    }

    .module-header {
        flex-direction: column;
        padding: 14px;
        gap: 14px;
    }

    .module-header h1 {
        font-size: clamp(22px, 8vw, 34px);
    }

    .topo-header-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .module-link {
        width: 100%;
        display: block;
    }

    .module-main {
        grid-template-columns: 1fr;
    }

    .module-panel {
        max-height: none;
        padding: 14px;
    }

    #module_map,
    .module-map-card {
        min-height: 620px;
        height: 620px;
    }

    .module-map-toolbar {
        left: 12px;
        right: 12px;
        flex-direction: column;
    }
}

/* GLOBALGRID2050 A4 PORTRAIT PRINT MODE */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  html,
  body {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: block !important;
    background: #ffffff !important;
    color: #111111 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 9.5pt !important;
    line-height: 1.35 !important;
  }

  body::before {
    content: "GlobalGrid2050  |  A4 Portrait Screening Report";
    display: block;
    color: #111111;
    font-weight: bold;
    font-size: 13pt;
    border-bottom: 1px solid #999999;
    padding: 0 0 5mm 0;
    margin: 0 0 6mm 0;
  }

  .dashboard,
  .module-app-shell,
  .module-main,
  .topo-main,
  main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .panel,
  .panel-left,
  .panel-right,
  .module-panel,
  .topo-panel,
  .module-map-card,
  section,
  header,
  .guidance-box,
  .warning-box,
  .status-box,
  .module-note {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    color: #111111 !important;
    border-color: #cccccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .panel,
  .module-panel,
  .topo-panel,
  .module-map-card,
  .guidance-box,
  .warning-box,
  .status-box,
  .module-note {
    border: 1px solid #cccccc !important;
    border-radius: 0 !important;
    padding: 5mm !important;
    margin: 0 0 6mm 0 !important;
  }

  .panel-right,
  .module-map-card {
    page-break-before: auto;
    break-before: auto;
  }

  #map,
  #module_map,
  canvas,
  svg {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 110mm !important;
    max-height: 170mm !important;
    border: 1px solid #999999 !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .maplibregl-canvas,
  .maplibregl-map {
    max-width: 100% !important;
  }

  .map-controls,
  .map-tool-overlay,
  .module-map-toolbar,
  .crosshair,
  #fetch_status,
  .maplibregl-control-container,
  .maplibregl-ctrl,
  .maplibregl-ctrl-group,
  .topo-header-links,
  .button-row,
  .btn,
  button,
  .tab-container,
  .topo-tabs,
  .toolbar,
  .print-btn,
  [id*="btn_"],
  [class*="toggle"] {
    display: none !important;
  }

  .legend {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #cccccc !important;
    padding: 4mm !important;
    margin: 4mm 0 0 0 !important;
    font-size: 8pt !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  h1,
  h2,
  h3,
  h4 {
    color: #111111 !important;
    border-color: #999999 !important;
    page-break-after: avoid;
    break-after: avoid;
  }

  p,
  label,
  div,