MaximaLabs
All guides
Gold carbon-in-leach plant, Western Australia (representative)

How to simulate gold carbon-in-leach plant: cyanide leach, cil carbon cascade and so2/air detox

A gold carbon-in-leach (CIL) plant from ore to gold sludge, on the scale and kinetics of the Eastern Goldfields (Western Australia) plant de Andrade Lima (2007, Braz. J. Chem. Eng. 24(4) 623-635) calibrated his model on: 400 t/h of ore at 3.7 g/t gold in a 45% solids pulp, two cyanide leach tanks and seven CIL tanks of 1160 m3 net each, AARL elution of the loaded carbon, electrowinning of the eluate, and INCO SO₂/air cyanide destruction of the tails. Every rate law is a published fit, read: his primary-leach gold law R = 5.50e-3 [CN] (C_s - 0.14)^2.15 and cyanide consumption 3.43 + 1.47e-2 [CN] (per hour, mg/kg), his CIL-section consumption, and his Langmuir adsorption law (k_a 9.10e-2 kg/(mg h), carbon capacity 14 390 mg/kg). Gold dissolves by Elsner's equation, 4Au + 8NaCN + O₂ + 2H2O → 4NaAu(CN)2 + 4NaOH. Leach and CIL: each tank holds the pulp 1.85 h; the leach takes the ore from 3.70 to 0.53 g/t and the CIL to 0.201 g/t, an extraction of 94.6% (de Andrade Lima found 0.14 g/t in the plant tailing; more leach residence than the two tanks assumed here would close the gap). The CIL feed solution carries 2.60 mg/kg of gold (measured 2.5-2.9); tank 1 0.99 mg/kg and tank 2 0.33 (measured about 0.9 and 0.5); the barren solution leaving tank 7 holds 0.0040 mg/kg. The carbon advances at 0.326 t/h, the solution flow / 1500 of Nicol, Fleming & Cromberge (1984b)'s design rule, enters tank 7 at 43.3 g/t and leaves tank 1 loaded to 4332 g/t (1669 times the CIL feed solution; tank 2 1739 g/t against a measured 1200-1700), with 6.8 kg of gold held on the carbon in the circuit. Elution: Davidson & Duncanson (1977)'s AARL case, 0.5 bed volume of 10% NaCN-1% NaOH then deionized water at 0.5 BV/h and 90 C, strips 99.0% of the gold in 7 bed volumes (14 h); at 500 kg/m3 of carbon the 7.5 bed volumes of eluent carry 286 mg/kg of gold, and the barren carbon keeps 43.3 g/t, which it carries back to tank 7. Electrowinning: 86.2% of the eluate's gold plates in one pass, 28.9 kg/d of gold sludge, at 8000 A, a current efficiency of 2.0%, the rest of the charge making 0.041 mol/s of hydrogen. Of the gold in the ore, 81.4% reaches the sludge, 13.0% stays in the spent electrolyte (a plant returns it to the elution or the leach) and 5.6% leaves in the tails. The ore takes 15.9 kg/h of cyanide and the gold 0.63 kg/h; 174 kg/h of free NaCN leaves the CIL. The detox brings weak-acid-dissociable cyanide from 207 to 50 mg/kg at 8 g SO₂/g CN (Agius et al., the older-operation row of their Table 1): 809 kg/h of SO₂, 936 kg/h of lime as Ca(OH)2 and 249 kg/h of oxygen, with 2175 kg/h of gypsum formed. Calibrated inputs, labelled: the head grade (to the measured CIL feed solution), the cyanide dose (0.478 kg/t, to his measured free-cyanide loss of 6.488 t per 37 h), the carbon inventory (0.8 kg/m3 of pulp, 928 kg per tank, to tank 1's measured ~0.9 mg/kg; the plant's is not published), and the cell's k_m a (to the 86.2% gold recovery Ocran (2017) reports at 800 A/m2 on a Ghanaian plant). Representative: two leach tanks, ore density 2900 kg/m3, carbon bulk density 500 kg/m3 (the upper end of Davidson, Veronese & Nkosi 1979's 330-500), the 1 m3 cathode and 10 m2 cathode area.

