Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

28 October 2026

17 Pages

Nonlinear Model Predictive Control of Process Water Quality in the Closed-Loop Water Circuit of the Aktogai GOK Flotation Plant

,
,
,
,
and
1
Department of Automation and Control, Almaty University of Power Engineering and Telecommunications Named After Gumarbek Daukeyev, Almaty 050013, Kazakhstan
2
Department of Automation and Telecommunications, M.Kh. Dulaty Taraz Regional University, Taraz 080012, Kazakhstan
*
Author to whom correspondence should be addressed.

Abstract

This paper presents a simulation-based feasibility study of nonlinear model predictive control (NMPC) for process water quality management in the closed-loop water circuit of the Aktogai copper concentrator. Repeated water recirculation leads to the accumulation of total dissolved solids (TDSs), organic compounds (CODs), and suspended solids (TSSs), degrading flotation efficiency. A dynamic model of the process water pond with nine flows is combined with pseudo-first-order kinetics for H2O2 oxidation (kox = 0.003 L/(mg·h)) and polyaluminum chloride (PAC)/FeCl3 coagulation (kcoag = 0.005 L/(mg·h)). The NMPC manipulates the treated-effluent flow Q2 and the coagulant and oxidant doses over an 8 h prediction horizon, uses normalized one-sided soft constraints on water quality and a reagent cost, and is solved through sequential quadratic programming. The volume, TDSs, and TSSs are assumed to be measured online, whereas CODs are available only from laboratory analyses taken every 2–8 h with a 2 h delay. NMPC was compared with no-control, fixed dosing, a maximum-dilution policy, and a proportional–integral (PI) feedback dosing benchmark with the same manipulated variables. Under nominal disturbances, all strategies met the process limits. Under a simulated stress-test scenario (ore change and reagent overdosing), no control produced 26, 37, and 25 h of TDS, COD, and TSS violations in 72 h; maximum dilution alone removed the TDS and TSS violations but left 13 h of COD violations. With online measurements, a well-tuned PI controller performed almost as well as NMPC (1 h vs. 0 h of COD violations). With laboratory COD analyses, the PI controller incurred 4–11 h of COD violations, whereas NMPC, using a model-based COD estimate between analyses, incurred none, at the cost of 9–47% higher oxidant consumption; this advantage reflects the combined effect of model-based COD estimation and predictive optimization, not of predictive optimization alone. It persisted under up to 30% adverse parametric plant–model mismatch, and the results were insensitive to tenfold variations in the selected NMPC tuning weights. TDSs could be held below their limit only through hydraulic dilution and only while the thickener-overflow TDSs remained below about 2260 mg/L.

1. Introduction

Industrial water use is increasingly shifting towards circular, closed-loop practices [1] in response to growing water scarcity [2]. The mining industry is one of the largest industrial consumers of water resources, accounting for 2–4.5% of national water consumption in resource-extracting economies [3,4]. In the closed-loop water circuits of concentrators, water is repeatedly returned to the process cycle, causing the cumulative accumulation of dissolved mineral salts, flotation reagents, and suspended particles [3,4,5].
Aktogai Mining and Processing Plant (Aktogai GOK, from the Russian abbreviation for mining and processing plant; KAZ Minerals Aktogay LLP, Aktogay, Kazakhstan) operates on a porphyry copper deposit and is one of the largest mining enterprises in Central Asia [6,7,8]. The specific mineral composition of the ore [9] causes heightened sensitivity of the water circuit to seasonal and process disturbances.
Under repeated recirculation in the water circuit, the progressive accumulation of dissolved mineral salts (TDSs), residual flotation reagents (CODs), and fine suspended particles (TSSs) occurs. Increased ionic strength and TDSs alter collector adsorption conditions on mineral surfaces; rising TSSs degrade hydrodynamics in flotation cells; increasing organic load CODs disrupt froth stability and reduce separation selectivity [7,10,11,12,13,14]. At the Aktogai plant, the collector SIBX (sodium isobutyl xanthate), sodium thiosulfate, thickener flocculant, and antiscalant are used [15]—combined accumulation of residues from these reagents is the primary source of organic load. A significant operational problem is that water quality changes considerably faster than periodic laboratory monitoring is performed, as confirmed via an analysis of challenges in mining process water quality assessments [16].
Traditional water circuit management methods focus on hydraulic parameter regulation and do not account for water quality dynamics, although the need for a systematic approach to process water quality management in concentrators was established by Levay and Schumann (2006) [17]. Noome (2023) investigates nonlinear model predictive control (NMPC) for grinding and flotation process control with an emphasis on reducing computational load—the water circuit and TDS/COD/TSS indicators are not control objects [18]. Quintanilla et al. (2023–2024) developed economic model predictive control (E-MPC) for flotation cell control—the closed-loop water circuit, as a whole, is not considered [19,20], nor is it in the flotation control review by Shean and Cilliers (2011) [21]; see also the reviews of control methods in mineral processing [22] and flotation [23]. None of these approaches includes TDSs, CODs, and TSSs in the control system state vector.
The objective of this work is to assess, through simulation, whether incorporating process water quality indicators into the state vector of an NMPC system reduces violations of the process limits for TDSs, CODs, and TSSs compared with uncontrolled operation and with conventional feedback dosing, under a nominal disturbance scenario and a simulated stress-test scenario, with realistic measurement conditions (laboratory-based COD analysis). To achieve this objective, the following tasks were addressed:
  • Develop a nonlinear dynamic model of the process water pond with nine flows, Q1–Q9, internal disturbance sources, and pseudo-first-order reagent kinetics;
  • Formulate the NMPC problem with one-sided soft constraints on water quality, a reagent cost, and actuator bounds;
  • Compare NMPC with no-control, fixed dosing, a maximum-dilution policy, and a proportional–integral (PI) feedback dosing benchmark over 72 h under a nominal scenario and a simulated stress-test scenario;
  • Evaluate the effect of laboratory-based COD measurements, plant–model mismatch, and objective weights on closed-loop performance.

