MaximaLabs
All guides
Guemassa, Morocco (representative)

How to simulate hajar (guemassa, morocco), representative: a zn-pb-cu-ag massive-sulphide concentrator with sequential lead, copper and zinc flotation

A representative model of the Hajar concentrator at Managem's Guemassa site, 35 km south of Marrakesh, at its original design point: 3,000 t/d of run-of-mine ore at 10.5% Zn, 3% Pb, 0.3% Cu and 60 g/t Ag (mining-technology.com, 'CMG Metal Mine - Hajar'). The plant there grinds in rod and ball mills and floats lead-silver, copper and zinc concentrates in sequence; this flowsheet does the same with the differential flotation model, in which every mineral of a bank has its own rate constant. The ore. Hajar is a pyrrhotite-rich massive sulphide (50-75 vol% pyrrhotite with sphalerite, galena, chalcopyrite and pyrite; Admou et al., Minerals 8:435, 2018). Here it is 60 wt% pyrrhotite (Fe₇S₈, the formula Marcoux et al. 2008 measured at Draa Sfar nearby), 17.5% sphalerite carrying 11.4 mol% FeS (Draa Sfar's measured mean, the same paper), 3.5% galena, 0.87% chalcopyrite, 2% pyrite and quartz for the silicate gangue. Mineral densities are webmineral's. The grades are chosen to give the design head assay exactly; the silver is placed 80% in galena and 20% in chalcopyrite (about 1,386 g/t in each), which is an assumption: a real deportment comes from mineralogy. Grinding. The mill grinds a 2.5 mm F₈₀ to a 75 micron P₈₀ for 1.43 MW (Bond work index 12, representative). At 400 micron grains, 72% of the galena and 76% of the sphalerite reaching the lead rougher sit in liberated particles. Flotation. Lead rougher and two cleaners (galena floats, sphalerite, pyrrhotite and chalcopyrite depressed), then copper rougher and three cleaners on the lead tailings, then the zinc rougher, scavenger and two cleaners (sphalerite activated). Each cleaner's tailings return to the stage before it and the scavenger concentrate to the zinc rougher, so the model solves seven recycles together. Particles are recovered by flotation at a rate set by their composition and by entrainment with the water: the degree of entrainment by size is Zheng, Johnson and Franzidis's measurement in a 3 m3 cell (0.56 at 7 microns, 0.18 at 25, 0.11 at 88), as reported by Ramlall (J. SAIMM 120, 2020), and the cleaners carry a froth recovery of 0.7. Magnetic cleaning of the zinc concentrate. The plant passes it through magnetic separators to reject pyrrhotite, and so does this model: a wet low-intensity separator on the last zinc cleaner's concentrate. The mineral susceptibilities are Rosenblum and Brownfield's Frantz extraction currents (USGS OFR 99-529, Table 1: pyrrhotite 0.01-0.05 A, iron-bearing sphalerite 0.60-1.00 A, chalcopyrite 0.70-1.30 A; galena, pyrite and quartz above 1.70 A) put through McAndrew's calibration K = 20 sin(15 deg)/I^2 x 1e-6 as MineralMate (Heliyon 2022) restates it, and taken as cgs: pyrrhotite 1.3e-4 m3/kg against 1.1e-7 for the sphalerite. The separator's cut (2e-5 m3/kg) and sharpness are representative. It rejects 97% of the pyrrhotite and 5.3% of the sphalerite, the sphalerite locked in pyrrhotite composites, and lifts the zinc concentrate from 47.3% to 52.5% Zn. The result, against Hajar's published figures (68% Pb at 75% recovery, 28% Cu at 70%, 52% Zn at 94%): the lead concentrate is 67.5% Pb at 75.3% recovery with 1,098 g/t Ag, the copper concentrate 27.9% Cu at 69.4%, and the zinc concentrate 52.5% Zn at 92.3%, with 10.6% Fe of which 5.8 points are the iron inside the sphalerite itself and most of the rest pyrite, which no magnetic separator removes. No published Fe assay for a Hajar concentrate was found to check that against. The tailings carry 0.09% Zn and 0.78% Pb. Each concentrate is thickened and filtered to under 10% moisture by mass, the shipping limit the mine quotes. Bounded, and stated. Every rate constant, maximum recovery and water recovery is representative, fitted here to the published grades and recoveries; none was measured on Hajar ore, and a fitted set is one of many that would match six numbers. The zinc circuit's pyrite activation in particular is a fitted value: with pyrrhotite removed magnetically, something non-magnetic must dilute the concentrate to 52% Zn. A composite particle is treated as one mineral against the average of the rest (binary composites); the unfloatable fraction (R-infinity) is redrawn in each bank rather than tracked through the circuit; and the Frantz-derived susceptibilities are screening values, a ferrimagnetic pyrrhotite at the bottom of the Frantz range being outside McAndrew's calibration.