ORE PULP
Cyanide
MIX
Leach
C
eluent
C
eluate
Elution
Eluent
EW
GOLD Sludge
Barren Electrolyte
pulp
C
tails
C
CIL
Detox
Tails
  1. 1
    Open the ready-made model

    Open the "Gold carbon-in-leach plant: cyanide leach, CIL carbon cascade and SO2/air detox" model in the MaximaLabs workspace — no install, no license. It loads live on the canvas, ready to edit and run.

  2. 2
    Confirm the thermodynamics

    This process is modeled with the BRINE property package over water, silica, gold, sodium_cyanide, sodium_aurocyanide, cyanide_consumed, activated_carbon, sodium_cyanate, gypsum, sodium_hydroxide — already selected, so the phase equilibrium and enthalpy are physically consistent from the first run.

  3. 3
    Review the flowsheet

    The flowsheet chains MIX, Leach, Elution, EW, CIL, Detox. Every block is a real, solvable unit op you can reconfigure on the canvas.

  4. 4
    Run the simulation

    Click Run. The deterministic solver converges the material and energy balances (recycles included) and fills the live stream table — the AI never invents a number.

  5. 5
    Read the results and iterate

    Inspect the converged streams, tweak a spec, and re-run — or ask the AI copilot to explain a result or diagnose a failed solve in plain English.

What you'll build
Thermodynamics
BRINE
Components
water, silica, gold, sodium_cyanide, sodium_aurocyanide, cyanide_consumed, activated_carbon, sodium_cyanate, gypsum, sodium_hydroxide
Unit operations
MIXLeachElutionEWCILDetox
Open this model in the workspace

Opens live on the canvas — free, no install.

Explore the model & flowsheet

Modeling assumptions & limitations

What this model captures, and what it deliberately does not — from the engineers who built it.

  1. 1The plant was not at steady state while sampled (gold was accumulating), so its measured 3000-3700 g/t loadings sit below the 4332 g/t this steady state needs
  2. 2Carbon moves continuously here, intermittently in the plant
  3. 3The barren carbon returns to tank 7 as a recycle with no regeneration kiln in the loop, so carbon activity loss and carbon fines are not modelled
  4. 4No cell voltage is given, so no power is reported (none was found in a source read)
  5. 5Dissolved oxygen is not modelled and O₂, SO₂, lime and the cell gases are reported, not streams
  6. 6The cyanide the ore consumes is carried as its NaCN equivalent
  7. 7Isothermal, no preg-robbing, fouling, base metals or silver.

Frequently asked questions