2. Materials and Methods

2.1. Plant Description—Aktogai GOK

The object of the study is the closed-loop process water circuit of the flotation plant at Aktogai GOK (KAZ Minerals Aktogay LLP, Aktogay, Kazakhstan). The Kyzylkiya deposit lies 2 km northeast of the Aktogai deposit [24], which is located about 25 km east of Aktogai station on the Almaty Railway [25]. The deposit is a porphyry copper body with hydrothermal alteration that causes variability in the ore mineral composition and, consequently, variable process water mineralization [9]. The plant processes porphyry copper ore via open-pit mining; the sulphide concentrator has a design capacity of 25 million tonnes of ore per year [25], and in 2021 the tailings volume at Aktogai was 27.5 million tonnes [6].
In 2021, KAZ Minerals deployed the artificial intelligence (AI)-based process optimization system TRIT-AI at Aktogai, trained on 500 million historical supervisory control and data acquisition (SCADA) data points, suggesting potential compatibility with advanced process control approaches such as NMPC, subject to further validation [6].

2.2. Mathematical Model of the Water Circuit

2.2.1. State Vector and Flows

System state vector:
x ( t ) = V ( t ) TDS ( t ) COD ( t ) TSS ( t ) T
The process flowsheet includes five input flows (Q1–Q5) and four output flows (Q6–Q9).
The recirculation flow Q5 is the part of the process–water pump discharge that is returned directly to the pond through the recirculation pipeline when plant demand falls below the minimum pump flow [15]. Because Q5 is withdrawn from and returned to the same pond, its withdrawal and return cancel in both the volume and the quality balances: with the control volume drawn around the pond (Figure 1), Q5 makes no net contribution to V, TDSs, CODs, or TSSs. It is therefore excluded from the balance equations and is not a manipulated variable. The outlet flows Q6–Q9 are the net deliveries to the process units; Q1 is the return from the tailings thickener, and Q4 is the return from the tailings storage facility (Figure 1).
Figure 1. Closed-loop process water circuit of Aktogai GOK with input flows Q1–Q5 and output flows Q6–Q9. Q5 is the internal recirculation of pump discharge back to the pond and makes no net contribution to the pond balances.
The flow structure and nominal flow rates (Table 1) were adopted from the internal technical documentation of the Bozshakol concentrator [15]. The Aktogai and Bozshakol sulfide concentrators were developed by KAZ Minerals with similar design and engineering solutions and comparable processing equipment [26]; the Bozshakol data are therefore used as representative design values, because a corresponding document for Aktogai was not available to the authors. The model covers only the process water circuit of the sulfide concentrator; the oxide heap-leach and solvent extraction–electrowinning (SX-EW) circuit at Aktogai is not included.
Table 1. Process flows of the model.
The quality of input flows (TDSi, CODi, TSSi, mg/L) was adopted from data reported for analogous porphyry copper processing plants [10,15] (unpublished); they are listed in Table 2.
Table 2. Quality of input flows.

2.2.2. Water Balance Equation

dV dt = Q 1 + Q 2 + Q 3 + Q 4 − Q 6 + Q 7 + Q 8 + Q 9
Constraints: Vmin = 4700 m3, Vmax = 6500 m3; initial volume V0 = 5000 m3. The inflow from the tailings storage facility, Q4 = 500 m3/h, is a level safeguard independent of the controller: it is switched on when V < Vmin and off when V > Vmin + 150 m3 (hysteresis). With the flows of Table 1, the inflow without Q4 (at most 4240 m3/h) is lower than the outflow (4300 m3/h for t < 24 h and 4550 m3/h afterwards). The pond level is therefore sustained structurally by Q4, and none of the manipulated variables can hold V above Vmin indefinitely.

2.2.3. TDS Dynamics

d ( TDS ) dt = ∑ i = 1 n Q i TDS i − TDS + G TDS V
With flows Q in m3/h, concentrations in mg/L, and volume V in m3, each flow term Qi(Ci − C)/V is in mg/(L·h), and the source terms G carry units of m3·mg/(L·h) = g/h; the sum runs over the inflows Q1–Q4. The nominal TDS source GTDS = 2.0 × 105 g/h (200 kg/h) represents the leaching of soluble salts from ore and process products [27,28]; at the design throughput of 25 Mt of ore per year (≈2900 t/h) [25], this corresponds to about 0.07 kg of dissolved salts per tonne of ore. At the nominal operating point (V = 5000 m3, TDS = 1500 mg/L), the inflow Q1 (TDS1 = 2200 mg/L) contributes Q1(TDS1 − TDS)/V = 3900 × 700/5000 ≈ 546 mg/(L·h), and the source contributes GTDS/V = 40 mg/(L·h). The hydraulic residence time V/ΣQout ≈ 1.2 h is short, so pond TDSs approach the flow-weighted inlet concentration within 1–2 h (see Section 3.1). In the steady state without Q4, TDS = (ΣQiTDSi + GTDS)/ΣQi ≈ 2188 mg/L for Q2 = 120 m3/h and ≈ 2125 mg/L for Q2 = 300 m3/h, i.e., TDSs can be influenced only by the dilution and only within a narrow range. During disturbance scenario S2 (t ∈ [20, 45] h), the source intensity increases by a factor of 1.35, consistent with TDS increases under ore composition changes [9].

2.2.4. COD Dynamics

