TUNNEL-SHIELD Documentation

Technical Documentation · API Reference · AI-Augmented Framework for Deep Shield Tunnel Safety

0.942
Mean TSII
1.35
Min F_tunnel
4.4D
AI Warning Lead
1.0
Version
3+3
Modules + AI

📖 Overview

"Structural integrity is not negotiated with the rock mass — it is enforced through geometry, physics, and AI-governed constraint design."

TUNNEL-SHIELD is a fully coupled, AI-augmented elastoplastic continuum mechanics framework that treats tunnel structural safety as a continuously governed dynamic invariant — not a static design property frozen at the completion of a finite element run.

A deep shield tunnel is not a static void in rock. It is a moving boundary-value problem embedded in a continuously evolving stress field. TUNNEL-SHIELD formalizes and governs this evolution, enforcing structural integrity against loosening pressure surge, face plastic collapse, and lining buckling in real time.

🏗️ 3-Module + 4 AI Architecture

Module 01 — LPEC (Loosening Pressure Evaluation Core)

Computes full stress redistribution tensor field in elastic and plastic annular zones. Resolves loosening pressure q_L and Arching Efficiency Index from Terzaghi + Hoek-Brown plasticity with 3D face proximity correction.

Terzaghi Loosening Pressure + Hoek-Brown R_p
q_L = γ_r·B·(1−c/γ_r·B)/(K₀·tanφ)·[1−exp(−K₀·tanφ·H/B)]
R_p = R_t·[(2σ₀·(N_φ−1)+σ_ci·m_b·s^(a−1))/((1+N_φ)·(2p_i·(N_φ−1)+σ_ci·m_b·s^(a−1)))]^(1/(N_φ−1))

Module 02 — FPSE (Face Plastic Squeezing Evaluator)

Quantifies face convergence as volumetric strain field at advancing TBM face. Competence Factor CF = σ_cm/σ_v controls squeezing severity. TBM thrust provides p_eff face support.

Face Stability Factor
F_face = [c·cot(φ)·(N_φ−1) + σ_v·N_φ^0.5] / [σ_v − p_eff]
CF = σ_cm/σ_v · SI = exp(α·(1/CF−1))

Module 03 — LSLC (Lining Structural Stability Lock)

Enforces moment-thrust interaction compliance per segmental ring. Assembles ring stiffness matrix K_ring with joint rotational springs. Evaluates UR(s) across full ring circumference.

Moment-Thrust Interaction
UR(s) = √[(N_Ed/N_Rd)² + (M_Ed/M_Rd)²] ≤ 1/γ_s
LSII = 1 − max(UR(s))

AI Component 01 — PINN (Plastic Zone Boundary Forecaster)

Physics-Informed Neural Network embedding Hoek-Brown yield criterion and equilibrium as training constraints. Forecasts R_p,3D from TBM telemetry in 2.3 seconds per advance increment.

PINN Loss Function
L = λ_data·L_data + λ_phys·L_phys
λ_data=0.65 · λ_phys=0.35 · R_p error: 3.4%

AI Component 02 — XGBoost (Face Convergence Ensemble)

500-tree gradient boosting. 52-feature input: thrust/cutter, torque, penetration rate, grout pressure, tail gap + 12 lagged values per feature. Shapley: thrust/cutter = 0.28.

XGBoost Features
ε_face(next) = f(thrust, PR, torque, friction…)
MAE = 1.8 mm/m · Relative error: 4.2% · FAR: 3.8%

AI Component 03 — CNN (Lining Distortion Classifier)

1D ConvNet on 360-point fiber optic strain profile. 4 convolutional blocks + dropout. Classifies ring state: normal / crown settlement / spring-line / joint opening / critical.

CNN Architecture
Input: ε(θ) 360-point angular strain
Output: 5-class · AUC = 0.98 · Precision = 0.96 · Recall = 0.93 · FAR = 2.8%

AI Component 04 — PINN Pore Pressure (Biot coupling)

Physics-Informed Neural Network for asymmetric pore pressure field u_w(r, θ, t) with Biot consolidation and Hydrostatic Asymmetry Index (HAI).

Biot + PINN Pore Pressure
u_w(r, θ) = γ_w·[h(r, θ) − z]
HAI = (p_max − p_min) / p_mean

📐 Core Equations

