HOW TO
Understanding airflow resistance in tunnels is essential to ensure safe and efficient ventilation. For example, a subway tunnel with narrow entry points and a steep curve is flagged for potential airflow bottlenecks, prompting a redesign of its ventilation system.
This article describes the workflow to calculate airflow resistance in tunnels using Arcade in the ArcGIS Enterprise portal and ArcGIS Online.
var width = $feature.Entry_Width; var length = $feature.Length;
var area = Area($feature, "square-meters");
if (IsEmpty(width) || IsEmpty(area) || IsEmpty(length) || width == 0 || area == 0) { return null; }
var resistance = (length / area) * (1 / width);
var airflowStatus = IIF(resistance > 5, "High Constraint", IIF(resistance > 2, "Moderate Constraint", "Low Constraint"));
return "Airflow Constraint: " + airflowStatus + " (Resistance Index: " + Round(resistance, 2) + ")";
The code block below shows the example of the full working script:
var width = $feature.Entry_Width; var length = $feature.Length; var area = Area($feature, "square-meters"); if (IsEmpty(width) || IsEmpty(area) || IsEmpty(length) || width == 0 || area == 0) { return null; // Prevent division by zero or missing data } var resistance = (length / area) * (1 / width); var airflowStatus = IIF(resistance > 5, "High Constraint", IIF(resistance > 2, "Moderate Constraint", "Low Constraint")); return "Airflow Constraint: " + airflowStatus + " (Resistance Index: " + Round(resistance, 2) + ")";
The image below shows the calculated airflow resistance in tunnels.
Article ID: 000035688
Get help from ArcGIS experts
Download the Esri Support App