Continuous monitoring of hydrocarbons in industrial effluent has never been a single-instrument problem. The phrase covers everything from a floating slick of light gasoline over a refinery separator to dissolved polycyclic aromatic hydrocarbons at sub-ppb levels in polished process water. Different analyzers see different fractions of that population, and regulators reference different reference methods for compliance. Operators who buy the wrong online sensor tend to end up either shutting an outfall unnecessarily or missing genuine releases.
This guide sets out what a plant can actually measure online in 2026, what those measurements correspond to in the regulatory reference methods, and how the July 2024 recast of the Industrial Emissions Directive and the November 2024 Urban Wastewater Treatment Directive change the framing.
What “hydrocarbons in wastewater” actually covers
Three definitions dominate discharge monitoring, and they are not interchangeable.
- Oil and grease as defined by US EPA Method 1664B is the material extractable from an acidified water sample using n-hexane, quantified gravimetrically. It captures petroleum hydrocarbons alongside animal and vegetable fats. A silica-gel clean-up step (SGT-HEM) removes the polar fraction and leaves what regulators loosely call non-polar material, closer to a petroleum-only reading.
- Hydrocarbon oil index as defined by ISO 9377-2 is the sum of GC-FID peaks eluting between n-decane (C10) and n-tetracontane (C40), following solvent extraction and a Florisil clean-up. It is quantitatively different from Method 1664B and is not applicable to volatile mineral oil. Reporting limit is 0.1 mg/L.
- Priority hydrocarbons referenced by the Water Framework Directive and downstream permits include specific PAHs (naphthalene, anthracene, benzo[a]pyrene and others) and BTEX compounds, each with its own environmental quality standard in Directive 2013/39/EU. These are measured by GC-MS or HPLC-fluorescence in the reference laboratory workflow.
A plant that reports oil and grease under Method 1664B is not reporting the same quantity as one that reports hydrocarbon oil index under ISO 9377-2. Online sensors typically approximate one of these definitions and are calibrated against a spot sample analyzed by the reference method.
The regulatory backdrop
Two European instruments sit behind most 2026 permit renegotiations.
The revised Industrial Emissions Directive (Directive 2024/1785) came into force on 4 August 2024, with member states required to transpose it by 1 July 2026. It keeps the framework of Best Available Techniques Reference Documents (BREFs) developed under the Sevilla process, and the CWW BREF - the horizontal document on common waste water and waste gas systems in the chemical sector - remains the reference for discharge limits from chemical installations. BAT-associated emission levels for total organic carbon, chemical oxygen demand and specific hydrocarbon parameters set the numbers a permit writer works from. The 2024 recast adds binding environmental performance levels alongside the emission levels, and pulls resource efficiency and human health explicitly into the BAT definition.
The Urban Wastewater Treatment Directive recast (Directive 2024/3019, in force January 2025) obliges member states to monitor non-domestic loads entering municipal plants and to identify, prevent and reduce industrial sources of pollutants including persistent hydrocarbons. That obligation lands on the plant sending effluent to the sewer as much as on the utility receiving it. Industrial operators discharging indirectly - the common route for smaller specialty-chemical sites - should expect their local authority to ask for continuous or high-frequency records rather than monthly grab samples over the transposition window.
In the United States the picture is more static. Method 1664B remains the reference for oil and grease under the Clean Water Act, and NPDES permits typically require grab or composite sampling with quantitative analysis in the laboratory. Continuous instruments are used for process control and for early warning ahead of the compliance sample, not as the compliance instrument itself. That distinction matters when scoping the accuracy requirement.
Continuous techniques - what they measure, what they miss
UV fluorescence probes for oil-in-water
The dominant technology at the effluent end of refineries, petrochemical sites and offshore facilities. A UV source excites aromatic rings in dissolved and dispersed hydrocarbons, and the emitted fluorescence at a longer wavelength is proportional to the aromatic content. Modern insertion probes reach ppb-level sensitivity for BTEX and PAHs and low ppm sensitivity for crude oil, and self-cleaning wipers keep response drift manageable on months-long deployments.
The blind spot is non-aromatic content: aliphatic hydrocarbons - waxes, lubricating oils dominated by paraffins - fluoresce weakly or not at all. A refinery that switches feedstock from a heavy aromatic crude to a lighter paraffinic one will see its online reading fall without the actual oil-in-water load falling proportionally. Calibration against the site’s own extractable-material analysis, refreshed when feedstock changes materially, is not optional.
Total organic carbon
Online TOC analyzers oxidise the organic content of a filtered aliquot and detect the resulting CO2 by NDIR. TOC is a general parameter and is not specific to hydrocarbons - it responds to solvents, glycols, surfactants and dissolved biological material as readily as to petroleum. Its value in a hydrocarbon monitoring scheme is as a bulk sanity check upstream and downstream of biological treatment: a persistent gap between influent and effluent TOC that biology cannot close usually points to refractory organics, including complex hydrocarbons and phenolics. The CWW BREF references TOC as one of the main indicator parameters for common waste water treatment plants in the chemical sector.
Online GC and membrane-inlet mass spectrometry
For sites that need speciation - which BTEX component is elevated, whether the signal is naphthalene or a heavier PAH - continuous transfer-line GC and membrane-inlet mass spectrometry both offer minute-to-tens-of-minutes cycle times and per-compound quantitation. They are the natural online complement to a permit that references specific priority substances rather than a bulk parameter. Capital cost and maintenance overhead put them almost exclusively on refinery main effluents and on high-value monitoring points where a slug event needs to be caught and identified within one shift.
IR absorption and scattered-light methods
Extractive online IR is the closest analogue to Method 1664B: hexane or a hydrocarbon-free solvent extracts a sample stream, and mid-IR absorbance in the C-H stretch region quantifies the hydrocarbon content. The workflow is more like a small automated laboratory than a probe and is largely restricted to sites that need a reference-method equivalent online.
Turbidimeters and scattered-light sensors detect the presence of dispersed oil droplets or emulsions but do not quantify hydrocarbon content in any regulator-recognised sense. They are useful cheap sentinels around API separators and dissolved-air-flotation units, not compliance instruments.
Sampling location matters as much as sensor choice
The most common failure mode in continuous hydrocarbon monitoring is not the sensor. It is that the analyzer sees a stream the discharge does not resemble. Oil floats. Insertion probes mounted mid-depth in a wide channel under-report free product; probes mounted too shallow foul with surface film. A brief refresher on inline, online, at-line and offline terminology is worth doing before an operator specifies a location. Composite sampling upstream of the analyzer, or a small side-stream cell with a controlled residence time, will usually deliver a more permit-relevant reading than direct mounting in the main channel.
Practical picks by discharge type
- Refinery API separator effluent, crude-oil terminals, tanker ballast: UV fluorescence with a hydrocarbon-oil-index calibration against ISO 9377-2 or 1664B samples, mounted after the separator and before any DAF unit.
- Petrochemical plant final effluent under a BAT-AEPL permit: UV fluorescence for oil-in-water plus online TOC as the bulk indicator, with periodic ISO 9377-2 laboratory checks. Add BTEX-specific speciation only where a permit references those compounds.
- Specialty-chemical plant discharging to a municipal WWTP: online TOC plus periodic laboratory hydrocarbon oil index, with a fluorescence probe on the sewer line where the permit or the receiving utility requires continuous evidence. Directive 2024/3019 makes the continuous data increasingly hard to avoid.
- Offshore produced water: UV fluorescence with laser-scatter droplet sizing is standard, calibrated against OSPAR reference methods rather than the freshwater regime discussed here.
Continuous hydrocarbon monitoring does not have to be a compliance instrument to be worth installing. In most cases it is worth installing precisely because it is not - it catches the event before the compliance sample does, gives the operator a chance to divert the stream, and turns a permit exceedance into an internal deviation.