30 ? pow(10,$Cae)-1 : ($Ga>15 ? pow(10,$Cbe)-1 : pow(10,$Cce)-1) ); #** Glaso Parameters ** #dead oil viscosity (cp) $Uodg = 3.141*pow(10,10)*pow($Ti,-3.444)*pow(log($Ga,10),(10.313*log($Ti,10)-36.447)); #** Kartoatmodjo Parameters ** #API gravity coefficient $Gak = pow(10,pow(0.007268*pow($Ti,0.7383),1/(6.79027*log($Ti,10)-18.8156))); #light oil viscosity (cp) $Uolk = 1.6*pow(10,9)*pow($Ti,-2.8177)*pow(log($Ga,10),(5.7526*log($Ti,10)-26.9718)); #medium oil viscosity (cp) $Uomk = 2.2015*pow(10,11)*pow($Ti,-3.556)*pow(log($Ga,10),(12.5428*log($Ti,10)-45.7874)); #dead oil viscosity (cp); leave here for calculation order $Uodk = ($Ga>$Gak ? $Uolk : $Uomk); #light viscosity coefficient $Cak = 0.2001+0.8428*pow(10,-0.000845*$Rs)*$Uodk*(0.4300+0.5165*pow(10,-0.00081*$Rs)); #medium viscosity coefficient $Cbk = 0.2038+0.8591*pow(10,-0.000845*$Rs)*$Uodk*(0.3855+0.5664*pow(10,-0.00081*$Rs)); #heavy viscosity coefficient $Cck = 0.2478+0.6114*pow(10,-0.000845*$Rs)*$Uodk*(0.4371+0.5158*pow(10,-0.00081*$Rs)); #extra heavy viscosity coefficient $Cxk = -0.0335+1.0785*pow(10,-0.000845*$Rs)*$Uodk*(0.5798+0.3432*pow(10,-0.00081*$Rs)); #saturated oil viscosity (cp) $Uoak = -0.06821+0.9824*$Cak+0.0004034*pow($Cak,2); #medium saturated oil viscosity (cp) $Uobk = 0.0132+0.9821*$Cbk+0.0005215*pow($Cbk,2); #heavy saturated oil viscosity (cp) $Uock = -0.63110+1.0780*$Cck+0.0003653*pow($Cck,2); #extra heavy saturated oil viscosity (cp) $Uoxk = 2.39450+0.8927*$Cxk+0.0001567*pow($Cxk,2); #select extra heavy, heavy, medium, or light based on API $Uosk = ($Ga<=10.0 ? $Uoxk : ($Ga<=22.3 ? $Uock : ($Ga<=33.1 ? $Uobk : $Uoak))); #unsaturated oil viscosity (cp) $Uoek = 1.00081*$Uoak+0.001127*(0.0380*pow($Uoak,1.5900)-0.006517*pow($Uoak,1.8148))*($Pi-$Pb); #heavy unsaturated viscosity (cp0 $Uofk = 0.98860*$Uock+0.002763*(0.0316*pow($Uock,1.5939)-0.011530*pow($Uock,1.7933))*($Pi-$Pb); #** Labedi Parameters ** #dead oil viscosity (cp) $Uodl = pow(10,9.224)/(pow($Ga,4.7013)*pow($Ti,0.6739)); #saturated oil viscosity (cp) $Uosl = (pow($Uodl,0.6447)/pow($Pb,0.426))*pow(10,(2.344-0.03542*$Ga)); #unsaturated oil viscosity (cp) $Uoal = $Uosl+pow($Uosl,0.9036)*pow($Pb,0.6151)*pow(10,(-2.488+0.0197*$Ga))*($Pi/$Pb-1); #medium unsaturated viscosity (cp) $Uobl = $Uosl+pow($Uosl,1.4131)*pow($Pb,0.6957)*pow(10,(-3.8055-0.0288*$Ga))*($Pi/$Pb-1); #heavy unsaturated viscosity (cp) $Uocl = $Uosl+pow($Uosl,1.0550)*pow($Pb,0.3132)*pow(10,(-2.1900+0.0099*$Ga))*($Pi/$Pb-1); #** Petrosky-Farshad Parameters ** #viscosity coefficient a $Cap = 0.1651+0.6165*pow(10,-0.60866*pow(10,-4)*$Rs); #viscosity coefficient b $Cbp = 0.5131+0.5109*pow(10,-1.1831*pow(10,-3)*$Rs); #viscosity coeffieicnt c $Uodp = 2.3511*pow(10,7)*pow($Ti,-2.10255)*pow(log($Ga,10),(4.59388*log($Ti,10)-22.82792)); #dead oil viscosity (cp) $Uosp = $Cap*pow($Uodp,$Cbp); #saturated oil viscosity (cp) $Ccp = -1.0146+1.3322*log($Uosp,10)-0.4876*pow(log($Uosp,10),2)-1.15036*pow(log($Uosp,10),3); #unsaturated oil viscosity (cp) $Uoup = $Uosp+0.0013449*($Pi-$Pb)*pow(10,$Ccp); #** Bennison Parameters ** #dead oil viscosity (cp) $Uodm = pow(10,(0.10231*pow($Ga,2)-3.9464*$Ga+46.5037)) *pow($Ti,(-0.04542*pow($Ga,2)+1.70405*$Ga-19.18)); #dead oil viscosity (cp) $Uodn = pow(10,(-0.8021*$Ga+23.8765))*pow($Ti,(0.31458*$Ga-9.21592)); #tally each time the calculate button is pressed # include("../phphitman/config.poccalc.php"); #silent suppresses printout # $silent=1; # include("$hitmandir/hitcount.php"); } else { #initialize inputs to example values $Name = "Example"; $Ga = 30.0; $Rs = 100.0; $Pb = 500; $Pi = 250; $Ti = 120; #initialize readouts to example values $Go = 0.8762; $Gg = 0.8585; $Dg = 0.0656; $Do = 54.697; $Dw = 62.428; $Rss = 42.6; $Pbs = 508; $Bos = 1.0681; $Dos = 52.302; $Rst = 46.1; $Pbt = 484; $Bot = 1.0462; $Dot = 53.400; $Rsl = 2.7; $Pbl = 630; $Rsv = 49.3; $Pbv = 477; $Bov = 1.0797; $Dov = 51.742; $Rsx = 122.7; $Pbx = 202; $Box = 1.0700; $Dox = 52.2; $Rsy = 57.1; $Pby = 449; $Boy = 1.0674; $Doy = 52.3; $Uoda = 7.3; $Uosa = 4.8; $Uoua = 4.7; $Uodb = 9.4; $Uosb = 4.6; $Uoub = 4.6; $Uodc = 7.3; $Uosc = 4.8; $Uode = 13.8; $Uodg = 6.2; $Uodk = 6.3; $Uosk = 4.0; #**** $Uoek or Uofk = $Uodl = 7.6; $Uosl = 5.0; #**** $Uoal or $Uobl or $Uocl = $Uodp = 5.6; $Uosp = 3.7; $Uoup = 3.6; $Uodm = 40.7; $Uodn = 1.9; #**** $which??? } function readout($item,$dec) { if ($item < 0.000001 ) { return "###"; } else if ($item > 999999.9999 ) { return "###"; } else { return number_format($item,$dec,'.',''); } } ?> Oil and Gas Correlations Calculator

Since 1967

Unico, Inc.
3725 Nicholson Rd.
P. O. Box 0505
Franksville, WI
53126-0505
262.886.5678
262.504.7396 fax
oilgas@unicous.com
unicous.com



Oil and Gas Correlations Calculator
for Predicting Fluid Properties