

for j = i to (number of entered components).Calculate running total of hi*(mole fraction) 2.Calculate running total of mole fraction*qi.Calculate running total of mole fraction*wi.Calculate running total of mole fraction*ei 2.5.Calculate running total of mole fraction*rki 2.5.Calculate gas mix mole weight = running total of mole fraction*mole weight.for i=1 to (number of entered components).Normalise component mole fractions (ensure the total = 1.0000).Characterises the gas by calculating parameters b1.b18, and various other parameters, in a pair of for loops.

These IDs must be processed in ascending numerical order for the result to be correct. NOTE: The order of the components appears to be important, as it affects the results returned.Paramdl packs the ones that are used into sets of working arrays. Calculation allows for 21 standard components. Arrange calculation parameters to match entered species.The algorithm for the calculation involves two iterative routines and works as follows: Given a gas molar analysis, AGA8 detail determines the compressibility of the gas at base conditions and at flowing conditions. berikut adalah algoritma yang dapat digunakan untuk melakukan perhitungan flow gas yang melewati Orifice. AGA atau American Gas Association adalah sebuah asosiasi yang berkecimpung untuk standard, metode, dan kalkulasi dalam pengukuran Gas.
