Layout

Cable routing and trenches

How DC, AC and medium-voltage runs are routed, what the conductor and trench totals mean, where they are reported, and how hand-drawn trenches change later runs.

Cable routing turns a placed layout into cable lengths you can cost: string cables from the tables to the inverters, feeders from the inverters onward, and medium-voltage runs from the control rooms to the main control room. It also reports trench lengths, which are a different quantity from conductor lengths and are reported separately.

None of it happens unless you ask for it. Calculate cables is off by default, and with it off no route is computed at all.

Turning cable calculation on

The option is the first row of the Cables card on the Electrical tab — see Cables for the card. Ticking it raises the Cable Calculation — Performance Notice: cable calculation can take a long time on large or complex layouts. The buttons are Enable Now and Not Now (Recommended), and the recommended one is the default.

Take the recommendation. The useful sequence is:

Generate without cables first

Leave Calculate cables unticked and click Generate Layout. You get the tables, the capacity, the control rooms and the arresters quickly, which is what you need in order to judge whether the layout is right at all.

Fix the layout inputs

Row pitch, table configuration, the capacity block, obstructions — settle all of it while runs are fast. Cable routing on a layout you are about to change is work thrown away.

Tick the option and run once more

With the layout settled, enable cable calculation for the final run and read the lengths. Cable routing is the slow step on a large plant; on very large plants the application switches to a fast geometric estimate so that generation stays workable.

With cable calculation off you still get the inverter and monitoring-box counts — those come from the string arithmetic, not from routing — and every cable and trench row of the Summary view reads a dash. See Inverter settings for the string limits that set those counts.

The three DC allowances

Under the tick, the same card carries three allowances that turn a routed string-cable length into the figure a bill of quantities expects. All three apply to fixed-tilt tables only, and none of them is kept in a project file.

FieldDefaultRangeWhat it adds
Inter-module lead0.50.0–2.0 m/moduleThe string cable between neighbouring modules, counted once per string
String return run along tableonOne conductor running back along the table so both leads exit at the same end. Untick for U-wired strings whose leads already exit the same end
DC cable slack10.00.0–30.0 %Slack and wastage added to the DC string-cable total

What is routed in each electrical design

The inverter design you chose at launch decides which legs exist. A conductor multiplier is applied to each leg, because a route drawn once on the plot is not the same as the cable you buy.

LegRouteCountedWhy
String cablesEach table to its inverter× 2A DC string needs a positive and a negative conductor over the same path
AC cablesEach inverter to the nearest ICR× 1A three-phase AC feeder is counted once along its route

ICR is the inverter control room — the building the AC feeders terminate in. Each inverter is routed to the nearest one, so the ICR positions influence the AC total as much as the inverter positions do.

Summary rows: String DC cable (m) for the string cables and AC cable to ICR (m) for the AC feeders.

Both designs then have medium-voltage cables from the control rooms onward, which work the same way in either.

Where the inverters go

Inverters — or string monitoring boxes, in a central-inverter design — are not placed on a fixed grid. They are grouped from the positions of the tables themselves: the tables are gathered into spatial clusters, and one inverter serves each cluster, so a unit sits inside the group of tables it collects rather than at an arbitrary point.

Each one is then sited in the gap band between two rows — the pitch gap that already exists for shading — so the inverter does not cost you a table. A placed string inverter is drawn as a 2 m east–west × 1 m north–south marker.

How many there are is set by the string limits on the inverter card, not by the routing.

The Layout view with the DC string cables and AC cables layers on across the whole plant.
DC and AC cables over the plant

How a route is found

Three properties describe the routing, and the third one has a consequence worth being honest about.

Right angles only. Every route is made of horizontal and vertical segments. There are no diagonals, because a cable trench across a solar plant follows the row and column grid the plant is built on — that is how it is dug and that is how it is cabled.

Every candidate is checked against the usable area. A route is only accepted if it stays on ground that is actually available: it may run inside the perimeter road band, but it never leaves the plant fence, and it does not cross a water body, a line corridor, an obstruction or excluded terrain. See Obstructions.