What does the Gold carbon-in-leach plant: cyanide leach, CIL carbon cascade and SO2/air detox model simulate?
A gold carbon-in-leach (CIL) plant from ore to gold sludge, on the scale and kinetics of the Eastern Goldfields (Western Australia) plant de Andrade Lima (2007, Braz. J. Chem. Eng. 24(4) 623-635) calibrated his model on: 400 t/h of ore at 3.7 g/t gold in a 45% solids pulp, two cyanide leach tanks and seven CIL tanks of 1160 m3 net each, AARL elution of the loaded carbon, electrowinning of the eluate, and INCO SO₂/air cyanide destruction of the tails. Every rate law is a published fit, read: his primary-leach gold law R = 5.50e-3 [CN] (C_s - 0.14)^2.15 and cyanide consumption 3.43 + 1.47e-2 [CN] (per hour, mg/kg), his CIL-section consumption, and his Langmuir adsorption law (k_a 9.10e-2 kg/(mg h), carbon capacity 14 390 mg/kg). Gold dissolves by Elsner's equation, 4Au + 8NaCN + O₂ + 2H2O → 4NaAu(CN)2 + 4NaOH. Leach and CIL: each tank holds the pulp 1.85 h; the leach takes the ore from 3.70 to 0.53 g/t and the CIL to 0.201 g/t, an extraction of 94.6% (de Andrade Lima found 0.14 g/t in the plant tailing; more leach residence than the two tanks assumed here would close the gap). The CIL feed solution carries 2.60 mg/kg of gold (measured 2.5-2.9); tank 1 0.99 mg/kg and tank 2 0.33 (measured about 0.9 and 0.5); the barren solution leaving tank 7 holds 0.0040 mg/kg. The carbon advances at 0.326 t/h, the solution flow / 1500 of Nicol, Fleming & Cromberge (1984b)'s design rule, enters tank 7 at 43.3 g/t and leaves tank 1 loaded to 4332 g/t (1669 times the CIL feed solution; tank 2 1739 g/t against a measured 1200-1700), with 6.8 kg of gold held on the carbon in the circuit. Elution: Davidson & Duncanson (1977)'s AARL case, 0.5 bed volume of 10% NaCN-1% NaOH then deionized water at 0.5 BV/h and 90 C, strips 99.0% of the gold in 7 bed volumes (14 h); at 500 kg/m3 of carbon the 7.5 bed volumes of eluent carry 286 mg/kg of gold, and the barren carbon keeps 43.3 g/t, which it carries back to tank 7. Electrowinning: 86.2% of the eluate's gold plates in one pass, 28.9 kg/d of gold sludge, at 8000 A, a current efficiency of 2.0%, the rest of the charge making 0.041 mol/s of hydrogen. Of the gold in the ore, 81.4% reaches the sludge, 13.0% stays in the spent electrolyte (a plant returns it to the elution or the leach) and 5.6% leaves in the tails. The ore takes 15.9 kg/h of cyanide and the gold 0.63 kg/h; 174 kg/h of free NaCN leaves the CIL. The detox brings weak-acid-dissociable cyanide from 207 to 50 mg/kg at 8 g SO₂/g CN (Agius et al., the older-operation row of their Table 1): 809 kg/h of SO₂, 936 kg/h of lime as Ca(OH)2 and 249 kg/h of oxygen, with 2175 kg/h of gypsum formed. Calibrated inputs, labelled: the head grade (to the measured CIL feed solution), the cyanide dose (0.478 kg/t, to his measured free-cyanide loss of 6.488 t per 37 h), the carbon inventory (0.8 kg/m3 of pulp, 928 kg per tank, to tank 1's measured ~0.9 mg/kg; the plant's is not published), and the cell's k_m a (to the 86.2% gold recovery Ocran (2017) reports at 800 A/m2 on a Ghanaian plant). Representative: two leach tanks, ore density 2900 kg/m3, carbon bulk density 500 kg/m3 (the upper end of Davidson, Veronese & Nkosi 1979's 330-500), the 1 m3 cathode and 10 m2 cathode area.
Which thermodynamic method does it use?
The BRINE property package, over water, silica, gold, sodium_cyanide, sodium_aurocyanide, cyanide_consumed, activated_carbon, sodium_cyanate, gypsum, sodium_hydroxide — already selected. You can switch the method on the canvas before running.
Which unit operations are in the flowsheet?
It chains MIX, Leach, Elution, EW, CIL, Detox. Every block is a real, solvable unit operation you can reconfigure, add to, or remove.
Do I need to install software or buy a license?
No. Gold carbon-in-leach plant: cyanide leach, CIL carbon cascade and SO2/air detox runs entirely in your browser on MaximaLabs — free, no install, no license. Open the model to load it live and run the deterministic solver.

More guides like this

Murrin Murrin nickel-cobalt laterite operation, Western Australia

Cobalt/nickel solvent extraction (D2EHPA)

A laterite leach liquor (Co/Ni/Mg in dilute sulfate solution) meets a D2EHPA-in-kerosene organic phase across a 20-stage countercurrent extraction circuit run at pH 5.2 — the real industrial operating window (e.g. Bulong, Murrin Murrin, Western Australia) that exploits the ~1 pH-unit gap between Co and Ni's D2EHPA extraction isotherms: Co extracts into the organic while Ni (and Mg gangue) are rejected to the raffinate. The loaded organic then meets fresh dilute-acid strip liquor across a 10-stage strip circuit at pH 1.0 (well below Co's isotherm), reversing the equilibrium to recover a concentrated cobalt strip liquor and regenerate barren organic. Real pH-isotherm chemistry throughout, not a fitted shortcut K_D.

Nashville, Tennessee, USA

Battery black-mass recycling: leach -> SX -> BPED -> LiOH crystallization