ORE
MILL
Water
ore
water
conc
tails
PB RGH
PB WASH
ore
water
conc
tails
PB CL1
ore
water
conc
tails
PB CL2
solid
liquor
over
under
PB THK
solid
liquor
cake
filt
PB FIL
PB CONC
ore
water
conc
tails
CU RGH
CU WASH
ore
water
conc
tails
CU CL1
ore
water
conc
tails
CU CL2
ore
water
conc
tails
CU CL3
solid
liquor
over
under
CU THK
solid
liquor
cake
filt
CU FIL
CU CONC
ore
water
conc
tails
ZN RGH
ZN WASH
ore
water
conc
tails
ZN CL1
ore
water
conc
tails
ZN CL2
ore
water
conc
tails
ZN SCV
solid
liquor
over
under
ZN THK
solid
liquor
cake
filt
ZN FIL
ZN CONC
TAIL
Water MIX
Reclaim
ore
water
mags
non-mags
ZN LIMS
PO Reject
  1. 1
    Open the ready-made model

    Open the "Hajar (Guemassa, Morocco), representative: a Zn-Pb-Cu-Ag massive-sulphide concentrator with sequential lead, copper and zinc flotation" 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 PENG-ROBINSON property package over quartz, pyrrhotite, pyrite, sphalerite, galena, chalcopyrite, water — already selected, so the phase equilibrium and enthalpy are physically consistent from the first run.

  3. 3
    Review the flowsheet

    The flowsheet chains MILL, 11× ZN SCV, 3× ZN THK, 3× ZN FIL, Water MIX, ZN LIMS. 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
PENG-ROBINSON
Components
quartz, pyrrhotite, pyrite, sphalerite, galena, chalcopyrite, water
Unit operations
MILL11× ZN SCV3× ZN THK3× ZN FILWater MIXZN LIMS
Open this model in the workspace

Opens live on the canvas — free, no install.

Explore the model & flowsheet

Frequently asked questions

