PDA

View Full Version : PROGRAM FOR CALCULATING THE FACTOR OF A GAS Compressibility Z



anihita
07-23-2010, 01:51 PM
The program will ask you to log in the molar composition of gas, which should not exceed 100% molar obviously, and then using the "Run" obtain values for a hypothetical gas of that composition molar.

the program will ask you to enter the molar % of components of gas which should not exceed 100%.




link is

muhammad usman
07-23-2010, 07:39 PM
Thanks

motaleby
07-23-2010, 09:20 PM
Thanx anihita
Google Translator said:
SofThor - Software Development Inc.

PROGRAM TO CALCULATE THE PROPERTIES AND THE FACTOR OF DIVERSION (z) OF THE
GAS MIXTURES
Recommendations:
The computer must be configured to use the decimal point for fractions, do not eat
to separate the fractions, otherwise the results will be random.
This program consists principally of four files, the same are:
1. Gas1.txt: A file containing the values of the mole fractions of the gas sample. It
updated, retain the last values of the gas being admitted.
2. Gas2.txt: The file that is stored physical values of the different chemical
components for a gas mixture. It is recommended not to enter or modify as Tonari
the program inoperable.
3. FactZ.exe: It is the principal executing program, the same as present.
4. Lista.txt: Generated by the program for future use and for the time useless.
5. To run the program must copy all these files in your directory and use
must necessarily be: C: \ Vb60 \ Factz (Note that the main program
FactZ.exe, always point to this directory).
To operate, start the program running the file FactZ.exe and the following screen
(Figure 1):
Write in the box "Please type the Key Word" the key word or password, the same has been
provided separately. If you entered the correct key, it disappears from the screen box
Figure 1
Write in the box "Please type the Key Word" the key word or password, it has been
provided separately. If you entered the correct key, it disappears from the screen box and can operate without problem; If not, request emails: fdiazm@ec-red.com
or fdiazmo@speedy.com.pe, the same that will be provided without cost or obligation.
After entering the keyword, press the Run button and the screen will get Figure 2, bear in mind
that if the sum of mole fractions is greater than 100, there is an obvious error regarding
molar composition of gas, so the alert program this possibility, but will continue to operate
normally.
Next on this screen you can see three clearly defined areas are:
1. Gas Composition. Area where we set the values of the molar percentage
gas sample will work, except for the last term, ie for water,
it is calculated by computer by far to 100. If the sum of
components is greater than 100 water box will take a negative value and returns to
a reddish color as a warning to the operator to check the values of the percentages of the sample
gas which obviously is not correct, however the program will continue running and
may give incorrect results or forwarded.
2. Gas Properties. The area where we get the values of the different properties
this particular sample of gas, then you press the button Run. They are:
Gross heat capacity in BTU/Pie3 or higher heat capacity in BTU/Pie3 Net
or lower molecular weight, specific gravity, temperature and critical pressure levels
Psia Rankine respectively (They are already corrected for the presence of H2S
and CO2 in the case of sour gas or mixture of acids).
Note that these two boxes have a yellow background, as a visual aid that
can be changed at will to calculate the gas deviation factor "z" (If
gas composition is unknown but we know the properties of the pseudo critical
gas sample pressure and temperature we enter in the "Data Input").
3. Data Input. In the first two sections are put on the pressure and temperature to which
For deviation factor Z, the default is put 1,000 psi and 100 degrees
Fahrenheit by pressing the Calculation would get the result for the Z factor to these
conditions for this case example would be 0.8760.
To enter this zone, necessarily must have made the calculation of
gas properties from the previous step because in this part of the program uses these
values (Run button).
It also gives the values of viscosity of both gas and temperature at 1 atmosphere requested
(100 F /) and applied new pressure (1000 psia) and at the same temperature, which in
case example will 0.0115 and 0.0134 respectively.
If you've followed the process correctly, you will have the results in the following Figure 3.
To finish and exit the program, press the End key thereby automatically exits
program.
At this point, you are free to change either the values of pressure and
Critical temperature, (Locker yellow background) for the example suppose Tc = 360
F / and Pc = 700, charge these values and press the button Calculation and get the new value
z = 0.8819, which means that we can vary at will the critical values of temperature and pressure
and calculate the respective value of z, Ojo viscosity values do not change as these estimates
performed with the Run button, if you want the values of viscosity at the new values of P and T,
Run button should be pressed.
In these circumstances, it can vary at will the value of the pressure and temperature to which
want the value of the gas deviation factor Z, for example if we require this value to 2,100 psi and
Two hundred F /, they introduce them into their respective boxes by pressing the Calculation and
obtain a new value of z = 0.9043.
In this mode you can proceed to change the data as often as it sees fit. See chart
follows (Figure 4).
Furthermore, as a visual aid, you can obtain a graph of the curve of the Z factor for these
conditions of the gas mixture, ie the critical values at the same accessed by
Graph button and go back to the original screen with the Out button. It can be accessed at any
time, and the graph corresponds to the conditions contained in the time sectors: Gas
composition and Gas Properties. See graph Figure 5.
Minimum System Requirements:
1. Computer Pentium I or higher.
2. Operating system: Windows 98 or higher.
3. Space System Memory: 256KB.
4. Hard disk space, less than 500 KB.
5. Requires no printer or internet connection.
Any comments, input and suggestions are very welcome to email: @ ecred fdiazm.
com fdiazm@speedy.com.pe
Acknowledgements:
Special recognition Pluspetrol Peru Corp. S. A. For their support
in the realization of this work.
Engineering Department of Petroleum, Petrochemical and Natural Gas University
National Engineering.
A MICROSOFT International support for the facilities and kindly disposed.
A COREL WordPerfectg, the suite with which this manual has been drafted.
A WinZip Computing Inc., licensed for noncommercial use of the Software
WinZip 8.1 SR-1.
Bibliography:
1. "Gas Pipeline Hydraulics", Publisher Taylor & Francis, 2005 Edition by E. Menon Shashi.
2. "Natural Gas Reservoir Engineering, Krieger Publishing Publishing Company, Malabar Florida
1992. By Chi U. Ikoku.
3. "Programmer's Guide", Microsoft Visual Basic, Ver 4.0, Ed 1995, Microsoft Corporation.
4. "Applied Engineering Oilfield, TECNOS Editorial, Madrid, Ed 1968, by B.
C. Craft & M. F. Hawkins, Jr.
5. "Numerical Methods and Fortran Programming," Editorial Limusa, 1977, Mexico, by Daniel D.
And William S. McCraken Dorn.
July - 2009.
Lima - Peru.

