Part of 2026 May 19, 2026 ·
--- days
-- hrs
-- min
-- sec
Content Hub Radar Article
Radar Apr 5, 2026 · 11 min read

When Physics Meets Machine Learning: A New Approach to Pipeline Safety from Milan

When Physics Meets Machine Learning: A New Approach to Pipeline Safety from Milan

A New Approach to Pipeline Safety from Milan

A research paper published two days ago in npj Artificial Intelligence addresses one of the quieter but more consequential problems in energy infrastructure: how to monitor hydraulic transients – sudden pressure and flow variations – in pipelines without relying on opaque neural networks that operators cannot audit or trust.

The study, titled Towards parameter identification in pipeline hydraulics: integrating data-driven discovery and knowledge embedding, comes from a team including Enrico Zio, professor at the Department of Energy at Politecnico di Milano. The work proposes a hybrid method that combines physics-based hydraulic models with neural networks and data-driven equation discovery – an architecture designed to overcome the limitations of purely statistical approaches.

The mechanism matters here. Pure machine learning models can fit historical data well, but they often fail during transients precisely because transients are rare, nonlinear, and physically constrained in ways that statistical patterns alone cannot capture. Conversely, traditional physics-based simulations require accurate parameter values that drift over time as infrastructure ages, corrodes, or operates under conditions different from design specifications.

The hybrid approach attempts to solve both problems simultaneously.

The Technical Architecture

The algorithm developed by the research team integrates three components: the governing equations of hydraulic behavior (mass and momentum conservation), neural network layers that learn residual corrections, and a dynamic parameter updating system that adapts to real operating conditions.

According to the Politecnico di Milano announcement, the tests reported in the study show significant improvement in the accuracy of flow and pressure simulation, with a particularly visible advantage during transients.

This is where the engineering value concentrates. Transients – caused by valve closures, pump trips, or demand surges – represent the moments of greatest vulnerability for pipeline infrastructure. A pressure spike that exceeds design limits can cause ruptures. A pressure drop can induce cavitation and subsequent damage. Accurate real-time simulation during these events enables operators to detect anomalies, predict failures, and intervene before damage occurs.

The knowledge embedding in the paper's title refers to the practice of encoding physical laws directly into the neural network's loss function or architecture, rather than hoping the network will learn physics from data alone. This constraint improves generalization: the model cannot produce outputs that violate conservation laws, even when extrapolating beyond its training distribution.

Why This Matters for European Energy Infrastructure

Europe's pipeline networks – for natural gas, hydrogen, CO₂, and liquids – face a convergence of pressures. Aging infrastructure requires more intensive monitoring. The energy transition introduces new fluids (hydrogen, ammonia, synthetic fuels) with different physical properties. Regulatory frameworks increasingly demand demonstrable safety margins and auditable decision-support systems.

The AI Act, which entered into force in 2024 with phased compliance deadlines extending through 2027, classifies AI systems used in critical infrastructure management as high-risk. High-risk systems must meet requirements for transparency, human oversight, and technical documentation. Black-box neural networks that cannot explain their predictions face significant compliance friction.

Physics-informed approaches offer a partial answer. By embedding known physical laws, these models produce outputs that can be traced back to interpretable equations. When the model predicts a pressure spike, an operator can examine which physical mechanism – wave reflection, friction losses, valve dynamics – drove the prediction. This auditability aligns with the AI Act's emphasis on explainability for high-risk applications.

The Department of Energy at Politecnico di Milano has positioned itself at this intersection. The department's research spans the entire energy value chain, from generation and conversion to transport and end-use, with explicit attention to risk analysis and system resilience. The LASAR³ group (Laboratory for System Analysis, Reliability, Risk, and Resilience) within the department's Nuclear Engineering section focuses specifically on these methodological questions.

The Broader Pattern: Hybrid AI in Critical Systems

This research fits a broader pattern emerging across European technical institutions. Pure data-driven AI has proven powerful for pattern recognition in stable, data-rich environments. But critical infrastructure operates under different constraints: rare but consequential failure modes, physical laws that cannot be violated, regulatory requirements for explainability, and operators who need to trust and understand the systems advising them.

Hybrid approaches – variously called physics-informed neural networks, knowledge-embedded AI, or scientific machine learning – attempt to combine the flexibility of neural networks with the reliability of physics-based models. The field has grown rapidly since around 2019, with applications in fluid dynamics, materials science, climate modeling, and now infrastructure monitoring.

The Politecnico di Milano has invested in this direction. The department offers a continuing education course on Artificial Intelligence for Energy Systems directed by Enrico Zio, covering AI methods for thermal systems, renewable generation forecasting, reliability analysis, and risk assessment. The course explicitly addresses the implementation of AI methods using Python's data science stack, bridging theoretical foundations with practical deployment.