Spent-battery black mass (an NMC111-like LiNi1/3Mn1/3Co1/3O2 lump, sulfuric acid-leached at a screening-level yield/stoichiometry — see the stated scope) dissolves into a pregnant leach solution carrying Li/Co/Ni/Mn. A 15-stage D2EHPA solvent-extraction circuit (the same real pH-isotherm chemistry the co-ni-solvent-extraction example uses, operated at pH 7.5 — above every curated Co/Ni/Mn pH50 — so all three transition metals extract into the kerosene organic phase while Li, which has no curated D2EHPA isotherm, stays in the aqueous raffinate untouched) purifies the liquor before it ever reaches the lithium-recovery chemistry. A Faraday's-law bipolar-membrane electrodialysis (BPED) cell (the same real electrochemistry as the direct-lithium-extraction example, sized up for this liquor's larger Li flow) converts Li+ to LiOH, which an MSMPR crystallizer takes to battery-grade LiOH solid. Every step reuses an already-real, independently-tested unit op (,,,) chained into the one train none of them had been assembled into before.

Battery-recycling hydrometallurgy pilot plant (illustrative)

Battery cobalt recovery: leach, neutralize, D2EHPA Mn SX, Cyanex 272 Co SX, electrowinning

Spent NMC111 black mass is leached in sulfuric acid with the acid consumption tracked (lithium as Li₂SO₄, each transition metal as its sulfate), so the pregnant leach solution carries the residual free acid a real leach leaves. A neutralizer then titrates that liquor with 20 wt% caustic to pH 4.0 on the aqueous speciation: the caustic dose is solved, not assumed, and the heat of neutralization (55.8 kJ per mole of acid neutralized) warms the liquor; the caustic header is the supply, and what the titration does not take is returned. Two solvent-extraction circuits on the pH-isotherm chemistry follow, the common NMC arrangement: D2EHPA at pH 4.0 takes manganese into the organic while cobalt and nickel stay behind, and Cyanex 272 at pH 5.0 then takes cobalt and rejects nickel and lithium to the raffinate. The Cyanex 272 isotherms are one published measurement (Liu et al., Metals 11 (2021) 401: 0.4 M in ShellSol D70, 40 C, sulfate; pH50 cobalt 4.15, nickel 6.06), and the 1.9 pH-unit gap between them is why the cobalt organic carries about 0.6% of the nickel, against about 3% with D2EHPA at the same cobalt recovery. The loaded cobalt organic is stripped into a dilute sulfuric strip liquor, and that advance electrolyte goes to cobalt electrowinning: Faraday's law at a 90% current efficiency, 90% of the cobalt plated as cathode cobalt, the anode's oxygen and the 10% of the charge that evolves hydrogen reported as cell gas, and one mole of sulfuric acid regenerated per mole of cobalt plated.

Guemassa, Morocco (representative flowsheet)

Guemassa-type cobalt refinery (representative): arsenide leach, scorodite, Cu EW, Cyanex 272, Co EW, CoSO4, Ni(OH)2