The kinetic term kCOD·COD (kCOD = 0.012 h−1) reflects the biological and chemical decomposition of organic compounds in process water. The internal source GCOD = 1.0 × 104 g/h is formed by residual flotation reagents. Under disturbance scenario S3 (t ≥ 35 h), the source intensity increases by a factor of 2.0, simulating increased reagent loading. The model incorporates chemical oxidation by H2O2 (manipulated variable uox, mg/L):
dCOD dt = ∑ i Q i CO D i − COD + G COD V − k COD ⋅ COD − k ox ⋅ u ox ⋅ COD
where kox = 0.003 L/(mg·h) is an assumed pseudo-first-order oxidation coefficient, of the order reported for the H2O2-based (Fenton) oxidation of the organic load in wastewater [29]. It has not been identified for Aktogai process water and is therefore included in the plant–model mismatch analysis (Section 3.6). The manipulated variable uox is bounded:
0 ≤ uox ≤ 20 mg/L.

2.2.5. TSS Dynamics

d ( TSS ) dt = ∑ i Q i ⋅ ( TS S i − TSS ) + G TSS V − k s ⋅ TSS
The settling coefficient ks = 0.035 h−1 was adopted for flotation tailings particles with d80 < 25 μm (half-settling time τ1/2 ≈ 19.8 h). Under disturbance scenario S2 (t ∈ [20, 45] h), the source GTSS increases by a factor of 1.5 due to degraded clarified water quality under a changed ore composition [9]. The extended model incorporates the coagulation by polyaluminum chloride (PAC)/FeCl3 (control variable ucoag, mg/L):
dTSS dt = ∑ i Q i TS S i − TSS + G TSS V − k s ⋅ TSS − k coag ⋅ u coag ⋅ TSS
where kcoag = 0.005 L/(mg·h) is an assumed pseudo-first-order coagulation coefficient, of the order consistent with reported coagulation kinetics of hydrolyzing metal salts [30]; like kox, it is included in the mismatch analysis (Section 3.6). The manipulated variable ucoag is bounded:
0 ≤ ucoag ≤ 15 mg/L

2.2.6. Numerical Implementation

The four ordinary differential equations are integrated with a fixed-step fourth-order Runge–Kutta method, with a sub-step of 0.1 h for the simulated plant and 0.25 h inside the NMPC prediction; the control interval is Δt = 1 h. All simulations were implemented in MATLAB (version R2020a; The MathWorks, Inc., Natick, MA, USA) with the Optimization Toolbox. No physical reagents, instruments, or samples were used in this study; the oxidant, the coagulants, and the flotation reagents are represented only as model inputs.

2.3. NMPC Problem Formulation

2.3.1. Cost Function

At each control step, the controller minimizes over the prediction horizon Np = 8 h, a cost that penalizes only violations of water-quality alarm levels and limits (one-sided penalties); the reagent consumption and the input moves. Concentration set-points are not tracked, so cleaner water is never penalized. A similar soft-constraint structure has been used in water quality control problems [31,32]. With the manipulated variable vector u = [Q2, ucoag, uox]T and c ∈ {TDS, COD, TSS},
J = ∑ i = 1 N p l i
l i = w soft ∑ c max 0 ,   c i − c soft c max 2 + w hard ∑ c max 0 ,   c i − c max c max 2
+ w V max 0 ,   V min − V i 1000 2 + max 0 ,   V i − V max 1000 2
+ w coag u coag , i 15 + w ox u ox , i 20 + w Δ u ∑ j = 1 3 u j , i − u j , i − 1 u j , max − u j , min 2 − w Q 2 Q 2 , i − Q 2 , min Q 2 , max − Q 2 , min
where csoft = (2150, 112, 92) mg/L are the alarm levels and cmax = (2200, 120, 100) mg/L are the process limits for TDSs, CODs, and TSSs; Vmin and Vmax are the volume limits; uj,max − uj,min are the actuator ranges (Table 1 and Section 2.2.4 and Section 2.2.5); and wsoft = 103, whard = 105, wV = 103, wcoag = wox = 0.02, wΔu = 0.05, and wQ2 = 0.02 are dimensionless weights.
All terms are normalized by the corresponding limits or actuator ranges, so the weights do not depend on the physical units. The hard-limit and volume terms act as soft constraints, the alarm-level term creates a safety margin below the limits, the linear reagent terms penalize the chemical consumption, and the last term gives a small incentive to reuse treated effluent instead of discharging it. No volume set-point is tracked: because Q5 is an internal recirculation, the pond level is governed by the Q4 safeguard (Section 2.2.2), and the controller only keeps V within [Vmin, Vmax]. The sensitivity of the results to the weights is examined in Section 3.7.
The input sequence is parameterized by two move blocks: the first block covers the first hour, and the second holds the inputs constant over hours 2–8, giving six decision variables per step.

2.3.2. Optimization Solver and Constraint Handling

The optimization problem is solved at each step through sequential quadratic programming (SQP; MATLAB fmincon, SQP algorithm, at most 200 iterations, optimality tolerance 10−8). The actuator bounds (Table 1 and Section 2.2.4 and Section 2.2.5) are imposed directly as box constraints on the decision variables. The solver is warm-started from the shifted solution of the previous step; if it terminates without convergence (exit flag ≤ 0), it is restarted once from the mid-range point and the better of the two solutions is used. The first move of the returned sequence is always applied, and no fallback sequence is used. No guarantee of recursive feasibility or of soft-constraint satisfaction is claimed; solver statistics are reported in Section 3.7.
State constraints (TDS ≤ 2200 mg/L, COD ≤ 120 mg/L, TSS ≤ 100 mg/L, Vmin ≤ V ≤ Vmax) are enforced as soft constraints through the penalty terms of ℓi (Section 2.3.1).
The inflow Q4 from the tailings storage facility is a level safeguard independent of the NMPC, consistent with the plant operating procedure [15]. Within the prediction, Q4 may switch off when the predicted volume exceeds Vmin + 150 m3 but is never predicted to switch on. This asymmetric treatment is a deliberate simplifying assumption of the prediction model. If the switch-on logic were included, the optimizer could lower Q2 so that the predicted level falls below Vmin and the safeguard water (TDS4 = 1800 mg/L) dilutes the pond; the controller would then intentionally exploit Q4, which lies outside its authority, as a dilution mechanism, and in preliminary simulations, this produced erratic control actions. Excluding the switch-on prevents this, at the price of a conservative prediction: when the safeguard is actually activated, the pond is diluted more than predicted. Because the inflow without Q4 is structurally lower than the outflow (Section 2.2.2), Q4 activation is an expected feature of operation and not a consequence of unmodeled disturbances.

