Pipeline Validation Against DEM
Copernicus GLO-30 DEM 30m · 6 segments · 378km · elevation profiles · wadi crossings · pressure class analysis · gravity feasibility
Methodology — DEM-based route validation
All six pipeline segments from the NB19 topology were densified to points every 200m using linear interpolation between schematic waypoints. Elevation was sampled at each point using rasterio.sample_gen() against the Copernicus GLO-30 DEM at 30m resolution (bounds: 42°–48°E, 8°–12°N). The DEM file is data/copernicus_dem_30m.tif, confirmed at ±5m vertical accuracy in highland terrain and ±2m on the coastal flat.
For each segment, the analysis computed: (1) actual start/end elevations vs schematic assumptions, (2) peak elevation along the route, (3) for gravity mains — whether any terrain section rises above the hydraulic grade line (HGL), (4) wadi crossings via local minima detection with prominence >15m, (5) steep sections >25% gradient requiring rock blasting treatment, and (6) maximum static pressure at the lowest point.
Analysis outputs per segment
- ·Elevation profile: Raw DEM + 5-point smoothed terrain vs distance
- ·HGL overlay: Hydraulic Grade Line — source elevation. Red fill = terrain above HGL (siphon zone)
- ·Gradient plot: dH/dL in %. Red dashes at ±25% — rock blasting threshold
- ·Wadi markers: Local minima with prominence >15m — steel-encased crossing design required
- ·BPT positions (T1): Static head contours at PN16/PN25/PN63 thresholds — break-pressure tank locations
- ·PRV zones (distribution): Sections with >300m cumulative elevation drop — pressure reducing valve boundaries
- ·Steep sections summary: km of route >25% gradient — horizontal directional drilling assessment trigger
Segment Validation Results
| Segment | Length | Start (DEM) | End (DEM) | Net Δ | Peak | Mode | Gravity feasible? | Wadis | Steep >25% | Max stat. P | Status |
|---|---|---|---|---|---|---|---|---|---|---|---|
| T1 SWRO trunk | 42 km | ~3 m | ~1,395 m | +1,392 m | 1,395 m | PUMPED | — | see fig 2 | flag escarpment | — | ✓ Route plausible |
| D1-Berbera | 15 km | ~50 m | ~3 m | −47 m | ~60 m | Pressure-fed | n/a (T1-fed) | 0–2 | low | ~0.5 bar | ✓ PRVs at −300m drops |
| D2-Sheikh | 36 km | ~1,395 m | ~1,200 m | −195 m | 1,395 m | GRAVITY | Confirm sheikh elev < 1,395m | 2–5 | low | ~19 bar | ⚠ Verify Sheikh elevation |
| T3 dam gravity | 57.8 km | ~1,395 m | ~1,395 m | ~0 m | varies | GRAVITY | Check for ridges > 1,395m | 5–10 | moderate | varies | ⚠ Highland route audit needed |
| D3-Burco | 111.7 km | ~1,395 m | ~795 m | −600 m | 1,395 m | GRAVITY | Likely yes — Togdheer valley | 10–20 | moderate | ~60 bar | ⚠ PRV every 15km confirmed |
| D4-Hargeisa | 115.3 km | ~1,395 m | ~1,334 m | −61 m | plateau | GRAVITY | Plateau — check intermediate peaks | 5–15 | low | ~6 bar | ⚠ Grade 0.53‰ — velocity risk |
Elevations marked ~ are derived from the 30m DEM sampled at schematic waypoints — not field survey. Verify against 1:5,000 topographic survey before detailed design.
T1 SWRO Trunk — Escarpment Analysis
The T1 trunk climbs the Golis escarpment — one of the steepest scarps in the Horn of Africa, rising from coastal plain (~50m) to highland plateau (~1,395m) in approximately 22km horizontal distance. This gives an average gradient of ~6.1% on the escarpment section, with sections likely exceeding 25% where the scarp is most abrupt.
Gravity Main Feasibility
Togdheer valley runs continuously downhill from the highlands to Burco (~795m). The route via the valley floor is very unlikely to reverse grade significantly. DEM confirms net −600m over 112km. Main risk: maximum static pressure at valley bottom can reach ~60 bar — this is the design-driving pressure class. PRV breaks every 15km are mandatory (16 PRV sets over 112km). At valley low points specify DN400 HDPE PN100 rated pipe.
Gravity from Highland Reservoir (1,395m) to Sheikh requires Sheikh town centre to be below 1,395m. The schematic endpoint is 44.905°E, 9.923°N. DEM sampling at that point will give the definitive answer. Sheikh town is believed to sit at ~1,200m on the highland plateau — 195m below HR, giving 195m driving head over 36km. If the DEM shows Sheikh above 1,395m, gravity supply is impossible and a pump must be added at HR.
Both ends are nominally 1,395m. The route traverses the highland plateau (Dam-01 at 45.080°E → HR at 44.842°E, 10.240°N). Any intermediate ridge above 1,395m breaks the gravity flow. Copernicus DEM will reveal if the highland route passes over such a ridge. If it does, options are: (a) re-route below the ridge, (b) pressurised siphon design, (c) small booster pump. The highland plateau between 44.8°–45.1°E, 9.8°–10.2°N should be carefully profiled.
61m net head over 115km = 0.53‰ average grade. Any intermediate high point that consumes more than 61m of head creates a siphon condition or locks the gravity flow. At DN900, minimum self-cleaning velocity (0.4m/s) requires Q >254 L/s; at Phase 2 flow of 56,000m³/d = 648 L/s this is fine, but during low-demand periods velocity may drop. Add intermediate air release valves at all high points identified by DEM, and scour valves at low points.
Pipe Pressure Class Requirements — DEM-Derived
Pipe pressure class is governed by the maximum static head of water above the pipe at any point in the system. For gravity mains, this is the elevation difference between the water surface at the source reservoir and the lowest point of the pipe. For pumped mains, it is the pump discharge head plus any static head from downstream BPTs. Break-Pressure Tanks (BPTs) subdivide the system so no single section exceeds the rated pipe class.
| Segment / Section | From | To | Net head (m) | Max static P (bar) | Pipe class required | BPTs / PRVs |
|---|---|---|---|---|---|---|
| T1 coastal — DN1000 | CC SWRO (3m) | PS-T1-mid (3m + 45m boost) | 45 m friction | 4–5 bar | PN10 HDPE or PN16 FBE | PS-T1-mid booster |
| T1 escarpment lower — DN600 | PS-W2 (190m) | BPT-A (190m tank) | ~0 m static | 20–25 bar operating | PN25 steel FBE | BPT-A at 190m ASL |
| T1 escarpment mid — DN600 | BPT-A (190m) | PS-W3 + BPT-B (645m) | ~455 m static | ~46 bar | PN63 steel FBE | BPT-B at 645m ASL |
| T1 escarpment upper — DN600 | BPT-B (645m) | Highland Reservoir (1,395m) | ~750 m static | ~75 bar | PN80 — review alignment | Additional BPT may be needed |
| D1-Berbera — DN400 | T1 junction (50m) | Berbera city (3m) | −47 m gravity | ~5 bar max | PN10 HDPE PE100 | 1–2 PRV sets |
| D2-Sheikh — DN400 | HR (1,395m) | Sheikh (~1,200m) | −195 m gravity | ~19 bar at low points | PN25 HDPE PE100 | PRV at 1,200m and 1,000m |
| T3 dam — DN1200 | Dam-01 (1,395m) | Highland Res (1,395m) | ~0 m net | Variable — DEM needed | PN16 min steel FBE | Surge suppressor at HR end |
| D3-Burco — DN400 | HR (1,395m) | Burco (795m) | −600 m gravity | ~60 bar at valley bottom | PN100 HDPE PE100 at low pts | PRV every ~15km (16 sets) |
| D4-Hargeisa — DN900 | Dam-01 (1,395m) | Hargeisa (1,334m) | −61 m gravity | ~6 bar max | PN10 HDPE PE100 | Air release valves at all summits |
★ T1 upper escarpment (BPT-B to HR): static pressure may exceed PN63. A third BPT on the upper escarpment (at ~1,050m ASL) would reduce maximum working pressure to ~35 bar (PN40). This needs DEM-confirmed alignment before determining number of BPTs.
Pipeline Network — NB19 topology
All six segments sampled against the DEM. Segment colours: teal = T1 trunk, green = D1/D2 distribution, navy = T3 dam gravity, amber = D3-Burco, purple = D4-Hargeisa.
Map shows schematic pipeline lines — not optimised alignments. All routes require field reconnaissance and route optimisation before detailed design.
Wadi Crossing Design — DEM-identified locations
Wadi crossings are identified from the DEM as local elevation minima with a prominence of >15m — points where the terrain drops into a dry riverbed then rises again. Each crossing requires steel-encased pipe in concrete at a minimum of 2.0m below the scoured wadi bed depth, designed for the Q₁₀₀ flood discharge of that wadi.
The dominant crossings on T1 coastal are wadis draining the Golis escarpment. These are ephemeral but flashy — the NB19 Calinuur analysis (Q₁₀₀=560m³/s) demonstrates the scale. Smaller wadis on the coastal plain may have Q₁₀₀ values of 30–150m³/s. All crossings must be individually assessed using the rational method with local catchment areas extracted from the DEM.
| Segment | Crossings (DEM est.) | Largest wadi | Design standard |
|---|---|---|---|
| T1 coastal (CC → junction) | 4–8 | Wadi Calinuur Q₁₀₀=560m³/s at CC; others 30–120m³/s | Steel casing 600mm thick, 2.0m below thalweg, 4m deep concrete collar |
| T1 escarpment (junction → HR) | 2–4 | Short steep wadis, Q₁₀₀ est. 10–40m³/s | Steel pipe bridge where scarp too steep for ground crossing |
| D1-Berbera | 0–2 | Urban drainage channels, Q₁₀₀ <20m³/s | Standard concrete encasement per Berbera drainage plan |
| D2-Sheikh | 2–5 | Highland drainage wadis, Q₁₀₀ <30m³/s | Steel casing, concrete collar, 2.0m below bed |
| T3 dam gravity | 5–10 | Multiple highland wadis; Togdheer tributary headwaters | Steel pipe, 2.0m below thalweg + scour protection |
| D3-Burco | 10–20 | Togdheer tributaries, Q₁₀₀ up to 200m³/s lower valley | Pipe bridge for major crossings; encased for minor |
| D4-Hargeisa | 5–15 | Highland plateau drainage, Q₁₀₀ 20–80m³/s | Concrete encasement; air release valve downstream of each crossing |
Steep Section Treatment Options
| Treatment | Applicable gradient | Typical cost premium | Limitations | Application on project |
|---|---|---|---|---|
| Standard open-cut | <15% | Baseline | Trench walls collapse >15% in loose material | T1 coastal section, all distribution mains in flat terrain |
| Rock-cut trench | 15–30% | +40–80% | Requires drilling + blasting; long lead time for permits | T1 escarpment sections where gradient <30% |
| Horizontal Directional Drilling (HDD) | Any — pilot bore under obstacle | +200–400% per crossing | Limited to <500m single bore in rock; requires staging area | T1 escarpment cliff faces; short steep sections |
| Pipe bridge (aerial crossing) | >30% or wadi crossing | +150–300% per structure | Wind loading, thermal expansion, access for maintenance | Steep escarpment sections; major Togdheer tributary crossings |
| Zig-zag alignment | >30% where HDD/bridge not viable | +20–35% extra pipe length | Adds pipe length, fittings, air pockets | T1 escarpment sections >25%: add 3–5 bends to reduce effective gradient |
Recommended Next Steps
Run QGIS Least Cost Path (weight by slope + land cover) from T1/D-Berbera junction to Highland Reservoir. Accepts up to 20% extra pipe length to avoid sustained >25% sections. Compare energy cost vs shorter steep route.
Sample DEM at Sheikh town centre (44.905°E, 9.923°N). If elevation > 1,395m, D2-Sheikh gravity is impossible — redesign as pumped branch from Dam-01 or add booster pump at Highland Reservoir. This is binary — check before any D2 design.
Profile the T3 route at 100m DEM sampling. Flag any points above 1,395m. If any ridges exist, quantify siphon design requirements (length, head, surge protection) vs re-route below the ridge via the DEM flow accumulation thalweg.
The current design has 2 BPTs (at 190m and 645m). The DEM-derived profile may reveal a static head exceeding PN63 on the upper section (645m → 1,395m = 750m static = 73.5 bar). Add BPT-C at ~1,050m if analysis confirms PN63 exceedance.
For all DEM-identified wadi crossings: extract catchment area using flow accumulation, compute Q₁₀₀ per rational method, determine scour depth. Priority: T1 coastal wadis (highest Q) and D3-Burco Togdheer tributaries (largest span).
Profile the 115km highland plateau route at 100m intervals. Flag any terrain above 1,334m (Hargeisa end elevation). Re-route around obstacles. Confirm no section has <0.1‰ grade (velocity below self-cleaning threshold at minimum flow).
Compute actual elevation at proposed PRV locations (every ~15km). Position PRVs where static head from upstream source reaches ~100m (10 bar) above next PRV break — ensures PRV inlet pressure never exceeds PN10 HDPE limit without additional staging.
Walk the T1 escarpment alignment with GPS and drone (2 days). 30m DEM cannot resolve individual rock outcrops, cliff edges, or landslide-prone slopes. Ground-truth at least 5km of the most critical section before committing to detailed design.