A representative Bou-Azzer/Guemassa-type cobalt refinery, not Managem's plant. Managem's Bou-Azzer mine supplies most of the cobalt concentrate its Guemassa hydrometallurgical plants turn into cobalt cathodes, cobalt derivatives and nickel (managemgroup.com, read 2026-10-23), and La Vie Eco (30 December 2025, read) reports a cobalt sulphate unit there of up to 5,800 t/y, from Bou-Azzer metal, entering service in 2026. The plant's own flowsheet and operating figures are not public, so every plant number here is labelled representative. The feed is read from a source: the Bou Azzer concentrate Managem supplied for study, 91.9 g/kg Co, 598 As, 84.3 Fe, 17.5 Ni, 1.9 Cu and 8.1 S (Johnson et al., Hydrometallurgy 2020, Table 1), a skutterudite/loellingite arsenide. Its Fe:As molar ratio comes out 0.19, as that paper states, against about 1 needed to fix arsenic as scorodite. 0.80 kg/s of it (about 2,300 t/y of contained cobalt, the district's output in the same paper) is leached in sulfuric acid at 90 C (95% extraction and the even As(III)/As(V) split are representative inputs), giving a liquor of about 25 g/L As. The arsenic_precipitation unit then oxidises the As(III) and Fe(II) with 50% H₂O₂ (3.6 mol/s, the stoichiometric demand, drawn from the supply with the rest returned), tops the iron up with ferric sulfate to Fe:As 1.1 (5.5 mol/s Fe, more iron than the concentrate itself carries, which is why arsenide feeds are usually roasted to arsenic trioxide first), and doses lime to pH 1.8 at 90 C: 1.40 kg/s of scorodite and 1.92 kg/s of gypsum, 0.02 mg/L As left, on a scorodite solubility product of -26.67 at 90 C (Langmuir, Mahoney & Rowson's -25.83 at 25 C carried by the temperature dependence of Zhu, Nordstrom et al. 2017). The residue's equilibrium arsenic in TCLP fluid #1 (pH 4.93, 20 L/kg) is 0.03 mg/L against the 5 mg/L toxicity characteristic. A second stage takes the excess iron out as ferrihydrite at pH 4 with lime. Copper is plated potentiostatically (-0.05 V, plug flow, 92% removed), the liquor is neutralised to pH 5 with caustic, and Cyanex 272 at pH 5 (Liu et al. 2021 isotherms) takes all the cobalt and 0.4% of the nickel. The strip liquor, made up with fresh acid and 75% of the spent electrolyte (recycled), is split: 66% goes to cobalt sulphate, where water is removed (87.5%, a specified removal) and CoSO₄.7H2O crystallises at 30 C to Seidell's solubility (42.26 g CoSO₄ per 100 g water), the mother liquor recycled with a 5% bleed: 0.185 kg/s, about 5,826 t/y, at 95.2% purity with 5% mother liquor in the cake. The rest goes to cobalt electrowinning at 90% current efficiency and 3.2 V, which is 3.23 kWh/kg: the US Bureau of Mines measured 1.48 kWh/lb (3.26 kWh/kg) for cobalt from 75 g/L at 65 C, and about 90% current efficiency. 0.022 kg/s of cathode cobalt (about 692 t/y). Nickel is precipitated from the raffinate as Ni(OH)2 at pH 8.5. Copper is won as cathode, not as copper sulphate: at 1.9 g/kg in the concentrate it never approaches CuSO₄.5H2O saturation in this liquor. Bounds: the amorphous ferric arsenate constant is a 25 C value; no arsenate adsorption on ferrihydrite; no jarosite; the evaporation is a specified water removal (the brine property package carries dissolved cobalt as an inert solute, so a steam-driven effect would boil this liquor to dryness at one temperature) and its duty is not computed; the CoSO₄ solubility is in water, not in the acid mother liquor; the leach, the H₂O₂ utilisation, the copper cell, the splits and the SX flows are representative; the barren organic is not recycled.

Butte, Montana, USA

Acid-mine-drainage neutralization: staged lime precipitation

Acidic, metal-laden mine water (dissolved ferric iron, aluminium, nickel and zinc over a sulfate background) is cleaned in a two-stage lime-neutralization circuit — the classic hydrometallurgy / water-treatment precipitation train. Stage 1 doses to pH 4.5, where ferric iron (Fe(OH)3, pKsp 38.6) and aluminium (Al(OH)3, pKsp 33.0) drop out as a sludge while the base metals stay dissolved; stage 2 raises the liquor to pH 9.5, where nickel (Ni(OH)2) and zinc (Zn(OH)2) precipitate, leaving a clarified effluent. Both stages are the new precipitator unit op wrapping the codebase's CRC-cited metal-hydroxide solubility-product chemistry (thermo/electrolytes.hydroxide_precipitation) — dose to a pH setpoint, read off what drops out — the same selective-precipitation workflow a real neutralization plant runs.

Antofagasta, Chile

Copper recovery from a leach residue: CCD washing + hydroxide precipitation

A leach residue leaves a heap/tank-leach circuit as a slurry — insoluble gangue solids carrying entrained copper-sulfate pregnant liquor that would be lost to tailings if simply thickened. A counter-current-decantation (CCD) wash train recovers it: the residue is washed with clean water flowing counter-current to the solids across a chain of thickeners, so the dissolved copper is displaced into a pregnant-liquor overflow while the washed solids go to tailings. The new ccd_washer unit op models the whole train in one block via the classic counter-current washing equation f = (R-1)/(R^(N+1)-1) (Perry's §18; Coulson & Richardson Vol. 2): five stages at a wash ratio near 4 recover ~99.9% of the dissolved copper, leaving only ~0.08% with the tailings. The pregnant liquor is then dosed to pH 8, where the copper drops as Cu(OH)2 sludge (the precipitator op on the CRC-cited solubility-product chemistry), leaving a barren raffinate for recycle.

Stop fighting legacy software. Build your first flowsheet in 60 seconds.