Eq. 1 — Plastic Radius (LPEC)
R_p = R_t·[(2σ₀·(N_φ−1)+σ_ci·m_b·s^(a-1))/((1+N_φ)·(2p_i·(N_φ−1)+σ_ci·m_b·s^(a-1)))]^(1/(N_φ−1))
Hoek-Brown elastoplastic solution with 3D LDP correction
Eq. 2 — Loosening Pressure
q_L = γ_r·B·(1−c/γ_r·B)/(K₀·tanφ)·[1−exp(−K₀·tanφ·H/B)]
Terzaghi loosening pressure with plastic zone width B = R_t + R_p
Eq. 3 — Face Safety (FPSE)
F_face = [c·cotφ·(N_φ−1) + σ_v·N_φ^0.5] / [σ_v − p_eff]
Face stability with TBM thrust and slurry support
Eq. 4 — Moment-Thrust (LSLC)
UR = √[(N_Ed/N_Rd)² + (M_Ed/M_Rd)²] ≤ 1/γ_s
Per-segment utilization ratio with joint rotation
Eq. 5 — Global Safety Factor
F_tunnel = 1 / [0.35/F_LPEC + 0.30/F_FPSE + 0.35/F_LSLC]
Weighted harmonic mean of module safety factors
Eq. 6 — Tunnel Integrity Index
TSII = Φ[ min(F_LPEC, F_FPSE, F_LSLC) / F_threshold × β_target ]
β_target = 3.0 → P_failure ≤ 1.35×10⁻³ per ring

⚙️ LSLC Governance Protocol

SignalConditionActionGovernance Level
🟢 STABILITY CERTIFIEDF_tunnel ≥ 1.50 · TSII ≥ 0.95Full advance mode — continuous PINN monitoringNone
🟠 MONITORING PHASE — Level 11.35 ≤ F_tunnel < 1.50 · TSII ≥ 0.90Thrust / advance rate reduction — PINN forecast issuedLevel 1
🟠 MONITORING PHASE — Level 2F_tunnel < 1.35 · LSII ≥ 0.15Mandatory parameter adjustment — ring design reviewLevel 2
🔴 STOP COMMANDF_tunnel < 1.20 · LSII < 0.10TBM stop — emergency grouting — full diagnostic reportStop

📦 Installation

bash — pip install
pip install tunnel-shield-engine

# From source
git clone https://github.com/gitdeeper12/TUNNEL-SHIELD.git
cd TUNNEL-SHIELD
pip install -e .

# Quick test
python -c "from tunnel_shield import TunnelGovernor; print('TUNNEL-SHIELD ready')"

🔧 API Reference

python — main interface
from tunnel_shield import TunnelGovernor

# Initialize with rock mass configuration and tunnel geometry
governor = TunnelGovernor(
    rock_config="configs/high_squeezing_schist.yaml",
    depth_m=450.0,
    tunnel_radius_m=4.9,
    tbm_telemetry="live"
)

# Run full TUNNEL-SHIELD pipeline
result = governor.evaluate()

print(result.signal)              # "STABILITY_CERTIFIED" | "MONITORING" | "STOP_COMMAND"
print(result.f_tunnel)            # weighted harmonic mean safety factor
print(result.tsii)                 # Tunnel Structural Integrity Index [0,1]
print(result.lsii)                 # Lining Structural Integrity Index [0,1]
print(result.plastic_radius_m)     # R_p,3D at current face position (metres)
print(result.governance_level)     # "none" | "level_1" | "level_2" | "stop"

TunnelGovernor Parameters

ParameterDescriptionDefaultDomain
rock_configPath to rock mass configuration YAML filestring
depth_mTunnel depth below surface (m)450.00–2000 m
tunnel_radius_mExcavation radius R_t (m)4.92–10 m
tbm_telemetrySensor source ("live" or file path)"live"string
ai_modulesDictionary of AI module instancesNonedict

📊 Validation Summary

ScenarioF_tunnelTSIILSIIδ_crownAI Warning
A — Severe squeezing schist (450 m)1.410.9310.2241.3 mm4.3 D
B — Anisotropic limestone (310 m)1.630.9680.3718.7 mm5.1 D
C — Extreme squeezing claystone (580 m)1.380.9270.1844.8 mm3.8 D
MEAN1.470.9420.2634.9 mm4.4 D

👤 Author

🚇
Samir Baladi
Principal Investigator — AI-Augmented Geotechnical Safety
Samir Baladi is an interdisciplinary researcher at the intersection of computational physics, biomedical AI, and engineering systems safety. Affiliated with the Ronin Institute and the Rite of Renaissance research program, his work spans three converging themes: the governance of dissipative AI systems (ENTRO-DASA), causal discrimination in data-driven models (COREX), and AI-augmented enforcement of structural safety constraints (DAMS-SLIP, TUNNEL-SHIELD).
TUNNEL-SHIELD is the second project in the GEOTECH-AI series (GEOTECH-AI-02), applying cybernetic safety principles from aviation and aerospace to deep shield tunnel excavation safety.

📝 Citation

@software{baladi2026tunnelshield, author = {Samir Baladi}, title = {TUNNEL-SHIELD: A Critical Framework for Loosening Pressure Control, Face Plastic Deformation Mitigation, and Lining Structural Safety in Deep Shield Tunnels}, year = {2026}, version = {1.0.0}, publisher = {Zenodo}, doi = {10.5281/zenodo.20374106}, url = {https://doi.org/10.5281/zenodo.20374106}, note = {GEOTECH-AI-02, Systems Safety \& Engineering (AI-augmented)} }

"Structural integrity is not negotiated with the rock mass — it is enforced through geometry, physics, and AI-governed constraint design." — TUNNEL-SHIELD v1.0.0