A series of routing patterns is tried in turn. The application works through a fixed sequence of right-angled path shapes between the two endpoints and takes the first one that validates against the usable area. If none of them validates, it falls back to a last-resort route that is guaranteed to return something connected.

Because the fallback always succeeds, a route is always produced. On an awkward boundary — a narrow waist, a deep notch, a corridor cutting the plant in two — that last-resort route can be considerably longer than the run an engineer would draw, and it is still counted in the totals. Switch the cable layers on and look at the long runs before you cost them.

Segments that several inverters share through the same corridor are counted once. Routing many inverters toward the same control room naturally puts them on a common path for the last stretch, and that stretch is one trench, not one per inverter.

A zoomed view around one control room showing the green DC string cables into the inverters and the red AC cables running at right angles to the control room.
Cable routing close up

Medium-voltage cables

Medium-voltage — MV — cables run from each inverter control room to the main control room. They are not routed one by one. All the control room exit points and the main control room entry point are connected as a single shared-trunk network, so control rooms that are near each other feed into a common trunk instead of running parallel lines across the same ground to the same destination. That is both what gets built and what costs less.

Each branch of the network carries a termination allowance of 10 m, covering the terminations at its ends over and above the routed distance.

Nothing medium-voltage is routed until the main control room is placed — there is no destination before that — and placing it routes nothing either. The medium-voltage cables are routed on the next Generate after Place MCR, with Calculate cables on. Until then the hint under the placement buttons reads "MCR placed. Enable 'Cable Calc' and regenerate layout to route MV cables.", the MV row of the Layers popover has nothing to show and the Summary's MV cable (m) reads . After that run the status line adds "| MV cable: n m". See Main control room, substations and street lights.

The Layout view after the main control room is placed and the layout regenerated, with the MV cables layer on.
Medium-voltage cables to the main control room

The Summary view reports the medium-voltage conductor length in MV cable (m).

Trenches and conductors are different totals

This is the distinction to carry into a cost estimate, and the Summary view reports both so you never have to guess which one a number is.

  • A conductor total is the length of cable, including the multipliers above: a DC leg counted twice, an AC feeder counted once.
  • A trench total is the length of physical trenching — the de-duplicated path length for that cable type. Where several cables share one route, the trench is counted once.

So the conductor total is always the larger of the two, often by a lot. Neither number is wrong; they answer different questions. Conductor length prices the cable drum. Trench length prices the excavation, the sand bedding, the tiles and the backfill.

The CABLES group of the Summary view carries them together:

Summary rowWhat it reports
String DC cable (m)String cable conductor length
AC cable to ICR (m) (string-inverter design)AC feeder conductor length, inverter to control room
DC cable to central inverter (m) (central-inverter design)DC trunk conductor length, monitoring box to control room
MV cable (m)Medium-voltage conductor length
DC trench (m)DC trench length, de-duplicated
AC trench (m)AC trench length, de-duplicated
MV trench (m)Medium-voltage trench length, de-duplicated

Every row is defined in Summary rows.

The exports that carry the cabling

Two items of the Export ▾ menu go further than the Summary view:

  • Export Cable Schedule (Excel) is the document to issue to a contractor: a workbook with one sheet per ICR block, listing the DC strings from each table row to its inverter or monitoring box and the AC or DC-trunk feeders, with recommended conductor sizes. It is available after any layout, but the lengths are only real when cables were calculated.
  • Export Detailed Project Report — the Word document — carries the inverter and cable summary on its design summary page, broken down per control room. The layout drawing in the report hides the cables. See The project report.

The inputs that move the cable totals

Cable lengths are an output, but they are an output of a small number of decisions. If a total looks wrong, these are the fields to look at rather than the routing:

