Tutorials › Physiologically-Based Pharmacokinetics (PBPK) › Worked Model Comparison for Contrasting Compounds

Compartmental Absorption and Transit Models · Tutorial 238 of 799

Worked Model Comparison for Contrasting Compounds

Learn to build and check a segmental absorption simulation, then compare how permeability and transit together shape regional and total uptake for contrasting compounds.

Intermediate 10 min read

What You'll Learn

  • Write segment-specific equations for luminal transit, absorption, and gut exit.
  • Calculate the fraction absorbed in each segment from competing first-order rates.
  • Compare regional uptake and total absorption for rapid and poor permeability.
  • Use a time-step simulation while checking step size and mass balance.
  • Identify when a segmental comparison depends on assumptions rather than uniquely established mechanisms.

Why Compare Contrasting Compounds?

A segmental model makes an important distinction visible: a compound can leave the gut because it is absorbed, or because transit carries it beyond the modeled absorption region. A rapidly permeable compound may be taken up early, while a poorly permeable one can travel through the same regions with much of its dose still in the lumen. Comparing the two under shared transit assumptions helps show how regional uptake rates shape both the amount absorbed and where absorption occurs.

The comparison is a model-based prediction, not proof that permeability alone caused a difference in any observed exposure. Its interpretation depends on the model structure, parameter values, and assumptions. Here, both hypothetical compounds have the same dose and transit rates; their segment-specific absorption rates differ.

Definition: In a segmental transit-and-uptake model, \(A_i(t)\) is the luminal amount of compound in segment \(i\) at time \(t\), \(k_{\mathrm{tr},i}\) is its first-order transit rate out of that segment, and \(k_{\mathrm{a},i}\) is its first-order absorption rate there. The cumulative amount absorbed by time \(t\) is \(B(t)\). Each rate has units of inverse time; amounts have units of mass.

Model Structure and Assumptions

Consider \(m\) sequential segments. A dose \(D\) enters the first segment at time zero, so \(A_1(0)=D\), \(A_i(0)=0\) for \(i>1\), and \(B(0)=0\). Within each segment, absorption and onward transit are competing first-order processes. Material leaving the final segment is recorded as gut exit, not absorption.

$$ \frac{dA_1}{dt}=-(k_{\mathrm{tr},1}+k_{\mathrm{a},1})A_1 $$
$$ \frac{dA_i}{dt}=k_{\mathrm{tr},i-1}A_{i-1}-(k_{\mathrm{tr},i}+k_{\mathrm{a},i})A_i,\quad i=2,\ldots,m $$
$$ \frac{dB}{dt}=\sum_{i=1}^{m} k_{\mathrm{a},i}A_i $$

The model assumes that the dose is immediately available in the first segment, rates are constant within each segment, absorption is irreversible from the modeled lumen, and there is no return flow. It also treats each segment as well mixed: the amount in a segment is summarized by one state, rather than a spatial concentration profile. The comparison below assumes no degradation or other luminal loss. These assumptions are useful for isolating transit and uptake, but they need evaluation before applying the predictions to a real compound or formulation.

From Segment Rates to Regional Fractions

For material entering segment \(i\), the total first-order removal rate is \(k_{\mathrm{tr},i}+k_{\mathrm{a},i}\). The probability that absorption is the route of removal is therefore \(k_{\mathrm{a},i}/(k_{\mathrm{tr},i}+k_{\mathrm{a},i})\). This follows by integrating the absorption outflow over the time material remains in the segment.

$$ \int_0^\infty k_{\mathrm{a},i}e^{-(k_{\mathrm{tr},i}+k_{\mathrm{a},i})t}\,dt =\frac{k_{\mathrm{a},i}}{k_{\mathrm{tr},i}+k_{\mathrm{a},i}} $$

The corresponding fraction transferred onward is \(k_{\mathrm{tr},i}/(k_{\mathrm{tr},i}+k_{\mathrm{a},i})\). To reach segment \(i\), material must first transit each preceding segment. Thus, for the initial dose entering segment 1, the eventual dose fraction absorbed in segment \(i\) is the product of the preceding transit fractions and the absorption fraction in segment \(i\). This result assumes the stated constant competing rates and no other losses.

$$ f_i= \left[\prod_{j=1}^{i-1} \frac{k_{\mathrm{tr},j}}{k_{\mathrm{tr},j}+k_{\mathrm{a},j}}\right] \frac{k_{\mathrm{a},i}}{k_{\mathrm{tr},i}+k_{\mathrm{a},i}} $$

The empty product for segment 1 equals 1. Total eventual absorption is \(\sum_i f_i\). The fraction exiting without absorption is the product of all segment transit fractions. These fractions describe eventual outcomes; they do not by themselves give the timing of absorption, which requires the time-dependent equations.

