PO.FA.Scale.InhibitorDose
Description
The continuous scale-inhibitor injection a produced water needs, on a stated basis: the minimum inhibitor concentration (MIC), in ppm of product by mass of water, that the inhibitor's qualification test (a static jar or dynamic tube-blocking test on this water at these conditions) found to stop the scale, applied whenever the water's saturation index is above 0, and nothing when it is not. The function returns that dose, the product's mass rate for the water rate and the product's volume rate, the number a chemical pump is set to. It does not predict the MIC: that comes from the test, and grows with the saturation index, which is why the index gates the dose here rather than scaling it.
Formula
=LAMBDA(si, mic, qw, sg_w, sg_i, output, IF(OR(mic<0, qw<0, sg_w<=0, sg_i<=0), NA(), LET(
dose, (si>0)*mic, mass, qw*350.51*sg_w*dose/1000000, IF(output="Dose", dose, IF(output="Mass", mass, IF(output="Volume", mass/(8.3454*sg_i), NA()))))))Parameters
| Parameter | Unit | Description |
|---|---|---|
si |
— | Saturation index of the scale at the treated point (`PO.FA.Scale.SI.OddoTomson`) |
mic |
ppm | Minimum inhibitor concentration of the product, by mass of water, from the qualification test at this index; include any safety margin; 0 or more |
qw |
bbl/d | Water rate treated; 0 or more |
sg_w |
— | Water specific gravity; above 0 |
sg_i |
— | Inhibitor product specific gravity; above 0 |
output |
text | "Dose" applied dose [ppm], "Mass" product mass rate [lb/d] or "Volume" product volume rate [gal/d] |
Examples
| Invocation | Expected |
|---|---|
=PO.FA.Scale.InhibitorDose(1.2, 15, 5000, 1.05, 1.1, "Dose") |
15 |
=PO.FA.Scale.InhibitorDose(1.2, 15, 5000, 1.05, 1.1, "Mass") |
27.6026625 |
=PO.FA.Scale.InhibitorDose(1.2, 15, 5000, 1.05, 1.1, "Volume") |
3.006845633 |
=PO.FA.Scale.InhibitorDose(-0.3, 15, 5000, 1.05, 1.1, "Dose") |
0 |
=PO.FA.Scale.InhibitorDose(-0.3, 15, 5000, 1.05, 1.1, "Volume") |
0 |
=IF(ISNA(PO.FA.Scale.InhibitorDose(1.2, 15, 5000, 1.05, 1.1, "ppm")), 1, 0) |
1 |