2.3.3. Receding Horizon Algorithm

At each step, the controller (i) obtains the current measurements and the state estimate (Section 2.3.4); (ii) predicts the dynamics over Np with the model of Section 2.2, holding all disturbances (internal sources, inlet concentrations, Q7, and the Q4 state) at their current values, i.e., without a preview of future disturbances; (iii) solves the optimization problem; and (iv) applies the first move [33]. This receding-horizon architecture corresponds to approaches used in water quality control for canals and polder networks [34,35].

2.3.4. Measurement Model and State Estimation

The pond volume, TDSs, and TSSs are assumed to be measured online every hour (level transmitter, conductivity, and turbidity sensors). CODs are available only from laboratory analysis: a sample is taken every TS hours, and its result becomes available 2 h later; TS = 2, 4, 6, and 8 h and the ideal case of hourly online COD measurements are considered. Between analyses, the NMPC estimates the current CODs by propagating the last available laboratory value with the nominal model and the inputs actually applied since the sampling instant (open-loop model-based estimator); volume, TDSs, and TSSs in the estimate are replaced by their online measurements. The plant is simulated with the same model structure; in the mismatch analysis (Section 3.6), the simulated plant uses perturbed parameters, while the controller keeps the nominal ones.

2.3.5. Benchmark Strategies

Four benchmarks with the same manipulated variables and actuator bounds are used: (i) no control (Q2 = 120 m3/h, no reagents); (ii) fixed dosing (Q2 = 120 m3/h, ucoag = 7.5 mg/L, uox = 10 mg/L); (iii) maximum dilution with fixed dosing (Q2 = 300 m3/h, same doses), which isolates the hydraulic effect of Q2; and (iv) maximum dilution with PI feedback dosing (Q2 max + PI). In (iv), two independent PI loops set ucoag from the online TSS measurement and uox from the last available COD value (sample-and-hold), with set-points equal to the NMPC alarm levels (92 and 112 mg/L), proportional gain Kp = 2 (mg/L of reagent per mg/L of error), integral time Ti = 5 h, and conditional-integration anti-windup. Kp was selected by a trial from {0.5, 1, 2, 4} with online measurements in the stress scenario S4 and kept unchanged in all other cases.

2.4. Initial Conditions and Model Parameters

The initial conditions and the model parameters used in all simulations are summarized in Table 3. The kinetic coefficients and internal sources are discussed in Section 2.2.3, Section 2.2.4 and Section 2.2.5.
Table 3. Summary of model parameters.

2.5. Disturbance Scenarios

Scenarios S2 and S3 represent disturbance types reported for the plant, whereas S4 is a simulation stress test: its disturbance amplitudes were chosen so that the process limits are actively threatened and are not derived from Aktogai operational data. Because all strategies satisfy the limits under the nominal scenario, the differences between the control strategies reported in Section 3 arise mainly under S4 and should be interpreted as a comparison under deliberately severe conditions. The disturbance scenarios and their model implementation are summarized in Table 4.
Table 4. Disturbance scenarios.
Table 5 lists the manipulated variables with their bounds and the baseline values used in the benchmark strategies.
Table 5. Manipulated variables, bounds, and baseline values.

3. Results

3.1. Open-Loop System Dynamics (Baseline Model)

Figure 2 shows the open-loop response (Q2 = 120 m3/h, no reagents) under the baseline S1, the individual disturbances S2 and S3, and the stress scenario S4.
Figure 2. Open-loop response (Q2 = 120 m3/h, no reagents) under scenarios S1 (baseline), S2 (ore change), S3 (reagent loading), and S4 (stress); fourth-order Runge–Kutta (RK4) integration, 72 h. Red dotted lines—Vmin and admissible limits. (a) Water volume; (b) TDSs; (c) CODs; (d) TSSs.
Because the hydraulic residence time is about 1.2 h, all quality indicators approach quasi-steady levels within a few hours, determined by the flow-weighted inlet concentrations, the internal sources, and the first-order removal terms; there is no slow monotonic accumulation over the 72 h horizon. Pond TDSs settle at about 2140–2190 mg/L, close to the limit, because the dominant inflow Q1 carries 2200 mg/L. Scenario S2 raises TDSs by about 15 mg/L and S3 raises CODs by about 2 mg/L, without violating the limits. Under S4, TDSs, CODs, and TSSs exceed their limits (maxima of 2236, 128.6, and 105.3 mg/L). The sawtooth in the volume reflects the on/off operation of the Q4 safeguard, and the change at t = 24 h is the increase in the flotation demand Q7.

3.2. NMPC Performance