Washoo
07-23-2010, 09:20 PM
Program is not working under Window 7. Any suggestion

motaleby
07-23-2010, 09:23 PM
Dear Washoo
It works on win 7, note that:
copy all files in C: \ Vb60 \ Factz

bratek
07-23-2010, 09:24 PM
The program will ask you to log in the molar composition of gas, which should not exceed 100% molar obviously, and then using the "Run" obtain values for a hypothetical gas of that composition molar.

the program will ask you to enter the molar % of components of gas which should not exceed 100%.




link is

Thank you for your sharing.

Have a good weekend.

mkhurram79
07-25-2010, 08:47 AM
thank u so much

Faraz
07-25-2010, 12:35 PM
program not working

yanyong.song
02-24-2011, 11:24 AM
Thank you for sharing!
But i need the right Key word

zamc
03-06-2011, 09:08 PM
Very Helpfull!!!

yanyong.song
03-07-2011, 11:56 AM
Do you have the right key word?

yanyong.song
03-07-2011, 12:04 PM
Do you have the right key word? The program not working

motaleby
03-07-2011, 01:51 PM
yes, the program needs the key word. Who has it?

mehsona
03-10-2011, 09:35 PM
thank you for your importante program
anihita

heodat1
06-14-2011, 11:50 AM
pls. send to me the right key word. thank you very much !
my email: nuavangtrang_1086@yahoo.com
thanks again !

farshidian
08-02-2011, 07:08 AM
pls. send to me the right key word too. thank you in advanced.
my email: saeidsaeidian19@gmail.com

motaleby
08-02-2011, 07:32 AM
Dear Farshidian

I contacted fdiazm and he sent me the right keyword without any request.

fdiazm@ec-red.com or fdiazmo@speedy.com

Good luck (Pirooz baashi)

samrat
08-02-2011, 07:00 PM
dear fdiazm,
for the benefit of all would it be possible to know the keyword for the compressibility factor.Thanks
samrat

Davinchito
02-17-2013, 10:12 PM
anyone can upload again this software i need it please the link is dead please i really aprecciate it