Академический Документы
Профессиональный Документы
Культура Документы
com/examples/density-compressibility-aga8 (05-09-2016)
<="" p="">
Pengukuran Flow Gas (AGA-3 & AGA-8)
December 1st, 2011 Leave a comment Go to comments
Download article as PDF
The algorithm for the calculation involves two iterative routines and works as
follows:
Paramdl:
o Arrange calculation parameters to match entered species. Calculation allows
for 21 standard components. Paramdl packs the ones that are used into sets of
working arrays.
o NOTE: The order of the components appears to be important, as it affects the
results returned. Each gas species has an integer ID. These IDs must be
processed in ascending numerical order for the result to be correct.
Chardl:
o Characterises the gas by calculating parameters b1..b18, and various other
parameters, in a pair of for loops.
o Normalise component mole fractions (ensure the total = 1.0000)
o for i=1 to (number of entered components)
Calculate gas mix mole weight = running total of mole
fraction[i]*mole weight[i]
Calculate running total of mole fraction[i]*rki[i]2.5
Calculate running total of mole fraction[i]*ei[i]2.5
Calculate running total of mole fraction[i]*wi[i]
Calculate running total of mole fraction[i]*qi[i]
Calculate running total of hi[i]*(mole fraction[i])2
for j = i to (number of entered components)
This loop calculates interactions between one gas species and
another.
xij = xi[i]*xi[j] (if i <> j, we double this number)
eij = beij[i][j] * sqrt(ei[i]*ei[j]) : energy interaction param
s3 = xij*sqrt(rki[i]3*rki[j]3)
calculate b1..b18 as running totals of various polynomials on
s3, eij, etc.
o At end of loops, scale b parameters: bi = bi * a[i]
o calculate gas base density;
o calculate base compressibility.
temp(Tflowing):
o calculate temperature dependent parameters fn[13]..fn[58]
ddetail(Pflowing, Tflowing):
o Call braket(t, p) to determine a lower and upper limit on the gas
density; begin an iterative loop to converge on the density, as follows:
o Loop:
o
Sort pressure and density points in order of decreasing pressure.
Calculate the amount of density change, delx, at pressure point y2
If we have converged, return x2 + delx , else…
Save current x2 and y2 as x1 and y1;
calculate x2 as x2 + delx
calculate y2 as pdetail(x2,t)-p
o for at most 150 iterations.
braket(t,p):
o Braket iterates to find a molar density on either side of the “correct answer”
and returns these. This narrows the range over which ddetail needs to
converge.
pdetail(d,t):
o calculates compressibility with zdetail(d,t) and returns the pressure.
zdetail(d,t):
o calls temp(t) if the temperature has changed, then returns a polynomial
equation based on density, bmix and the parameters fn[13..58].
The AGA8 Detail algorithm is data intensive and defines approximately 2000
values held in 13 arrays.
AGA8 Detail: Enter a flowing temperature and pressure, and a gas analysis, then
press Calculate. The calculation may take a few seconds to complete.
AGA 3 1990 Algorithm
The algorithm for the calculation is as follows. There is one iterative loop to solve
for Reynolds number and coefficient of discharge. The standard defines many
constants.
Constants of the form A and S are simply fixed numbers and do not change based
on the system of units used.
Constants of the form Nx are unit conversion constants and are determined based
on the system of units in use for the calculation.
For further details on the calculation, refer to part 4 of the specification AGA3
1990 / GPA 8185-92.
http://www.squinch.org/gas/aga8.html
http://www.squinch.org/gas/aga3.html
Dalam pengukuran Flow (Fluida) berbagai metode dapat dilakukan untuk mengetahui laju
aliran dalam sebuah pipa.
Gambar.1 Baling-baling
metode ini merupakan cara sederhana dan murah untuk pengukuran flow fluida terutama fluida
cair. prinsip kerjanya teknisnya adalah ketika ada aliran fluida yang melalui baling-baling maka
baling-baling akan berputar, dari putaran tersebut dapat kita sensing dengan berbagai cara salah
satunya dengan hubungkan ke sebuah rotary counter (digital) yang akan menghitung jumlah
putaran baling-baling dalam 1 detik/menitnya (frekuensi putaran baling-baling). Dari nilai
yang dihasilkan maka dapat diketahui kecepatan fluida tersebut, kecepatan fluida akan
berbanding lurus dengan kecepatan putar baling-baling. yang mana untuk mengetahui
kecepatannya kita perlu membandingkannya dengan alat untuk mengukur flow yang sudah
terkalibrasi yang kemudi hasil pengukuran alat tersebut dibagi dengan Luas Penampang pipa,
maka akan dihasilkan kecepatan dari fluida (m/s).
Q=A.V
Dengan cara ini kita dapat mengkalibrasi dan mengkonversi kecepatan putar baling-baling
menjadi Flow (m^3 /s). Setelah kecepatan aliran tersebut terkalibrasi maka untuk menghitung
laju aliran fluida hanya tinggal mengkali-kan dengan luas penampang pipa (m^2) maka
didapatlah nilai akhir dari pengukuran fluida.
Jenis untuk metode semacam ini adalah (untuk fluida cair):
baling-baling defleksi
baling-baling rotasi
baling-baling heliks
turbin flowmeters
Seperti terlihat pada gambar 3. ketika sebuah fluida mengalir melalui celah sempit maka akan
terjadi perubahan pola aliran yang menyebabkan perbedaan tekanan antara tekanan fluida
mengalir sebelum melalui orifice dan tekanan setelah melewati orifice. kemudian tekanan
pada fluida mengalir tersebut akan kembali normal setelah beberapa saat melewati orifice.
Terlihat pada gambar dengan tabung U terdapat perbedaan tekanan dimana tekanan setelah
melewati celah orifice lebih rendah (terjadi perbedaan tekanan).
Kita asumsikan Steady State, densitas fluida konstan (incompressible), dan alirannya laminer
serta tidak ada perubahan ketinggian pada pipa horizontal maka dapat digunakan persamaan
Bernoulli
Karena
maka
Persamaan tersebut merupakan persamaan teoritis yang ideal untuk mendapatkan nilai flow.
Maka nilai Flow dengan perhitungan koefisien discharge dan faktor beta adalah:
where:
Q = volumetric flow rate (at any cross-section), m³/s
= mass flow rate (at any cross-section), kg/s
Cd = coefficient of discharge, dimensionless
C = orifice flow coefficient, dimensionless
A1 = cross-sectional area of the pipe, m²
A2 = cross-sectional area of the orifice hole, m²
d1 = diameter of the pipe, m
d2 = diameter of the orifice hole, m
β = ratio of orifice hole diameter to pipe diameter, dimensionless
V1 = upstream fluid velocity, m/s
V2 = fluid velocity through the orifice hole, m/s
P1 = fluid upstream pressure, Pa with dimensions of kg/(m·s² )
P2 = fluid downstream pressure, Pa with dimensions of kg/(m·s² )
ρ = fluid density, kg/m³
Metode lain pengukuran flow adalah dengan menggunakan signal ultrasonic, yaitu dengan
cara memantulkan pancaran gelombang ultrasonic pada fluida yang bergerak. Berdasarkan
dengan hukum doppler ketika suatu sumber gelombang memiliki kecepatan, maka frekuensi
gelombang akan berubah. Jadi ketika gelombang ultrasonic dipantulkan pada fluida yang
bergerak, maka gelombang pantulnya akan memiliki frekuensi berbeda yang nilainya akan
berbanding lurus pada kecepatan aliran fluida. Dari frekuensi yang diterima maka dapat
diukur kecepatan alir fluida (flow).
vr = kecepatan medium
vr=((f/f0)*v)-v
metode efek doppler ini juga dapat digunakan untuk pengukuran kecepatan darah didalam
tubuh
Reference:
http://www.flowmeterdirectory.com/flowmeter_artc_02011701.html
http://www.efunda.com/designstandards/sensors/flowmeters/flowmeter_tbn.cfm
http://www.cheresources.com/high_dp_orifice_flow.shtml
http://en.wikipedia.org/wiki/Orifice_plate
http://en.wikipedia.org/wiki/Gas_meter
engineerclick.blogspot.co.id/2009/07/aga-7-calculation.htm
AGA 7 Calculation
AGA 7 takes a flowing volume, rate or flowing conditions and calculates base volume, base
volume flow rate or volume correction factor. It requires flowing and base pressure,
temperature and compressibility. Compressibility is calculated by your favourite equation of
state, such as AGA 8.The algorithm for the calculation is extremely straightforward. It is
really just the application of the real gas law to the measured volume.
Pf * Vf = Zf * n * R * Tf
so Vf = Zf * n * R * Tf / Pf
Pb * Vb = Zb * n * R * Tb
so Vb = Zb * n * R * Tb / Pb
Changing the pressure and temperature doesn't change the number of moles, and R is a
constant, so:
S is defined as Zb / Zf
Fpm is defined as Pf / 101.56 kPa, or Pf / 14.73 PSIF
pb is defined as 101.56 kPa / Pb, or 14.73 PSI / Pb
Ftm is defined as 288.7056 Deg Kelvin / Tf, or 519.67 Deg. Rankin / Tf
Ftb is defined as Tb / 288.7056 Deg Kelvin, or Tb / 519.67 Deg. Rankin
So Fpm * Fpb = Pf / Pb
and Ftm * Ftb = Tb / Tf
So Vb = Vf * Fpm * Fpb* Ftm * Ftb * S
Calculate Fpm = Pf / 101.56 kPa (US base conditions, defined by AGA 7 spec)
Calculate Fpb = 101.56/Pb
Calculate Ftm = (15.55556 + 273.15)/Tf Deg. K (US base conditions, defined by AGA 7
spec)
Calculate Ftb = Tb / (15.55556 + 273.15) Deg. K (US base conditions, defined by AGA 7
spec)
Calculate S = Zb / Zf = Fpv2
Calculate BMV (base multiplier value) = Fpm * Fpb * Ftm * Ftb * S
Apply meter factor to BMV (Note: this is often done to the actual volume prior to using AGA
7.)
Source: http://www.squinch.org/