What does the Hajar (Guemassa, Morocco), representative: a Zn-Pb-Cu-Ag massive-sulphide concentrator with sequential lead, copper and zinc flotation model simulate?
A representative model of the Hajar concentrator at Managem's Guemassa site, 35 km south of Marrakesh, at its original design point: 3,000 t/d of run-of-mine ore at 10.5% Zn, 3% Pb, 0.3% Cu and 60 g/t Ag (mining-technology.com, 'CMG Metal Mine - Hajar'). The plant there grinds in rod and ball mills and floats lead-silver, copper and zinc concentrates in sequence; this flowsheet does the same with the differential flotation model, in which every mineral of a bank has its own rate constant. The ore. Hajar is a pyrrhotite-rich massive sulphide (50-75 vol% pyrrhotite with sphalerite, galena, chalcopyrite and pyrite; Admou et al., Minerals 8:435, 2018). Here it is 60 wt% pyrrhotite (Fe₇S₈, the formula Marcoux et al. 2008 measured at Draa Sfar nearby), 17.5% sphalerite carrying 11.4 mol% FeS (Draa Sfar's measured mean, the same paper), 3.5% galena, 0.87% chalcopyrite, 2% pyrite and quartz for the silicate gangue. Mineral densities are webmineral's. The grades are chosen to give the design head assay exactly; the silver is placed 80% in galena and 20% in chalcopyrite (about 1,386 g/t in each), which is an assumption: a real deportment comes from mineralogy. Grinding. The mill grinds a 2.5 mm F₈₀ to a 75 micron P₈₀ for 1.43 MW (Bond work index 12, representative). At 400 micron grains, 72% of the galena and 76% of the sphalerite reaching the lead rougher sit in liberated particles. Flotation. Lead rougher and two cleaners (galena floats, sphalerite, pyrrhotite and chalcopyrite depressed), then copper rougher and three cleaners on the lead tailings, then the zinc rougher, scavenger and two cleaners (sphalerite activated). Each cleaner's tailings return to the stage before it and the scavenger concentrate to the zinc rougher, so the model solves seven recycles together. Particles are recovered by flotation at a rate set by their composition and by entrainment with the water: the degree of entrainment by size is Zheng, Johnson and Franzidis's measurement in a 3 m3 cell (0.56 at 7 microns, 0.18 at 25, 0.11 at 88), as reported by Ramlall (J. SAIMM 120, 2020), and the cleaners carry a froth recovery of 0.7. Magnetic cleaning of the zinc concentrate. The plant passes it through magnetic separators to reject pyrrhotite, and so does this model: a wet low-intensity separator on the last zinc cleaner's concentrate. The mineral susceptibilities are Rosenblum and Brownfield's Frantz extraction currents (USGS OFR 99-529, Table 1: pyrrhotite 0.01-0.05 A, iron-bearing sphalerite 0.60-1.00 A, chalcopyrite 0.70-1.30 A; galena, pyrite and quartz above 1.70 A) put through McAndrew's calibration K = 20 sin(15 deg)/I^2 x 1e-6 as MineralMate (Heliyon 2022) restates it, and taken as cgs: pyrrhotite 1.3e-4 m3/kg against 1.1e-7 for the sphalerite. The separator's cut (2e-5 m3/kg) and sharpness are representative. It rejects 97% of the pyrrhotite and 5.3% of the sphalerite, the sphalerite locked in pyrrhotite composites, and lifts the zinc concentrate from 47.3% to 52.5% Zn. The result, against Hajar's published figures (68% Pb at 75% recovery, 28% Cu at 70%, 52% Zn at 94%): the lead concentrate is 67.5% Pb at 75.3% recovery with 1,098 g/t Ag, the copper concentrate 27.9% Cu at 69.4%, and the zinc concentrate 52.5% Zn at 92.3%, with 10.6% Fe of which 5.8 points are the iron inside the sphalerite itself and most of the rest pyrite, which no magnetic separator removes. No published Fe assay for a Hajar concentrate was found to check that against. The tailings carry 0.09% Zn and 0.78% Pb. Each concentrate is thickened and filtered to under 10% moisture by mass, the shipping limit the mine quotes. Bounded, and stated. Every rate constant, maximum recovery and water recovery is representative, fitted here to the published grades and recoveries; none was measured on Hajar ore, and a fitted set is one of many that would match six numbers. The zinc circuit's pyrite activation in particular is a fitted value: with pyrrhotite removed magnetically, something non-magnetic must dilute the concentrate to 52% Zn. A composite particle is treated as one mineral against the average of the rest (binary composites); the unfloatable fraction (R-infinity) is redrawn in each bank rather than tracked through the circuit; and the Frantz-derived susceptibilities are screening values, a ferrimagnetic pyrrhotite at the bottom of the Frantz range being outside McAndrew's calibration.
Which thermodynamic method does it use?
The PENG-ROBINSON property package, over quartz, pyrrhotite, pyrite, sphalerite, galena, chalcopyrite, water — already selected. You can switch the method on the canvas before running.
Which unit operations are in the flowsheet?
It chains MILL, 11× ZN SCV, 3× ZN THK, 3× ZN FIL, Water MIX, ZN LIMS. 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. Hajar (Guemassa, Morocco), representative: a Zn-Pb-Cu-Ag massive-sulphide concentrator with sequential lead, copper and zinc flotation 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

Reference model

Grinding to liberate, flotation to recover: a copper rougher

97 t/h of a 2 wt% chalcopyrite ore in quartz, crushed to a 2 mm median, is ground in a grate-discharge mill and floated in an 8-cell rougher bank. The feed declares its composition by size (psd_minerals) and its texture (150 micron grains), so every unit acts on mineral by size, not on one distribution. The mill is Whiten's perfectly mixed mill with a 0.6 mm grate: nothing coarser can leave, so the coarse fraction is held and ground until it passes. That is why the mean residence time comes out at 643 s against the 300 s the fines see, and the mill holds 17.9 t. The product P₈₀ is 240 microns for 615 kW. Chalcopyrite breaks 1.5 times faster than quartz here, so it ends up enriched in the fines. Liberation is computed, not assumed: at 150 micron grains only 17% of the chalcopyrite sits in fully liberated particles at this grind. The rougher floats every particle type at a rate set by its grade, so a composite floats slower than a liberated grain and drags quartz with it. It recovers 87.0% of the chalcopyrite into 15.4% of the mass, a concentrate grade of 11.3% against 2% in the feed, and leaves 0.31% in the tailings. The sensitivity is the grind-recovery trade. Grind longer and recovery and grade rise together (80% at 100 s, 93% at 900 s) while the mill's power rises with them, which is the decision a concentrator's grind size is set on. Bounded, and stated. Every ore parameter here is illustrative and fitted to no deposit: the selection rate, the grain size and the flotation rate constants are measured per ore (the breakage-fit tool measures the first from a batch test). A composite's flotation rate is taken as proportional to its grade (linear exposure); there is no froth recovery, no size dependence of the rate beyond liberation, and one valuable mineral.