Worked Example: Building a Three-Segment Simulation

For a hypothetical rapidly permeable compound, let \(D=100\) mg and use three segments with \(k_{\mathrm{tr},i}=1\ \mathrm{h}^{-1}\) in every segment. Set the absorption rates to \(2,\ 1,\) and \(0.5\ \mathrm{h}^{-1}\). Write the equations and calculate the eventual regional amounts absorbed.

The first segment loses luminal amount at the combined rate \(1+2=3\ \mathrm{h}^{-1}\). The next two equations include input from the preceding segment:

$$ \frac{dA_1}{dt}=-3A_1,\quad \frac{dA_2}{dt}=A_1-2A_2,\quad \frac{dA_3}{dt}=A_2-1.5A_3,\quad \frac{dB}{dt}=2A_1+A_2+0.5A_3 $$

The fraction absorbed in segment 1 is \(2/(1+2)=2/3\), so the amount is \(100(2/3)=66.67\) mg. One-third, or 33.33 mg, transits onward. Of that amount, \(1/(1+1)=1/2\) is absorbed in segment 2, giving \(33.33(1/2)=16.67\) mg. The remaining \(16.67\) mg enters segment 3, where the absorption fraction is \(0.5/(1+0.5)=1/3\). Segment 3 absorbs \(16.67(1/3)=5.556\) mg.

Total absorption is \(66.67+16.67+5.556=88.89\) mg, or \(8/9\) of the dose. The remaining \(11.11\) mg exits unabsorbed. The regional pattern is strongly front-loaded, even though a measurable amount is absorbed in each segment.

Comparing Rapid and Poor Permeability

Now hold the dose and transit rates fixed and compare the rapid compound above with a hypothetical poorly permeable compound. For the latter, let the absorption rates be \(0.05,\ 0.025,\) and \(0.01\ \mathrm{h}^{-1}\). Comparing on the same transit structure isolates the effect of the specified absorption rates within this model. It does not establish that the two compounds would have identical transit in an actual application.

Worked Example: Calculating Regional Uptake for a Poorly Permeable Compound

Use the same \(100\) mg dose and \(k_{\mathrm{tr},i}=1\ \mathrm{h}^{-1}\) for each of the three segments. Calculate each regional absorption amount and the total eventual absorption.

In segment 1, the absorption fraction is \(0.05/(1+0.05)=1/21=0.04762\). Thus, \(100(1/21)=4.762\) mg is absorbed, and \(100(20/21)=95.24\) mg transits onward.

In segment 2, the conditional absorption fraction is \(0.025/(1+0.025)=1/41\). The amount absorbed there is \(95.24(1/41)=2.323\) mg. The fraction of the initial dose reaching segment 3 is \((20/21)(40/41)=800/861\), or about \(92.92\) mg. In segment 3, the conditional absorption fraction is \(0.01/(1+0.01)=1/101\), giving \(92.92(1/101)=0.920\) mg absorbed.

Total absorption is \(4.762+2.323+0.920=8.005\) mg, or about \(8.00\%\) of the dose. Approximately \(91.995\) mg exits unabsorbed. Uptake occurs in every segment, but the small rates relative to transit leave most of the dose unabsorbed.

Hypothetical compoundSegment 1 absorbedSegment 2 absorbedSegment 3 absorbedTotal absorbedUnabsorbed gut exit
Rapidly permeable66.67 mg16.67 mg5.556 mg88.89 mg11.11 mg
Poorly permeable4.762 mg2.323 mg0.920 mg8.005 mg91.995 mg

The comparison shows two consequences of the rate contrast. First, total eventual absorption is much higher for the rapidly permeable compound. Second, its absorption is concentrated more strongly in the first segment: \(66.67\) mg of its \(88.89\) mg absorbed is taken up there. The poorly permeable compound has lower uptake in every region, with transit competing effectively against absorption throughout. A regional percentage should always be interpreted with its denominator in mind: a small amount absorbed distally may reflect either little material arriving there or a low local absorption fraction.

Simulating the Time Course and Checking It

The equations can be solved with an ordinary differential equation solver or approximated by a time-step method. For a forward Euler step of width \(\Delta t\), update each amount using its current derivative. For the rapidly permeable example, take \(\Delta t=0.1\) h. Starting from \(A_1=100\) mg and \(A_2=A_3=B=0\), the first update gives \(A_1=100-0.1(3)(100)=70\) mg, \(A_2=0+0.1(1)(100)=10\) mg, and \(B=0+0.1(2)(100)=20\) mg. The second update gives \(A_1=49\) mg, \(A_2=15\) mg, \(A_3=1\) mg, and \(B=35\) mg. These are approximate amounts at \(0.2\) h, not the eventual regional totals.

