cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Compressibility factor of GN

BPP
8-Gravel
8-Gravel

Compressibility factor of GN

Hello.

I find myself trying to calculate the compressibility factor of natural gas based on the procedure of calculating the attached document and check if the template is crafted correctly with a given example therein. I do not know how I'm doing it is the most appropriate because I am newbie using M15, but in trying to solve a system of equations I get one of the variables is not defined.

Hope you can help me and if there is something ridiculous in the preparation of such return please hagamenlo know.

4 REPLIES 4
MikeArmstrong
12-Amethyst
(To:BPP)

Is there any chance you could post an example instead of a 3.0MB file?

ValeryOchkov
24-Ruby IV
(To:BPP)

May be this my calculation will be any help to you:

http://twt.mpei.ac.ru/ochkov/TTMI/13/13-06.PNG

RichardJ
19-Tanzanite
(To:BPP)

Error messages from solve blocks are useless. No matter what the problem is, you always get an undefined variable error.

A trivial substitution reduces your problem to one equation with one unknown. That makes it easy to find the real problem, which is that there is no solution. There is no value of D that results in the expression on the rhs being equal to your target pressure.

Pressure.png

BPP
8-Gravel
8-Gravel
(To:BPP)

Richard're absolutely right, I have committed any error in equations or other part of the file, since according to the document in which this calculation is based there is a value of "D" for this data.

Thank you.

Announcements

Top Tags