In this section
- Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page render · solar-electrical-topology-analysis-engine-text-based / v8-leapfrog/index.html lines 1–700
Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Page
A web page that draws SVG graphics and reads inputs for modules per, module width and along row gap (units: mm², Ω). Published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/.
rendersolar-electrical-topology-analysis-engine-text-based / v8-leapfrog/index.html · lines 1–700 of 722 · 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 (repository name word 'solar'): 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; SVG drawing.
- Downstream impact
- Used directly by 42 files: Geometry Workbench (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html); Inverter24 (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/inverter24.html); Tests (solar-electrical-topology-analysis-engine-text-based, https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/tests.html); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); and 38 more. Reached from 85 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v8-leapfrog/.
- What it achieves
- V8 field-installed external-cable comparison with Build 025 total-conductor reconciliation.
- Why it matters
- Loaded by the Geometry Workbench page at https://ventusltd.github.io/solar-electrical-topology-analysis-engine-text-based/v10-development/geometry-workbench.html and 40 other pages. Checked by Tests.
- Application
- solar-electrical-topology-analysis-engine-text-based · v8-leapfrog · page
- Uses
- Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog Style Sheet (stylesheet), Solar Electrical Topology Analysis Engine Text Based — Index Page (link), V7 Development — Feed I Page (link), Tests (link), Model (script src), Solar Electrical Topology Analysis Engine Text Based — V8 Leapfrog (script src), Authority Reconciliation (script src)
- Used by
- linked from Geometry Workbench (link), linked from Inverter24 (link), linked from Tests (link), named by URL in GlobalGrid2050 Historical Builds (estate URL), named by URL in Homepage Versions — GlobalGrid2050 Page (estate URL), named by URL in Homepage V002 (estate URL), named by URL in Homepage V003 (estate URL), named by URL in Homepage V004 (estate URL), and 34 more
- 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
- solar-electrical-topology-analysis-engine-text-based@d3b4c497144c2c9b3e8f0e82117e7e9abe4672b9 v8-leapfrog/index.html:1-700 · blob 95a7fff4463e5a376852c3f64b5524d2d4817f1e · 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">
<title>V8 Leapfrog DC String Cable Comparison</title>
<meta
name="description"
content="V8 field-installed external-cable comparison with Build 025 total-conductor reconciliation."
>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<header class="topbar">
<div>
<div class="kicker">
GLOBALGRID2050 · OPEN ELECTRICAL ENGINEERING · V8.2 · AUTHORITY REFINEMENT
</div>
<h1>Leapfrog Field-Installed DC Cable Comparison</h1>
<p>
Compares the field-installed external DC string cable required by
conventional sequential and leapfrog arrangements for every
archetype string and the actual site string count. It does not
represent total circuit conductor until the factory-fitted module
interconnect consequence is reconciled through Build 025.
</p>
<div class="navlinks">
<a href="../">Open V6 complete-circuit engine</a>
<a href="../v7-development/feed-i/">
Open V7 electromagnetic workbench
</a>
<a href="./tests.html">Run V8 golden tests</a>
<a href="../BUILD_RECOVERY_INSTRUCTIONS_CHATGPT.md">
Recovery instructions
</a>
</div>
</div>
<div class="status-stack">
<div id="runtimeStatus" class="status-badge">V8 LOADING</div>
<div id="selfTestStatus" class="status-badge testing">
TESTS PENDING
</div>
<div class="status-badge error">
HISTORICAL/REFERENCE · NOT CANONICAL V10
</div>
</div>
</header>
<div class="reliance">
<strong>FIELD-INSTALLED EXTERNAL-CABLE SCREENING ONLY</strong>
V8 excludes the longer factory-fitted interconnect path created by
leapfrog. A reduction shown here is not total copper saving. The Build
025 reconciliation below reports field-installed, factory-fitted and
total circuit conductor separately. This tool does not prove as-built
wiring, routing feasibility, installed quantities, compliance,
procurement readiness or protection coordination.
</div>
<main class="layout">
<aside class="controls">
<section class="panel">
<h2>String geometry</h2>
<label>
Modules per string
<input
id="modulesPerString"
type="number"
min="1"
step="1"
value="30"
>
</label>
<label>
Module width along row (m)
<input
id="moduleWidthM"
type="number"
min="0.001"
step="0.001"
value="1.303"
>
</label>
<label>
Along-row module gap (m)
<input
id="alongRowGapM"
type="number"
min="0"
step="0.001"
value="0.020"
>
</label>
<label>
Gap between 30-module bands (m)
<input
id="bandGapM"
type="number"
min="0"
step="0.1"
value="0.500"
>
</label>
<div class="provenance">
Row span is derived from module count, module width and gaps.
<strong>No user-entered row length exists.</strong>
</div>
</section>
<section class="panel">
<h2>Strings and inverter distance</h2>
<p>
Each comma-separated number is the string count in one
equal-distance archetype band.
</p>
<label>
East face bands
<input id="eastBands" type="text" value="5,5,2">
</label>
<label>
West face bands
<input id="westBands" type="text" value="5,5,2">
</label>
<label>
Near string terminals to inverter (m)
<input
id="inverterDistanceM"
type="number"
min="0"
step="0.5"
value="10"
>
</label>
<label>
Distance scenarios (m)
<input id="scenarioDistancesM" type="text" value="10,20,30">
</label>
<label>
Sequential polarity convention
<select id="polarityConvention">
<option value="mirrored">
Mirrored east/west · V6 convention
</option>
<option value="positive_near_both">
Positive near on both faces
</option>
</select>
</label>
<div class="note">
Inverter distance changes the unavoidable positive-and-negative
base pair. It does not change the one-row-span external return
removed from the field installation by feasible leapfrog wiring.
</div>
</section>
<section class="panel">
<h2>External 6 mm² DC string cable</h2>
<label>
R20 (mΩ/m)
<input
id="cableR20MilliOhmPerM"
type="number"
min="0"
step="0.01"
value="3.39"
>
</label>
<label>
Operating conductor temperature (°C)
<input
id="cableTemperatureC"
type="number"
step="1"
value="70"
>
</label>
<label>
String current (A)
<input
id="stringCurrentA"
type="number"
min="0"
step="0.01"
value="17.35"
>
</label>
<label>
Module Vmp (V)
<input
id="moduleVmpV"
type="number"
min="0.001"
step="0.1"
value="38.1"
>
</label>
<label>
Inverter count
<input
id="inverterCount"
type="number"
min="1"
step="1"
value="795"
>
</label>
<label>
Actual total site strings
<input
id="totalSiteStringCount"
type="number"
min="1"
step="1"
value="18918"
>
</label>
<label>
Installed cable rate (£/m, optional)
<input
id="installedCableRatePerM"
type="number"
min="0"
step="0.01"
value="0"
>
</label>
<div class="provenance">
Fleet reduction is calculated from actual total site strings,
not by assuming every inverter carries the 24-string archetype.
Resistance, voltage-drop and loss differences apply only to this
represented external 6 mm² conductor portion.
</div>
</section>
<section class="panel">
<h2>Factory module-lead feasibility</h2>
<label>
Positive factory lead/module (m)
<input
id="positiveFactoryLeadM"
type="number"
min="0"
step="0.01"
value="0.350"
>
</label>
<label>
Negative factory lead/module (m)
<input
id="negativeFactoryLeadM"
type="number"
min="0"
step="0.01"
value="0.280"
>
</label>
<label>
Measured routed leapfrog span (m)
<input
id="measuredLeapfrogSpanM"
type="number"
min="0"
step="0.01"
value="0"
>
</label>
<label>
Lead evidence
<select id="leadEvidence">
<option value="MANUFACTURER_STANDARD_NOT_AS_BUILT">
Manufacturer standard · not as-built
</option>
<option value="MANUFACTURER_CUSTOM_DECLARED">
Manufacturer custom declared
</option>
<option value="MEASURED_ON_SITE">
Measured on site
</option>
<option value="ASSUMED_FROM_PHOTOGRAPH">
Assumed from photograph
</option>
<option value="UNKNOWN">Unknown</option>
</select>
</label>
<div class="note">
Without a measured override, required leapfrog reach is two
module pitches. External-cable reduction is unavailable when the
lead-length screen fails.
</div>
</section>
<section class="panel">
<h2>Actions</h2>
<div class="button-row">
<button id="resetBtn">Reset defaults</button>
<button id="exportBtn" class="primary">
Export study JSON
</button>
</div>
<div class="button-row">
<button id="copyBtn">
<span id="copyStatus">Copy summary</span>
</button>
<a class="button" href="./tests.html">Open tests</a>
</div>
</section>
</aside>
<section class="workbench">
<div id="runtimeError" class="runtime-error"></div>
<div id="feasibilityBanner" class="reliance"></div>
<div class="tabs">
<button class="tab active" data-tab="calculatorTab">
Cable comparison
</button>
<button class="tab" data-tab="diagramTab">
Leapfrog diagram
</button>
<button class="tab" data-tab="stringsTab">
All strings
</button>
<button class="tab" data-tab="commentaryTab">
Technical commentary
</button>
<button class="tab" data-tab="comparisonTab">
Version authority
</button>
</div>
<div id="calculatorTab" class="tabpane active">
<div class="metrics">
<article>
<span>Module pitch</span>
<strong id="metricModulePitch" class="cyan">—</strong>
<small>used for the lead reach screen</small>
</article>
<article>
<span>Derived row span</span>
<strong id="metricRowSpan" class="cyan">—</strong>
<small>one 30-module row</small>
</article>
<article>
<span>Archetype strings / inverter</span>
<strong id="metricStrings">—</strong>
<small>east plus west drawing</small>
</article>
<article>
<span>Actual site strings</span>
<strong id="metricSiteStrings">—</strong>
<small id="metricAverageStrings">—</small>
</article>
<article>
<span>Sequential field-installed external cable</span>
<strong id="metricSequential" class="red">—</strong>
<small>per archetype inverter</small>
</article>
<article>
<span>Leapfrog field-installed external cable</span>
<strong id="metricLeapfrog">—</strong>
<small>theoretical per archetype inverter</small>
</article>
<article>
<span>Available external-cable reduction / archetype</span>
<strong id="metricSavingInverter" class="green">—</strong>
<small>field-installed portion; lead-gated</small>
</article>
<article>
<span>Available site external-cable reduction</span>
<strong id="metricSavingFleet" class="green">—</strong>
<small>not total conductor or copper saving</small>
</article>
<article>
<span>External-cable resistance reduction</span>
<strong id="metricResistanceSaving" class="green">—</strong>
<small>per string; excludes factory interconnects</small>
</article>
<article>
<span>External-cable voltage-drop reduction</span>
<strong id="metricVoltageSaving" class="green">—</strong>
<small>per string at entered current</small>
</article>
<article>
<span>External-cable loss reduction / archetype</span>
<strong id="metricLossSaving" class="green">—</strong>
<small>excludes factory-fitted conductor increase</small>
</article>
<article>
<span>External-cable loss reduction / site</span>
<strong id="metricFleetLossSaving" class="green">—</strong>
<small>external 6 mm² portion only</small>
</article>
<article>
<span>Field-installation cost difference</span>
<strong id="metricCostSaving" class="amber">—</strong>
<small>external cable only when £/m is entered</small>
</article>
</div>
<div class="decomposition">
<article class="compare-card leapfrog">
<span>Unavoidable external base pair</span>
<strong id="decompBasePair">—</strong>
<small>
Both modes retain + and − external cable from the common end.
</small>
</article>
<article class="compare-card sequential">
<span>Sequential external return</span>
<strong id="decompSequentialReturn">—</strong>
<small>One full row span per archetype string.</small>
</article>
<article class="compare-card difference">
<span>Leapfrog external return</span>
<strong id="decompLeapfrogReturn">—</strong>
<small>Zero only when the lead screen passes.</small>
</article>
<article class="compare-card sequential">
<span>Sequential external total</span>
<strong id="decompSequentialTotal">—</strong>
<small>Base pair plus row returns.</small>
</article>
<article class="compare-card leapfrog">
<span>Leapfrog external total</span>
<strong id="decompLeapfrogTotal">—</strong>
<small>Theoretical external base-pair total.</small>
</article>
<article class="compare-card difference">
<span>Available external reduction</span>
<strong id="decompDifference">—</strong>
<small>Unavailable where leapfrog fails.</small>
</article>
</div>
<section class="section">
<h2>Build 025 authority reconciliation · 24 × 30 reference fixture</h2>
<div class="section-body">
<p>
V8 calculates only the field-installed external-cable
consequence. Build 025 traces the complete routed circuit and
therefore includes the increased factory-fitted interconnect
path. These four quantities must be read together.
</p>
<div class="decomposition">
<article class="compare-card leapfrog">
<span>Field-installed conductor</span>
<strong id="authorityFieldInstalledReduction" class="green">—</strong>
<small>sequential minus leapfrog</small>
</article>
<article class="compare-card sequential">
<span>Factory-fitted conductor</span>
<strong id="authorityFactoryFittedIncrease" class="red">—</strong>
<small>leapfrog minus sequential</small>
</article>
<article class="compare-card difference">
<span>Total circuit conductor</span>
<strong id="authorityTotalCircuitChange" class="red">—</strong>
<small>leapfrog minus sequential</small>
</article>
<article class="compare-card leapfrog">
<span>Absolute winding area</span>
<strong id="authorityLoopAreaReduction" class="green">—</strong>
<small>geometry benefit in the reference fixture</small>
</article>
<article class="compare-card difference">
<span>Geometry evidence</span>
<strong id="authorityGeometryBasis" class="amber">—</strong>
<small>fixture-specific, not universal</small>
</article>
</div>
<p class="note">
The Build 025 loop-area result uses plan coordinates and
unresolved coincident module-terminal offsets. It is a
deterministic fixture result, not a universal OEM-module or
site percentage.
</p>
</div>
</section>
<section class="section">
<h2>Module-lead evidence gate</h2>
<div class="section-body">
<div class="lead-box">
<article>
<span>Positive lead</span>
<strong id="leadPositive">—</strong>
</article>
<article>
<span>Negative lead</span>
<strong id="leadNegative">—</strong>
</article>
<article>
<span>Combined available</span>
<strong id="leadCombined">—</strong>
</article>
<article>
<span>Required reach</span>
<strong id="leadRequired">—</strong>
</article>
<article>
<span>Reach basis</span>
<strong id="leadBasis">—</strong>
</article>
<article>
<span>Margin</span>
<strong id="leadMargin">—</strong>
</article>
<article>
<span>Extension required</span>
<strong id="leadExtension">—</strong>
</article>
</div>
<p>
<strong id="leadStatus" class="amber">UNRESOLVED</strong>
— <span id="leadMessage">Waiting for calculation.</span>
</p>
</div>
</section>
<section class="section">
<h2>Band schedule · sequential versus leapfrog external cable</h2>
<div class="table-wrap">
<table>
<thead>
<tr>
<th>Face</th>
<th>Band</th>
<th>Strings</th>
<th>Near route m</th>
<th>Seq + m</th>
<th>Seq − m</th>
<th>Seq external total m</th>
<th>Leap + m</th>
<th>Leap − m</th>
<th>Leap external total m</th>
<th>Theoretical external reduction m</th>
<th>Available external reduction m</th>
</tr>
</thead>
<tbody id="bandSchedule"></tbody>
<tfoot id="bandScheduleFoot"></tfoot>
</table>
</div>
</section>
<section class="section">
<h2>10 / 20 / 30 metre inverter-distance scenarios</h2>
<div class="table-wrap">
<table>
<thead>
<tr>
<th>Distance m</th>
<th>Base pair m/archetype</th>
<th>Sequential external m/archetype</th>
<th>Leapfrog external m/archetype</th>
<th>Theoretical external reduction m</th>
<th>Available external reduction m</th>
<th>Available site external reduction km</th>
<th>Available external loss reduction kW/archetype</th>
</tr>
</thead>
<tbody id="scenarioSchedule"></tbody>
</table>
</div>
</section>
<section class="section">
<h2>Calculation trace</h2>
<div class="section-body">
<pre id="calculationTrace" class="trace"></pre>
</div>
</section>
</div>
<div id="diagramTab" class="tabpane">
<section class="section">
<h2>Why leapfrog removes the far-end field-installed return</h2>
<div class="section-body">
<p>
Sequential wiring places the two free string terminals at
opposite physical ends. Leapfrog brings both to the
inverter-side end. The diagram explains the external routing
consequence only; it does not account for the longer
factory-fitted module interconnect path.
</p>
</div>
<div class="diagram-wrap">
<svg
id="topologyDiagram"
role="img"
aria-label="Sequential and leapfrog string wiring comparison"
></svg>
</div>
</section>
</div>
<div id="stringsTab" class="tabpane">
<section class="section">
<h2>All generated archetype strings</h2>
<div class="section-body">
<p>
Every string is listed separately so positive and negative
field-installed external-cable lengths remain auditable.
</p>
</div>
<div class="table-wrap">
<table>
<thead>
<tr>
<th>#</th>
<th>Polarity IDs</th>
<th>Face</th>
<th>Band</th>
<th>Near m</th>
<th>Seq + m</th>
<th>Seq − m</th>
<th>Leap + m</th>
<th>Leap − m</th>
<th>Theoretical external reduction m</th>
<th>Available external reduction m</th>
<th>External ΔR Ω</th>
<th>External ΔV V</th>
<th>External ΔP W</th>
</tr>
</thead>
<tbody id="stringSchedule"></tbody>
</table>
</div>
</section>
</div>
<div id="commentaryTab" class="tabpane">
<section class="section">
<h2>Technical commentary governing V8.2</h2>
<div class="section-body">
<p>
A string always has one free positive terminal and one free
negative terminal. Leapfrog changes their physical location,
not the string voltage, current, module count or MPPT duty.
</p>
<p>
Sequential wiring requires an unavoidable external base pair
plus one additional field-installed row-length return conductor
per string. Feasible leapfrog wiring retains the external base
pair and removes that field-installed return.
</p>
<p>
Factory module leads remain in circuit under both topologies,
but the total factory-fitted interconnect path is not the same.
Build 025 shows that the increased factory-fitted path can exceed
the field-installed reduction, producing a small increase in
total circuit conductor while substantially reducing EPC cable.
</p>
<p>
The lead screen uses two module pitches unless measured route
evidence is entered. When it fails, V8 refuses to report the
theoretical external-cable difference as available.
</p>
<p>
V8 resistance, voltage-drop and loss differences apply only to
the represented external 6 mm² conductor. They are not complete
circuit results and must not be promoted as total-system loss
reduction.
</p>
<p>
Site totals use actual total string count. The 24-string
inverter remains an archetype and is not multiplied blindly
by inverter count.
</p>
</div>
</section>
</div>
<div id="comparisonTab" class="tabpane">
<section class="section">
<h2>Version responsibilities and authority</h2>
<div class="section-body">
<div class="comparison-grid">
<article>
<h3>V6</h3>
<p id="v6Comparison"></p>
</article>
<article>
<h3>V7</h3>
<p id="v7Comparison"></p>
</article>
<article>
<h3>V8</h3>
<p id="v8Comparison"></p>
</article>
</div>
<p class="note">
V6, V7 and V8 are historical or reference workbenches. Passing
their tests proves reproducibility. V10 is the canonical
candidate authority chain for geometry, topology, routing and
receipts.
</p>
<textarea
id="plainSummary"
rows="22"
readonly