Aluminium fluoride from a phosphoric plant's own fluorine — a BRINE process flowsheet
What the H₂SiF₆ a phosphoric plant scrubs is actually for. The 22 wt% fluosilicic acid that phosphoric-acid-fluorine-recovery makes is reacted with aluminium hydroxide — H₂SiF₆ + 2 Al(OH)3 → 2 AlF₃ + SiO₂ + 4 H₂O, with the liquor's free HF going the shorter way, 3 HF + Al(OH)3 → AlF₃ + 3 H₂O — turning a fluorine emission into AlF₃ for aluminium smelting. Solved: 2.33 t/h of 22% acid plus near-stoichiometric hydroxide give a cake at 94.3 wt% AlF₃ on 95% conversion, 929 kg of Al(OH)3 per tonne of AlF₃ (which is just the two molar masses, 78.00/83.98, and nothing else), and 95% of the fluorine fed reporting to the product. Al, F, Si, H and O each close to machine precision.
Modeling assumptions & limitations
- 1NO energy balance — AlF₃'s own formation enthalpy is held (-1510.4 kJ/mol) but aluminium hydroxide's is in no source bundled here (not the NBS rows, not the chemicals package, and the vendored LLNL file carries only its PHASES block, so gibbsite's dissolution enthalpy cannot be turned into a formation enthalpy without an aqueous Al(3+) datum this tree does not have), so the reaction heat cannot be formed and the block is isothermal with no duty, as superphosphate_den is for the same reason
- 2The conversions, the product moisture and the share of silica reporting to the cake rather than the liquor are all plant measurements and are never defaulted
- 3No crystallisation, so the trihydrate and its calcination to anhydrous AlF₃ are a separate dryer the flowsheet draws
- 4No cryolite route, which needs a sodium source and its own stoichiometry
- 5The spent liquor's silica is carried as SiO₂ rather than the colloidal and fluorosilicate forms a real liquor holds.
23 views 0 forks
- Rigorous BRINE thermodynamics, solved by the same engine every simulation runs on.
- 1 unit operations modeled: ALF3 Reactor.
- Focus areas: Aluminium fluoride, Fluorine recovery, By-product, Phosphates.
- Thermodynamics
- BRINE
- Components
- water, fluorosilicic_acid, hydrogen_fluoride, aluminum_fluoride, gibbsite, silica
- Unit operations
- ALF3 Reactor
Opens in a new tab, loaded straight into the app — no setup.
Read the step-by-step guideReproduce this exact result from Python — the real client.get_example() → run_and_wait() path, not a mockup.
from flowsim.sdk import FlowSimClient
client = FlowSimClient()
example = client.get_example("aluminium-fluoride-from-fluosilicic-acid")
sim = client.create_simulation(example["title"], example["flowsheet"])
result = client.run_and_wait(sim["id"])
print(result["status"]) # "converged"
streams = client.streams(sim["id"])Related models
Phosphogypsum: washing and neutralising the stack away
A dihydrate line throws 4.8 tonnes of phosphogypsum per tonne of P₂O₅, and what keeps it on a stack rather than in plasterboard or cement is not the gypsum but what rides with it: soluble P₂O₅, free acidity and fluoride in the cake's own moisture. This is the step that has to come first in any valorisation route — the reactor's cake through a three-stage counter-current wash, with the pregnant liquor limed to pH 6 so it can leave as water rather than as pond acid. Solved on the shipped dihydrate line's own cake (2581 mol/s at 18.7 mol% gypsum, 0.49% H₃PO₄): the wash cuts the cake's soluble P₂O₅ by the counter-current washing equation this repo already uses for the reactor's own filter, and the liquor's acidity is titrated against lime on the aqueous speciation, so the lime dose is SOLVED rather than stated. Calcium, sulfur, phosphorus and fluorine each close over the boundary.
Ethylene glycol plant: closed water loop + multi-effect evaporator dehydration
The water-integrated evolution of the fiber-grade MEG plant. Two changes turn the once-through EO/glycol chain into a real, water-economical process: (1) the recovered process water is RECYCLED back to the hydration reactors through a purge splitter. A pure recycle is inventory-singular (reactors are keyed on the shrinking EO pool, so water consumption is fixed regardless of how much water circulates), so an 8% purge pins the loop and makes it well-posed, cutting fresh water makeup from 10 to ~1.75 mol/s (a >80% reduction). (2) The bulk dehydration is done by a genuine TWO-EFFECT EVAPORATOR TRAIN (forward-feed, real steam economy: effect 1's low-temperature vapor is the heating steam for effect 2) doing rigorous (P,H)-flash water removal, rather than a single spec-based split. The recycle converges through the solver's Wegstein tearing (~15 outer passes) and MEG still comes out fiber-grade (>=99.9%). HONEST SCOPE: the reaction chemistry is rigorous stoichiometry (real atom balances, ~90/9/1 selectivity) and the evaporators are real energy-balanced flash effects — but flash evaporation CANNOT reach glycol dryness without slipping glycol into the overhead vapor (MEG has a real vapor pressure at 90 C), so the evaporators run cool and only pre-concentrate. An overhead knockout returns the ~1-2% slipped glycol to the product (no yield loss), and a final vacuum-refining polish (still a spec-based split, representing the refluxed dehydration column a flash cannot replicate) removes the last water. This mirrors a real MEG plant's multi-effect-evaporator + vacuum-refining dehydration section. The product columns remain spec-based (a converged 99.9% fiber-grade MEG column is not tractable under Peng-Robinson here — the MEG/DEG relative volatility is too narrow for the wide-boiling MESH path).
Pressure-swing ethanol dehydration (Gᴱ mixing rule)
Ethanol–water is the classic azeotrope, and pressure-swing distillation breaks it without an entrainer: the azeotrope moves with pressure, so a low-pressure column and a high-pressure column pass each other's azeotropic distillate and each recovers a pure product. The whole process only works if the property package tracks that shift — which is exactly where a conventional package choice falls between two chairs. This flowsheet runs the high-pressure column at 15 bar on pr-mhv1: Peng-Robinson with an MHV1 excess-Gibbs mixing rule, so the cubic equation of state gets its attraction parameter from NRTL's excess Gibbs energy instead of from a single binary interaction constant. Switch the thermo package (Solver menu) and compare the predicted azeotrope: | package | 1 atm | 15 bar | valid at 15 bar? | |---|---|---|---| | NRTL | 0.891 | 0.802 | no — γ-φ is a low-pressure formulation (~10 bar) | | Peng-Robinson (kij) | 0.586 | 0.613 | yes, but a kij cannot represent this azeotrope | | pr-mhv1 | 0.949 | 0.798 | yes | (mole fraction ethanol; the repo's DECHEMA-validated 1 atm anchor is 0.894.) At 15 bar pr-mhv1 lands within 0.005 of NRTL while remaining a genuine equation of state, whereas plain Peng-Robinson is off by ~0.19 and puts the azeotrope in the wrong place entirely. Selecting nrtl here also trips the applicability guard, which warns that the activity model is past its pressure ceiling and names the fix. The flowsheet demonstrates the mechanism on itself. Drop the column pressure to 1 atm and re-run, changing nothing else: the solve fails with SPEC_THERMODYNAMICALLY_IMPOSSIBLE, because at atmospheric pressure the requested bottoms purity sits beyond the azeotrope and no column can reach it. At 15 bar the same specification converges and the bottoms leaves at x_EtOH ≈ 0.924 — past the atmospheric azeotrope of 0.894, which is precisely the composition an atmospheric column cannot cross.
Phosphoric acid concentration: steam evaporator baseline (29 → 54% P2O5)
The conventional wet-process step, at the scale of one Jorf Lasfar concentration line: 138 t/h of 29% P₂O₅ acid, heated by 3.5 bar LP steam in a graphite exchanger and flashed under vacuum (0.12 bar) to 54% P₂O₅, evaporating 64.0 t/h of water. The steam feed is tuned so the concentrate lands on 54.0 wt% P₂O₅ (the user variable p2o5_wt_product), which takes 73.6 t/h of steam — 1.84 t steam per tonne of P₂O₅, 44.5 MW of condensing duty. That is the single-effect ideal; the published plant benchmark of ~2.8 t/t carries exchanger approach, losses and off-design operation on top. The point of the number here is what it costs the site: at Jorf Lasfar this steam is a co-product of the exothermic sulfuric-acid plants, which is the fact any electric alternative has to beat. Compare the two sibling examples, phosphoric-acid-concentration-microwave and -hybrid. Model scope, stated up front. The acid runs on the brine package, which carries phosphoric acid as a non-volatile molecular solute with its CRC liquid heat capacity (145 J/mol/K) — the streams show the real H₃PO₄/water compositions and the acid's sensible heat is in the balance — and a water activity fitted to measured data: binary boiling points (Li 2017, NIST TRC ThermoML Archive) and 20 °C vapour pressures up to 85 wt% (Kirk-Othmer), with a held-out error of 2% in water activity. The boiling-point elevation is therefore the fitted one, 23.5 K at 54% P₂O₅ and 0.12 bar (the ideal, Raoult's-law activity this replaced gave 9 K). Checked against a boiling point the fit never saw, it puts 85 wt% acid at 164 °C at atmospheric pressure against a measured 158 °C. Above 18 mol% acid the temperature dependence rests on one coefficient and that single check, so read the concentrate temperature to within a few kelvin. No heat of dilution is carried (about 1.5% of the latent duty at 54% P₂O₅). The 320 K feed stands in for a hotter plant feed. The acid heated at 1 atm here partly boils in the exchanger (the model's fitted boiling point at 1 atm); the real acid is kept liquid under static head and flashes in the chamber.
Phosphoric acid concentration: microwave heating (29 → 54% P2O5)
The same duty with the steam exchanger replaced by volumetric microwave heating: 44.5 MW absorbed in the acid, then the same vacuum flash to 54.0 wt% P₂O₅ and the same 64.0 t/h of water removed — the microwave does not remove water, it supplies the latent heat. At a 65% wall-plug magnetron efficiency (915 MHz industrial units reach ~85%) that is 68.5 MW of electricity, 1,710 kWh per tonne of P₂O₅ (1,310 at 85%). The comparison that decides it is the energy carrier, not the heating mechanism: at Jorf Lasfar the baseline's 1.84 t/t of steam is a co-product of the sulfuric-acid plants, and the site turns that steam into electricity at roughly 30%. Sending it through a turbine, a magnetron and back into the acid delivers about a fifth of the heat the exchanger delivers directly (0.30 × 0.65 ≈ 0.2), so on this site the microwave route needs roughly five times the primary steam energy of the baseline. Where microwaves do earn their place is not here but at the superphosphoric end (>70% P₂O₅, viscous, fouling, where the recent literature targets them), and an electric route for the 29-54 step should be compared against mechanical vapour recompression, which reuses the latent heat at a coefficient of performance of 10-30. Sweep the absorbed duty to see the product concentration and the electricity follow it. Model scope, stated up front. The acid runs on the brine package, which carries phosphoric acid as a non-volatile molecular solute with its CRC liquid heat capacity (145 J/mol/K) — the streams show the real H₃PO₄/water compositions and the acid's sensible heat is in the balance — and a water activity fitted to measured data: binary boiling points (Li 2017, NIST TRC ThermoML Archive) and 20 °C vapour pressures up to 85 wt% (Kirk-Othmer), with a held-out error of 2% in water activity. The boiling-point elevation is therefore the fitted one, 23.5 K at 54% P₂O₅ and 0.12 bar (the ideal, Raoult's-law activity this replaced gave 9 K). Checked against a boiling point the fit never saw, it puts 85 wt% acid at 164 °C at atmospheric pressure against a measured 158 °C. Above 18 mol% acid the temperature dependence rests on one coefficient and that single check, so read the concentrate temperature to within a few kelvin. No heat of dilution is carried (about 1.5% of the latent duty at 54% P₂O₅). The 320 K feed stands in for a hotter plant feed. Microwave penetration depth (about a centimetre in a conductive acid at 2.45 GHz) and the HF attack on quartz windows are equipment questions this model does not carry.
Phosphoric acid concentration: microwave-then-steam hybrid (29 → 42 → 54% P2O5)
The transition path the concept proposes: microwaves take the acid from 29 to 42% P₂O₅ in a first vacuum flash (29.6 MW absorbed), a pump returns the 42% acid to atmospheric pressure, and the existing steam exchanger and second flash finish it to 54.0 wt% — 24.2 t/h of steam (0.61 t/t) plus 1,140 kWh of electricity per tonne of P₂O₅ at 65% magnetron efficiency, the same 64.0 t/h of water removed in total. The split is not free: two-thirds of the latent duty moved from a co-product steam to purchased electricity, and nothing about the second stage got easier. What a hybrid does buy is a pilot that can be run beside the existing evaporator without betting the line on it, and the freedom to put the microwave stage where it has a case — the viscous, fouling end — rather than on the dilute feed. Compare phosphoric-acid-concentration-steam and -microwave. Model scope, stated up front. The acid runs on the brine package, which carries phosphoric acid as a non-volatile molecular solute with its CRC liquid heat capacity (145 J/mol/K) — the streams show the real H₃PO₄/water compositions and the acid's sensible heat is in the balance — and a water activity fitted to measured data: binary boiling points (Li 2017, NIST TRC ThermoML Archive) and 20 °C vapour pressures up to 85 wt% (Kirk-Othmer), with a held-out error of 2% in water activity. The boiling-point elevation is therefore the fitted one, 23.5 K at 54% P₂O₅ and 0.12 bar (the ideal, Raoult's-law activity this replaced gave 9 K). Checked against a boiling point the fit never saw, it puts 85 wt% acid at 164 °C at atmospheric pressure against a measured 158 °C. Above 18 mol% acid the temperature dependence rests on one coefficient and that single check, so read the concentrate temperature to within a few kelvin. No heat of dilution is carried (about 1.5% of the latent duty at 54% P₂O₅). The 320 K feed stands in for a hotter plant feed.