Layout

Cable routing and trenches

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

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 the string cables and the feeders are not routed.

Turning cable calculation on

The option is the first row of the Cables card on the Electrical tab — see Cables for the card, its three DC allowances and how each class of cable is laid. 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, and every plant is routed — none is skipped for its size.

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 needs Calculate cables. See Inverter settings for the string limits that set those counts.

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 its 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. Which ICR an inverter feeds is decided as described under Which control room each device feeds.

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

Every inverter or SMB gets its own routed feeder to its control room, on every plant, drawn and counted in full. 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

Which control room each device feeds

Each inverter or SMB starts on the control room nearest along the plant — measured over the ground inside the boundary, not in a straight line — up to that building's rating: the ICR Block capacity divided by the capacity of one inverter or SMB, rounded up. On a plot with a single control room every device feeds it.

A building over its rating hands devices on to a neighbour, in short hops: each device may move only to one of its five nearest control rooms, and only to one no more than one and a half control-room spacings further away than its nearest. When no such hop finds room, the excess is shared across the lighter buildings. A building still over its rating afterwards is reported by the design check E-06 ICR inverter count. See Design checks.

So the ICR positions shape the AC total as much as the inverter positions do.

How a route is found

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.

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 stays on available ground. If none does, a bounded search looks for a way round, and a last-resort route always returns something connected.

What each run is kept to:

  • DC string cables are clipped to the usable area, so they stay off the perimeter road band and out of the excluded ground.
  • AC feeders, and the DC trunks of a central-inverter design, are held inside the plant boundary wherever a route can be found. A run that cannot be re-routed inside keeps its original path — in the drawing and the quantities — and is reported by the design check E-07 Trenches inside the plant, not under tables, which also reports a run that still crosses a table. The check needs Calculate cables on, and its limit is 0 runs.

Because the last-resort route 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 route can be considerably longer than the run an engineer would draw, and it is still counted in the totals. Read the design checks, 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

Very large plots

On a plot with more than 200 inverters or SMBs, the devices are clustered per ICR block and each is set at a gap corner, but every cable is still routed, drawn and counted in full.

On a plot that also has more than 30,000 tables, the DC string cabling — the comb of runs from the tables to each inverter or SMB — is drawn for a sample of eight clusters per ICR block. Only those clusters appear on the DC cable layer and in the drawing. The DC string cable total is worked out from a model calibrated on the sample, and the DC trench is the drawn trench scaled up by all the plot's tables over the tables drawn. The feeders from each device to its control room are still routed in full.

In the Summary view that scaled trench carries " (est.)". In the bill of materials the DC cable, conduit, blocks and clamps carry the note "Estimated: the DC strings were routed for a sample of the plot", on the line and in the workbook. The Trenches sheet of the schedules workbook has a DC drawn sample column. On such a plot, treat both the DC string cable and the DC trench as estimates.

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. With Calculate cables off no medium-voltage cable is routed, and any left from an earlier run is cleared.

Where a solar park provides the main control room, the cables run to a handover point instead, or stop at each control room: see Grid connection by others. Otherwise, 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 MV row of the Layers popover has nothing to show and the Summary's MV cable (m) reads needs an MCR on the layout or needs Calculate cables. 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.

Only buried cable makes a trench

The Cables card sets how each class is laid, and only a buried class counts as trench:

FieldDefaultOther choices
DC string cable layingBuried, in conduitBuried directly · Above ground, in conduit on concrete blocks
AC cable laying (string) or DC trunk laying (central)Buried directlyAbove ground, on concrete blocks
MV cable layingBuried directlyOn cable tray

A class laid above ground or on tray still has its conductor total and its route, and its trench row reads laid above ground or on cable tray. A plot keeps the laying it was routed with, so changing the choice changes nothing until the next Generate Layout.

The Summary rows

The Cables & trenches 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) — DC trunk trench (m) in a central-inverter designFeeder or trunk trench length, de-duplicated
MV trench (m)Medium-voltage trench length, de-duplicated
String DC cable per MWp (m)String cable length for each MWp of DC capacity

Every row is defined in Summary rows. Trench totals are worked out again after every cable run, including the re-route after you draw an obstruction.

How the conductors are sized

Each kind of run has its own rule, and the sizes reach the schedules workbook and the single-line diagram:

