Description
Return a trace-gas mole fraction and reference amount gap.
Atmospheric analytical quantities require explicit sample/background, mole, charge, reference-pressure and reporting bases. A ratio or balance can be consistent numerically without establishing actual composition, sample representativeness, source identity or a health/regulatory interpretation.
Return a trace-gas mole fraction and reference amount gap.
When to use this tool
Use Trace Gas Reference Mole Gap when checking the stated atmospheric chemical measurement, composition or amount convention.
How to use the tool and how it works
- Enter sampleMoles, dryAirMoles, suppliedReferenceFraction. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read moleFraction, referenceEquivalentMoles, moleGap. Use the output convention below.
Return a trace-gas mole fraction and reference amount gap. Require dryAirMoles > 0, sampleMoles in [0,dryAirMoles] and referenceFraction in [0,1]; fraction = sample/dryAir, equivalent = dryAir*reference, gap = sample-equivalent.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sampleMoles | Sample Moles | Required. Finite number; minimum 0. |
| dryAirMoles | Caller-supplied positive dry-air denominator, whose composition convention must match the stated fraction. | Required. Finite number; strictly above 0. |
| suppliedReferenceFraction | Supplied Reference Fraction | Required. Finite number; minimum 0; maximum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| moleFraction | Mole Fraction | Required. Finite number. |
| referenceEquivalentMoles | Reference Equivalent Moles | Required. Finite number. |
| moleGap | Mole Gap | Required. Finite number. |
{
"input": {
"sampleMoles": 2,
"dryAirMoles": 100,
"suppliedReferenceFraction": 0.01
},
"output": {
"moleFraction": 0.02,
"referenceEquivalentMoles": 1,
"moleGap": 1
}
} Limitations and assumptions
- The supplied dry-air denominator defines the basis; water exclusion, gas identity and actual concentration are not verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use calibrated analytical data, compatible units and complete sampling/speciation information; consult appropriate environmental professionals for exposure or regulatory decisions.
References
Similar or alternative tools
- Gas Standard Dilution Flow Ratio
Return flow-weighted gas dilution concentration.
- Dry Air Mole Fraction Factor
Convert wet-air species mole fraction to dry-air basis.