In this section
- GIS Single-Line Diagram (SLD) V5 UI Core electrical · globalgrid2050 / solar-bess-topology-v5/gis-sld-v5-ui-core.js lines 1–103
- GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V5 Page render · globalgrid2050 / solar-bess-topology-v5/index.html lines 1–12
- Indexforgis Single-Line Diagram (SLD) V5 electrical · globalgrid2050 / solar-bess-topology-v5/indexforgis-sld-v5.html lines 1–433
- Install DC AC LV 01 HTML render · globalgrid2050 / solar-bess-topology-v5/install_dc_ac_lv_01_html.py lines 1–126
GIS Single-Line Diagram (SLD) V5 UI Core
A JavaScript file in GlobalGrid2050 that renders tech summary (`renderTechSummary`) and benchmark (`renderBenchmark`) and updates selected substation display (`updateSelectedSubstationDisplay`) (units: MVA, MW, kVA). Served with the page at https://globalgrid2050.com/solar-bess-topology-v5/.
electricalglobalgrid2050 / solar-bess-topology-v5/gis-sld-v5-ui-core.js · lines 1–103 of 103 · Entry point · pattern updateSelectedSubstationDisplay (shared by 5 files)
- What it does
- It draws substations, battery storage (BESS) and 33kV. Defines renderTechSummary, renderBenchmark, updateSelectedSubstationDisplay, recalcAll, updateLegend. 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: substations, battery storage (BESS), 33kV.
- Inputs & outputs
- Voltage levels named: 33kV.
- Downstream impact
- Used directly by 1 file: Indexforgis Single-Line Diagram (SLD) V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html). Reached from 103 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/.
- What it achieves
- It renders tech summary (`renderTechSummary`), renders benchmark (`renderBenchmark`) and updates selected substation display (`updateSelectedSubstationDisplay`). Defines `renderTechSummary`, `renderBenchmark`, `updateSelectedSubstationDisplay` and 2 more. Its code works with 33 kV.
- Why it matters
- Loaded by the Indexforgis Single-Line Diagram (SLD) V5 page at https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html.
- Application
- globalgrid2050 · solar-bess-topology-v5 · script
- Uses
- none found
- Used by
- loaded by Indexforgis Single-Line Diagram (SLD) V5 (script src)
- Produces
- renderTechSummary, renderBenchmark, updateSelectedSubstationDisplay, recalcAll, updateLegend
- Defines here
- renderTechSummary, renderBenchmark, updateSelectedSubstationDisplay, recalcAll, updateLegend
- 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-v5/gis-sld-v5-ui-core.js:1-103 · blob 734bdddb77780c6e815e89e90e53716a288e6097 · 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
"use strict";
// RENDER TECHNICAL SUMMARY
// ============================================================
function renderTechSummary(stats) {
setText("out_module_count", stats.module_count.toLocaleString());
setText("out_dc_capacity", stats.dc_mwp.toFixed(2) + " MWp");
setText("out_ac_capacity", stats.ac_mw.toFixed(2) + " MWac");
setText("out_actual_dcac", stats.dc_ac_ratio.toFixed(2));
setText("out_cb_per_inv", stats.combiner_boxes_per_inverter.toLocaleString());
setText("out_total_cb", stats.total_combiner_boxes.toLocaleString());
setText("out_string_inv_rating", stats.string_inverter_kva ? stats.string_inverter_kva.toFixed(0) + " kVA" : "n/a");
setText("out_inverter_acmax_mva", stats.inverter_acmax_mva ? stats.inverter_acmax_mva.toFixed(2) + " MVA" : "n/a");
setText("out_sub_ac_rating", stats.production_substation_ac_mva.toFixed(2) + " MVA");
setText("out_ring_ac_rating", stats.ring_main_ac_mva.toFixed(2) + " MVA");
setText("out_central_inv_dc_rating", stats.central_inverter_mwdc.toFixed(2) + " MWdc");
setText("out_central_inv_rating", stats.central_inverter_mwac.toFixed(2) + " MWac");
setText("out_cb_dc_kw", stats.combiner_box_dc_kw.toFixed(2) + " kWdc");
setText("out_engineering_warning", stats.engineering_warning || "Check assumptions");
setText("out_net_mod_area", (stats.net_mod_area_m2 / CONSTANTS.M2_PER_ACRE).toFixed(0) + " Acres");
setText("out_net_array_area", (stats.net_array_area_m2 / CONSTANTS.M2_PER_ACRE).toFixed(0) + " Acres");
setText("out_gross_area", (stats.gross_site_area_m2 / CONSTANTS.M2_PER_ACRE).toFixed(0) + " Acres");
setText("out_mod_per_pallet", stats.mods_pallet);
setText("out_pallets", stats.pallets.toLocaleString());
setText("out_mod_per_cont", stats.mods_container);
setText("out_containers", stats.containers.toLocaleString());
setText("out_spare_pct", stats.spares_pct.toFixed(1) + "%");
setText("out_containers_spares", stats.containers_inc_spares.toLocaleString());
const tabClass = state.activeTab === "central" ? "stat-val orange" : "stat-val cyan";
setClass("out_dc_capacity", tabClass);
setClass("out_containers_spares", tabClass);
const cpm = stats.dc_mwp > 0 ? stats.containers_inc_spares / stats.dc_mwp : 0;
setText("out_cont_per_mwp", cpm.toFixed(2));
setClass("out_cont_per_mwp", tabClass);
}
function renderBenchmark() {
const mw = num("ref_mw"), mods = num("ref_modules");
const implied = mw > 0 ? mods / mw : 0;
setText("out_ref_implied", `~ ${Math.round(implied).toLocaleString()} modules/MW`);
}
function updateSelectedSubstationDisplay() {
const s = state.selectedSubstation;
if (!s) {
setText("out_selected_sub_name", "None selected");
setText("out_selected_sub_voltage", "Unknown");
setText("out_selected_sub_lon", "n/a");
setText("out_selected_sub_lat", "n/a");
return;
}
setText("out_selected_sub_name", s.name || "Selected Substation");
setText("out_selected_sub_voltage", s.voltage || "Unknown");
setText("out_selected_sub_lon", s.coordinates ? Number(s.coordinates[0]).toFixed(6) : "n/a");
setText("out_selected_sub_lat", s.coordinates ? Number(s.coordinates[1]).toFixed(6) : "n/a");
}
// ============================================================
// MAIN RECALC
// ============================================================
function recalcAll() {
const stats = computeStats();
state.lastStats = stats;
renderTechSummary(stats);
const prefix = state.activeTab === "string" ? "fin_string" : "fin_central";
const fin = computeFinance(prefix, stats);
state.lastFinance[prefix] = fin;
renderFinance(prefix, fin);
renderFinanceWarnings(prefix, fin, stats);
renderBenchmark();
updateSelectedSubstationDisplay();
}
const recalcDebounced = debounce(recalcAll, CONSTANTS.RECALC_DEBOUNCE_MS);
// ============================================================
// LEGEND
// ============================================================
function updateLegend() {
const legend = $("map_legend");
if (!legend) return;
let html = `
<div class="legend-item"><div class="swatch" style="background:#ffffff; border-color:#ff3333;"></div> Atlas Substation Dataset</div>
<div class="legend-item"><div class="swatch" style="background:var(--substation);"></div> Point of Interconnection</div>
<div class="legend-item"><div class="swatch" style="background:transparent; border-bottom: 2px dashed var(--substation);"></div> Export Cable</div>
<div class="legend-item"><div class="swatch" style="background:var(--private-sub);"></div> Customer Substation</div>
<div class="legend-item"><div class="swatch" style="background:var(--bess);"></div> BESS Compound</div>
<div class="legend-item"><div class="swatch" style="background:var(--array-blue); opacity: 0.3; border-style: dashed;"></div> Total Array Boundary</div>`;
if (state.activeTab === "string") {
html += `<div class="legend-item"><div class="swatch" style="background:var(--inverter);"></div> String Substation Block</div>
<div class="legend-item"><div class="swatch" style="background:transparent; border-bottom: 2px solid var(--accent);"></div> Radial 33kV Spine</div>`;
} else {
html += `<div class="legend-item"><div class="swatch" style="background:var(--accent-alt);"></div> Central Inverter Block</div>
<div class="legend-item"><div class="swatch" style="background:transparent; border-bottom: 2px solid var(--accent);"></div> Radial 33kV Spine</div>`;
}
legend.innerHTML = html;
}
// ============================================================GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V5 Page
A web page. Published at https://globalgrid2050.com/solar-bess-topology-v5/.
renderglobalgrid2050 / solar-bess-topology-v5/index.html · lines 1–12 of 12 · Entry point
- What it does
- It draws its content. 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.
- Inputs & outputs
- Out: web page.
- Downstream impact
- Used directly by 1 file: GlobalGrid2050 Clone V4 to V5 (globalgrid2050). Reached from 1 other entry point, including GlobalGrid2050 Clone V4 to V5 Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/.
- What it achieves
- GIS single-line diagram (SLD) Financial Sandbox V5.
- Why it matters
- Imported by GlobalGrid2050 Clone V4 to V5.
- Application
- globalgrid2050 · solar-bess-topology-v5 · page
- Uses
- Indexforgis Single-Line Diagram (SLD) V5 (link)
- Used by
- named by URL in GlobalGrid2050 Clone V4 to V5 (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-v5/index.html:1-12 · blob 4e1add4a93269005ac94dad3659af76d92a7857a · 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" />
<title>GIS SLD Financial Sandbox V5</title>
<meta http-equiv="refresh" content="0; url=indexforgis-sld-v5.html" />
</head>
<body style="margin:0;background:#050505;color:#fff;font-family:Arial,sans-serif;padding:24px;">
<a href="indexforgis-sld-v5.html" style="color:#00ffff;">Open GIS SLD Financial Sandbox V5</a>
</body>
</html>Indexforgis Single-Line Diagram (SLD) V5
A web page in GlobalGrid2050 that reads inputs for loc, mod wp and mod (units: MW, MVA, MWh), covering battery storage (BESS), cables, 33kV and substations. Published at https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html.
electricalglobalgrid2050 / solar-bess-topology-v5/indexforgis-sld-v5.html · lines 1–433 of 433 · Entry point
- What it does
- It draws battery storage (BESS), cables, 33kV and substations. 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), cables, 33kV, substations.
- Inputs & outputs
- In: form fields (user input). Out: web page. Voltage levels named: 33kV.
- Downstream impact
- Used directly by 4 files: DC AC LV Topology Review V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html); GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V5 Page (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/); Module Layout V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/module-layout-v5.html); GlobalGrid2050 Clone V4 to V5 (globalgrid2050). Reached from 99 other entry points, including Cable Geometry Visualiser V5 (globalgrid2050, https://globalgrid2050.com/solar-bess-topology-v5/cable-geometry-visualiser-v5.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/indexforgis-sld-v5.html.
- What it achieves
- GIS SLD Financial Sandbox V5. Its code works with 33 kV, 0.00 MVA and 352 kVA.
- Why it matters
- Loaded by the DC AC LV Topology Review V5 page at https://globalgrid2050.com/solar-bess-topology-v5/dc-ac-lv-topology-review-v5.html and 2 other pages. Also imported by GlobalGrid2050 Clone V4 to V5.
- Application
- globalgrid2050 · solar-bess-topology-v5 · page
- Uses
- GIS Single-Line Diagram (SLD) V4 Config (script src), GIS Single-Line Diagram (SLD) V4 Helpers (script src), GIS Single-Line Diagram (SLD) V4 State (script src), GIS Single-Line Diagram (SLD) V4 Substations (script src), GIS Single-Line Diagram (SLD) V4 (stylesheet), GIS Single-Line Diagram (SLD) V4 Map (script src), GIS Single-Line Diagram (SLD) V5 Calculations (script src), GIS Single-Line Diagram (SLD) V4 Finance (script src), and 4 more, https://unpkg.com/maplibre-gl@3.6.2/dist/maplibre-gl.css, https://unpkg.com/maplibre-gl@3.6.2/dist/maplibre-gl.js, https://cdn.jsdelivr.net/npm/@turf/turf@6/turf.min.js
- Used by
- linked from DC AC LV Topology Review V5 (link), linked from GlobalGrid2050 — Solar Battery Energy Storage System (BESS) Topology V5 Page (link), linked from Module Layout V5 (link), named by URL in GlobalGrid2050 Clone V4 to V5 (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-v5/indexforgis-sld-v5.html:1-433 · blob 1aa3b224a31fc988d087e67d76df8d24fc7d0a1b · 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" />
<title>GIS SLD Financial Sandbox V5</title>
<link href="https://unpkg.com/maplibre-gl@3.6.2/dist/maplibre-gl.css" rel="stylesheet" />
<script src="https://unpkg.com/maplibre-gl@3.6.2/dist/maplibre-gl.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/@turf/turf@6/turf.min.js" defer></script>
<script src="gis-sld-v5-config.js"></script>
<script src="gis-sld-v5-helpers.js"></script>
<script src="gis-sld-v5-state.js"></script>
<script src="gis-sld-v5-substations.js"></script>
<link rel="stylesheet" href="gis-sld-v5.css">
</head>
<body>
<div class="dashboard">
<div class="panel panel-left">
<h2>Solar Photovoltaic (PV) Development, Engineering, Procurement and Construction (EPC) and Grid Analysis</h2>
<div class="search-box">
<input type="text" id="loc_search" placeholder="Enter location (e.g. London)..." />
<button id="btn_search">FLY</button>
</div>
<div class="tab-container">
<button class="tab-btn active" id="tabbtn_string" data-tab="string">String</button>
<button class="tab-btn" id="tabbtn_central" data-tab="central">Central</button>
</div>
<div id="string_tab" class="tab-content active">
<h3>Dimensions & Physics</h3>
<div class="input-group"><label>Module Rating (Wp)</label><input type="number" id="mod_wp" value="660" min="1" /></div>
<div class="input-group">
<label>Mod L x W (m)</label>
<div style="display: flex; gap: 4px;">
<input type="number" id="mod_l" value="2.38" step="0.01" min="0.01" style="width: 45px;" />
<input type="number" id="mod_w" value="1.30" step="0.01" min="0.01" style="width: 45px;" />
</div>
</div>
<div class="input-group">
<label>Mounting & GCR</label>
<select id="mounting_type">
<option value="0.75">East-West Dome (~75%)</option>
<option value="0.45" selected>Fixed Tilt South (~45%)</option>
<option value="0.35">Tracker (~35%)</option>
</select>
</div>
<div class="input-group"><label>Gross Site Factor</label><input type="number" id="gross_factor" value="1.35" step="0.05" min="1.0" /></div>
<h3>Array Hierarchy (String)</h3>
<div class="input-group"><label>DC/AC Ratio</label><input type="number" id="dc_ac_ratio" value="1.20" step="0.05" min="0.01" /></div>
<div class="input-group"><label>String Inverter Rating kVA</label><input type="number" id="string_inv_kva" value="352" step="1" min="1" /></div>
<div class="input-group"><label>String Skid Transformer Rating MVA</label><input type="number" id="string_skid_mva" value="8.96" step="0.01" min="0.1" /></div>
<div class="input-group"><label>Modules per String</label><input type="number" id="x_mods" value="28" min="1" /></div>
<div class="input-group"><label>Strings per String Inverter</label><input type="number" id="z_strings" value="18" min="1" /></div>
<div class="input-group"><label>String Inverters per Skid</label><input type="number" id="y_invs" value="28" min="1" /></div>
<div class="input-group"><label>Skids per 33 kV Ring Main</label><input type="number" id="s_subs" value="5" min="1" /></div>
<div class="input-group"><label>Number of 33 kV Ring Main Circuits</label><input type="number" id="b_cols" value="6" min="1" /></div>
<h3>Module Logistics</h3>
<div class="input-group">
<label>Packaging Preset</label>
<select id="logistics_preset" data-suffix="">
<option value="high_density" selected>High Density (33/box, 594/40ft)</option>
<option value="legacy">Standard Legacy (31/box, 620/40ft)</option>
<option value="manual">Manual Entry</option>
</select>
</div>
<div class="input-group"><label>Modules / Packing Unit</label><input type="number" id="mods_pallet" value="33" min="1" /></div>
<div class="input-group"><label>Mods / 40ft Container</label><input type="number" id="mods_container" value="594" min="1" /></div>
<div class="input-group"><label>Spare Allowance %</label><input type="number" id="spare_pct" value="1.0" step="0.1" min="0" /></div>
<details class="finance-box">
<summary>Baseline Project Economics</summary>
<div class="finance-headline">
<div class="stat-row"><span>Year 1 Revenue Projection</span><span class="stat-val" id="fin_string_annual_rev">£0</span></div>
<div class="stat-row"><span>25 Year Revenue Projection</span><span class="stat-val" id="fin_string_25_rev">£0</span></div>
<div class="stat-row"><span>35 Year Revenue Projection</span><span class="stat-val" id="fin_string_35_rev">£0</span></div>
<div class="stat-row"><span>Total CAPEX</span><span class="stat-val" id="fin_string_capex">£0</span></div>
<div class="stat-row"><span>CAPEX per Wp</span><span class="stat-val" id="fin_string_capex_wp">£0.00/Wp</span></div>
<div class="stat-row"><span>Undiscounted 25 Year Cash Surplus</span><span class="stat-val" id="fin_string_surplus_25">£0</span></div>
<div class="stat-row"><span>Undiscounted 35 Year Cash Surplus</span><span class="stat-val" id="fin_string_surplus_35">£0</span></div>
</div>
<h3>Revenue</h3>
<div class="input-group"><label>Energy Price £/MWh</label><input type="number" id="fin_string_price" value="65" step="1" min="0"></div>
<div class="input-group"><label>Other Income £/MWh</label><input type="number" id="fin_string_other" value="0" step="1" min="0"></div>
<div class="input-group"><label>Base Yield kWh/kWp</label><input type="number" id="fin_string_yield" value="1000" step="10" min="0"></div>
<div class="input-group"><label>Bifacial Gain %</label><input type="number" id="fin_string_bifacial" value="5" step="0.5" min="0" max="15"></div>
<div class="input-group"><label>Base Losses %</label><input type="number" id="fin_string_losses" value="2" step="0.1" min="0"></div>
<div class="input-group"><label>Degradation % (Yr 2+)</label><input type="number" id="fin_string_deg" value="0.4" step="0.01" min="0"></div>
<div class="input-group"><label>OPEX £/MWac/yr</label><input type="number" id="fin_string_opex" value="25000" step="1000" min="0"></div>
<h3>Development Financials</h3>
<div class="finance-headline">
<div class="stat-row"><span>Development Capital at Risk</span><span class="stat-val" id="fin_string_dev_capital">£0</span></div>
<div class="stat-row"><span>Module Supply Cost</span><span class="stat-val" id="fin_string_dev_module_cost">£0</span></div>
<div class="stat-row"><span>EPC Cost</span><span class="stat-val" id="fin_string_dev_epc_cost">£0</span></div>
<div class="stat-row"><span>Other Owner Costs</span><span class="stat-val" id="fin_string_dev_owner_cost">£0</span></div>
<div class="stat-row"><span>Grid Connection Cost</span><span class="stat-val" id="fin_string_dev_grid_cost">£0</span></div>
<div class="stat-row"><span>Total Build Cost</span><span class="stat-val" id="fin_string_dev_total_cost">£0</span></div>
<div class="stat-row"><span>Target Exit Value</span><span class="stat-val" id="fin_string_dev_exit_value">£0</span></div>
<div class="stat-row"><span>Operating Asset Net Present Value (NPV)</span><span class="stat-val" id="fin_string_dev_operating_npv">£0</span></div>
<div class="stat-row"><span>Gross Development Margin</span><span class="stat-val" id="fin_string_dev_margin">£0</span></div>
<div class="stat-row"><span>Risk Adjusted Development Value</span><span class="stat-val" id="fin_string_dev_risk_value">£0</span></div>
<div class="stat-row"><span>Development Equity Money Multiple</span><span class="stat-val" id="fin_string_dev_multiple">0.00x</span></div>
</div>
<div class="input-group" style="display: block; margin-bottom: 8px;">
<label style="margin-bottom: 4px; display: block;">Development Stage</label>
<select id="fin_string_dev_stage" data-dev-stage-prefix="fin_string" style="width: 100%;">
<option value="3000">Land Option Signed</option>
<option value="15000">Grid Connection Application Accepted</option>
<option value="35000">Planning Application Submitted</option>
<option value="55000">Planning Permission Granted</option>
<option value="70000">Grid Connection Terms Reviewed and Agreed</option>
<option value="80000">Buyer or Revenue Agreement Reviewed (Power Purchase Agreement (PPA) / Offtaker)</option>
<option value="100000" selected>Construction Contract Signed and Finance Committed (Financial Close)</option>
</select>
</div>
<div class="input-group"><label>Development Cost £/MW</label><input type="number" id="fin_string_dev_cost_mw" value="100000" step="5000" min="0"></div>
<div class="input-group"><label>Module Supply Cost £/MWp</label><input type="number" id="fin_string_dev_module_mwp" value="150000" step="10000" min="0"></div>
<div class="input-group"><label>EPC Cost £/MW</label><input type="number" id="fin_string_dev_epc_mw" value="500000" step="25000" min="0"></div>
<div class="input-group"><label>Other Owner Costs £/MW</label><input type="number" id="fin_string_dev_owner_mw" value="100000" step="25000" min="0"></div>
<div class="input-group"><label>Grid Connection Cost £ per Megawatt (MW)</label><input type="number" id="fin_string_dev_grid_mw" value="100000" step="25000" min="0"></div>
<div class="input-group"><label>Target Exit Value £/MWp</label><input type="number" id="fin_string_dev_exit_mwp" value="1350000" step="50000" min="0"></div>
<div class="input-group"><label>Operating Asset Net Present Value (NPV) £ per Megawatt peak (MWp)</label><input type="number" id="fin_string_dev_npv_mwp" value="1200000" step="50000" min="0"></div>
<div class="input-group"><label>Development Success Probability %</label><input type="number" id="fin_string_dev_success" value="15" step="1" min="0" max="100"></div>
<div class="input-group"><label>Development Years</label><input type="number" id="fin_string_dev_years" value="4" step="0.5" min="0"></div>
<h3>CAPEX</h3>
<div class="input-group"><label>Modules £/Wp</label><input type="number" id="fin_string_modules" value="0.15" step="0.01" min="0"></div>
<div class="input-group"><label>EPC ex Modules £/Wp</label><input type="number" id="fin_string_epc_ex" value="0.30" step="0.01" min="0"></div>
<div class="input-group">
<label>Flood Resilience</label>
<div style="display: flex; gap: 4px; align-items: center;">
<input type="checkbox" id="fin_string_flood" />
<input type="number" id="fin_string_flood_rate" value="0.03" step="0.01" min="0" style="width: 50px;" />
</div>
</div>
<div class="input-group"><label>Other CAPEX £/Wp</label><input type="number" id="fin_string_other_capex" value="0.20" step="0.01" min="0"></div>
<div class="input-group"><label>Fixed CAPEX £</label><input type="number" id="fin_string_fixed_capex" value="1500000" step="50000" min="0"></div>
<div class="input-group"><label>Contingency %</label><input type="number" id="fin_string_cont" value="7" step="0.5" min="0"></div>
<h3>Loss Allowances</h3>
<div class="input-group"><label>DC String Cable Loss %</label><input type="number" id="fin_string_loss_dc_string" value="0" step="0.1" min="0"></div>
<div class="input-group"><label>LV Main DC Loss %</label><input type="number" id="fin_string_loss_lv_dc" value="0" step="0.1" min="0"></div>
<div class="input-group"><label>LV AC Loss %</label><input type="number" id="fin_string_loss_lv_ac" value="0" step="0.1" min="0"></div>
<div class="input-group"><label>Transformer Loss %</label><input type="number" id="fin_string_loss_tx" value="0" step="0.1" min="0"></div>
<div class="input-group"><label>Other Electrical Loss %</label><input type="number" id="fin_string_loss_other" value="0" step="0.1" min="0"></div>
<h3>BESS Optional</h3>
<div class="input-group"><label>BESS Power MW</label><input type="number" id="fin_string_bess_mw" value="0" step="1" min="0"></div>
<div class="input-group"><label>BESS Energy MWh</label><input type="number" id="fin_string_bess_mwh" value="0" step="1" min="0"></div>
<div class="input-group"><label>BESS CAPEX £/MWh</label><input type="number" id="fin_string_bess_capex" value="0" step="10000" min="0"></div>
<div class="input-group"><label>BESS Cycles / Year</label><input type="number" id="fin_string_bess_cycles" value="0" step="10" min="0"></div>
<div class="input-group"><label>BESS Spread £/MWh</label><input type="number" id="fin_string_bess_spread" value="0" step="1" min="0"></div>
<div class="input-group"><label>BESS Efficiency %</label><input type="number" id="fin_string_bess_eff" value="88" step="1" min="0" max="100"></div>
<div class="warning-box" id="fin_string_warnings"></div>
</details>
</div>
<div id="central_tab" class="tab-content">
<h3>Dimensions & Physics</h3>
<div class="input-group"><label>Module Rating (Wp)</label><input type="number" id="mod_wp_c" value="660" min="1" /></div>
<div class="input-group">
<label>Mod L x W (m)</label>
<div style="display: flex; gap: 4px;">
<input type="number" id="mod_l_c" value="2.38" step="0.01" min="0.01" style="width: 45px;" />
<input type="number" id="mod_w_c" value="1.30" step="0.01" min="0.01" style="width: 45px;" />
</div>
</div>
<div class="input-group">
<label>Mounting & GCR</label>
<select id="mounting_type_c">
<option value="0.75">East-West Dome (~75%)</option>
<option value="0.45" selected>Fixed Tilt South (~45%)</option>
<option value="0.35">Tracker (~35%)</option>
</select>
</div>
<div class="input-group"><label>Gross Site Factor</label><input type="number" id="gross_factor_c" value="1.35" step="0.05" min="1.0" /></div>
<h3>Array Hierarchy (Central)</h3>
<div class="input-group"><label>Central Inverter DC Input Rating MWdc</label><input type="number" id="inv_dc_mw_c" value="5.28" step="0.01" min="0.1" max="30" /></div>
<div class="input-group"><label>Central Inverter AC Output Rating MWac</label><input type="number" id="inv_ac_mw_c" value="4.40" step="0.01" min="0.1" max="20" /></div>
<div class="input-group"><label>Central Skid Transformer Rating MVA</label><input type="number" id="central_skid_mva_c" value="4.40" step="0.01" min="0.1" max="25" /></div>
<div class="ux-note">A skid is a factory assembled power package. It usually combines inverter equipment, transformer, switchgear, protection and auxiliary systems on a transportable base or frame. Finance and non technical teams can treat each skid as one repeatable cost and power block. Values above 10 MWac should be treated as large power block assumptions and require transformer, MV sw … [line shortened here: 473 characters; full line on GitHub]
<div class="input-group"><label>Calculated DC/AC Ratio</label><input type="number" id="dc_ac_ratio_c" value="1.20" step="0.05" min="0.01" /></div>
<div class="input-group"><label>Modules / String</label><input type="number" id="x_mods_c" value="28" min="1" /></div>
<div class="input-group"><label>Strings per Combiner Box</label><input type="number" id="str_per_cb_c" value="24" min="1" /></div>
<div class="input-group"><label>Combiner Box Design Limit kWdc</label><input type="number" id="combiner_limit_kwdc_c" value="500" step="10" min="1" /></div>
<div class="input-group"><label>Central Inverter Units per Skid</label><input type="number" id="inv_per_mv_c" value="1" min="1" /></div>
<div class="input-group"><label>Central Skids per 33 kV Ring Main</label><input type="number" id="mv_per_ring_c" value="4" min="1" /></div>
<div class="input-group"><label>Number of 33 kV Ring Main Circuits</label><input type="number" id="rings_c" value="4" min="1" /></div>
<h3>Module Logistics</h3>
<div class="input-group">
<label>Packaging Preset</label>
<select id="logistics_preset_c" data-suffix="_c">
<option value="high_density" selected>High Density (33/box, 594/40ft)</option>
<option value="legacy">Standard Legacy (31/box, 620/40ft)</option>
<option value="manual">Manual Entry</option>
</select>
</div>
<div class="input-group"><label>Modules / Packing Unit</label><input type="number" id="mods_pallet_c" value="33" min="1" /></div>
<div class="input-group"><label>Mods / 40ft Container</label><input type="number" id="mods_container_c" value="594" min="1" /></div>
<div class="input-group"><label>Spare Allowance %</label><input type="number" id="spare_pct_c" value="1.0" step="0.1" min="0" /></div>
<details class="finance-box">
<summary>Baseline Project Economics</summary>
<div class="finance-headline">
<div class="stat-row"><span>Year 1 Revenue Projection</span><span class="stat-val" id="fin_central_annual_rev">£0</span></div>
<div class="stat-row"><span>25 Year Revenue Projection</span><span class="stat-val" id="fin_central_25_rev">£0</span></div>
<div class="stat-row"><span>35 Year Revenue Projection</span><span class="stat-val" id="fin_central_35_rev">£0</span></div>
<div class="stat-row"><span>Total CAPEX</span><span class="stat-val" id="fin_central_capex">£0</span></div>
<div class="stat-row"><span>CAPEX per Wp</span><span class="stat-val" id="fin_central_capex_wp">£0.00/Wp</span></div>
<div class="stat-row"><span>Undiscounted 25 Year Cash Surplus</span><span class="stat-val" id="fin_central_surplus_25">£0</span></div>
<div class="stat-row"><span>Undiscounted 35 Year Cash Surplus</span><span class="stat-val" id="fin_central_surplus_35">£0</span></div>
</div>
<h3>Revenue</h3>
<div class="input-group"><label>Energy Price £/MWh</label><input type="number" id="fin_central_price" value="65" step="1" min="0"></div>
<div class="input-group"><label>Other Income £/MWh</label><input type="number" id="fin_central_other" value="0" step="1" min="0"></div>
<div class="input-group"><label>Base Yield kWh/kWp</label><input type="number" id="fin_central_yield" value="1000" step="10" min="0"></div>
<div class="input-group"><label>Bifacial Gain %</label><input type="number" id="fin_central_bifacial" value="5" step="0.5" min="0" max="15"></div>
<div class="input-group"><label>Base Losses %</label><input type="number" id="fin_central_losses" value="2" step="0.1" min="0"></div>
<div class="input-group"><label>Degradation % (Yr 2+)</label><input type="number" id="fin_central_deg" value="0.4" step="0.01" min="0"></div>
<div class="input-group"><label>OPEX £/MWac/yr</label><input type="number" id="fin_central_opex" value="25000" step="1000" min="0"></div>
<h3>Development Financials</h3>
<div class="finance-headline">
<div class="stat-row"><span>Development Capital at Risk</span><span class="stat-val" id="fin_central_dev_capital">£0</span></div>
<div class="stat-row"><span>Module Supply Cost</span><span class="stat-val" id="fin_central_dev_module_cost">£0</span></div>
<div class="stat-row"><span>EPC Cost</span><span class="stat-val" id="fin_central_dev_epc_cost">£0</span></div>
<div class="stat-row"><span>Other Owner Costs</span><span class="stat-val" id="fin_central_dev_owner_cost">£0</span></div>
<div class="stat-row"><span>Grid Connection Cost</span><span class="stat-val" id="fin_central_dev_grid_cost">£0</span></div>
<div class="stat-row"><span>Total Build Cost</span><span class="stat-val" id="fin_central_dev_total_cost">£0</span></div>
<div class="stat-row"><span>Target Exit Value</span><span class="stat-val" id="fin_central_dev_exit_value">£0</span></div>
<div class="stat-row"><span>Operating Asset Net Present Value (NPV)</span><span class="stat-val" id="fin_central_dev_operating_npv">£0</span></div>
<div class="stat-row"><span>Gross Development Margin</span><span class="stat-val" id="fin_central_dev_margin">£0</span></div>
<div class="stat-row"><span>Risk Adjusted Development Value</span><span class="stat-val" id="fin_central_dev_risk_value">£0</span></div>
<div class="stat-row"><span>Development Equity Money Multiple</span><span class="stat-val" id="fin_central_dev_multiple">0.00x</span></div>
</div>
<div class="input-group" style="display: block; margin-bottom: 8px;">
<label style="margin-bottom: 4px; display: block;">Development Stage</label>
<select id="fin_central_dev_stage" data-dev-stage-prefix="fin_central" style="width: 100%;">
<option value="3000">Land Option Signed</option>
<option value="15000">Grid Connection Application Accepted</option>
<option value="35000">Planning Application Submitted</option>
<option value="55000">Planning Permission Granted</option>
<option value="70000">Grid Connection Terms Reviewed and Agreed</option>
<option value="80000">Buyer or Revenue Agreement Reviewed (Power Purchase Agreement (PPA) / Offtaker)</option>
<option value="100000" selected>Construction Contract Signed and Finance Committed (Financial Close)</option>
</select>
</div>
<div class="input-group"><label>Development Cost £/MW</label><input type="number" id="fin_central_dev_cost_mw" value="100000" step="5000" min="0"></div>
<div class="input-group"><label>Module Supply Cost £/MWp</label><input type="number" id="fin_central_dev_module_mwp" value="150000" step="10000" min="0"></div>
<div class="input-group"><label>EPC Cost £/MW</label><input type="number" id="fin_central_dev_epc_mw" value="500000" step="25000" min="0"></div>
<div class="input-group"><label>Other Owner Costs £/MW</label><input type="number" id="fin_central_dev_owner_mw" value="100000" step="25000" min="0"></div>
<div class="input-group"><label>Grid Connection Cost £ per Megawatt (MW)</label><input type="number" id="fin_central_dev_grid_mw" value="100000" step="25000" min="0"></div>
<div class="input-group"><label>Target Exit Value £/MWp</label><input type="number" id="fin_central_dev_exit_mwp" value="1350000" step="50000" min="0"></div>
<div class="input-group"><label>Operating Asset Net Present Value (NPV) £ per Megawatt peak (MWp)</label><input type="number" id="fin_central_dev_npv_mwp" value="1200000" step="50000" min="0"></div>
<div class="input-group"><label>Development Success Probability %</label><input type="number" id="fin_central_dev_success" value="15" step="1" min="0" max="100"></div>
<div class="input-group"><label>Development Years</label><input type="number" id="fin_central_dev_years" value="4" step="0.5" min="0"></div>
<h3>CAPEX</h3>
<div class="input-group"><label>Modules £/Wp</label><input type="number" id="fin_central_modules" value="0.15" step="0.01" min="0"></div>
<div class="input-group"><label>EPC ex Modules £/Wp</label><input type="number" id="fin_central_epc_ex" value="0.30" step="0.01" min="0"></div>
<div class="input-group">
<label>Flood Resilience</label>
<div style="display: flex; gap: 4px; align-items: center;">
<input type="checkbox" id="fin_central_flood" />
<input type="number" id="fin_central_flood_rate" value="0.03" step="0.01" min="0" style="width: 50px;" />
</div>
</div>
<div class="input-group"><label>Other CAPEX £/Wp</label><input type="number" id="fin_central_other_capex" value="0.20" step="0.01" min="0"></div>
<div class="input-group"><label>Fixed CAPEX £</label><input type="number" id="fin_central_fixed_capex" value="1500000" step="50000" min="0"></div>
<div class="input-group"><label>Contingency %</label><input type="number" id="fin_central_cont" value="7" step="0.5" min="0"></div>
<h3>Loss Allowances</h3>
<div class="input-group"><label>DC String Cable Loss %</label><input type="number" id="fin_central_loss_dc_string" value="0" step="0.1" min="0"></div>
<div class="input-group"><label>LV Main DC Loss %</label><input type="number" id="fin_central_loss_lv_dc" value="0" step="0.1" min="0"></div>
<div class="input-group"><label>LV AC Loss %</label><input type="number" id="fin_central_loss_lv_ac" value="0" step="0.1" min="0"></div>
<div class="input-group"><label>Transformer Loss %</label><input type="number" id="fin_central_loss_tx" value="0" step="0.1" min="0"></div>
<div class="input-group"><label>Other Electrical Loss %</label><input type="number" id="fin_central_loss_other" value="0" step="0.1" min="0"></div>
<h3>BESS Optional</h3>
<div class="input-group"><label>BESS Power MW</label><input type="number" id="fin_central_bess_mw" value="0" step="1" min="0"></div>
<div class="input-group"><label>BESS Energy MWh</label><input type="number" id="fin_central_bess_mwh" value="0" step="1" min="0"></div>
<div class="input-group"><label>BESS CAPEX £/MWh</label><input type="number" id="fin_central_bess_capex" value="0" step="10000" min="0"></div>
<div class="input-group"><label>BESS Cycles / Year</label><input type="number" id="fin_central_bess_cycles" value="0" step="10" min="0"></div>
<div class="input-group"><label>BESS Spread £/MWh</label><input type="number" id="fin_central_bess_spread" value="0" step="1" min="0"></div>
<div class="input-group"><label>BESS Efficiency %</label><input type="number" id="fin_central_bess_eff" value="88" step="1" min="0" max="100"></div>
<div class="warning-box" id="fin_central_warnings"></div>
</details>
</div>
<div class="stat-box" style="border-color: #ff3333; background: rgba(255, 51, 51, 0.05); margin-bottom: 15px;">
<h3 style="margin-top: 0; color: #ff3333; border-bottom-color: #ff3333;">Selected Grid Node</h3>
<div class="stat-row"><span>Substation:</span><span class="stat-val" id="out_selected_sub_name">None selected</span></div>
<div class="stat-row"><span>Voltage:</span><span class="stat-val" id="out_selected_sub_voltage">Unknown</span></div>
<div class="stat-row"><span>Longitude:</span><span class="stat-val" id="out_selected_sub_lon">n/a</span></div>
<div class="stat-row"><span>Latitude:</span><span class="stat-val" id="out_selected_sub_lat">n/a</span></div>
</div>
<div class="stat-box" id="tech_summary_box">
<h3>Technical Quantity Summary</h3>
<div class="stat-row"><span>Total Module Count:</span><span class="stat-val" id="out_module_count">0</span></div>
<div class="stat-row"><span>Total DC Capacity:</span><span class="stat-val cyan" id="out_dc_capacity">0.00 MWp</span></div>
<div class="stat-row"><span>Implied AC Capacity:</span><span class="stat-val" id="out_ac_capacity">0.00 MWac</span></div>
<div class="stat-row"><span>DC/AC Ratio:</span><span class="stat-val" id="out_actual_dcac">1.20</span></div>
<div class="stat-row"><span>String Inverter Rating:</span><span class="stat-val" id="out_string_inv_rating">n/a</span></div>
<div class="stat-row"><span>Inverter ACmax per Skid:</span><span class="stat-val" id="out_inverter_acmax_mva">0.00 MVA</span></div>
<div class="stat-row"><span>Skid Transformer Rating:</span><span class="stat-val" id="out_sub_ac_rating">0.00 MVA</span></div>
<div class="stat-row"><span>33 kV Ring Main AC Rating:</span><span class="stat-val" id="out_ring_ac_rating">0.00 MVA</span></div>
<div class="stat-row central-only" style="display: none;"><span>Central Inverter DC Input:</span><span class="stat-val" id="out_central_inv_dc_rating">0.00 MWdc</span></div>
<div class="stat-row central-only" style="display: none;"><span>Central Inverter AC Output:</span><span class="stat-val" id="out_central_inv_rating">0.00 MWac</span></div>
<div class="stat-row central-only" style="display: none;"><span>Combiner Box DC Capacity:</span><span class="stat-val" id="out_cb_dc_kw">0.00 kWdc</span></div>
<div class="stat-row"><span>Engineering Warning:</span><span class="stat-val orange" id="out_engineering_warning">Check assumptions</span></div>
<div class="stat-row central-only" style="display: none;"><span>Central Combiner Boxes / Inverter:</span><span class="stat-val" id="out_cb_per_inv">0</span></div>
<div class="stat-row central-only" style="display: none;"><span>Total Central Combiner Boxes:</span><span class="stat-val" id="out_total_cb">0</span></div>
<div style="border-top:1px dashed #333; margin: 8px 0;"></div>
<div class="stat-row"><span>Net Module Surface Area:</span><span class="stat-val" id="out_net_mod_area">0 Acres</span></div>
<div class="stat-row"><span>Net Array Area at GCR:</span><span class="stat-val" id="out_net_array_area">0 Acres</span></div>
<div class="stat-row"><span>Indicative Gross Site Area:</span><span class="stat-val orange" id="out_gross_area">0 Acres</span></div>
<div style="border-top:1px dashed #333; margin: 8px 0;"></div>
<div class="stat-row"><span>Modules per Packing Unit:</span><span class="stat-val" id="out_mod_per_pallet">0</span></div>
<div class="stat-row"><span>Total Packing Units:</span><span class="stat-val" id="out_pallets">0</span></div>
<div class="stat-row"><span>Modules per Container:</span><span class="stat-val" id="out_mod_per_cont">0</span></div>
<div class="stat-row"><span>Total Base Containers:</span><span class="stat-val" id="out_containers">0</span></div>
<div class="stat-row"><span>Spare Module Allowance:</span><span class="stat-val" id="out_spare_pct">0%</span></div>
<div class="stat-row"><span>Containers (Inc. Spares):</span><span class="stat-val cyan" id="out_containers_spares">0</span></div>
<div class="stat-row"><span>Containers per MWp:</span><span class="stat-val cyan" id="out_cont_per_mwp">0.00</span></div>
</div>
<div class="benchmark-box">
<h3 style="margin-top: 0;">Custom Reference Benchmark</h3>
<div class="input-group"><label>Reference Project</label><input type="text" id="ref_name" value="Custom Project X" style="width: 140px; text-align: left;"/></div>
<div class="input-group"><label>Reference Capacity (MW)</label><input type="number" id="ref_mw" value="100" min="1" /></div>
<div class="input-group"><label>Reference Module Count</label><input type="number" id="ref_modules" value="150000" min="1" /></div>
<div class="stat-row" style="margin-top: 8px; border-top: 1px dashed #333; padding-top: 8px;">
<span>Implied Benchmark:</span><span class="stat-val" id="out_ref_implied">~ 1,500 modules/MW</span>
</div>
</div>
<button class="btn draw-btn" id="btn_draw">⌖ DRAW NEAT GRID</button>
<button class="btn" id="btn_export">⬇ Export GeoJSON</button>
<div class="disclaimer-box">
<strong>ENGINEERING SCREENING OUTPUT</strong><br><br>
These outputs are indicative screening values only. They are not construction design, financial advice, EPC pricing, grid compliance, logistics planning or transport instruction. All quantities, packaging, site area, cable routes, container loads, module specifications and financial assumptions must be verified against current manufacturer datasheets, project specific drawings, EPC scope, … [line shortened here: 451 characters; full line on GitHub]
</div>
<div class="explainer-box">
<h3>Electrical Topology Explanation</h3>
<p>A string is a series chain of PV modules. For example, 30 modules per string means the voltage of 30 modules is added before entering the inverter.</p>
<p>A string inverter converts DC power from several PV strings into low voltage AC power. The inverter rating in kVA defines the apparent AC power capability of each inverter. For example, 28 string inverters rated at 352 kVA create a skid block of approximately 9,856 kVA before transformer and grid limitations.</p>
<p>A skid is the local electrical station that collects power from a group of inverters. It normally includes low voltage AC switchgear, a step up transformer, protection equipment and a medium voltage connection, often at 33 kV.</p>
<p>A Ring Main Unit, or RMU, is medium voltage switchgear used to connect skids into a 33 kV network. It normally includes cable switches, protection, earthing switches and sometimes transformer protection.</p>
<p>A 33 kV ring main is a medium voltage collection circuit that links several skids back toward the main substation or HV station. In this sandbox, Skids per 33 kV Ring Main means how many local substations sit on each medium voltage collection circuit. Number of 33 kV Ring Main Circuits means how many separate collection circuits are used across the solar farm.</p>
<p>The financial model is driven by this hierarchy. More modules, strings, inverters, substations and 33 kV ring circuits change DC capacity, AC capacity, site area, cable loading, losses, CAPEX, revenue and development value. If the topology assumptions are unrealistic, the financial outputs will also be unrealistic.</p>
<h3>About the VENTUS GIS SLD Sandbox</h3>
<p>VENTUS GIS SLD Sandbox is a working engineering screening tool for utility scale solar, storage and grid connection analysis.</p>
<p>The tool helps users explore the relationship between land, grid proximity, solar topology, module count, inverter architecture, logistics, BESS assumptions and baseline project economics in one visual interface.</p>
<p>Users can enter a location, view UK substation reference data, select a grid node and generate an indicative solar layout using either string inverter or central inverter topology. The tool can estimate module count, DC capacity, AC capacity, site area, packing units, container loads, baseline revenue, CAPEX assumptions and simple long term financial outputs.</p>
<p>This is a real engineering screening tool. It is not a final construction design package, grid offer, connection approval, EPC quotation or financial advice. It is designed to support early stage project assessment by making technical, spatial, logistics and financial assumptions visible before deeper engineering, grid, planning, procurement and financial studies begin.</p>
<p>A key feature of the sandbox is that technical and commercial assumptions are shown together. In real projects, module count becomes logistics. Cable routing becomes electrical loss. Grid proximity becomes interface risk. BESS assumptions affect land, CAPEX and revenue logic. Financial outputs only become useful when the physical assumptions behind them are visible.</p>
<p>The tool also includes GeoJSON export so that generated layouts and assumptions can be carried into external GIS workflows, reports, internal review or further engineering discussion. The exported data is intended to preserve context, including topology mode, technical assumptions, logistics assumptions, financial assumptions and warnings.</p>
<p>The public substation layer is reference data only. A visible substation point does not confirm available capacity, connection rights, voltage suitability, cable route, grid acceptance or point of connection approval. Any real project must still be reviewed by competent engineers, grid specialists, planners, EPC teams, legal advisers and project finance professionals before real world d … [line shortened here: 422 characters; full line on GitHub]
<p>VENTUS created this sandbox to support better early stage thinking in solar and storage deployment. The aim is to help developers, engineers, suppliers, investors and commercial teams ask better questions before committing time, capital and contractual responsibility.</p>
<p>Use the sandbox as a thinking tool. Use it to test scale. Use it to compare assumptions. Use it to understand where deeper engineering begins.</p>
<h3>Financial Model Logic</h3>
<p>The financial model is a screening layer for Solar Photovoltaic (PV) development, grid connection, Engineering, Procurement and Construction (EPC) readiness and operating asset value. It is designed to make the main commercial assumptions visible beside the physical layout, not to replace a full valuation report or investment committee model.</p>
<p>The energy price input is a blended screening assumption. It may represent government backed price stabilisation, a private buyer contract, merchant power exposure or a blended revenue case. Users should enter the expected captured electricity price that best reflects the project route to market.</p>
<p>The Operating Asset Net Present Value (NPV) input is user editable because operational value changes with contract quality, revenue certainty, merchant exposure, grid status, asset maturity, inflation, debt assumptions and investor return requirements. A project with stable long term revenue may justify a higher value assumption than a project with greater merchant exposure.</p>
<p>The development cost per Megawatt (MW) input is user editable because development capital at risk rises as a project moves from site identification through grid review, planning, buyer or revenue agreement review, technical design and Engineering, Procurement and Construction (EPC) readiness.</p>
<p>The Target Exit Value input is a screening assumption, not a promised sale value or formal valuation. It helps users test whether there may be development margin after development cost, module supply cost, Engineering, Procurement and Construction (EPC) cost, grid connection cost and owner costs.</p>
<p>The model deliberately avoids pretending to be a full discounted cash flow model. It is a fast comparison tool for early stage decision making. Real projects still require competent engineering, grid studies, planning review, legal review, tax review, debt sizing, revenue analysis and investment committee approval.</p>
<h3>Detailed Screening Disclaimer</h3>
<p>The VENTUS GIS SLD Sandbox is provided as an early stage screening, learning and project qualification tool. It is intended to help users visualise relationships between land, grid proximity, solar topology, cable route assumptions, module count, inverter architecture, logistics, Battery Energy Storage System (BESS) assumptions, capital cost assumptions, revenue assumptions and indicative proje … [line shortened here: 417 characters; full line on GitHub]
<p>The sandbox does not create, imply or evidence a grid offer, grid connection approval, point of connection approval, available grid capacity, land right, wayleave, easement, planning consent, EPC price, construction programme, investment recommendation, financial valuation, lending approval or insurance acceptance.</p>
<p>Public substation points, voltage references and grid node markers are reference data only. A visible substation point does not confirm voltage suitability, thermal capacity, fault level headroom, protection compatibility, connection queue status, Gate 2 eligibility, land access, constructability, outage availability, reinforcement cost or acceptance by a Distribution Network Operator (DNO), Tr … [line shortened here: 493 characters; full line on GitHub]
<p>User drawn cable routes, pin routes, direct route lines and exported route geometries are indicative routing assumptions only. They do not confirm landowner consent, wayleaves, easements, highway rights, railway crossings, watercourse crossings, third party utility conflicts, environmental constraints, planning acceptability, installation method, cable pulling feasibility, trench design, duct d … [line shortened here: 530 characters; full line on GitHub]
<p>All cable lengths, losses and route assumptions must be checked by competent cable engineers using project specific route surveys, cable data sheets, soil thermal resistivity, installation depth, grouping factors, duct factors, cyclic loading, conductor temperature limits, voltage drop limits, short circuit withstand, sheath bonding, earthing design, protection settings and applicable standards … [line shortened here: 459 characters; full line on GitHub]
<p>Solar layout outputs are indicative. Module count, DC capacity, AC capacity, site area, Ground Coverage Ratio (GCR), gross site factor, block layout, inverter count, substation count, access assumptions and container quantities must be verified against manufacturer datasheets, planning drawings, topographical surveys, geotechnical surveys, environmental constraints, drainage strategy, fire acce … [line shortened here: 493 characters; full line on GitHub]
<p>Financial outputs are screening values only. Revenue, capital expenditure, development cost, module cost, EPC cost, owner cost, grid connection cost, operating cost, target exit value, Operating Asset Net Present Value (NPV), development margin and surplus outputs depend on assumptions entered by the user and may change materially with route to market, Contracts for Difference (CfD), Power Purc … [line shortened here: 616 characters; full line on GitHub]
<p>BESS assumptions are indicative only. BESS power, BESS energy, BESS CAPEX, cycles, efficiency and revenue per MWh do not replace battery degradation modelling, augmentation strategy, warranty review, revenue stack modelling, fire safety review, planning review, grid compliance studies, metering design, controls design, availability assumptions, insurance review or safety case preparation.</p>
<p>The GeoJSON export preserves useful context for review and discussion, but exported data is not an Issued for Construction (IFC) drawing, legal boundary plan, grid application pack, cable route schedule, bill of quantities, EPC instruction, investment memorandum or bankable technical due diligence package. Any exported file must be reviewed and validated before being used in external GIS workfl … [line shortened here: 489 characters; full line on GitHub]
<p>Users remain responsible for checking all inputs, outputs, assumptions and exported data. Any real world project should be reviewed by competent engineers, grid specialists, planners, environmental consultants, land agents, legal advisers, tax advisers, insurance advisers, EPC contractors, Owner's Engineers, lenders and investment committee professionals before committing capital, signing contr … [line shortened here: 449 characters; full line on GitHub]
<p>The sandbox is designed to make assumptions visible, not to remove professional judgement. It should be used to ask better questions, compare scenarios, identify where deeper work is required and support disciplined early stage decision making.</p>
</div>
</div>
<div class="panel panel-right">
<div id="fetch_status"></div>
<div style="position: absolute; top: 10px; right: 10px; z-index: 20; display: flex; gap: 8px;">
<button id="btn_subs_toggle" class="map-toggle-btn active">SUBS ON</button>
<button id="btn_basemap" class="map-toggle-btn">SATELLITE VIEW</button>
</div>
<div class="crosshair">⌖</div>
<div id="map"></div>
<div class="legend" id="map_legend"></div>
</div>
</div>
<!-- V5 modular app scripts -->
<script src="gis-sld-v5-map.js"></script>
<script src="gis-sld-v5-calculations.js"></script>
<script src="gis-sld-v5-finance.js"></script>
<script src="gis-sld-v5-ui-core.js"></script>
<script src="gis-sld-v5-drawing.js"></script>
<script src="gis-sld-v5-export.js"></script>
<script src="gis-sld-v5-ui.js"></script>
</body>
</html>Install DC AC LV 01 HTML
A Python module in GlobalGrid2050 covering cables, 33kV, solar and transformers.
renderglobalgrid2050 / solar-bess-topology-v5/install_dc_ac_lv_01_html.py · lines 1–126 of 126 · Entry point
- What it does
- It draws cables, 33kV, solar and transformers. Uses libraries pathlib. Side effects: changes the web page (DOM); reads or writes files.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (path word 'ac'): 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, solar, transformers.
- Inputs & outputs
- In: form fields (user input). Out: SVG drawing. Voltage levels named: 33kV.
- Downstream impact
- Used directly by 2 files: GlobalGrid2050 V5 DC AC LV 01 HTML Workflow (globalgrid2050); GlobalGrid2050 V5 DC AC LV Topology Trigger Workflow (globalgrid2050). It is itself an entry point, published at https://globalgrid2050.com/solar-bess-topology-v5/.
- What it achieves
- Its code works with 33 kV and 0 MVA.
- Why it matters
- Run by GlobalGrid2050 V5 DC AC LV 01 HTML Workflow and GlobalGrid2050 V5 DC AC LV Topology Trigger Workflow.
- Application
- globalgrid2050 · solar-bess-topology-v5 · Python module
- Uses
- pathlib
- Used by
- run by GlobalGrid2050 V5 DC AC LV 01 HTML Workflow (workflow run), run by GlobalGrid2050 V5 DC AC LV Topology Trigger Workflow (workflow run)
- 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-v5/install_dc_ac_lv_01_html.py:1-126 · blob b6cfc6e6950e4984eae545899fc6f8cb994622f0 · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: output · effects: dom, filesystem · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
from pathlib import Path
ROOT = Path(__file__).resolve().parent
OUT = ROOT / "dc-ac-lv-topology-review-v5.html"
HTML = '''<!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>DC AC LV Topology Review V5 | GlobalGrid2050</title>
<link rel="stylesheet" href="./gis-sld-v5.css" />
<link rel="stylesheet" href="./module-layout-v5.css" />
<link rel="stylesheet" href="./dc-ac-lv-topology-review-v5.css" />
</head>
<body>
<div class="module-app-shell topo-app-shell">
<header class="module-header topo-header">
<div>
<div class="module-kicker">GlobalGrid2050 V5</div>
<h1>DC AC LV Topology Review</h1>
<p>Separate low voltage and DC engineering app for solar PV cable topology, string sizing, inverter aggregation, skid loading and SCADA style topology review.</p>
</div>
<div class="topo-header-links">
<a class="module-link" href="./module-layout-v5.html">Module Layout V5</a>
<a class="module-link" href="./indexforgis-sld-v5.html">Back to GIS SLD V5</a>
</div>
</header>
<main class="module-main topo-main">
<section class="module-panel topo-panel">
<div class="topo-tabs">
<button id="topo_tab_string" class="topo-tab active" data-mode="string">String Inverter</button>
<button id="topo_tab_central" class="topo-tab" data-mode="central">Central Inverter</button>
</div>
<div class="topo-mode active" data-mode-panel="string">
<h2>Module Electrical Data</h2>
<label>Module Rating Wp</label><input id="s_mod_wp" type="number" value="660" step="1" />
<label>Module Voc V</label><input id="s_voc" type="number" value="45.9" step="0.01" />
<label>Module Vmp V</label><input id="s_vmp" type="number" value="38.1" step="0.01" />
<label>Module Isc A</label><input id="s_isc" type="number" value="18.45" step="0.01" />
<label>Module Imp A</label><input id="s_imp" type="number" value="17.35" step="0.01" />
<label>Maximum Series Fuse A</label><input id="s_fuse_a" type="number" value="35" step="1" />
<label>Maximum System Voltage Vdc</label><input id="s_system_v" type="number" value="1500" step="10" />
<label>Voc Temperature Coefficient % per °C</label><input id="s_voc_coeff" type="number" value="-0.25" step="0.01" />
<label>Isc Temperature Coefficient % per °C</label><input id="s_isc_coeff" type="number" value="0.04" step="0.01" />
<label>Minimum Design Temperature °C</label><input id="s_min_temp" type="number" value="-10" step="1" />
<label>Current Correction Factor</label><input id="s_current_factor" type="number" value="1.25" step="0.01" />
<label>Bifacial Current Uplift %</label><input id="s_bifacial_current" type="number" value="10" step="1" />
<h2>String Inverter Topology</h2>
<label>Modules per String</label><input id="s_modules_per_string" type="number" value="30" min="1" step="1" />
<label>Strings per String Inverter</label><input id="s_strings_per_inverter" type="number" value="21" min="1" step="1" />
<label>String Inverter Rating kVA</label><input id="s_inverter_kva" type="number" value="352" min="1" step="1" />
<label>String Inverters per Skid</label><input id="s_inverters_per_skid" type="number" value="28" min="1" step="1" />
<label>Skid Transformer Rating MVA</label><input id="s_skid_mva" type="number" value="8.96" min="0.1" step="0.01" />
<label>Skids per 33 kV Ring</label><input id="s_skids_per_ring" type="number" value="5" min="1" step="1" />
<h2>DC Cable Review</h2>
<label>DC String Cable Length m</label><input id="s_dc_length_m" type="number" value="300" min="1" step="1" />
<label>DC Cable CSA mm²</label><input id="s_dc_csa" type="number" value="6" min="1" step="1" />
<label>DC Cable Material</label><select id="s_dc_material"><option value="cu" selected>Copper</option><option value="al">Aluminium</option></select>
<label>Allowable DC Voltage Drop %</label><input id="s_dc_vdrop_limit" type="number" value="1.0" step="0.1" />
</div>
<div class="topo-mode" data-mode-panel="central">
<h2>Module Electrical Data</h2>
<label>Module Rating Wp</label><input id="c_mod_wp" type="number" value="660" step="1" />
<label>Module Voc V</label><input id="c_voc" type="number" value="45.9" step="0.01" />
<label>Module Vmp V</label><input id="c_vmp" type="number" value="38.1" step="0.01" />
<label>Module Isc A</label><input id="c_isc" type="number" value="18.45" step="0.01" />
<label>Maximum System Voltage Vdc</label><input id="c_system_v" type="number" value="1500" step="10" />
<label>Voc Temperature Coefficient % per °C</label><input id="c_voc_coeff" type="number" value="-0.25" step="0.01" />
<label>Minimum Design Temperature °C</label><input id="c_min_temp" type="number" value="-10" step="1" />
<label>Current Correction Factor</label><input id="c_current_factor" type="number" value="1.25" step="0.01" />
<label>Bifacial Current Uplift %</label><input id="c_bifacial_current" type="number" value="10" step="1" />
<h2>Central Inverter Topology</h2>
<label>Modules per String</label><input id="c_modules_per_string" type="number" value="30" min="1" step="1" />
<label>Strings per Combiner Box</label><input id="c_strings_per_combiner" type="number" value="24" min="1" step="1" />
<label>Combiner Box Design Limit kWdc</label><input id="c_combiner_limit_kw" type="number" value="500" min="1" step="10" />
<label>Central Inverter DC Input Rating MWdc</label><input id="c_inv_dc_mw" type="number" value="5.28" min="0.1" step="0.01" />
<label>Central Inverter AC Output Rating MWac</label><input id="c_inv_ac_mw" type="number" value="4.40" min="0.1" step="0.01" />
<label>Central Skid Transformer Rating MVA</label><input id="c_skid_mva" type="number" value="4.40" min="0.1" step="0.01" />
<label>Central Inverter Units per Skid</label><input id="c_inverters_per_skid" type="number" value="1" min="1" step="1" />
<label>Central Skids per 33 kV Ring</label><input id="c_skids_per_ring" type="number" value="5" min="1" step="1" />
<h2>DC Cable Review</h2>
<label>Home Run Cable Length m</label><input id="c_dc_length_m" type="number" value="300" min="1" step="1" />
<label>DC Cable CSA mm²</label><input id="c_dc_csa" type="number" value="6" min="1" step="1" />
<label>DC Cable Material</label><select id="c_dc_material"><option value="cu" selected>Copper</option><option value="al">Aluminium</option></select>
<label>Allowable DC Voltage Drop %</label><input id="c_dc_vdrop_limit" type="number" value="1.0" step="0.1" />
</div>
<h2>Topology Results</h2>
<div class="module-stat"><span>String kWp</span><strong id="out_string_kwp">0</strong></div>
<div class="module-stat"><span>String Vmp</span><strong id="out_string_vmp">0 V</strong></div>
<div class="module-stat"><span>String Voc STC</span><strong id="out_string_voc_stc">0 V</strong></div>
<div class="module-stat"><span>Cold String Voc</span><strong id="out_string_voc_cold">0 V</strong></div>
<div class="module-stat"><span>Max Modules per String</span><strong id="out_max_modules">0</strong></div>
<div class="module-stat"><span>Design String Current</span><strong id="out_design_current">0 A</strong></div>
<div class="module-stat"><span>DC per Inverter</span><strong id="out_dc_per_inv">0 kWp</strong></div>
<div class="module-stat"><span>Inverter DC/AC</span><strong id="out_dcac">0</strong></div>
<div class="module-stat"><span>Skid DC / AC</span><strong id="out_skid_block">0</strong></div>
<div class="module-stat"><span>Ring AC Rating</span><strong id="out_ring_ac">0 MVA</strong></div>
<div class="module-stat"><span>DC Cable Loss</span><strong id="out_dc_loss">0%</strong></div>
<div id="topo_status" class="module-status">Ready.</div>
<div class="module-note">Screening tool only. It does not replace manufacturer checks, cable schedules, load flow, fault studies, insulation coordination, SPD coordination, protection grading, earthing design or IFC drawings.</div>
</section>
<section class="topo-scada-card">
<div class="topo-scada-title">SCADA Style Cable Topology Panel</div>
<svg id="topo_scada" viewBox="0 0 1200 760" role="img" aria-label="SCADA style topology drawing"></svg>
<div class="topo-scada-footer"><span id="topo_footer_left">String inverter topology</span><span>Values recalculate live from left panel</span></div>
</section>
</main>
</div>
<script src="./dc-ac-lv-topology-review-v5.js"></script>
</body>
</html>
'''
OUT.write_text(HTML, encoding="utf-8")
print(f"Wrote {OUT}")