Abstract
In mine ventilation network calibration, sparse and inconsistent airflow measurements often lead to infeasibility in traditional optimization models. To overcome this challenge, this paper proposes a nonlinear programming calibration model incorporating slack variables. The model treats aerodynamic resistance corrections, airflow adjustments, unknown airflows, and resistance lower-bound slack variables as decision variables. The objective function is formulated to minimize the weighted sum of squares of resistance corrections, while penalty terms account for airflow adjustments and slack variables. Constraints integrate Kirchhoff’s laws with relaxed inequality constraints for resistance lower bounds. A calibration tool integrated via the ObjectARX interface was developed using C++, utilizing the Sequential Quadratic Programming (SQP) algorithm for the solution. The method was validated via a case study of a network comprising 39 branches and 16 measured airflows, optimized under five distinct initial conditions. Results demonstrate that the inclusion of slack variables mathematically guarantees the existence of feasible solutions. With a resistance correction weight of 10−2 and a penalty coefficient of 105, the model applies only minimal necessary corrections to handle overly tight constraints or data conflicts. The SQP algorithm exhibits superior global convergence, consistently iterating to optimal solutions that satisfy network balance laws regardless of initial values. This approach effectively resolves the infeasibility and data conflict issues inherent in traditional methods, demonstrating significant robustness and practical engineering utility.
1. Introduction
With the rapid advancement of intelligent coal mining, mine ventilation systems are rapidly evolving toward precise sensing, intelligent decision-making, and on-demand regulation. Consequently, ventilation network simulation software has emerged as a cornerstone of smart ventilation systems [1]. Within these models, airway aerodynamic resistance is the pivotal parameter governing airflow distribution. However, acquiring high-precision resistance data across vast and complex underground networks presents a significant challenge, primarily due to harsh environments and time-varying factors like roadway deformation and air leakage. Such deviations in resistance parameters can significantly distort simulation results and compromise control decisions [2]. Therefore, inverse calibration of airway resistance using easily obtainable airflow data to eliminate parameter errors is of significant engineering value. This approach is crucial for enhancing the calculation accuracy and achieving intelligent, closed-loop control of mine ventilation systems.
Early investigations into aerodynamic resistance largely focused on enhancing the precision of physical measurements. Notable examples include Gao et al. [3], who employed fractal theory to characterize 3D roadway roughness, and Watson and Zhang et al. [4,5], who utilized LiDAR point clouds to estimate friction factors. While accurate, the full-scale implementation of these methods in extensive mining networks is hindered by operational constraints. To mitigate this, data-driven inverse calibration has become a focal point of research. Xu et al. [6] were among the first to develop nonlinear optimization-based calibration models, achieving good agreement between simulated and measured airflows. Building on this, Gao et al. [7] and Wu et al. [8] applied Genetic Algorithms (GA) to tackle the nonlinearity in inversion. Wang et al. [9] further advanced the field by proposing a Differential Evolution (DE)-based rapid measurement approach with sparse sampling; this method maintained relative errors within 6%, significantly elevating the level of intelligent parameter acquisition. Additionally, the applicability of these optimization algorithms has been corroborated by Hou et al. [10] and Li et al. [11] in parallel fields, including HVAC water systems and real-time ventilation network correction.
Notwithstanding the algorithmic advancements achieved in prior studies, the calibration of complex mine networks confronts two significant engineering bottlenecks. Primary among these is the heavy dependence on measured data. While Zhou et al. [12] investigated optimal sensor placement, the majority of existing models necessitate complete airflow datasets—a requirement that is frequently untenable in practice. The second challenge lies in model feasibility and computational robustness. Wu et al. [13] observed that quadratic programming models relying exclusively on pressure balance equality constraints tend to produce physically unrealistic “negative resistance.” Conversely, incorporating resistance lower-bound constraints often drives the model into infeasibility due to parameter conflicts. This is particularly evident in scenarios with recirculating airflow or overly stringent initial lower bounds, where precise algorithms frequently fail to converge owing to contradictory constraints [14]. Such infeasibility not only halts computation but also renders fault isolation within the extensive system of equations nearly impossible, thereby severely compromising the applicability and diagnostic utility of current methods under complex operating conditions.
Although prior studies have established a solid foundation for aerodynamic resistance calibration, current methodologies remain impeded by the engineering reality of limited and inconsistent airflow data. In large-scale networks, heuristic algorithms suffer from marked degradation in reliability and stability as decision variables scale up. Traditional exact algorithms, meanwhile, typically necessitate complete datasets or decoupled correction steps. Moreover, they are susceptible to computational stagnation (infinite loops) caused by infeasibility when facing conflicting constraints, such as stringent resistance lower bounds or recirculating airflow [15].
To surmount these barriers, this study proposes a globally convergent approach rooted in exact algorithms, ensuring optimal solution iteration from arbitrary initial values. The research focuses on three key areas:
(1) Feasibility Reformulation: To resolve model infeasibility, a coupled correction model is reformulated by incorporating slack variables for resistance lower bounds [16]. This provides a mathematical guarantee for the existence of feasible solutions regardless of parameter settings.
(2) Algorithm Design: Addressing the model’s high-order nonlinearity, an SQP-based solution algorithm [17] is developed. By leveraging the smoothness and continuity of the functions, the algorithm achieves stable, globally convergent optimization.
(3) System Implementation & Validation: A calibration tool was implemented in C++ [18]. The proposed method’s effectiveness and robustness under data scarcity and parameter conflicts were validated via a mine case study, establishing a holistic technical system for robust ventilation network calibration.
The remainder of this paper is structured as follows: Section 1 delineates the research background and reviews the state of the art. Section 2 dissects the feasibility deficiencies in classical models and formulates a nonlinear calibration model incorporating slack variables. Section 3 elucidates the computational principles of the SQP algorithm, with a focus on the mechanisms for determining search direction and step size. Section 4 outlines the software architecture and validates the model through an engineering case study, providing a comparative analysis of calibration accuracy and convergence performance under different initial conditions and constraints. Section 5 concludes the paper by summarizing the primary findings and innovative contributions.
2. Problem Formulation and Feasibility Reformulation for Network Calibration
2.1. Fundamentals of Ventilation Network Theory
Mine ventilation systems represent complex networks composed of airways, fans, and regulatory devices. Consider the simplified network depicted in Figure 1: for a topology with nodes and branches, airflow behavior adheres to the laws of mass conservation and energy conservation. Specifically: (1) Nodal Flow Balance: The total inflow at any node must equal the total outflow. (2) Loop Pressure Balance: The algebraic sum of aerodynamic pressure drops along any closed circuit is zero.
Figure 1.
A simplified mine ventilation network.
In Equation (1), denotes the airflow quantity in branch (m3·s−1), and represents the element of the node-branch incidence matrix. Specifically, is defined as follows: if branch is not connected to node ; if the airflow in branch enters node ; and if it leaves node .
In Equation (2), represents the true aerodynamic resistance of branch (kg·m−7). The term denotes the cyclomatic number (or the number of fundamental independent loops/co-tree branches). The variable represents the element of the fundamental loop matrix: if branch is excluded from loop ; if branch is included in loop with a direction consistent with the loop; and if the direction is opposite. Additionally, denotes the fan pressure within branch (Pa). The ventilation network is deemed balanced if the airflow vector and resistance vector simultaneously satisfy Equations (1) and (2).
2.2. Analysis of Feasibility Limitations in Conventional Calibration Models
Let and represent the column vectors for initial aerodynamic resistance (obtained via measurement) and the resistance correction, respectively, with scalar entries and for branch . Given full knowledge of measured airflow across all airways, the calibration task can be decomposed into two optimization sub-problems, as defined in Equations (3) and (4).
For Equation (3), the objective minimizes the weighted squared Euclidean norm of the resistance correction . Here, quantifies the confidence in the initial resistance . The constraints enforce loop pressure equilibrium and a physical lower bound on resistance ().
For Equation (4), the objective minimizes the squared magnitude of airflow adjustments subject to strict nodal flow continuity.
While formulated as convex Quadratic Programming (QP) models to ensure computational stability, Equations (3) and (4) exhibit critical deficiencies: a dependency on exhaustive airflow data and a high susceptibility to infeasibility. Furthermore, fault isolation in infeasible models is computationally non-trivial. These limitations are detailed as follows:
(1) Infeasibility due to overly stringent resistance lower bounds. This occurs when the cumulative pressure drop along a loop exceeds the available fan pressure, even at minimum resistance settings. Specifically, if the resistances in a fan-bearing loop hit their lower bounds () but the aggregate resistance still exceeds the fan pressure, the loop pressure constraint in Equation (3) becomes unsatisfiable. Since is bounded, no further reduction is possible to equate the loop resistance with the fan pressure.
(2) Infeasibility arising from decoupled correction and spurious recirculation. While Equation (4) guarantees nodal conservation, decoupled correction may generate spurious recirculating airflow in natural ventilation loops. For instance, reversing the flow in Branch 3 (Figure 1) creates a scenario where the loop formed by Branches 2, 3, and 4 maintains a strictly positive pressure sum, violating the zero-balance constraint of Equation (3) and rendering the model unsolvable.
In large-scale networks, data entry errors leading to infeasibility are inevitable. Yet, as the root causes are entangled within complex constraint sets, diagnosing an unsolvable model remains a formidable challenge.
2.3. Feasibility Reformulation Using Slack Variables
A robust calibration model is proposed to ensure feasibility, regardless of data inconsistencies or parameter conflicts. By incorporating a slack variable mechanism, the model ensures solvability even when dealing with sparse and conflicting measured airflow data.
Define as the count of monitored branches. Let and be the vectors for measured airflows and their respective corrections, while represents the vector of unknown airflows. The total network airflow vector is thus defined as .
To prevent infeasibility, we introduce an -dimensional non-negative slack vector . The element serves to relax the resistance lower bound constraint to . Accordingly, the joint decision variable is formulated as . This approach integrates resistance and airflow corrections into a monolithic optimization framework, thereby eliminating the feasibility issues inherent in conventional sequential correction methods.
Based on these definitions, the comprehensive decision variable vector is defined as . This vector encompasses resistance corrections, resistance lower-limit slack variables, and measured airflow corrections. This formulation couples the corrections of resistance and airflow within a unified framework, thereby circumventing the separation issues inherent in traditional two-step methods.
The objective function centers on minimizing the weighted squared Euclidean norm of the resistance correction , utilizing weights to quantify the confidence in the initial resistance . To enforce constraints softly, penalty terms for the slack variable and airflow correction are introduced, scaled by large penalty coefficients and . Mathematically, this penalization mechanism ensures that deviations in airflow or constraint relaxation occur only to avoid infeasibility. Engineering-wise, it embodies the principle of minimal adjustment to achieve network equilibrium.
The constraints synthesize loop pressure equilibrium, nodal flow conservation, and resistance lower bounds. The loop pressure equations involve coupled resistance-airflow variables, while nodal balance equations seamlessly integrate measured and unknown flows. The resistance lower bounds are dynamically adjusted via , creating a robust constraint framework. It is noteworthy that the presence of nonlinear terms of the form introduces high-order nonlinearity, escalating computational complexity. Nevertheless, the slack variables ensure that a feasible solution always exists. The resulting calibration model is formulated in Equation (5):
Equation (5) contains a total of constraints. A penalty mechanism is adopted in the objective function to ensure that slack variables and airflow corrections are non-zero only when necessary.The equality constraints are the loop pressure equilibrium constraint and the nodal flow balance constraint, respectively. The inequality constraints include: the constraint that the corrected resistance satisfies the relaxed lower bounds; the constraint that ensures these lower bounds are physically non-negative; and the constraint that guarantees the non-negativity of slack variables.
Mathematically, the introduction of the slack variable guarantees the feasibility of the model. When the initial bounds are excessively tight and make traditional models unsolvable, the proposed model dynamically relaxes these constraints through . Specifically, the third constraint holds unconditionally when ; the fourth constraint ensures physical rationality; and the fifth constraint maintains non-negativity. This structure ensures solvability even in the presence of inconsistent data, significantly improving robustness. Although high-order nonlinearity increases computational complexity, it can be effectively handled by global convergence algorithms, thereby achieving a balance between theoretical rigor and engineering practicality.
3. Globally Convergent SQP-Based Algorithm
The proposed calibration model is distinguished by two pivotal properties: guaranteed feasibility and smoothness. The introduction of slack variable ensures a non-empty feasible region regardless of initial settings, thereby circumventing the infeasibility pitfalls inherent in conventional approaches. Moreover, the continuous differentiability of the objective and constraint functions fulfills the fundamental convergence requirements of the Sequential Quadratic Programming (SQP) algorithm [19].
3.1. SQP Fundamentals and Applicability
The SQP method operates by iteratively solving a sequence of QP sub-problems to address the original nonlinear optimization problem. At each step, a local quadratic approximation is generated using the gradient and a quasi-Newton approximation of the Hessian matrix. The solution to this sub-problem yields the descent direction for the next iteration.
Equation (5) defines a system with equality and inequality constraints. Despite the nonlinearity of the constituent functions, the problem can be abstracted into the general form presented in Equation (6):
In Equation (6), is the objective function, and denotes the constraints, with and representing the index sets for equality () and inequality () constraints, respectively.
The SQP method solves Equation (6) using the iterative update scheme presented in Equation (7). By continuously updating the solution vector, the algorithm drives the sequence to converge gradually toward the optimal solution.
In Equation (7), represents the decision variable vector at the -th iteration; denotes the search direction at the -th step; and is the step length. Convergence is considered achieved when the norm of the difference between consecutive solution vectors, , falls below a predefined tolerance .
The proposed model exhibits an inherent synergy with the SQP method. The guaranteed non-empty feasible region enables the generation of valid search directions from any initial condition, while the smoothness of the functions ensures the validity of quadratic approximations. More importantly, the slack variable mechanism maintains a feasible trajectory throughout the iterative process, fundamentally preventing the search from trapping into infinite loops. Compared with heuristics, the SQP method excels in handling such smooth nonlinear programming (NLP) problems by guaranteeing global convergence alongside enhanced computational efficiency and numerical stability. Consequently, it is uniquely optimized for solving the complex, high-order constraint problems characteristic of ventilation network calibration.
3.2. SQP Solution Steps
The solution of the proposed model hinges on the iterative determination of the search direction and step size using the SQP algorithm, thereby asymptotically approaching the optimum.
(1) Determination of Search Direction
For a given iterate , a local quadratic model is formulated (Equation (8)) using the objective gradient , constraint gradients , and , a positive-definite approximation of the Lagrangian Hessian. Solving this sub-problem identifies the optimal direction .
In Equation (8), is the search direction vector, and and are the index sets for equality and inequality constraints. The Hessian approximation is updated via the BFGS scheme to ensure positive definiteness, guaranteeing the uniqueness of the sub-problem solution.
For numerical implementation, the coefficients of Equation (8) are computed using the gradients and Jacobian matrix evaluated at . A dedicated solver, such as qpOASES, is then utilized to efficiently obtain both and the associated Lagrange multipliers .
(2) Step Size Computation
The step size is governed by a merit function satisfying Armijo-type conditions. As shown in Equation (9), this function unifies the objective function and constraint violation terms into a single scalar metric for evaluation.
In Equation (9), is the adaptive penalty coefficient. The step size is chosen to ensure sufficient descent in the merit function along the direction . We employ a backtracking line search: initiating with a full step , the step is accepted if the descent criterion (Equation (10)) is met. Failing this, is iteratively halved until satisfaction.
where denotes the directional derivative along . This approach, a simplified variant of the Wolfe conditions, balances computational efficiency with convergence guarantees.
Algorithm Summary: The procedure initializes with and . The main iterative loop involves:
(1) Evaluation: Compute gradients at the current iterate .
(2) Direction: Solve the QP sub-problem (Equation (8)) for .
(3) Line Search: Determine satisfying Equations (9) and (10).
(4) Update: Compute new iterate via Equation (7).
(5) Termination: If , output as the optimal solution; otherwise, update and repeat.
4. Case Study, Software Implementation, and Result Analysis
4.1. Software Development Environment
To validate the proposed nonlinear calibration model and the SQP algorithm, a dedicated calibration module was developed based on an existing mine ventilation simulation platform. The development was conducted on the Windows operating system, using Microsoft Visual Studio 2017 as the Integrated Development Environment (IDE). Object-oriented C++ was employed to implement the core algorithms and system integration.
The software interface is illustrated in Figure 2. Its design balances the dual requirements of engineering practicality and algorithmic research. The system core is a host application developed in VC++, responsible for managing user interaction, data flow scheduling, and computational processes. Meanwhile, visual management of the ventilation network topology and roadway parameters is realized through ObjectARX technology. This integration enables engineers to intuitively complete model construction, modification, and inspection via the graphical interface.
Figure 2.
Mine ventilation auxiliary software interface diagram. (Note: The branch marked in blue in the figure represents the manually selected branch, whose information can be viewed in the information panel on the left).
The solver kernel implements the SQP algorithm, solving the Quadratic Programming (QP) sub-problem in each iteration via qpOASES [20]. This efficient open-source library utilizes an active-set method with hot-start capabilities, making it uniquely optimized for the repetitive, convex QP structures encountered in this study, thereby significantly boosting iterative efficiency.
In terms of implementation, the calibration model (Equation (5)) and SQP solver (Section 3.2) are packaged as an independent module with strict interface definitions. The module acquires inputs—including topology, initial resistance, and limited airflow measurements—from external files or the GUI. Post-calculation, it feeds calibrated parameters back to the visualization engine.
Figure 2 illustrates the GUI layout as well: (1) A configuration panel on the left for setting initial conditions, penalty coefficients, and tolerances; (2) A main visualization window in the center, which dynamically renders the network topology with color-coded flow paths; and (3) A log console for real-time iteration monitoring. This implementation effectively translates theoretical models into a robust engineering tool, ensuring both process transparency and result verifiability.
4.2. Case Application
4.2.1. Case Overview
To validate the proposed framework, it was applied to a real-world mine ventilation network. Following rational simplification, the network topology (Figure 2) consists of 39 branches and 24 nodes. Branches 1, 2, 3, and 35 are intake shafts (total inflow: 174 m3·s−1), while Branches 38 and 39 are return shafts equipped with main fans (total discharge: 171 m3·s−1). The measured flows for the return shafts are 79 and 92 m3·s−1, with corresponding fan pressures of 1234.5 Pa and 1458.6 Pa, respectively.
As shown in Table 1, empirical data is limited to 16 branches (Column ), rendering the system mathematically underdetermined if relying solely on nodal balance equations. Furthermore, the dataset contains significant mass conservation violations. Notably, Node 1 exhibits a flow discrepancy of 3 m3·s−1 (1.7% relative error), and Node 24 shows a discrepancy of 1.8 m3·s−1 (4.9%).
Table 1.
Roadway initial parameters.
Table 1 details the initial resistance (obtained via surveys), the lower bound Rmin (), and the theoretical airflow computed from . Contrasting with the measured airflow exposes marked inconsistencies: 6 of the 16 monitored branches show relative deviations surpassing 10%. Moreover, the theoretical fan pressures for Branches 38 and 39 (1612.3 Pa and 1964.3 Pa) show divergences of 30.60% and 34.67% from in situ measurements. These errors substantiate that simulations relying solely on raw survey data are inherently unreliable, highlighting the critical necessity of precise aerodynamic resistance calibration.
4.2.2. Calibration Accuracy and Analysis
(1) Network Calibration Outcomes
The proposed framework successfully calibrated the ventilation network with high precision (Table 2). Resistance corrections () varied between 0.09% and 40.65% relative to the . This range demonstrates that the model effectively rectifies large deviations while maintaining the integrity of reliable survey data.
Table 2.
Ventilation network calibration results.
Regarding airflow adjustments, the model imposed only marginal corrections on the limited empirical data. For branches with measurements {1–3, 21–23, 35, 38, 39}, corrections were confined within 0.6 m3·s−1. Crucially, forward simulation using the calibrated resistance produces airflow distributions that match the target exactly. This result mathematically confirms that the calibrated system strictly adheres to Kirchhoff’s laws. (nodal balance and loop equilibrium).
The efficacy of the calibration is further elucidated by the changes in pressure distribution along key ventilation paths. As illustrated in Figure 3, we analyzed the two high-resistance routes serving the main fans (Branches 38 and 39). These routes comprise branch sequences {1, 4, 14, 13, 37, 39} and {1, 4, 20, 23, 21, 17, 16, 36, 38}, respectively. Post-calibration, the cumulative pressure drop along both paths exhibited a significant decrease compared to pre-calibration values.
Figure 3.
Cumulative distribution of ventilation resistance along the most difficult ventilation route.
Specifically, for the route corresponding to Branch 38, the total pressure drop decreased from approximately 1770 Pa (pre-calibration) to 1459 Pa. Similarly, for the route serving Branch 39, the total pressure drop was reduced from approximately 1964 Pa to 1459 Pa. The heterogeneous patterns and magnitudes of these reductions indicate that the algorithm avoids simple global uniform adjustments. Instead, it applies adaptive, differentiated corrections to specific branches based on network topology and constraints. This ensures that fan operating points are precisely aligned with measured pressures while minimizing the overall modification magnitude.
The presented results underscore the significant superiority of the proposed global optimization algorithm compared to traditional empirical methods. If manual trial-and-error calibration were conducted solely based on the resistance reduction trends shown in Figure 4, operators would be required to iteratively select specific branches for resistance reduction. This process is highly prone to inducing secondary airflow deviations.
Figure 4.
Iterative convergence process.
The aforementioned results underscore the distinct superiority of the proposed global optimization algorithm over traditional empirical methods. Relying solely on the pressure drop trends in Figure 4 for manual trial-and-error calibration requires iterative branch selection, a process prone to introducing new airflow deviations.
A representative counter-example illustrates this limitation: observing that the measured fan pressure is approximately 60% of the initial calculated resistance, a simplistic approach might uniformly scale all resistances to . While this reduces fan pressures at Branches 38 and 39 to 1295.8 Pa and 1516.9 Pa (bringing relative errors within 5%), it creates significant discrepancies in airflow distributions. Specifically, the deviation between the calculated airflow and measured values reaches a maximum of 7.81 m3·s−1. This dilemma of improving pressure matching at the expense of airflow accuracy is an inherent pitfall of manual calibration. In contrast, the proposed algorithm employs a single global optimization step to achieve precise, simultaneous alignment of both pressure and airflow, effectively resolving this multi-objective conflict.
Furthermore, compared with existing hard-constraint optimization algorithms, such as the standard quadratic programming proposed by Wu et al. [13] and the genetic algorithms applied by Gao et al. [7], the proposed method demonstrates a distinct advantage in handling ‘infeasible’ conditions. As noted by Bascompta et al. [14], traditional algorithms often fail to converge in complex networks when data conflicts arise, resulting in an empty feasible region. In this specific case study, characterized by nodal flow imbalances and overly tight resistance lower bounds, traditional rigid models would directly determine the system to be infeasible. In contrast, by employing a slack variable mechanism, our method not only provides a mathematically optimal solution but also quantifies the magnitude of the data conflict, thereby effectively addressing the limitations inherent in existing rigid calibration models.
(2) Convergence Analysis
In this study, the solver was initialized with specific starting points: the resistance correction, measured airflow correction, and resistance lower bound slack variables were all set to 15% of their respective baseline values. Unknown airflows were initialized using the theoretical values ( in Table 1). This initialization set is denoted as X(15%).
Model parameters were configured as follows: penalty coefficients and were set to 105; convergence tolerance was 10−6; and resistance correction weights were uniformly set to a low value of 0.01 to mitigate numerical instability potentially caused by large penalty terms.
The algorithm converged after 673 iterations, yielding an optimal objective value of approximately 2,580,000.001262. Decomposing this value reveals three key insights:
(1) The weighted sum of squared resistance corrections is merely 0.001270, indicating that modifications to initial resistances were kept to a minimum.
(2) The penalty for resistance lower bound slack is exactly zero, confirming that the preset lower bounds did not form active (binding) constraints.
(3) The airflow correction penalty stands at 2,579,999.999992, dominating the objective function. This magnitude reflects the inherent inconsistencies in the raw measured data. However, driven by the penalty , the algorithm successfully constrained individual airflow corrections to a negligible level (maximum absolute value 0.6 m3·s−1).
The convergence trajectory of the solution is plotted in Figure 4. Both the merit function and the objective function exhibit a consistent downward trend throughout the iterative process. Specifically, the merit function experienced a precipitous drop from 2.2 × 109 to 8 × 106 within the first 110 iterations, demonstrating rapid initial convergence. However, in the subsequent phase (iterations 178–673), the value decreased by only 0.88, indicating a marked deceleration in convergence rate.
This phenomenon stems from the inherent high-order nonlinearity of the model, which induces high curvature in the vicinity of the optimal solution. Consequently, the algorithm was forced to drastically reduce the iterative step size (minimum: 2.4 × 10−7) to maintain stability. Despite these minute steps, the algorithm advanced steadily until satisfying the preset convergence criteria. The objective function followed a trajectory that closely mirrored the merit function.
To validate algorithmic robustness, sensitivity analysis was performed using four additional initialization sets: X(1%), X(10%), X(20%), and X(30%). All cases converged successfully (maximum iterations: 1233). Notably, results across different initializations showed only negligible variations in resistance corrections, while airflow and slack variables remained virtually identical. This substantiates the proposed model’s global convergence properties and insensitivity to initial values.
(3) Necessity Analysis of Resistance Lower Bound Relaxation
The physical nature of aerodynamic resistance is abstract, making it challenging to establish accurate lower bounds intuitively in engineering practice. If these bounds are set excessively high, the constraints become overly stringent, potentially rendering the feasible region empty.
To demonstrate the necessity of slack variables, we conducted a test with the resistance lower bound raised to . Under this stricter condition, even if the resistances along the two critical paths (Branches 38 and 39) are set to their minima, the cumulative pressure drops reach 1485.72 Pa and 1528.63 Pa, respectively. Both values exceed the measured fan pressures. Consequently, the classical model (Equation (3)), lacking a relaxation mechanism, becomes mathematically infeasible as it cannot satisfy loop pressure equilibrium. In contrast, the proposed model (Equation (5)), incorporating the slack variable , resolves this conflict and successfully yields a feasible solution. The corresponding results (Columns , , and ) are detailed in Table 2.
The model automatically resolves overly tight constraints through the slack variable . As evidenced by the column in Table 2, non-zero slack values were assigned to 26 branches. Notably, for 16 of these branches, the slack magnitude exceeded 5% of their respective resistance lower bounds.
These non-zero slack quantities are driven by the penalty coefficient in the objective function. Mechanistically, the algorithm assigns a minimally sufficient positive value to the slack variable only when a resistance lower bound is excessively tight—to the point of causing infeasibility. This action effectively “relaxes” the constraints to guarantee solvability.
This capability not only ensures model convergence under improper parameter settings but also serves as a clear diagnostic indicator for engineers. Specifically, non-zero slack values flag branches where pre-set lower bounds are unreasonably high, allowing operators to either refine parameters or accept the relaxed values. Ultimately, the airflow calculated by the relaxed model is virtually identical to the baseline calibrated airflow . This provides compelling evidence that the slack mechanism enhances robustness without compromising the physical fidelity of the results.
5. Conclusions
(1) The ventilation network calibration problem under limited and unbalanced airflow conditions was formulated as a high-order Nonlinear Programming (NLP) model. The decision variables comprise resistance corrections, resistance lower bound slack variables, measured airflow corrections, and unknown airflows. The objective function prioritizes minimizing the weighted sum of squared resistance corrections, while incorporating slack variables and airflow corrections as penalty terms. Constraints include loop pressure and nodal flow balance equations (equality) and resistance lower bounds (inequality). Notably, the cubic nonlinearity arising from the product of resistance and squared airflow characterizes the model as a high-order NLP problem.
(2) A globally convergent solution method was established based on Sequential Quadratic Programming (SQP). Exploiting the continuity and smoothness of the objective and constraint functions, the SQP algorithm decomposes the original problem into a sequence of Quadratic Programming (QP) sub-problems. Crucially, the introduction of slack variables guarantees a non-empty feasible region, thereby reinforcing the global convergence of the SQP method and ensuring that an optimal solution is obtainable regardless of initialization.
(3) Relying on the self-developed visualization software based on the ObjectARX interface, the robustness and accuracy of the proposed method were fully validated through quantitative analysis of a mine ventilation network comprising 39 branches and 16 sets of measured data. Under the parameter settings of a resistance weight of and a high penalty coefficient of , the algorithm consistently converged to the same optimal solution within 673 to 1233 iterations, even when subjected to significant initial value perturbations ranging from 1% to 30%. The model demonstrated excellent physical realism: corrections to measured airflow were strictly controlled within 0.6 m3/s, effectively preventing measurement errors from being “masked” or “overfitted” by the algorithm. Meanwhile, the slack variable mechanism successfully identified 26 branches with overly tight resistance lower bounds (16 of which required adjustments exceeding 5%), providing engineers with clear fault diagnosis signals. Compared to traditional empirical methods, the pressure drop deviation along critical paths after calibration was significantly reduced from over 30% to a complete match with measured values, achieving a level of network-wide balance accuracy unattainable by manual trial-and-error.
(4) The nonlinear programming framework proposed in this study possesses broad extensibility beyond resistance calibration, offering a theoretical foundation for prospective ventilation design. By reconfiguring the decision variables (e.g., treating fan pressures as unknowns) and the objective function (e.g., minimizing total power consumption), the algorithm can be employed to determine optimal fan operating points. Furthermore, the slack variable mechanism is particularly valuable during the design phase; it automatically identifies physically unattainable airflow targets (conflicting constraints) through non-zero slack values, thereby guiding engineers in optimizing fan placement and performance selection. Future work will aim to extend this quasi-static model to dynamic ventilation networks, integrating real-time sensor data streams to achieve dynamic calibration and disaster early warning for evolving airflow processes.
Author Contributions
Conceptualization, F.W. and J.C.; methodology, R.W.; software, R.W.; validation, R.W. and F.W.; formal analysis, F.W.; investigation, F.W.; resources, J.G.; data curation, R.W.; writing—original draft preparation, R.W.; writing—review and editing, J.C.; visualization, F.W.; supervision, F.W.; project administration, J.C. and F.W.; funding acquisition, F.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported by the National Natural Science Foundation of China under grant numbers 51974232 and 52404244.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author at wufl@xust.edu.cn.
Acknowledgments
Thanks to Xi’an University of Science and Technology and the other team members for their strong support.
Conflicts of Interest
Author Jun Cao was employed by the company Shaanxi Yongxin Mining Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
- Hu, S.; Xu, S. The Current Status and Future Prospects of Intelligent “One Ventilation and Three Prevention” Technology. Int. Core J. Eng. 2023, 9, 106–115. [Google Scholar] [CrossRef]
- Baris, K.; Aydin, Y. Atmospheric Monitoring Systems in Underground Coal Mines Revisited: A Study on Sensor Accuracy and Location. Int. J. Oil Gas Coal Technol. 2020, 23, 325–350. [Google Scholar] [CrossRef] [Scilit]
- Gao, K.; Qi, Z.; Liu, Y. Calculation Model for Ventilation Friction Resistance Coefficient by Surrounding Rock Roughness Distribution Characteristics of Mine Tunnel. Sci. Rep. 2022, 12, 3193. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Watson, C.; Marshall, J. Estimating Underground Mine Ventilation Friction Factors from Low Density 3D Data Acquired by a Moving LiDAR. Int. J. Min. Sci. Technol. 2018, 28, 657–662. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Z.; Tan, Y.; Zhang, H.; Zhao, Y.; Zhu, X. Experimental and Numerical Study on the Influence of Wall Roughness on the Ventilation Resistance Coefficient in a Tunnel under Construction. Tunn. Undergr. Space Technol. 2022, 119, 104198. [Google Scholar] [CrossRef] [Scilit]
- Xu, G.; Huang, J.; Nie, B.; Chalmers, D.; Yang, Z. Calibration of Mine Ventilation Network Models Using the Non-Linear Optimization Algorithm. Energies 2017, 11, 31. [Google Scholar] [CrossRef] [Scilit]
- Gao, K.; Lijun, D.; Jian, L. Study on Mine Ventilation Resistance Coefficient Inversion Based on Genetic Algorithm. Arch. Min. Sci. 2023, 64, 813–826. [Google Scholar] [CrossRef] [Scilit]
- Wu, X.; Zhou, E.; Tu, L.; Yang, Q.; Qi, X. Optimal Determination of Resistance Coefficient of Heating Pipe Network Based on Genetic Algorithm. Eng. Res. Express 2021, 3, 045001. [Google Scholar] [CrossRef] [Scilit]
- Wang, D.; Liu, J.; Deng, L.; Cao, P.; Liu, L. Fast and Intelligent Measurement of the Ventilation Resistance Coefficient for the Whole Mine Based on Sparse Measurement Points. Eng. Appl. Artif. Intell. 2025, 151, 110713. [Google Scholar] [CrossRef] [Scilit]
- Hou, Z.J.; Qu, M.; Wang, Z.R. Flow Resistance Coefficient Identification of Chilled Water System Based on Multi-Objective Optimization and Experiment Validation. Appl. Mech. Mater. 2014, 651–653, 742–746. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Li, Y.; Zhang, J.; Li, B.; Zhang, Z.; Dong, J.; Cui, Y. Accurate and Real-Time Network Calculation for Mine Ventilation without Wind Resistance Measurement. J. Wind Eng. Ind. Aerodyn. 2022, 230, 105183. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Y. Air Volume Reconstruction and Sensor Optimization Distribution in Building Intelligent Ventilation Network. Meas. Sens. 2024, 34, 101252. [Google Scholar] [CrossRef] [Scilit]
- Wu, F.; Zhao, H.; Wang, T. Development and Implementation of Mine Ventilation Network Calibration Using a Two-Step Method. Min. Metall. Explor. 2024, 41, 193–205. [Google Scholar] [CrossRef] [Scilit]
- Bascompta, M.; Sanmiquel, L.; Zhang, H. Airflow Stability and Diagonal Mine Ventilation System Optimization: A Case Study. J. Min. Sci. 2018, 54, 813–820. [Google Scholar] [CrossRef] [Scilit]
- Yan, Z.; Zhang, L.; Wang, Y.; Cao, Y.; Liu, Y.; Chen, C.; Ruan, J. Research on Intelligent Calibration of Air Resistance in Mine Ventilation Networks. Ind. Min. Autom. 2025, 51, 124–132. [Google Scholar] [CrossRef]
- Berahas, A.S.; Xie, M.; Zhou, B. A Sequential Quadratic Programming Method with High Probability Complexity Bounds for Nonlinear Equality Constrained Stochastic Optimization. SIAM J. Optim. 2024, 35, 240–269. [Google Scholar] [CrossRef] [Scilit]
- Fan, Y.; Lin, N.; Yin, X. Penalized Quantile Regression for Distributed Big Data Using the Slack Variable Representation. J. Comput. Graph. Stat. 2021, 30, 557–565. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Sharma, A. Development of NC Program Simulation Software Based on AutoCAD Swarm Optimization Algorithm. Comput.-Aided Des. Appl. 2023, 21, 30–40. [Google Scholar] [CrossRef] [Scilit]
- Ma, Y.; Gao, X.; Liu, C.; Li, J. Improved SQP and SLSQP Algorithms for Feasible Path-Based Process Optimisation. Comput. Chem. Eng. 2024, 188, 108751. [Google Scholar] [CrossRef] [Scilit]
- Ferreau, H.J.; Kirches, C.; Potschka, A.; Bock, H.G.; Diehl, M. qpOASES: A Parametric Active-Set Algorithm for Quadratic Programming. Math. Program. Comput. 2014, 6, 327–363. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.