Reference model

Phosphate ore to marketable rock: attrition scrubbing, desliming, flotation

The front of the phosphate chain, ahead of the acid plant: 100 kg/s (360 t/h) of a sedimentary phosphate ore at 21.9% P₂O₅ (47.9% BPL) is scrubbed, deslimed at 105 microns and floated to a concentrate. The ore is fluorapatite with quartz, dolomite and kaolinite clay; it declares its size distribution and its composition by size, with the clay concentrated in the fines and bound into agglomerates in the coarse classes. Mineral densities are the published ones (fluorapatite 3.15 within the 3.1-3.2 range, quartz 2.65, dolomite 2.84, kaolinite 2.6 g/cm3). The attrition scrubber releases 80% of the coarse-bound clay below the cut and deslimes at 105 microns (150 mesh, the size Florida plants deslime at, Zhang et al., OSTI 1439932). 17.3% of the solids go to the slimes at 11.2% P₂O₅, so 8.9% of the P₂O₅ is lost with them; the deslimed sand is 24.1% P₂O₅. How much P₂O₅ a plant loses here is set by how much apatite is in the fines: Florida's matrix loses about a third of its P₂O₅ to the clays (the same report), this ore much less. The rougher floats fluorapatite at a rate set by each particle's grade: with 1 mm grains, 46% of the apatite in the deslimed feed sits in liberated particles. It recovers 95.3% of the deslimed apatite into a concentrate of 30.5% P₂O₅ (66.7% BPL), inside the 28.7-31.3% P₂O₅ of marketable phosphate rock (Smol et al., Materials 2023), at an overall recovery of 86.9% of the ore's P₂O₅. Bounded, and stated. Every ore parameter is illustrative and fitted to no deposit: the size distribution, the grade by size, the clay disaggregation, the grain size and the flotation rate constants are measured per ore and reagent scheme, and 1 kWh/t of scrubbing energy is a placeholder for the power figure. One rate constant serves all gangue, so dolomite floats no better than quartz here, which is the opposite of the real difficulty with carbonate phosphates (a reverse carbonate flotation or a dense-medium step is the usual answer). No froth, no entrainment beyond water recovery, no reagent consumption.

Reference model

Closed-circuit crushing and grinding, with the size distribution carried

180 t/h of quartz ore at a 60 mm median goes through a cone crusher in closed circuit with a 16 mm screen, then a ball mill in closed circuit with a 150 micron screen. Every solid stream carries its full particle-size distribution, class by class, so each unit acts on the distribution rather than on a median and a spread. The crusher is Whiten's model: everything finer than its 12 mm closed-side setting passes, everything coarser than its 30 mm open-side setting is broken, and between them a classification function decides. It reduces the circuit feed from an F₈₀ of 90 mm to 13.4 mm for 165 kW, and the screen returns 19% of what it receives to it. The mill is a breakage/selection-function size-mass balance in three mixed stages, not a target size: its product is whatever the breakage of each class produces, fines tail included. The 150 micron screen sends 72% of the mill discharge back, a circulating load of 258% that nobody specified — it is where the recycle settles given the breakage rate and the screen's sharpness. The circuit product leaves at a P₈₀ of 158 microns, and the screen recovers 81% of the true undersize, because a screen with a sharpness of 3 is not a perfect cut. Bounded, and stated. The mill's power is Bond's law applied to the mill's own throughput and its own F₈₀ and P₈₀; Bond's work index is defined on the circuit's fresh feed, so read it as a screening number. The breakage function is Broadbent-Callcott and the selection exponent 1.0 — an ore's own breakage and selection parameters come from its laboratory tests and replace them. Dry circuit: water is not carried.

Reference model

Grinding circuit: what a size reduction costs

