GC method changes against the USP ⟨621⟩ adjustment windows
chrom_gc_method_adjust
Checks whether each change to a GC procedure lies inside the USP 621 (2022) adjustment window.
- Runs
- On the server
- Level
- Checked against a reference: the full check of 14 November 2026 (a second implementation, edge cases); none was used for outside comparison: the chapter prints no example
What it is
Returns whether each change to a GC procedure lies inside its USP ⟨621⟩ (2022) adjustment window. Use when the procedure's and the adjusted column, flow, oven-program or headspace values are known. Inside a window is not permission; the chapter's conditions are returned unchecked. Not for LC: use `chrom_lc_method_adjust`.
Field: Analytical chemistry.
What it does
You give
columnType(required): particleSize is for packed, filmThickness for capillary columns; the other is refused. PLOT and micropacked columns are not covered.particleSize: Packed columns; in µm, not mesh. Optional.filmThickness: Capillary columns. Optional.length: Column length. Optional.internalDiameter: Column internal diameter. Optional.flowRate: Carrier-gas flow, not a linear velocity or a pressure. Optional.
and 4 more, listed below
No request is recorded for this tool.
Limits
- Research and quality-control arithmetic on the values you supply, using the formulae of USP ⟨621⟩ (harmonised text, official 1 December 2022) and ICH Q2(R2) (adopted 1 November 2023) as each method writes them out.
- Each reply states whether a number lies inside or outside the range the chapter states; it does not decide whether a method, column or system meets a requirement, and it is not a release or regulatory decision.
- Windows from USP ⟨621⟩ (Stage 4 harmonised text, official 1 December 2022), Gas Chromatography.
- Each is a relative change from the pharmacopeial procedure's own value; headspace injection-port and transfer-line temperatures use an absolute ±10 °C.
- Column and program temperatures use ±10 % of the Celsius value: the chapter does not state the scale, this is Drybench's reading and the stricter one, an original at or below 0 °C is refused, and near 0 °C the window is very narrow.
- Inside the window is not permission.
- The chapter's conditions are not checked: system suitability; selectivity and elution order of the specified impurities shown to be equivalent; for headspace, no decomposition or condensation.
- Each parameter is judged alone.
- The cumulative effect of several adjustments is not assessed, and temperature-program changes are more critical than isothermal ones.
- A monograph's own limits override these windows.
- Particle size is in micrometres (not mesh) and flow in mL/min (not linear velocity or pressure).
- Injection volume and split ratio have no numeric window and are not accepted.
- Research and education software, not a regulatory determination.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- the procedure's column temperature is at or below zero on the Celsius scale: the relative change of a Celsius value is undefined there.
- the procedure's hold is 0 and the adjusted one is not: no relative window applies and the chapter gives no absolute one.
- a film thickness is given for a packed column (it takes precedence over any other refusal).
- a particle size is given for a capillary column.
Every input, with its units10 inputs
columnType(required): particleSize is for packed, filmThickness for capillary columns; the other is refused. PLOT and micropacked columns are not covered.particleSize: Packed columns; in µm, not mesh. Optional.filmThickness: Capillary columns. Optional.length: Column length. Optional.internalDiameter: Column internal diameter. Optional.flowRate: Carrier-gas flow, not a linear velocity or a pressure. Optional.columnTemperature: Each oven or program temperature: ±10 % of the Celsius value; a procedure value at or below 0 °C is refused. Optional.rampRate: Each ramp rate: ±20 %. Optional.holdTime: Each hold time: ±20 %; 0 to 0 is inside, 0 to a non-zero hold is refused. Optional.headspaceTemperature: Static headspace only: injection-port and transfer-line temperatures, ±10 °C absolute. Optional.
Every refusal, with its code5 refusals
| Code | When |
|---|---|
COLUMN_TEMPERATURE_NOT_ABOVE_0C | the procedure's column temperature is at or below zero on the Celsius scale: the relative change of a Celsius value is undefined there. |
HOLD_ADDED_FROM_ZERO | the procedure's hold is 0 and the adjusted one is not: no relative window applies and the chapter gives no absolute one. |
FILM_THICKNESS_CAPILLARY_ONLY | a film thickness is given for a packed column (it takes precedence over any other refusal). |
PARTICLE_SIZE_PACKED_ONLY | a particle size is given for a capillary column. |
MISSING_ARGUMENT | no parameter is given. |
The calculation
The method's equations, constants and worked example.
Equation 1
inside when lo·o ≤ 100·(a − o) ≤ hi·o, both ends included (ramp and hold 'up to' ±20 %)
change = 100·(a − o)/o. Column temperature: ±10 % of the original in °C (Drybench's reading: the source does not say °C or K
for originals above 0 °C this is the narrower reading)
an original at or below 0 °C is refused, COLUMN_TEMPERATURE_NOT_ABOVE_0C. Hold: 0 → 0 is unchanged: change 0 %, inside
0 → x is refused, HOLD_ADDED_FROM_ZERO
| Symbol | Meaning |
|---|---|
o | the pharmacopeial procedure's value, in the parameter's unit (a length, here), m |
a | the adjusted value, in the same unit, m |
change | 100·(a − o)/o, % |
lo, hi | the window: particle size −50 to 0; film −50 to +100; length −70 to +100; internal diameter ±50; flow ±50; column temperature ±10 (on °C); ramp rate and hold time ±20, % |
Source 1.
Equation 2
inside when −10 °C ≤ a − o ≤ +10 °C
| Symbol | Meaning |
|---|---|
a − o | change of the injection-port or transfer-line temperature under static headspace, degC |
Source 1.
Conventions
- columnType = packed: A packed column: particle size (micrometres) is judged, −50 % to 0; film thickness is refused.
- columnType = capillary: A wall-coated capillary column: film thickness is judged, −50 % to +100 %; particle size is refused.
A definition, not a model: the equation states what the quantity means. A different convention gives a different number.
Worked example
Worked example: one case of gc-method-adjust@1.0.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- columnType = capillary
- length.original = 30 m
- length.adjusted = 15 m
- internalDiameter.original = 0.25 mm
- internalDiameter.adjusted = 0.32 mm
- filmThickness.original = 0.25 um
- filmThickness.adjusted = 0.5 um
- flowRate.original = 1.2 mL/min
- flowRate.adjusted = 1.5 mL/min
Steps
- length = -50 %, from length.original, length.adjusted; by equation 1; gives length.change.
- diameter = 28 %, from internalDiameter.original, internalDiameter.adjusted; by equation 1; gives internalDiameter.change.
- flow = 25 %, from flowRate.original, flowRate.adjusted; by equation 1; gives flowRate.change.
The working, as the case writes it:
Length 15/30 - 1 = -50 % (window -70 to +100: inside)
ID 0.32/0.25 - 1 = +28 % (+-50: inside)
film 0.5/0.25 - 1 = +100 % (-50 to +100: inside, at the edge)
flow 1.5/1.2 - 1 = +25 % (+-50: inside)
all inside.
Answer
length.change = -50 %
internalDiameter.change = 28 %
flowRate.change = 25 %
Where these values came from: our own exact-arithmetic script and a hand-worked case; USP <621> Chromatography, Stage 4 harmonised text, official 1 December 2022, Adjustment of chromatographic conditions, Gas Chromatography; each change decided exactly on the decimal inputs (Drybench's ruling of 10 November 2026; the Celsius column-temperature window and the role-limited headspace window are her readings).
At build the tool returned this answer within the tolerance the file states: absolute 1e-12 on every change and difference; relative 1e-12 elsewhere (absolute 1e-18 below 1e-6); statuses, codes, verdicts, roles, conditions and units exact.
Sources
United States Pharmacopeia, General Chapter ⟨621⟩ Chromatography, Stage 4 harmonised text (Pharmacopoeial Discussion Group), official 1 December 2022
Used for: GC method changes against the USP ⟨621⟩ adjustment windows. At: section Adjustment of chromatographic conditions: Gas Chromatography; section Adjustment of chromatographic conditions: Gas Chromatography, static headspace.
Read in full, 10 November 2026
How it is checked
- Level
Checked against a reference.
- Checked against
Our own exact-arithmetic script and a hand-worked case.
- Cases
No case set is linked to this version.
- Not checked
System suitability; selectivity and elution order of the specified impurities; decomposition or condensation in headspace; the cumulative effect of several adjustments and the greater criticality of temperature-program changes (the chapter's shared opening text on adjustments, not its GC part); that 'for some parameters the adjustments are explicitly defined in the monograph' (not checked; the reply states this as 'A monograph's own adjustment limits override these windows.', to be reworded to the source's words at the next major version); PLOT and micropacked columns; injection volume and split ratio (no numeric window); a kelvin reading of the temperature window.
Changes to its methods0 changes
No change is logged for these method versions.