Description
For nonnegative compartment amounts return expectedClosing=opening+input-eliminated-transferredOut+transferredIn, residual=measuredClosing-expectedClosing, and totalOut=eliminated+transferredOut.
Pharmacokinetic research describes concentration over time using measurement units and an explicit model. Concentration-time area, its time-weighted moment, inverse-time rate constants, clearance, and volume are related but distinct quantities. A conversion or local model term does not estimate every parameter or validate a complete study.
For nonnegative compartment amounts return expectedClosing=opening+input-eliminated-transferredOut+transferredIn, residual=measuredClosing-expectedClosing, and totalOut=eliminated+transferredOut.
When to use this tool
Use PK Research Compartment Mass Balance Residual when you need this concentration-time conversion, sampling check, local integral panel, or explicitly supplied kinetic-model term.
How to use the tool and how it works
- Enter opening, input, eliminated, transferredOut, transferredIn, measuredClosing. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read expectedClosing, residual, totalOut. Use the output convention below.
For nonnegative compartment amounts return expectedClosing=opening+input-eliminated-transferredOut+transferredIn, residual=measuredClosing-expectedClosing, and totalOut=eliminated+transferredOut.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| opening | Opening | Required. Finite number; minimum 0. |
| input | Input | Required. Finite number; minimum 0. |
| eliminated | Eliminated | Required. Finite number; minimum 0. |
| transferredOut | Transferred Out | Required. Finite number; minimum 0. |
| transferredIn | Transferred In | Required. Finite number; minimum 0. |
| measuredClosing | Measured Closing | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| expectedClosing | Expected Closing | Required. Finite number. |
| residual | Signed observed-minus-implied discrepancy under the stated formula. | Required. Finite number. |
| totalOut | Total Out | Required. Finite number. |
{
"input": {
"opening": 100,
"input": 20,
"eliminated": 30,
"transferredOut": 10,
"transferredIn": 5,
"measuredClosing": 84
},
"output": {
"expectedClosing": 85,
"residual": -1,
"totalOut": 40
}
} Limitations and assumptions
- Amounts need one unit and interval boundary. ExpectedClosing may be negative because total outflow is not capped; the residual does not locate a missing transfer or validate a biological compartment model.
- 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. Signed zero is exported as zero.
Alternative or Complementary methods
Use a complete study analysis when a local panel, transformation, or model factor is insufficient. Check sampling times, censoring, assay support, unit conventions, and the validity of the assumed kinetic regime.
References
Similar or alternative tools
- PK Clearance Research AUC Unit Factor
Research amount/AUC arithmetic with supplied unit bases and bioavailability.
- PK Infusion Research Approach Factor
Supplied first-order research approach to a plateau, without infusion-setting advice.