Table 6 compares the five strategies with hourly online measurements of all indicators. Under the nominal scenario (S2 + S3), no strategy violates any limit; the strategies differ in their safety margins and reagent use. Raising Q2 to its maximum increases the minimum TDS margin from 3 to 60 mg/L, irrespective of reagent dosing. The PI controller and NMPC achieve similar COD and TSS margins (6–8 mg/L), the PI controller with less oxidant (2.8 vs. 8.1 mg/L).
Table 6. Performance with hourly online measurements of all indicators (72 h).
Under the simulated stress-test scenario S4, no control and fixed dosing violate all three limits for 24–37 h. Maximum dilution with fixed dosing removes the TDS and TSS violations but leaves 13 h of COD violations. With online measurements, both feedback strategies keep TDSs and TSSs within the limits; the PI controller incurs 1 h of COD violation (exceedance 0.3 mg·h/L) and NMPC none, with similar reagent consumption. When all indicators are measured online, a well-tuned PI controller therefore performs almost as well as NMPC for this process. Figure 3 shows the pond volume and water quality trajectories under scenario S4 with laboratory COD analyses every 4 h.
Figure 3. Pond volume (a) and water quality (b–d) under scenario S4 with COD laboratory analyses every 4 h (result delay 2 h); circles mark the COD samples. Red dotted lines—Vmin and admissible limits. The curves for Q2 max + fixed dosing, Q2 max + PI dosing, and NMPC coincide in (a,b), since all three keep Q2 at its maximum and reagents do not affect the volume or TDSs.

3.3. Control Actions

Figure 4 shows the control actions in scenario S4 with laboratory COD analyses every 4 h. NMPC keeps Q2 at its upper bound throughout; TDSs are therefore governed by dilution alone and are identical for all strategies with a maximum Q2. The coagulant dose is raised to its maximum at t = 20 h, when the ore change starts, and reduced after t = 45 h; the oxidant dose rises to 20 mg/L at t = 35 h, when CODs in the thickener overflow increase. Because the prediction holds disturbances at their current values, NMPC reacts only after a disturbance has begun; the reaction is immediate because the model-based estimate tracks CODs between analyses. The PI controller reacts to the COD increase only when a laboratory result reveals it and then needs several hours to reach the required dose (Figure 4c), which causes the COD violations in Figure 3c.
Figure 4. Control actions under scenario S4 with COD laboratory analyses every 4 h: treated-effluent flow Q2 (a), coagulant dose (b), and oxidant dose (c).

3.4. Quantitative Comparison

Table 6 summarizes the performance metrics. Because the controller does not track concentration set-points, root-mean-square error (RMSE), with respect to set-points, is not reported. Instead, the number of hours with C > Cmax (violations), the time-integrated exceedance above the limit, the minimum margin to the limit, and the mean reagent doses are used. Violations are counted for t > 0, i.e., excluding the initial state.

3.5. Laboratory-Based COD Measurement

Table 7 and Figure 5 compare the PI controller and NMPC in scenario S4 when CODs are available only from laboratory analyses. The PI controller acts on outdated COD values and incurs 4–11 h of COD violations, the largest number at an 8 h sampling interval. NMPC, which estimates the current CODs with the model between analyses, incurs no COD violations at any sampling interval considered. The price is a higher oxidant consumption: 11.9 mg/L for NMPC against 8.1–10.9 mg/L for the PI controller (9–47% more), because NMPC acts on the predicted rather than on the last measured CODs. Coagulant consumption is similar (5.8 vs. 5.4 mg/L), since TSSs are measured online. Because the PI controller uses the last laboratory value (sample-and-hold), whereas NMPC uses a model-based COD estimate between analyses, this comparison reflects the combined benefit of the model-based state estimation and predictive optimization. The two contributions were not separated; this would require, for example, a PI controller acting on the same model-based estimate.
Table 7. COD violations and reagent use versus COD sampling interval (scenario S4, result delay 2 h).
Figure 5. Hours of COD violation under scenario S4 versus the COD laboratory sampling interval (result delay 2 h) for the PI benchmark and NMPC; ‘online’ denotes hourly measurements without delay.

3.6. Plant–Model Mismatch

To test robustness, the simulated plant was given adversely perturbed parameters (kinetic coefficients reduced, internal sources increased), while the controller (prediction model and estimator) kept the nominal values (Table 8; scenario S4, COD analyses every 4 h). NMPC incurred no COD violations when kcoag, kCOD, or ks were reduced by 30% and 3 h when the oxidation coefficient kox was 30% lower than assumed, against 5–8 h for the PI controller. With a combined adverse perturbation (all kinetic coefficients −20%, sources +20%), both controllers violated the COD limit, NMPC for 5 h and the PI controller for 10 h. A 30% increase in the internal sources caused 4 h of TDS violations for both, because TDSs can be reduced only by dilution and Q2 was already at its maximum. The advantage of NMPC therefore persists under adverse parametric errors of up to 30% but is limited by the effectiveness of the oxidant, the least certain parameter of the model. Favorable perturbations (kinetic coefficients increased or sources reduced) were not tested.
Table 8. Plant–model mismatch (scenario S4, COD analyses every 4 h; controller model nominal).

3.7. Weight Sensitivity and Solver Statistics

Table 9 shows that tenfold variations in the selected NMPC tuning weights (alarm-level, reagent-cost, move, and treated-effluent weights; Table 9) did not produce any violation in scenario S4 with laboratory COD analyses every 4 h. The minimum margins were unchanged (16.9, 1.5, and 4.7 mg/L for TDSs, CODs, and TSSs); only the reagent consumption changed (coagulant 5.6–6.8 mg/L, oxidant 11.2–12.9 mg/L). The conclusions are therefore not an artefact of these tuning weights; the hard-limit and volume penalty weights, which act as soft constraints, were not varied. In the same case, the SQP solver converged (exit flag > 0) at all 71 steps at the first attempt, without restarts, with on average 96 function evaluations per step (maximum 432) and an average computation time of 0.034 s per step (maximum 0.117 s) on a desktop computer. The computation time is reported as implementation information; real-time deployment was not assessed.
Table 9. NMPC weight sensitivity (scenario S4, COD analyses every 4 h).

