ISO 3171 Petroleum liquids - Automatic pipeline sampling
0 Introduction
The purpose of collecting a sample of the material flowing through a pipeline is to determine the mean composition and quality of the bulk quantity. Samples of the bulk quantity in the line may be analysed to determine composition, water and sediment content, or any other important attributes such as density, viscosity or, with special precautions, vapour pressure.
Manual methods of pipeline sampling are adequate for homogeneous liquids whose composition and quality do not significantly vary with time. If this is not the case, automatic sampling is the recommended procedure since the continuous or repetitive extraction of small samples from a pipeline ensures that any changes in the bulk contents are reflected in the collected sample. In order that the sample shall be as representative as possible it is essential to ensure that the recommendations of this International Standard with respect to the required homogeneity of the liquid at the sampling location and to the required frequency of extraction of the small samples are met.
Consideration should be given to having standby samples provided by manual methods that may be referred to if the automatic sampler fails to perform satisfactorily; however, manual sampling will be subject to uncertainty if pipeline conditions are varying. (See ISO 3170.)
The equipment and techniques described have generally been used for sampling stabilized crude oil, but may also be applied to unstabilized crude oil and refined products provided consideration is given to the relevant safety precautions and the difficulties of sample handling.
Representative sampling of crude oil for density and water and sediment content is a critical process. Extensive studies have shown that, in crude oil transfers, four distinct steps are required for determining representative values:
a) adequate stream conditioning of the pipeline contents;
b) reliable and effective sampling, ensuring proportionality between sampling ratio and flow rate in the line;
c) adequate conservation and transporting of the sample;
d) adequate conditioning and dividing into Parts for accurate laboratory analysis.
This International Standard refers to existing methods of sampling and the type of equipment presently in use. It is, however, not intended that it should exclude new equipment not yet developed for commercial use, provided that such equipment enables samples to be obtained that are representative, and is in accordance with the general requirements and procedures of this International Standard.
The annexes to this International Standard contain calculation procedures about pipeline mixing theory and profile testing and also give basic guidelines for sampler location.
lt is realized that in many countries some or all of the items covered by this International Standard are subject to mandatory regulations imposed by the laws of those countries; such regulations must be rigorously observed. In cases of conflict between such mandatory regulations and this International Standard, the former should prevail.
1 Scope and field of application
1.1 This International Standard recommends procedures to be used for obtaining, by automatic means, representative samples of crude oil and liquid petroleum products being conveyed by pipeline.
NOTE - Although throughout this International Standard the term crude oil is used, this should be taken to include other petroleum liquids where the technique and equipment are also applicable.
1.2 This International Standard does not apply to the sampling of liquefied petroleum gases and liquefied natura1 gases.
1.3 The principal purpose of this International Standard is to give guidelines for specifying, testing, operating, maintaining and monitoring crude oil samplers.
1.4 The sampling procedures for crude oil are intended to provide representative samples for the determination of
a) the oil composition and quality;
b) the total water content;
c) other contaminants that are not considered to be part of the crude oil transferred.
If the sampling procedures for a), b) and c) are in conflict, separate samples may be required.
NOTE - The results of the laboratory analysis may be used for calculating adjustments to the declared quantity of crude oil transferred. The procedure for carrying out the adjustments does not form part of this International Standard.
1.5 Sample handling is included, covering all aspects following collection to the transfer of the sample to laboratory apparatus.
1.6 This International Standard describes the practices and procedures believed at the present time to be the most likely to lead to representative sampling and hence to accurate water determination. However, the accuracy of the water determination on pipeline samples obtained using automatic samplers will depend upon the arrangement and characteristics of all the various elements making up the sampling system, and on the accuracy of the subsequent analytical procedures.
A theoretical technique for evaluating the combined accuracy of the automatic sampling system and the analytical test is given in clause 16. A practical test procedure for field use is described in clause 15.
Normally, the acceptable accuracy limits for a particular automatic sampling system will be specified in agreement between the interested parties.
Table 4 of clause 15 classifies the performance of automatic sampling systems by ratings based on the accuracy of practical test results. These ratings may be used as a guide to possible performance and as a basis for individual agreement.
2 References
ISO 3165, Sampling of chemical products for industrial use - Safety in sampling.
ISO 3170, Petroleum products - Liquid hydrocarbons - Manual sampling.
NOTE - See also clause 17, Bibliography.
3 Definitions
For the purpose of this International Standard, the following definitions apply.
3.1 acceptable (accuracy) limits: The limits within which the determined concentration of water in a sample is acceptable relative to the true value or other specified value, at the 95 % probability level.
3.2 automatic sampler: A system capable of extracting a representative sample from the liquid flowing in a pipe. The system consists of a sampling probe and/or a separating device, an associated controller and a sample receiver.
3.2.1 intermittent sampler: A system for extracting liquid from a flowing stream, a sample receiver to contain the sample grabs taken from the stream, and a means for controlling the amount of sample taken by varying the sampling frequency or grab volume in relation to flow rate.
3.2.2 continuous sampler: A system for extracting liquid from a flowing stream which has a separating device which continuously withdraws liquid from the main pipeline in relation to flow rate, an intermediate sample receiver, and a means for controlling secondary withdrawal to a final sample receiver.
3.3 calculated sample volume: The theoretical sample volume obtained by multiplying the sample grab volume by the number of actually collected grabs.
3.4 competent person: A person who by reason of his or her training, experience, and theoretical and practical knowledge is able to detect any defects or weaknesses in the plant or equipment and to make an authoritative judgement as to its suitability for further use.
NOTE - This person should have sufficient authority to ensure that the necessary action is taken following his or her recommendation.
3.5 controller: A device which governs the operation of the automatic sampler in order to provide a representative sample.
3.6 fixed-rate sample; time-proportional sample: A sample taken from a pipeline during the whole period of transfer of a batch, composed of equal increments at uniform time intervals.
3.7 flow-proportional sample: A sample taken from a pipeline during the whole period of transfer of a batch, at a rate which is proportional to the rate of flow of the liquid through the pipeline at any instant.
3.8 grab: The portion of liquid extracted from the pipe by a single actuation of the separating device. The sum of all the portions results in a sample.
3.9 homogeneous mixture: A liquid is homogeneous if the composition is the same at all points. For the purposes of this International Standard a liquid is homogeneous if the variation in composition does not exceed the limits provided in 4.4.
3.10 integrity of the sample: The condition of being complete and unaltered, i.e. the sample being preserved with the same composition as when it was taken from the bulk of the liquid.
3.11 isokinetic sampling: Sampling in such a manner that the linear velocity of the liquid through the opening of the sampling probe is equal to the linear velocity of the liquid in the pipeline at the sampling location and is in the same direction as that of the bulk of the liquid in the pipeline approaching the sampling probe.
3.12 mixer: A device which provides a homogeneous mixture of the liquid within a pipeline or container in order to obtain a representative sample.
3.12.1 powered mixer: A mixing device which depends on an external source of power for the energy required to mix the liquid.
3.12.2 static mixer: A mixing device having no moving parts and located within a pipe or tube. lt depends on the kinetic energy of the moving liquid for the energy required to mix the liquid.
3.12.3 variable-geometry static mixer: A mixing device with parts inside the pipe or tube which tan be adjusted to modify its characteristics at different flow rates.
3.13 pipeline: Any section of pipe used for the transfer of liquid. An unobstructed pipe does not have any internal fittings such as a static mixer or orifice plate.
3.14 profile testing: A technique for simultaneous sampling at several points across the diameter of a pipe. Terms used in connection with profile testing are as follows:
3.14.1 overall mean: The average of either the point averages or the profile averages. (Note that the result is the Same.)
3.14.2 point: A single sampling orifice in the profile.
3.14.3 point average: The average of the water concentration at the same point in all profiles (neglect points with less than 1 % water).
3.14.4 profile: A set of samples taken simultaneously at several points across a diameter of the pipe.
NOTE - The term is also used to denote the series of sampling points themselves and the set of results obtained by analysis of the samples taken at these Points.
3.14.5 profile average: The average of the water concentration at each point in the same profile (neglect the profile if it has less than 1 % water).
3.15 representative sample: A sample having its physical or chemical characteristics identical to the average characteristics of the total volume being sampled.
NOTE - Since errors cannot be quantified exactly, compliance with this ideal tan only be expressed as an uncertainty that tan be obtained either from practical tests or by theoretical calculation.
3.16 sample: The portion of liquid extracted from the pipeline that is subsequently transferred to the laboratory for analysis.
3.17 sample conditioning: Homogenization necessary to stablize the sample during sample handling in preparation for analysis.
3.18 sample container: A vessel used for the storage, transportation and preconditioning of the total quantity, or a proportion of the total quantity, of the sample for analytical work or for division into identical small sub-samples to be analysed.
3.19 sample handling: The conditioning, transferring, dividing and transporting of the sample. lt includes transferring the sample from the receiver to the container and from the container to the laboratory apparatus in which it is analysed.
3.20 sample loop: A by-pass to the main pipeline being sampled through which a representative portion of the total flow is circulated.
3.21 sample receiver; receptacle: A vessel connected to the automatic sampler in which the sample is collected during the samplisitg operation. A receiver may be permanently attached to the sampler or it may be portable. In either case, it should be designed to maintain the integrity of the sample.
NOTE - In certain circumstances, it is possible to collect the total sample in more than one sample receiver. In such circumstances, the sample integrjty has to be maintained for each individual sample volume.
3.22 sampler performance factor (PF): The ratio between the accumultited sample volume and the calculated sample volume (see1 4.6).
3.23 sampling frequency: The number of grabs taken in unit time.
3.24 sampling interval: The time between successive grabs.
3.25 sampling location: The cross-section of the pipe where the sampling probe is, or is proposed to be, located.
3.26 sampling probe: The sampler element that extends into the pipeline.
3.27 sampling ratio: The quantity of pipeline contents represented by one grab.
NOTE - It can be expressed as either the volume, in cubic metres grab, or the equivalent length of pipeline, in metres per grab.
3.28 separating; device: A device that separates a small volume of liquid from the batch of liquid that the small volume represents.
3.29 stream conditioning: The distribution and dispersion of the pipeline contents, upstream of the sampling location.
3.30 time-proportional sample: See 3.6.
3.31 water.
3.31.1 dissolved water: The water contained within the oil forming a solution at the prevailing temperature.
3.31.2 suspended water: The water within the oil that is finely dispersed as small droplets.
NOTE - It may, over a period of time, either collect as free water or become dissolved water, depending on the conditions of temperature and pressure prevailing.
3.31.3 free water: The water that exists as a separate layer from the oil, and typically lies beneath the oil.
3.31.4 total water: The sum of all the dissolved, suspended and free water in a cargo or parcel of oil.
3.32 worst-case conditions: The operating conditions for the sampler that present the most uneven and unstable concentration profile at the sampling location.
NOTE - This will usually be at minimum flow rate, minimum oil density and minimum oil viscosity but may also be influenced by other factors such as emulsifiers and surfactants.