This educational infrastructure matters for policy. Regulatory frameworks can mandate explainability, but compliance requires engineers who understand both the AI methods and the physical systems they model. Training programs that integrate these competencies – rather than treating AI and domain expertise as separate silos – build the human capital necessary for responsible deployment.

Constraints and Open Questions

The research addresses a specific problem: parameter identification and transient simulation in pipeline hydraulics. Several questions remain open for broader application.

First, scalability. The tests reported in the study demonstrate accuracy improvements, but the computational cost of hybrid methods can exceed that of pure neural networks or pure physics simulations. For real-time monitoring of large pipeline networks, computational efficiency matters.

Second, data requirements. Physics-informed methods reduce the amount of training data needed compared to pure machine learning, but they still require data. For novel infrastructure – hydrogen pipelines, CO₂ transport networks – historical operating data may be limited.

Third, regulatory acceptance. The AI Act provides a framework, but specific technical standards for AI in critical infrastructure remain under development. How regulators will evaluate hybrid approaches – whether the physics embedding provides sufficient explainability, whether the neural network components require additional scrutiny – remains to be determined through implementation practice.

Fourth, integration with existing systems. Pipeline operators already use SCADA (Supervisory Control and Data Acquisition) systems, physics-based simulators, and various monitoring tools. Deploying hybrid AI requires integration with these existing systems, which introduces engineering complexity beyond the algorithm itself.

Implications for Practitioners

For policymakers: this research illustrates the kind of technical innovation that European institutions can produce when AI development is oriented toward specific industrial problems with clear safety requirements. The AI Act's high-risk classification for critical infrastructure creates demand for explainable, auditable AI – and European research groups are responding with methods designed to meet that demand.

For infrastructure operators: hybrid physics-AI approaches represent a middle path between black-box machine learning and traditional simulation. They offer improved accuracy during transients while maintaining interpretability. Pilot deployments on non-critical pipeline segments could build operational experience before broader rollout.

For AI researchers: the energy sector offers a rich application domain where physical constraints are well-understood, data is increasingly available, and the stakes are high enough to justify rigorous validation. Collaboration with domain experts – hydraulic engineers, reliability analysts, operations researchers – is essential for methods that work in practice, not just in benchmarks.

The work from Politecnico di Milano represents one node in a larger European effort to develop AI that is both capable and trustworthy. The technical details matter, but so does the institutional context: a research university with deep industry connections, a regulatory environment that rewards explainability, and a training pipeline that integrates AI competencies with domain expertise.

The conversation about how Europe builds, deploys, and governs AI in critical systems continues to evolve. For those shaping that conversation – whether from policy, industry, or research – the details matter. Human x AI Europe convenes in Vienna on May 19, where these threads come together in the room where Europe's AI trajectory gets negotiated.

Frequently Asked Questions

Q: What are hydraulic transients in pipelines?

A: Hydraulic transients are sudden changes in pressure and flow caused by events like valve closures, pump trips, or demand surges. They represent moments of maximum vulnerability for pipeline infrastructure and can cause ruptures or cavitation damage if not properly managed.

Q: What is physics-informed AI and how does it differ from standard machine learning?

A: Physics-informed AI embeds known physical laws (such as conservation of mass and momentum) directly into the neural network's architecture or loss function. Unlike standard machine learning, which learns patterns purely from data, physics-informed approaches cannot produce outputs that violate fundamental physical constraints.

Q: How does the AI Act classify AI systems used in energy infrastructure?

A: The AI Act classifies AI systems used in critical infrastructure management as high-risk. These systems must meet requirements for transparency, human oversight, technical documentation, and explainability, with compliance deadlines extending through 2027.

Q: Who led the research published in npj Artificial Intelligence?

A: The research team includes Enrico Zio, professor at the Department of Energy at Politecnico di Milano. The study was published on April 3, 2026, in npj Artificial Intelligence, a Nature Portfolio journal.

Q: What practical advantage does the hybrid approach offer during pipeline transients?

A: According to the Politecnico di Milano announcement, tests showed significant improvement in the accuracy of flow and pressure simulation, with a particularly visible advantage during transients – precisely the moments when accurate prediction matters most for safety.

Q: Where can engineers learn to implement AI methods for energy systems?

A: Politecnico di Milano's Department of Energy offers a continuing education course titled Artificial Intelligence for Energy Systems, directed by Enrico Zio, covering AI fundamentals, Python implementation, and applications in thermal systems, renewable forecasting, reliability analysis, and risk assessment.

Created by People. Powered by AI. Enabled by Cities.

One day to shape
Europe's AI future

Early bird tickets available. Secure your place at the most important AI convergence event in Central Europe.