Original synthetic study
The API coefficient switch in a synthetic solution gas study
A piecewise PVT correlation can change coefficients at an API threshold. A visible change near the branch is a property of that implemented formula, not evidence of a physical discontinuity in crude oil.
By PetroCalcHub Team · Updated October 24, 2026 · Free to read and use
Sweep the branch with fixed controls
The synthetic study fixes pressure, temperature and gas gravity while evaluating oil API values on both sides of the Vasquez–Beggs coefficient boundary.
The exact branch condition comes from the site's published implementation. The dataset records the boundary value and nearby points so equality handling is reproducible.
Distinguish formula behavior from fluid physics
A fitted piecewise equation can have a small jump or slope change where its coefficients switch. A real fluid does not change composition discontinuously because its reported API crosses that numerical threshold.
Do not smooth the output silently. If a smoothed model is desired, it is a different implementation and needs its own documentation and checks.
Use the result to audit comparisons
A Standing-versus-Vasquez–Beggs comparison near the threshold should retain the selected branch and input precision. Rounding API before evaluation can select a different coefficient set.
This study describes deterministic correlation behavior. It does not assess accuracy without independent laboratory data.
Explore the example
Original recorded synthetic cases solved with the site's pvt-comparison engine. The full inputs, outputs and diagnostic rows are in the downloadable JSON. These are discrete solved states; the lesson does not interpolate a new solve.
Select one of 5 recorded scenarios. Intermediate states are not interpolated.
Stock-tank oil gravity (API) = 30. Standing at upper pressure (scf/STB): 547.771053; Vasquez-Beggs at upper pressure (scf/STB): 503.272569.
- Standing at upper pressure (scf/STB)
- Vasquez-Beggs at upper pressure (scf/STB)
Worked example
Standing vs Vasquez-Beggs PVT Comparison
Fixed controls: Lower absolute pressure = 500 psia; Upper absolute pressure = 2500 psia; Measured bubble-point pressure = 3000 psia; Reservoir temperature = 180 °F; Gas gravity on the selected correlation basis = 0.8 dimensionless.
Relation and unit basis
Use absolute pressure and a measured bubble point. The saturated Rs comparison stops at or below that bubble point; it is not an undersaturated-oil extrapolation.
Stock-tank oil gravity is varied within the supported input range. Correlation agreement is not validation. Select or calibrate against measured PVT data; this tool does not rank accuracy or replace a laboratory study.
1. Define the baseline
Stock-tank oil gravity (API) = 30
Fixed controls: Lower absolute pressure = 500 psia; Upper absolute pressure = 2500 psia; Measured bubble-point pressure = 3000 psia; Reservoir temperature = 180 °F; Gas gravity on the selected correlation basis = 0.8 dimensionless.
2. Select the relation
Use absolute pressure and a measured bubble point. The saturated Rs comparison stops at or below that bubble point; it is not an undersaturated-oil extrapolation.
Stock-tank oil gravity is varied within the supported input range. Correlation agreement is not validation. Select or calibrate against measured PVT data; this tool does not rank accuracy or replace a laboratory study.
3. Substitute the values
API = 30 API; with the fixed controls above, the workflow evaluates Standing at upper pressure = 547.771053 scf/STB; Vasquez-Beggs at upper pressure = 503.272569 scf/STB
Retain intermediate precision. The displayed values are rounded only after evaluation.
4. Read the result
Standing at upper pressure (scf/STB) = 547.771053; Vasquez-Beggs at upper pressure (scf/STB) = 503.272569
The input envelope is a conservative overlap of the cited development ranges, not a guarantee of fluid applicability. Standing was developed for California oils. Gas gravity must be supplied on the appropriate separator/correlation basis. No separator correction is calculated; composition effects and volatile oils are outside this comparison.
Result and interpretation
Standing at upper pressure (scf/STB) = 547.771053; Vasquez-Beggs at upper pressure (scf/STB) = 503.272569
The input envelope is a conservative overlap of the cited development ranges, not a guarantee of fluid applicability. Standing was developed for California oils. Gas gravity must be supplied on the appropriate separator/correlation basis. No separator correction is calculated; composition effects and volatile oils are outside this comparison.
API varies narrowly around the coefficient boundary. Other PVT inputs stay fixed and the branch is preserved in the download.
Study data and reproduction
Original recorded synthetic cases solved with the site's pvt-comparison engine. The full inputs, outputs and diagnostic rows are in the downloadable JSON. These are discrete solved states; the lesson does not interpolate a new solve.
| Stock-tank oil gravity (API) | Standing at upper pressure (scf/STB) | Vasquez-Beggs at upper pressure (scf/STB) |
|---|---|---|
| 29.9 | 545.8748 | 501.2538 |
| 29.99 | 547.5811 | 503.0703 |
| 30 | 547.7711 | 503.2726 |
| 30.01 | 547.961 | 472.2846 |
| 30.1 | 549.6739 | 473.8767 |
Scroll the table to see all columns. The highlighted row is the worked baseline. Downloads retain full numerical precision.
Test your understanding
Work through the question before revealing its answer. Use the stated assumptions and include units in every numerical step.
1. Should a piecewise formula's jump be interpreted as a physical phase transition?
Show the worked answer
No. It can be an empirical branch artifact. Phase behavior requires a separate thermodynamic assessment.
2. Reproduce the baseline Standing at upper pressure (scf/STB) without rounding intermediate values.
Show the worked answer
API = 30 API; with the fixed controls above, the workflow evaluates Standing at upper pressure = 547.771053 scf/STB; Vasquez-Beggs at upper pressure = 503.272569 scf/STB. Standing at upper pressure (scf/STB) = 547.771053. The input envelope is a conservative overlap of the cited development ranges, not a guarantee of fluid applicability. Standing was developed for California oils. Gas gravity must be supplied on the appropriate separator/correlation basis. No separator correction is calculated; composition effects and volatile oils are outside this comparison.
3. Compare the first and last recorded scenarios. Which input changes?
Show the worked answer
Stock-tank oil gravity (API) changes from 29.9 to 30.1. Other controls remain as stated in the premise. Standing at upper pressure (scf/STB) changes from 545.87481 to 549.673882.
4. What would be needed to apply this example to a different physical system?
Show the worked answer
Replace the synthetic controls with compatible documented inputs and check the relation's assumptions. Stock-tank oil gravity is varied within the supported input range. Correlation agreement is not validation. Select or calibrate against measured PVT data; this tool does not rank accuracy or replace a laboratory study. The input envelope is a conservative overlap of the cited development ranges, not a guarantee of fluid applicability. Standing was developed for California oils. Gas gravity must be supplied on the appropriate separator/correlation basis. No separator correction is calculated; composition effects and volatile oils are outside this comparison.
Before using the result
- Retain unrounded API at branch selection.
- Document the exact equality condition.
- Do not interpret a coefficient artifact as measured physics.
The input envelope is a conservative overlap of the cited development ranges, not a guarantee of fluid applicability. Standing was developed for California oils. Gas gravity must be supplied on the appropriate separator/correlation basis. No separator correction is calculated; composition effects and volatile oils are outside this comparison.
Continue learning
Start with the broader workflow guide · Related method guide
Sources and method
The explanation and synthetic examples are original PetroCalcHub teaching material. The references below support the definitions and model context. They do not supply field validation for the synthetic scenarios.