A software programmed in python to calculate the amount of inhibitor required for depression in freezing point of the Natural Gas to the required extent so that the Hydrate formation doesn't occur inside the pipeline. The absence of any online or offline tool to predict the hydrate formation temperature and water content in natural gas or hydrate became the cornerstone behind the development of this project.
Reference: Mohammad ali Ghayyem, Mojtaba Izadmehr*, Rauf Tavakoli,2014,Developing a simple and accurate correlation for initial estimation of hydrate formation temperature of sweet natural gases using an eclectic approach,Journal of Natural Gas Science and Engineering, 21, 1-4
Reference: Alexandre TERRIGEOL , Christophe COQUELET, Antonin CHAPOY,2015,Water content assessment in acid gas,GPA Europe, Annual Conference, 7-8
- formationtemperature(gasgravity, pressure, unit)
- Returns the hydrate formation temperature for given pressure and calculated gasgravity from composition of the gas.
- Temperature returned is in °F.
- New Correlation (mentioned above) has been used to predict the hydrate formation temperature.
- buckekinsweetgas(t,p)
- Returns the water content in sweet natural gas (natural gas without H2S and CO2).
- Returns water content in lb/MMSCF.
- Buckekin's Correlation has been used.
- interpolation(df,t)
- To interpolate between values in maddox's tables.
- maddox(t,p,co2,h2s,hc,sweetwc)
- Returns the water content in sour natural gas (natural gas containing H2S and CO2).
- Returns water content in lb/MMSCF.
- Maddox's Correlation has been used.
- wtfracofinhibitor(tout,t,molin)
- Returns the weight fraction of the inhibitor required inside the pipeline.
- Hammerschimdt Correlation has been used.
- Composition of the gas
- System Pressure
- Inlet Temperature of Pipeline
- Outlet Temperature of Pipeline
- Gas flow rate in MMSCFD
- Inhibitor