4. Discussion

4.1. Interpretation of Results

The hypothesis that including TDSs, CODs, and TSSs in the NMPC state vector reduces violations of the process limits was confirmed relative to no control and fixed dosing, but the comparison with a PI feedback benchmark qualifies it. With the hourly online measurement of all indicators, a well-tuned PI controller with maximum dilution performed almost as well as NMPC (1 h vs. 0 h of COD violations in the simulated stress-test scenario S4). This follows from the process structure: the pond is hydraulically fast (residence time ≈ 1.2 h), and each reagent acts essentially on one indicator, so decoupled feedback loops are sufficient when measurements are timely.
The benefit of NMPC appears when CODs are measured only in the laboratory, which is the usual situation in concentrators [16]. The model-based estimate between analyses allowed NMPC to avoid COD violations at sampling intervals of up to 8 h, whereas the PI controller incurred 4–11 h of violations. This benefit is the combined effect of model-based COD estimations and predictive optimization: the PI benchmark acted on sample-and-hold laboratory values, and a PI controller supplied with the same model-based estimate was not tested, so the share attributable to prediction alone cannot be quantified. The benefit was retained under up to 30% adverse parametric mismatch and was insensitive to tenfold variations in the selected tuning weights, but it was obtained at the cost of 9–47% more oxidant; NMPC did not reduce reagent consumption relative to the PI benchmark.
TDSs are governed solely by hydraulic dilution: the reagents do not enter the TDS balance, and every strategy with Q2 at its maximum produced the same TDS trajectory. The TDS improvement relative to no control is therefore a hydraulic effect, not a result of predictive optimization. Because the dominant inflow Q1 carries TDSs close to the limit, dilution can keep TDSs below 2200 mg/L only while TDSs in the thickener overflow remain below about 2260 mg/L (for Q2 = 300 m3/h and GTDS ×1.35). Larger increases can be counteracted only by treatment that removes dissolved salts, for example lime–soda softening of the thickener overflow, which is outside the scope of the present model.
COD control is limited by the oxidant capacity: in scenario S4, NMPC kept the oxidant at its upper bound of 20 mg/L from t = 35 h, and the minimum COD margin was only 1.5 mg/L, so a stronger organic load would cause violations for any strategy. This confirms the dominant role of the reagent regime as an organic load source and argues for the joint optimization of reagent and water regimes [7,10].

4.2. Comparison with Existing Approaches

Unlike Noome (2023) [18] and Quintanilla et al. (2023–2024) [19], who address flotation cell control, to the best of the authors’ knowledge, this study is among the first to formulate NMPC at the closed-loop water circuit level with TDSs, CODs, and TSSs explicitly in the state vector. The closest analogues are Bernardelli et al. (2020) [31] and Aydin et al. (2019, 2022) [34,35]. Related MPC formulations have also been applied to reservoir flood control [36] and to anaerobic digestion [37].

4.3. Study Limitations

The study is simulation-based. The kinetic parameters kCOD, ks, kox, and kcoag, the internal sources Gi, and the inlet concentrations were adopted from literature and design data without identification based on Aktogai operating data; kox and kcoag are of the order reported for related systems [29,30] and are the least certain parameters. The pseudo-first-order kinetics neglect the effects of the pH, temperature, and particle size distribution. The mismatch analysis covers adverse parametric errors of up to 30% but not favorable deviations or structural model errors, and the disturbance amplitudes of the stress scenario S4 were chosen for testing rather than derived from Aktogai operational data. The COD estimator is an open-loop model propagation between laboratory analyses; online TDS and TSS measurements are assumed to be available without delay or noise, and the design of a state observer with measurement noise and delays for all indicators remains future work. The flow rates were taken from the design documentation of a sister KAZ Minerals concentrator [15] and require verification against Aktogai SCADA data. The Q4 safeguard is modeled as a simple hysteresis switch; its asymmetric treatment in the prediction (switch-off but no switch-on; Section 2.3.2) is a simplifying assumption that makes the prediction conservative whenever the safeguard is active, and the flows are constant apart from the scheduled change in Q7. A promising direction is replacing the deterministic model with a data-driven approach based on Gaussian processes, as demonstrated for flotation control under partial observability [38].

4.4. Practical Significance

The study provides a simulation-based proof of concept. Its practical message for the Aktogai process water pond is that (i) TDSs can be managed only through hydraulic dilution, so the available treated effluent should be used at its maximum; (ii) when CODs and TSSs are measured online, simple PI dosing loops can be sufficient; and (iii) when CODs are available only from laboratory analyses, the combination of a model-based COD estimate and predictive control maintained the COD limit in the simulated stress test, where PI feedback based on delayed analyses did not. The economic benefit, which depends on reagent prices and on the effect of water quality on copper recovery, requires a separate techno-economic assessment. The TDS improvement relative to current operation results from the maximum use of treated effluent rather than from NMPC and part of the COD benefit may be obtainable by adding a model-based estimator to conventional feedback loops.

5. Conclusions

