---
description: In this document we describe the load case "Gas over mud ratio"
---

# Gas Over Mud Ratio

Gas over mud is a **burst** load case, where the unknown is the internal pressure profile of the casing / tubing

{% hint style="info" %}
Note: In this documentation we denote any tubular as _**casing**_ or _**tubing**_. All calculations however encompass any tubular, such as tubings, casings, liners, tie-backs etc.
{% endhint %}

## Summary

The scenario is a gas kick somewhere below the shoe of the tubing, i.e. in the open hole of the next section, which moves upwards to the hanger and displace the mud. This load case can be viewed as the equilibrium of the load case **Displacement to gas**, although some of the inputs are different. This load case comes with two additional choices.

It is possible to enable _Limit to frac at shoe_, which effectively limits the maximum pressure at the shoe to the fracture pressure there, and also to enable MASP / MAWP (Maximum Anticipated Surface/Wellhead Pressure), which then gives the internal pressure as the interpolated pressure between MASP / MAWP and fracture pressure at shoe. If both are enabled, then MASP / MAWP takes precedence.

### Printable version

{% file src="https://1901482827-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LgbgDihqdYuxtPooIin%2F-Lp7P8o3ZNyBEZ9aTOMK%2F-Lp7PMyA4NY8c-7MnplH%2FOliasoft%20Technical%20Documentation%20-%20Load%20cases%20-%20Gas%20over%20mud%20ratio.pdf?alt=media&token=41df54e8-e384-404b-8bbe-b9dd69c37a8f" %}

## Inputs

The following inputs define the gas over mud load case

1. The true vertical depth (TVD) along the wellbore as a function of measured depth. Alternatively, the wellbore described by a set of survey stations, with complete information about measured depth, inclination, and azimuth.&#x20;
2. The true vertical depth / TVD of
   1. The hanger of the tubing, $$\text{TVD}_{\text{hanger}}$$ .
   2. The shoe of the tubing, $$\text{TVD}_{\text{shoe}}$$ .
   3. The influx depth of the gas, $$\text{TVD}_{\text{influx}}$$ .
3. The pore- and fracture- pressure profile from hanger to influx depth.
4. The gas over mud ratio, $$\text{q}_{\text{gm}}$$ .
5. The mud weight/density, $$\rho_{\text{mud}}$$ .
6. The gas density, $$\rho_{\text{gas}}$$ .
7. Whether or not to limit the pressure at shoe by the fracture pressure there. If this is enabled, it is also possible to give a fracture margin of error, which is added to the fracture pressure.&#x20;
8. Whether or not to enable MASP/MAWP.

{% tabs %}
{% tab title="Scenario Illustration" %}
![](https://1901482827-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LgbgDihqdYuxtPooIin%2F-M6iZt0bBcUZxVtkcM0o%2F-M6ieMZHf5lyeHBmu68Q%2F10049-Burst-Gas-Over-Mud-Ratio.270p.256col.gif?alt=media\&token=c85f1361-9bab-44e2-aa8b-18c0d2a2059e)
{% endtab %}
{% endtabs %}

## Calculation

The internal pressure profile of the tubing is calculated as the hydrostatic pressure from hanger to shoe. The algorithm goes as follows

1\. Calculate the true vertical depth of the gas-mud interface, $$\text{TVD}_{\text{interface}}$$ . This interface is then either above the tubing shoe, or below it.

2\. Calculate the pore pressure at influx depth, $$p_{\text{p,influx}}$$ _,_ and the fracture pressure at the sho&#x65;_,_ $$p_{\text{f, shoe}}$$ .

3\. Calculate the hydrostatic pressure at the shoe, from $$p_{\text{influx}}$$ and up

$$
\begin{equation}
p_\text{h,shoe} = 
\begin{cases}
p_{\text{p,influx}} - \rho_\text{mud}\, g (\text{TVD}_\text{influx} - \text{TVD}_\text{shoe}), \quad \text{if}\quad \text{TVD}_\text{shoe} \geq \text{TVD}_{\text{interface}} \\
p_{\text{p,influx}} - \rho_\text{mud}\, g (\text{TVD}_\text{influx} - \text{TVD}_\text{interface}) - \rho_\text{gas}\, g (\text{TVD}_\text{interface} - \text{TVD}_\text{shoe}), \quad \text{otherwise},
\end{cases}
\;\;\;\;\;\;\;\;\;\;\;\;\ (1)
\end{equation}
$$

where $$g$$ is the gravitational constant

4\. Calculate the pressure at the shoe as

$$
p_{\text{shoe}} = 
\begin{cases}
\text{minimum}(p_{\text{f, shoe}}, p_{\text{h, shoe}}), \qquad \text{if} &\text{'Limit to frac at shoe' is true}, \\
p_{\text{h, shoe}}, \qquad &\text{otherwise}.
\end{cases} \;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\ (2)
$$

5\. Calculate the internal pressure of the tubing as the hydrostatic pressure from hanger to shoe.

6\. If MASP/MAWP is enabled, this take precedence, and then the internal pressure profile of the tubing is given by the interpolated pressure of the MASP/MAWP, i.e.

$$
\begin{equation}
p_{\text{MASP/MAWP}} = p_\text{p, influx} - \rho_\text{gas}\, g (\text{TVD}_\text{influx} - \text{TVD}_{\text{hanger}}), \;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\ (3)
\end{equation}
$$

and the fracture pressure at the shoe, $$p_{\text{f, shoe}}$$ .