Ore at 1 mm is ground to a 100 micron P₈₀ and screened at 150 microns. The number the example exists for is the 172.3 kW the mill draws, and it is not a parameter — it is Bond's Law computed from the size reduction itself: W = 10 x Wi x (1/sqrt(P₈₀) - 1/sqrt(F₈₀)) with sizes in microns gives 9.57 kWh/t at a Bond work index of 14, and 18 t/h of ore turns that into 172.3 kW. Halve the product size again and the law's inverse-square-root shape is what tells you the power does not halve — comminution is where a mineral plant's electricity goes, and this is the relationship that decides it. The screen then splits the ground product 27.9% oversize / 72.1% undersize, and it genuinely sorts: the oversize leaves at a 247 micron mean against the undersize's 81 microns, from one 100 micron feed. The cut is applied to the real size distribution (GSD 2.0), not as a specified split fraction. Open circuit, for the Bond's-law arithmetic. A real grinding circuit recycles the screen oversize back to the mill; that closed circuit, with the particle-size distribution carried class by class through a crusher, screens and a breakage-function mill, is the closed-circuit-crushing-and-grinding example.

Representative model (OCP-like line, Morocco)

Long-distance phosphate slurry pipeline (Khouribga to Jorf Lasfar shape)

A phosphate ore slurry carried 187 km, mostly downhill, from a mine head station to a coastal fertilizer complex: the shape of OCP's Khouribga to Jorf Lasfar main line, rated segment by segment as a Bingham plastic. Sourced: the 187 km length and the DN 900 HDPE-lined steel main line, a capacity of about 4,400 t/h, a mostly downhill profile with a brief uphill section after the head station and about 580 m of overall fall, terminal choke stations against slack flow, and operation in batches separated by water plugs (El Karii, PhD thesis, Mines Paris-PSL 2023, HAL tel-04234629, section 2.1, after Rusconi, Lakhouaja & Kopuz, Procedia Engineering 138 (2016) 142); the ore's dry solids density of 3.0 t/m3 (same thesis, Appendix A); the rheology, the Bingham fit to Khouribga phosphate slurry sample S₃ (yield stress 6.75 Pa, plastic viscosity 0.037 Pa s, R2 0.96), measured by Maazioui et al. (Fluids 6 (2021) 178, Table 2; HAL hal-03855820) on slurries of 51 to 56 wt% at 25 C, of which S₁ to S₄ are the more dilute ones the paper says the Bingham model describes fairly; and the particle size, d50 about 100 um, from El Karii's Table A.1 sieve analysis. The paper does not tabulate which concentration each sample is, so S₃ is taken at 54 wt%, the middle of the measured range. The 4,400 t/h is read as slurry: read as dry solids, the same line at 54 wt% needs about 96 bar at the head, past the 62 bar casing rating the thesis gives for the head-station pumps. REPRESENTATIVE, not OCP data: the 0.85 m bore inside the liner, the five-segment profile, the 15 bar head-station pressure, and fluorapatite (molar mass 0.5043 kg/mol) standing in for the ore. Solved, with the line full of slurry: 1,560 kg/m3 and 28 vol% solids, 0.78 m3/s at 1.38 m/s, turbulent (Bingham Reynolds 4.9e4 against Hanks' transition at 2.8e4, Hedstrom 5.6e6), 30% above the 1.06 m/s transition velocity, which is the design guide's minimum margin. Friction costs 46 kPa per km, 8.6 MPa over the line, against 8.9 MPa of static head gained on the mixture density: the fall nearly pays for the friction, which is why the operator's description says relatively little choking is needed when the line is full of slurry. The pressure dips to 2.0 bar at the top of the rise and leaves 17.5 bar at the terminal for the chokes. The line is not run full of one slurry. The batch tool (Analysis Tools, Slurry batch pipeline, or POST /api/analysis/slurry-batch-pipeline) moves slurry batches and water plugs through this profile: a water plug loses only 14 kPa per km, so with water on the descent the terminal must hold far more back to keep the line full, and the choke duty swings by tens of bar as the batches pass. Honest scope: steady state for the unit (the batch tool is plug flow, no transients); the rheology is a constant Bingham fit at one temperature, and the Herschel-Bulkley fit in the same table describes the sample better; no heat transfer; the profile is five straight segments, not a survey; not validated against OCP operating data.

Corn-ethanol biorefinery / distillers'-grains dryer, Blair, Nebraska, USA

Superheated-steam drying loop with MVR heat recovery

A wet cake is dried in a superheated-steam dryer (steam as the drying medium instead of hot air), and the evaporated moisture — pure steam — is recovered by mechanical vapor recompression (MVR) plus a trim superheater into high-grade superheated steam that reheats the recirculating drying medium. Superheated-steam drying is the energy-efficient route for biofuel and food solids (distillers' grains, beet pulp, lignite): because the drying atmosphere is steam, the evaporated water leaves as more steam whose latent heat is recompressed and reused, instead of being lost in a humid exhaust.

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