RunConductorHow the size is chosen
DC stringsCopperThe smallest size, from String cable size (4 mm²), that carries the derated current and keeps the drop within DC string voltage drop (1.5 %)
Y pairs (with a Y harness)CopperThe shared cable after the Y, from Y pair cable size (6 mm²). Each string's own cable before the Y stays at the string size. See Inverter settings
DC trunks (central)Aluminium or copper, your choiceSized by drop and current, derating 0.9, two single-core conductors
AC feeders (string)AluminiumOne run of the plant's size A or B. A is the smallest standard size whose derated current carries the feeder; B is the next up. A feeder takes A unless its drop is over LV feeder drop limit (2.5 %). Never a third size or a second run
LV to transformerAluminiumParallel runs of 300 or 400 mm²
MVAluminiumSized at the card's MV voltage against MV voltage drop (2.0 %)

The limits named here are in Advanced settings, under Checks and limits and Cables; Advanced… on the Cables card opens them. A feeder that doesn't fit is flagged rather than given a second run: "no single run carries n A", or "drop n % > 2.5 %". Checks E-02 LV feeder drop and MV drop and E-08 DC string drop judge the results.

Changing the layout after a run

Cable lengths 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 control rooms and each one's ratingMore, smaller rooms shorten the AC feeders 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

Edits on the canvas — drawing an obstruction, Undo Last, Clear All, moving an ICR in Sketch Mode — re-place the inverters and, with Calculate cables on, route the cables again. The trench rows follow on the same run.

One cable run at a time

While an edit's cables are being routed, the Obstructions and Grid connection & Objects cards on the Tools tab are unavailable, and the status line reads "Cables are being routed… Obstruction, MCR and object tools and ICR dragging are back when they finish." Dragging an ICR does nothing while any cable run is going, including the one that follows a Generate.

A change you make meanwhile — another edit, Generate Layout, leaving Sketch Mode — is not lost: the status reads "Cables are being routed… Your change will be applied as soon as they finish.", and waiting changes run in order once the current run ends. A second move of the same object replaces the waiting one. Closing the window during an edit's cable run waits for it too, and the window closes itself when the routing finishes.

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 — in a central-inverter design, the DC trunk from the SMBs to the central inverter
🟩 MV TrenchClick vertices, right-click to finish: a medium-voltage trench
✂ Del TrenchClick any cable trench — automatic or hand-drawn — to delete it

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

How long a trench edit lasts

  • A drawn trench replaces every automatic run of its type in the plot holding its middle, and both the cable and the trench totals for that type then come from what you drew.
  • It survives leaving Sketch Mode and Generate Layout, and is saved with the project. At a Generate the status line says which drawn trenches were kept.
  • A deleted automatic run stays deleted until a re-route. With Calculate cables on, a step that would restore deleted runs asks first: the Re-route cables box offers, for example, Generate and restore trenches, or Cancel. The trenches you drew are kept either way.

No control switches trench edits on or off.

Seeing cables on the plot

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

Layers rowDefaultDraws
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
DC string cables (Tbl→Inv)OFFString cables from the tables to the inverters or monitoring boxes — green
MV cables (ICR→MCR)OFFMedium-voltage runs to the main control room or handover point — dark green. Needs that destination placed and cables calculated
The Layers popover in a central-inverter design, the same ten rows in three groups, where the first 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 deliverables

The package written by Export ▾ ▸ Export deliverables… carries the cabling in several places:

FileWhat it holds
Schedules workbookThe Cables sheet: one row per circuit, with its class (DC string, AC feeder, DC trunk, LV to IDT, MV), ends, runs, size, length, current, drop and flag. The Trenches sheet: each plot and class, its laying, routes, route length and trench length. See Schedules and KMZ
Design reportSection 6: totals by class, voltage drop, and the longest feeders or DC trunks. See The design report
Drawing setNo sheet of its own for cable routes; the single-line diagram prints the cable specifications. The DXF twin holds the routes on its trench layers E-DC-TRCH, E-AC-TRCH and E-MV-TRCH, hand-drawn ones included. See The drawing set
KMZThe medium-voltage routes. The DC and AC routes are not written

Without Calculate cables, the Cables and Trenches sheets say "No cable routes were drawn: tick Calculate cables and Generate".

Where to go next

On this page