Worked Example: Comparing Early Simulated Uptake

Use the same Euler step, \(\Delta t=0.1\) h, for the poorly permeable compound. Its first-segment total loss rate is \(1+0.05=1.05\ \mathrm{h}^{-1}\). Calculate the first two updates and check mass balance.

At the first step, \(A_1=100-0.1(1.05)(100)=89.50\) mg. Transit input gives \(A_2=10.00\) mg, and absorption gives \(B=0.1(0.05)(100)=0.500\) mg. No material has yet reached segment 3.

For the second step, \(A_1=89.50-0.1(1.05)(89.50)=80.1025\) mg. Segment 2 updates to \(10+0.1[89.50-(1.025)(10)]=17.925\) mg. Segment 3 receives \(0.1(1)(10)=1.000\) mg. Absorbed amount increases by \(0.1[(0.05)(89.50)+(0.025)(10)]=0.4725\) mg, so \(B=0.9725\) mg. The total remaining in the three segments is \(80.1025+17.925+1.000=99.0275\) mg; adding \(B\) gives \(100.0000\) mg. Thus, this update conserves mass to the shown precision.

For a complete numerical simulation, also track cumulative gut exit, whose rate is \(k_{\mathrm{tr},m}A_m\). Under the stated assumptions, the initial dose must equal the sum of the amounts currently in all segments, cumulative absorption, and cumulative gut exit. This mass-balance check can reveal coding errors or an incorrect terminal-segment treatment. Check that amounts remain nonnegative and that refining the time step leaves the predicted profiles and totals essentially unchanged. For explicit Euler, \(\Delta t\) should be small enough relative to the largest segment loss rate; a conservative condition is \(\Delta t(k_{\mathrm{tr},i}+k_{\mathrm{a},i})\leq1\) for every segment. A solver designed for differential equations is generally preferable when rates differ greatly or high accuracy is needed.

Interpretation, Alternatives, and Limitations

A single effective absorption rate can be a simpler alternative when only an overall time course is needed and regional detail is not supported by the question or available data. It reduces the number of parameters, but cannot represent distinct regional uptake or show whether low total absorption results from weak uptake throughout or from a particular segment. A segmental model is more informative about location, but it also requires more assumptions and parameters. More detail is not automatically more reliable: segment-specific parameters should be supported by relevant evidence, and predictions should be checked against appropriate observations.

The simulation predicts absorption from the specified luminal input and first-order rates. It does not by itself predict plasma concentrations or establish how much absorbed material reaches systemic circulation. Nor does this comparison explain why compounds have different absorption rates. In particular, the model treats the dose as immediately available in the lumen; it does not represent processes that determine how much material becomes available for uptake. Such limitations matter when interpreting a predicted absorbed amount as if it were a direct measurement of a compound property.

A common mistake is to compare only \(k_{\mathrm{a}}\) values and conclude that the largest rate guarantees the largest regional uptake. The relevant competition is between \(k_{\mathrm{a},i}\) and \(k_{\mathrm{tr},i}\), and regional contribution also depends on how much material reaches that segment. For example, a high distal absorption rate cannot produce a large distal amount if little dose survives transit through earlier regions. Calculate the conditional fraction in each segment and the amount entering it before interpreting regional contributions.

Key takeaway: A segmental comparison is built from two linked pieces: the amount delivered to each region by transit and the fraction of that amount absorbed there. Check regional amounts, total absorption, unabsorbed exit, and mass balance together; none alone provides a complete interpretation.

Check Your Understanding

Answer the questions, then compare your reasoning with the solutions below.

  1. In one segment, \(k_{\mathrm{a}}=0.4\ \mathrm{h}^{-1}\) and \(k_{\mathrm{tr}}=0.6\ \mathrm{h}^{-1}\). What fraction of the amount entering that segment is eventually absorbed, under the model assumptions?
  2. Why can two compounds with the same absorption rate in a distal segment have different distal absorbed amounts?
  3. For the three-segment rapid example, what fraction of the initial dose exits without absorption?
  4. Name two checks that can identify a problem in a time-step simulation.

Solutions. (1) The fraction is \(0.4/(0.4+0.6)=0.40\), or 40%. (2) The amount reaching the distal segment can differ because transit and absorption in earlier segments determine how much dose remains to enter it. (3) The exit fraction is \((1/3)(1/2)(2/3)=1/9\), or 11.11%, which corresponds to \(100/9=11.11\) mg of the 100 mg dose. (4) Check that amounts remain nonnegative, that initial dose equals segment amounts plus cumulative absorption and gut exit, and that predictions stabilize as the time step is refined.