InputWhat it changesEffect on the cabling
ICR BlockThe number of inverter control roomsMore, smaller rooms shorten the AC feeders — each inverter routes to the nearest room — and add branches to the medium-voltage network, each with its own termination allowance
Max strings per inverter (or per SMB)The number of inverters or monitoring boxesFewer, larger units mean longer string runs to reach each one; more, smaller units mean shorter string runs and more collection points
Row pitchThe spacing of the rowsRoutes run along and across the row grid, so a wider pitch tends to lengthen the north–south legs of the runs
The main control room positionThe destination of the medium-voltage networkSets the whole medium-voltage length. Place it where the export actually leaves the site
The three DC allowancesThe string-cable total onlyLead, return run and slack are added to the routed string length; they never touch the AC, trunk or MV figures

Because all of these are settled before routing runs, this is another reason to review the layout first and enable cable calculation last.

A hand-drawn obstruction from the Tools tab re-places the inverters but does not re-measure the cables: the String DC cable (m) and AC cable to ICR (m) rows read 0 until the next Generate. Generate again before quoting lengths.

Drawing and deleting trenches by hand

Automatic routing does not know about the access track you intend to dig along, or the crossing you have already agreed with a landowner. Sketch Mode's CABLE TRENCHES group lets you route by hand.

ToolWhat it does
🟢 DC TrenchClick vertices, right-click to finish: a DC trench
🔴 AC TrenchClick vertices, right-click to finish: an AC trench
🟩 MV TrenchClick vertices, right-click to finish: a medium-voltage trench
✂ Del TrenchClick any cable trench — automatic or hand-drawn — to delete it; the untouched trenches stay as the automatic routing

Switch 🧲 Snap and ⊾ Ortho on in the contextual bar before drawing a trench you intend to build from. See Sketch Mode.

What manual editing does to the next run

The moment you delete an automatic trench or draw one by hand, the layout's cabling becomes yours. From then on, Generate Layout keeps the current cables instead of re-routing them — on Generate the cable follows your trenches — so your edits survive the next run rather than being overwritten.

The consequence, plainly: once you have edited the trenches, a later change to an input will not re-route the cables. Change the row pitch or move a control room after hand-editing, and the tables move while the cabling stays where you put it.

There is no control that undoes this. Nothing clears manual trench edits and hands the cabling back to automatic routing — not deleting the trenches you drew, not generating again. The one route back to automatically routed cables is to lay the plant out afresh: a new layout, or File ▸ New Project.

The rule is not a defect; it is the only behaviour that makes hand-editing worthwhile. But it does make the order of work matter. Do the hand-editing last, after the inputs have stopped moving, and save the project first so the automatically routed design survives as a file of its own.

Seeing cables on the plot

The three cable rows of the Layers ▾ popover in the Layout view are OFF by default, even after a run that routed them, and the first two are enabled only when cables were calculated. Switch on the ones you want:

Layers rowDefaultDraws
DC string cables (Tbl→Inv)OFFString cables from the tables to the inverters or monitoring boxes — green
AC cables (Inv→ICR)DC cables (SMB→CI) in a central-inverter designOFFAC feeders to the control rooms — red — or the DC trunks in a central-inverter design
MV cables (ICR→MCR)OFFMedium-voltage runs to the main control room — dark green. Needs the main control room placed and cables calculated
The Layers popover in a central-inverter design, where the second cable row reads DC cables (SMB→CI).
The Layers popover in a central-inverter design

Turning all three on at once over a whole plant is unreadable. Zoom into one block with the mouse wheel, or switch Plant layout off in the same popover to read the cabling on its own. See Views for the popover and the rest of the Layout view's tools.

What reaches the drawing

The CAD export writes each cable type and each trench type to its own layer — DC_CABLES, AC_CABLES, MV_CABLES, and DC_TRENCH, AC_TRENCH, MV_TRENCH — and the cable layers are present only when cable calculation was on for the run. The trench layers carry the automatic and the hand-drawn trenches alike. Cables are exported to the Google Earth file as well. See CAD export.

Where to go next

On this page