📖 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.
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.
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.
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.
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.
ε_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.
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).
u_w(r, θ) = γ_w·[h(r, θ) − z] HAI = (p_max − p_min) / p_mean
📐 Core Equations
⚙️ LSLC Governance Protocol
| Signal | Condition | Action | Governance Level |
|---|---|---|---|
| 🟢 STABILITY CERTIFIED | F_tunnel ≥ 1.50 · TSII ≥ 0.95 | Full advance mode — continuous PINN monitoring | None |
| 🟠 MONITORING PHASE — Level 1 | 1.35 ≤ F_tunnel < 1.50 · TSII ≥ 0.90 | Thrust / advance rate reduction — PINN forecast issued | Level 1 |
| 🟠 MONITORING PHASE — Level 2 | F_tunnel < 1.35 · LSII ≥ 0.15 | Mandatory parameter adjustment — ring design review | Level 2 |
| 🔴 STOP COMMAND | F_tunnel < 1.20 · LSII < 0.10 | TBM stop — emergency grouting — full diagnostic report | Stop |
📦 Installation
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
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
| Parameter | Description | Default | Domain |
|---|---|---|---|
| rock_config | Path to rock mass configuration YAML file | — | string |
| depth_m | Tunnel depth below surface (m) | 450.0 | 0–2000 m |
| tunnel_radius_m | Excavation radius R_t (m) | 4.9 | 2–10 m |
| tbm_telemetry | Sensor source ("live" or file path) | "live" | string |
| ai_modules | Dictionary of AI module instances | None | dict |
📊 Validation Summary
| Scenario | F_tunnel | TSII | LSII | δ_crown | AI Warning |
|---|---|---|---|---|---|
| A — Severe squeezing schist (450 m) | 1.41 | 0.931 | 0.22 | 41.3 mm | 4.3 D |
| B — Anisotropic limestone (310 m) | 1.63 | 0.968 | 0.37 | 18.7 mm | 5.1 D |
| C — Extreme squeezing claystone (580 m) | 1.38 | 0.927 | 0.18 | 44.8 mm | 3.8 D |
| MEAN | 1.47 | 0.942 | 0.26 | 34.9 mm | 4.4 D |
📝 Citation
"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