# Genise Noel

104000544
PBMS220B

Assignment:
a) The law of corresponding states that substances under critical conditions where reduced
pressure (P/Pc) and reduced temperature (T/Tc) are equal must have the same reduced
volume and therefore the same compressibility factor.
b) Using the formulas:
(
)
(

)

Pabs
Tabs

2500 psia
628 Rankine

Specific
Gravity
0.59
0.62
0.65
0.72
0.80

Ppc
Tpc
Ppr
Tpr
Z
675.0
351.8
3.7
1.8
673.2
361.0
3.7
1.7
671.4
370.3
3.7
1.7
667.3
391.8
3.7
1.6
662.6
416.4
3.8
1.5

0.89
0.86
0.86
0.82
0.77

Trends:
 As molecular mass/density increases specific gravity also increases resulting in
an alteration in the properties of the substance at critical conditions evident by
the reduction in pseudo-critical pressure (Ppc) and increase in pseudo-critical
temperature (Tpc) with increasing specific gravity.

Changes in Ppc and Tpc, particularly Tpc, result in changes in the gas deviation
factor.

Since the gas deviation factor is a ratio of the volume of real gas to the volume of
ideal gas, the results indicate that as a specific gravity increases, gas behaves
less than ideal i.e. shows a more significant change in volume in comparison to
that of an ideal gas.

char *argv[]) { // Declaring variables int i.2)))). double K. scanf("%lf".h> #include <stdlib. double temp.T.2))/z1)((5*c3*powf(rho. double Tr.cpp : Defines the entry point for the console application. Tr=T/Tpc. printf("Enter Temperature in Rankine\n").z.ZB.5))/z1)+((2*0.7210*(powf(rho.Z-factor calculations using Dranchuk equation using c++ // PBMS 220B.7210*(powf(rho. Fz=z1-(1+(c1*rho)+(c2*(powf(rho.2))/(powf(Tr. char res2='Y'.2))).h> int main(int argc. Tpc=168+(325*SG)-(12.2))).ZF.01569/(powf(Tr.z1.5*powf(SG.ZG.5))).1844/(powf(Tr. t = 1/Tr. printf("Enter Pressure\n").Y.2)))). double c1.7210*(powf(rho. c3=0.1844/(powf(Tr.2)). . dF=1+(c1*rho/z1)+((2*c2*powf(rho.c2.2)))).3))*z1))*(1+(0. c4=0.&P). c1=0. double SG.5*powf(SG. char dummy.3265+(-1.c3.7210*(powf(rho.2)))-(c3*(powf(rho.h> #include<ctype.3)))*exp((0. double t.2)))*(exp(0.temp2.Mw.z2.7361/Tr)+(0.P.5)))+c4). scanf("%lf".c4. double ZA.5475+(-0.0700/Tr)+(0. double Fz. printf("Enter Specific Gravity\n").Tpc. c2=0.ZC.3)))+(0.&T).Ug.05165/(powf(Tr.2)))/((powf(Tr.6134*(powf(rho.72 10*(powf(rho.Pr.X. z2=z1-(Fz/dF).7361/Tr)+(0.rho2.&SG).6134*(1+0.h> #include <stdio.2)))-(powf((0.z3.dF2.ZD.dF.2)).Ppc. scanf("%lf". //Z-Factor using Dranchuk while(temp2>0. // #include <stdafx. z1=1. temp2=1. //McCoy Correlation Ppc=677+(15*SG)-(37.5339/(powf(Tr.h> #include<math.rho.Fz2.27*Pr)/(z1*Tr).ZE. Pr=P/Ppc.2)))*((powf(rho.1056*((-0.4)))+(-0.1) { rho=(0.

7210*(powf(rho. z1=z3.72 10*(powf(rho.6134*(powf(rho. return 0.3)))*exp((0. system("PAUSE").0700/Tr)+(0. c4=0. Fz2=z2-(1+(c1*rho)+(c2*(powf(rho.6134*(1+0.3)))+(0. dF2=1+(c1*rho/z2)+((2*c2*powf(rho.5339/(powf(Tr.2))/z2)((5*c3*powf(rho.5475+(-0.2)))/((powf(Tr.27*Pr)/(z2*Tr).7210*(powf(rho. c3=0.05165/(powf(Tr.5))/z2)+((2*0.2))).5))).rho=(0.2))/(powf(Tr. z3=z2-(Fz2/dF2). c1=0.2)))).7210*(powf(rho. c2=0. temp2=z2-z3.2)))-(powf((0.7210*(powf(rho.1056*((-0.1844/(powf(Tr.7361/Tr)+(0.2))).5f\n". printf("Z factor using Dranchuk=%. } .7361/Tr)+(0.1844/(powf(Tr.4)))+(-0.z1).5)))+c4).2)))*(exp(0.2)))*((powf(rho.3265+(-1.01569/(powf(Tr.2)))).2)))).3))*z2))*(1+(0.2)))-(c3*(powf(rho.

Dranchuk Programme Values using Previous Specific Gravities: .