This work developed a nonlinear dynamic model of the closed-loop process water circuit of the Aktogai GOK flotation plant with nine process flows and the state vector:
x = V TDS COD TSS T .
The model includes pseudo-first-order kinetics for COD oxidation (H2O2, kox = 0.003 L/(mg·h)) and TSS coagulation (PAC/FeCl3, kcoag = 0.005 L/(mg·h)). An NMPC problem was formulated with three manipulated variables, u = [Q2, ucoag, uox], an 8 h prediction horizon with two move blocks, normalized one-sided soft constraints, and a reagent cost, and was solved by SQP. The internal recirculation Q5 was shown to have no net effect on the pond and was excluded from the balances.
Simulations over 72 h showed the following: (1) under nominal disturbances, all strategies met the limits, and maximum dilution increased the TDS margin from 3 to 60 mg/L; (2) under the simulated stress-test scenario, NMPC and a well-tuned PI controller with maximum dilution both met the TDS and TSS limits, and with online measurements, they performed almost equally (0 vs. 1 h of COD violation); (3) with laboratory COD analyses every 2–8 h, NMPC avoided COD violations completely, whereas the PI controller incurred 4–11 h, at the cost of 9–47% more oxidant, a benefit that reflects the model-based COD estimation combined with predictive optimization; (4) the advantage of NMPC persisted under up to 30% adverse parametric mismatch and was insensitive to tenfold variations in the selected tuning weights; and (5) TDS can be kept below the limit only through dilution, independently of the control strategy, and only while the thickener-overflow TDSs remain below about 2260 mg/L.
Future research should focus on the following: (1) identification of kCOD, ks, kox, kcoag, and Gi from Aktogai laboratory information management system (LIMS) and SCADA data; (2) separating the contributions of model-based estimation and predictive optimization, e.g., with a PI controller acting on the same COD estimate, and the design of a state observer accounting for measurement noise and delays; (3) inclusion of salt-removing treatment, such as lime–soda softening, as an additional manipulated variable for TDSs and hardness; and (4) a techno-economic assessment of the reagent consumption and copper recovery.

Author Contributions

