SCSSSV API test – Audit

NOTICE: Our Mathcad database got attacked and infected with a virus. Unfortunately, we've had to shut it down until further notice.

You can safely browse the pages, as the Mathcad server was separate to this main website, and was only accessible here. (We used something called an iFrame, which is like a window into a different website).

UPDATE 28th of January 2020: the virus happened just over a week ago. We've temporarily cut and pasted the text parts of the Mathcad pages rather than having blank pages there.

UPDATE 3rd of February 2020: We've been unable to recover the Mathcad worksheets and offer them in a format that provided total security to users. They were published a decade ago, and our IT people say that they would need a complete re-creation with the latest code and security fixes.

APPEAL: These 44 pages were created, and offered as a free resource for over a decade. We know from our website analytics that more than 1000 users visited each month. If only half of these regular visitors donated $20, we would have enough to create an even better solution. As you know, time is money, have these Mathcad pages saved you $20 in time over the years? We expect that they have, not to mention the learning opportunities provided to new engineers entering the industry.

Please, donate at least $20 as a one-off payment, to bring back the drillers Mathcad back as an always free to use resource!

YES! I've gotten value from the drillers Mathcad in the past, and a $20 is a very affordable way of saying thanks. I also want to preserve this tool for future engineers.

NO! I can't or won't donate to the restoration fund. I'm happy to spend a few minutes to offer a testimonial to help encourage the effort. These worksheets do have value. Offer Feedback.

SCSSSV gas test. Draft 1, issued 15 May 2010. AUDIT version.

This Worksheet calculates the average flow rate of gas through a valve into a closed space during a pressure test, in SCF/min or m3/min. The procedure is defined in API RP14B and to summarise is;

1. Apply the required test pressure below the valve.

2. Bleed off above the valve and record the starting pressure.

3. Record the pressure buildup after 60 minutes (or optionally use a different time interval).

4. Look up the gas deviation factor at 1 bara (14.7 psia) and at the final pressure.

5. Record the temperature at the valve.

6. Note the volume above the valve (into which the gas flowing across the valve entered).



Initial test gauge pressure, P_test1





(The worksheet will convert this to absolute pressure)

Final test gauge pressure, P_test2



Test duration, minutes, t_test





Volume above the SCSSSV, v_test





Temperature at the SCSSSV, T_test



Gas deviation factor at 1 bar, CZs

If the gas deviation factors are not known, use 1 for each. This then assumes a perfect or ideal gas.



Final gas deviation factor, CZ_test


Click here when any values are modified to update the result.


All entered values are converted to SI units within Mathcad and the calculations are done using SI units. The results are displayed in both SI and oilfield units.

Absolute pressure increase, 

Standard pressure, 

Volume above the SCSSSV, 

Standard volume, 

Absolute temperature of the SCSSSV, 

Standard temperature, 

Use the standard combined gas law formula with gas deviation factor to calculate the volume of gas in the cavity at standard conditions. Compare this to the volume of gas present at the end of the test then divide by the test time to get the average volume flow per minute.

This equation calculates the quantity of gas in the test cavity if it is at standard temperature and pressure and accounting for the gas deviation factor at 1 bar (if used).

This equation calculates the quantity of gas in the test cavity at the end of the test and accounting for the gas deviation factor at the final pressure (if used).

This equation calculates the increase in the quantity of gas in the test cavity and divides this by the time taken for the test.


Average flow across valve during the test, equivalent Standard Volumes per minute.

NOTE – the API maximum flow rate to pass the test is 0.425 m3/min (25.485 m3/hour) or 15 ft3/min (900 ft3/hour).


1. API Recommended Practice 14B “Design, Installation, Repair and Operation of Subsurface Safety Valve Systems” (incorporates ISO 10417:1993)

2. All of the mathematical variable names are given in accordance with the Standard Variable Naming Convention. 

Malcare WordPress Security