Conceptualization, L.A. and A.A.; methodology, A.A. and L.A.; software, A.A.; validation, S.K., G.I. and L.S.; formal analysis, A.A.; investigation, A.A. and L.R.; resources, L.A.; data curation, G.I. and L.R.; writing—original draft preparation, A.A.; writing—review and editing, L.A., S.K. and L.S.; visualization, A.A.; supervision, L.A.; project administration, L.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The simulation code and model parameters are available on request from the corresponding author. The process flow rates were derived from internal plant documentation [15], which is not publicly available.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Karkou, E.; Teo, C.J.; Savvakis, N.; Poinapen, J.; Arampatzis, G. Industrial circular water use practices through the application of a conceptual water efficiency framework in the process industry. J. Environ. Manag. 2024, 370, 122596. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. OECD. The Economics of Water Scarcity; OECD Publishing: Paris, France, 2024. [Google Scholar] [CrossRef] [Scilit]
  3. Atakhanova, Z.; Meirambayeva, M.; Baigaliyeva, M. Mine Water Use in Kazakhstan: Data Issues, Risks, and Regulations. Sustainability 2024, 16, 2456. [Google Scholar] [CrossRef] [Scilit]
  4. Meissner, S. The Impact of Metal Mining on Global Water Stress and Regional Carrying Capacities. Resources 2021, 10, 120. [Google Scholar] [CrossRef] [Scilit]
  5. Irandoost, E.; Ghorbanpour, A.; Balouei Jamkhaneh, H.; Ghasemi, P.; Babaee Tirkolaee, E. Sustainable-circular water resources management in the mining industry using system dynamics modeling. Water Resour. Ind. 2025, 34, 100313. [Google Scholar] [CrossRef] [Scilit]
  6. KAZ Minerals. Sustainability Report 2021; KAZ Minerals Limited: London, UK, 2022; Available online: www.kazminerals.com (accessed on 15 October 2026).
  7. Evdokimov, S.I. Flotation Beneficiation Methods: Teaching Manual; SKGMI (GTU): Vladikavkaz, Russia, 2021. (In Russian) [Google Scholar]
  8. Atakhanova, Z.; Azhibay, S. Assessing Economic Sustainability of Mining in Kazakhstan. Miner. Econ. 2023, 36, 719–731. [Google Scholar] [CrossRef] [Scilit]
  9. Li, C.; Shen, P.; Pan, H.; Cao, C.; Seitmuratova, E. Geology and ore-forming fluid evolution of the Aktogai giant porphyry Cu deposit, Kazakhstan. J. Asian Earth Sci. 2018, 165, 192–209. [Google Scholar] [CrossRef] [Scilit]
  10. Soufiabadi, A.M.; Nejadaria, M.; Dehghan, R.; Safari, M.; Hassanzadeh, A.; Khoshdast, H. Effect of different process water sources on rougher flotation efficiency of a copper ore: A case study at Sarcheshmeh Copper Complex. Physicochem. Probl. Miner. Process. 2023, 59, 184087. [Google Scholar] [CrossRef] [Scilit]
  11. Manono, M.S.; Corin, K.C.; Wiese, J.G. The effect of ionic strength of plant water on frother behaviour. Miner. Eng. 2020, 158, 106593. [Google Scholar]
  12. Bicak, O.; Ekmekci, Z.; Ozturk, Y. The effect of water chemistry on froth stability and surface chemistry of flotation of a Cu–Zn sulfide ore. Int. J. Miner. Process. 2012, 102–103, 32–37. [Google Scholar] [CrossRef] [Scilit]
  13. Wills, B.A.; Finch, J. Wills’ Mineral Processing Technology, 9th ed.; Elsevier: Amsterdam, The Netherlands, 2023. [Google Scholar]
  14. Corin, K.C.; Reddy, A.; Miyen, L.; Wiese, J.G.; Harris, P.J. The effect of ionic strength of plant water on valuable mineral and gangue recovery in a platinum bearing ore from the Merensky reef. Miner. Eng. 2011, 24, 131–137. [Google Scholar] [CrossRef] [Scilit]
  15. KAZ Minerals Bozshakol LLP. Description of the Process and Potable Water Supply Process; Internal Technical Document; KAZ Minerals Bozshakol LLP: Ekibastuz, Kazakhstan, 2015. (In Russian) [Google Scholar]
  16. Le, T.M.K.; Miettinen, H.; Bomberg, M.; Schreithofer, N.; Dahl, O. Challenges in the assessment of mining process water quality. Minerals 2020, 10, 940. [Google Scholar] [CrossRef] [Scilit]
  17. Levay, G.; Schumann, R. A systematic approach to water quality management in the minerals processing industry. In Proceedings of the Water in Mining Conference, Brisbane, Australia, 14–16 November 2006; pp. 1–10. [Google Scholar]
  18. Noome, Z.M. Nonlinear model predictive control for mineral processing systems under process disturbances. J. Process Control 2023, 129, 103067. [Google Scholar]
  19. Quintanilla, P.; Valencia, F.; Cipriano, A. Experimental implementation of economic nonlinear model predictive control for flotation processes. IFAC-PapersOnLine 2024, 58, 245–250. [Google Scholar]
  20. Quintanilla, P.; Navia, D.; Neethling, S.J.; Brito-Parada, P.R. Centralised economic model predictive control of froth flotation banks. Chem. Eng. Res. Des. 2025, 224, 467–481. [Google Scholar] [CrossRef] [Scilit]
  21. Shean, B.J.; Cilliers, J.J. A review of froth flotation control. Int. J. Miner. Process. 2011, 100, 57–71. [Google Scholar] [CrossRef] [Scilit]
  22. Hodouin, D. Methods for automatic control, observation, and optimization in mineral processing plants. J. Process Control 2011, 21, 211–225. [Google Scholar] [CrossRef] [Scilit]
  23. Markabayeva, Z.; Koshimbayev, K.; Abzhanova, L.; Orakbaev, Y.; Sagyndykova, S. Analysis of modern methods for control and management of the flotation process. News Natl. Acad. Sci. Repub. Kazakhstan Ser. Geol. Technol. Sci. 2025, 3, 109–119. [Google Scholar] [CrossRef] [Scilit]
  24. Department of Ecology of Abai Region. Conclusion on the Scope of EIA for KAZ Minerals Aktogay LLP, Kyzylkiya Site; No. KZ51VWF00095949; Department of Ecology of Abai Region: Semey, Kazakhstan, 2023. (In Russian) [Google Scholar]
  25. KAZ Minerals. Aktogai Sulphide Concentrator Expansion Project; Environmental Impact Assessment; KAZ Minerals: Almaty, Kazakhstan, 2018. [Google Scholar]
  26. KAZ Minerals PLC. Aktogay Expansion Project Approved; Announcement; KAZ Minerals PLC: London, UK, 21 December 2017; Available online: https://www1.hkexnews.hk/listedco/listconews/sehk/2017/1221/ltn20171221763.pdf (accessed on 15 October 2026).
  27. Rao, S.R.; Finch, J.A. A review of water re-use in flotation. Miner. Eng. 1989, 2, 65–86. [Google Scholar] [CrossRef] [Scilit]
  28. Levay, G.; Smart, R.S.C.; Skinner, W.M. The impact of water quality on flotation performance. J. S. Afr. Inst. Min. Metall. 2001, 101, 69–75. [Google Scholar]
  29. Deng, Y.; Englehardt, J.D. Treatment of landfill leachate by the Fenton process. Water Res. 2006, 40, 3683–3694. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Duan, J.; Gregory, J. Coagulation by hydrolysing metal salts. Adv. Colloid. Interface Sci. 2003, 100–102, 475–502. [Google Scholar] [CrossRef] [Scilit]
  31. Bernardelli, A.; Marsili-Libelli, S.; Manzini, A.; Stancari, S.; Tardini, G.; Montanari, D.; Anceschi, G.; Gelli, P.; Venier, S. Real-time model predictive control of a wastewater treatment plant based on machine learning. Water Sci. Technol. 2020, 81, 2391–2400. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  32. Flores-Alsina, X.; Corominas, L.; Snip, L.; Vanrolleghem, P.A. Including greenhouse gas emissions during benchmarking of wastewater treatment plant control strategies. Water Res. 2011, 45, 4700–4710. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Rawlings, J.B.; Mayne, D.Q.; Diehl, M. Model Predictive Control: Theory and Design; Nob Hill Publishing: Santa Barbara, CA, USA, 2017. [Google Scholar]
  34. Aydin, B.E.; Delsman, J.; van de Giesen, N.; Abraham, E. Nonlinear model predictive control of salinity and water level in polder networks: Case study of Lissertocht catchment. Agric. Water Manag. 2022, 264, 107502. [Google Scholar] [CrossRef] [Scilit]
  35. Aydin, B.; Tian, X.; Delsman, J.; Oude Essink, G.H.P.; Rutten, M.; Abraham, E. Optimal salinity and water level control of water courses using Model Predictive Control. Environ. Model. Softw. 2019, 112, 36–45. [Google Scholar] [CrossRef] [Scilit]
  36. Koo, J.-H.; Abraham, E.; Jonoski, A.; Solomatine, D.P. Balancing operator’s risk averseness in model predictive control for real-time reservoir flood control. J. Hydroinformatics 2025, 27, 601–624. [Google Scholar] [CrossRef] [Scilit]
  37. Moradvandi, A.; De Schutter, B.; Abraham, E.; Lindeboom, R.E. Model predictive control of feed rate for stabilizing and enhancing biogas production in anaerobic digestion under meteorological fluctuations. J. Process Control 2025, 147, 103375. [Google Scholar] [CrossRef] [Scilit]
  38. Wang, Y.; del Río Chanona, E.A.; Quintanilla, P. Gaussian process nonlinear model predictive control for online partially observable systems: An application to froth flotation. Ind. Eng. Chem. Res. 2025, 64, 13307–13322. [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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.