This simulation uses families walking down a shopping street as an analogy for how a gas chromatograph separates molecules. Each family (two grandparents, a mother and father, two teenagers, and two young children) enters the left end of the street together, just as a pulse of a mixture is injected into a column. Everyone walks at the same speed, but as they pass each store, each person may go in and shop for a while. For the default settings, children tend to leave later, but this can be changed with the slider settings. The plot below the street shows when each person leaves the street; it plays the role of the detector signal (the chromatogram).
Press "start" to send the families down the street. A person in a store is drawn with a black outline and does not move until they come back out. Each person who leaves the right end of the street is added to the plot as a dot in their group's color, stacked in time intervals so the dots build up peaks. Check the "smooth curves" box to see smooth curves that approximate the dots to better make the analogy to a GC detection.
Use the sliders to change the walking speed, the number of families that enter together, the chance that a person goes into each store they pass, and the average time each group spends in a store. The dashed line on the plot is the time to walk the street without stopping. Make all the shopping times equal to see the separation disappear, or give the grandparents the longest shopping time to reverse the order. When you press "start," the current settings are used for that run, and the sliders and the "start" button are locked until you press "reset." The axis scales are set when you press "start" so the time axis ends just after the last person leaves, and they do not change while the families walk. The "playback speed" slider can be changed at any time; it only changes how fast the animation runs.
The shopping street is an analogy for a chromatography column:
| shopping street | column |
| walking down the street | flow of the carrier gas |
| stores along the street | adsorbent coating on the column wall |
| going into a store | adsorbing on the coating |
| time spent in a store | adsorption time |
| family entering together | injected pulse of a mixture |
| groups of different ages | different kinds of molecules |
| people leaving the street | detector signal |
Everyone walks at the same speed \(u\), so a person who never shops walks the street of length \(L\) in time
\[ t_M = \frac{L}{u} \]The street has \(N_s\) stores. When a person passes a store door, they go in with probability \(p\). Once inside, they stay for a time drawn from an exponential distribution with mean \(\tau\), which depends on the person's age group:
\[ P(t_{shop} > t) = e^{-t/\tau} \]The time a person spends on the street is the walking time plus the time spent in all the stores they visited. The number of stores visited follows a binomial distribution with mean \(N_s p\), so the mean time on the street (the retention time) and its standard deviation are
\[ t_R = t_M + N_s\, p\, \tau \] \[ \sigma = \tau \sqrt{N_s\, p\,(2 - p)} \]Because \(\sigma\) is proportional to \(\tau\), groups that shop longer leave later and are spread over a longer time, so their peaks are shorter and broader, as for strongly adsorbed molecules in a chromatograph. The mean time on the street is set by the shopping time, but the spread is set by the randomness of which stores each person visits and how long they stay. Visiting more stores (larger \(p\)) increases \(t_R - t_M\) faster than \(\sigma\), so the peaks become better separated, just as a molecule that adsorbs and desorbs many times gives a sharper peak.
The retention factor and the resolution of two neighboring peaks are
\[ k = \frac{t_R - t_M}{t_M} \] \[ R_s = \frac{2\,(t_{R,2} - t_{R,1})}{w_{b,1} + w_{b,2}} \]where \(w_b\) is the width of a peak at its base. The simulation estimates each width with the Gaussian-width approximation
\[ w_b \approx 4\sigma \]where \(\sigma\) is the standard deviation of the times people in that group leave the street. For a Gaussian peak, tangents drawn through the two inflection points cross the baseline \(4\sigma\) apart, so \(4\sigma\) is the usual base width. The peaks here are not exactly Gaussian (the children's peak, for example, has a long tail of late leavers), so the resolutions in the table below the plot are estimates. Peaks are compared in the order the groups leave the street, so each row of the table is a pair of neighboring peaks. In this simulation, \(L\) = 400 m and \(N_s\) = 16 (8 on each side of the street).
Symbols:
\(k\) = retention factor
\(L\) = length of the street
\(N_s\) = number of stores
\(p\) = probability that a person goes into a store as they pass it
\(R_s\) = resolution
\(t\) = time
\(t_M\) = time to walk the street without stopping
\(t_R\) = mean time a group spends on the street (retention time)
\(t_{shop}\) = time a person stays in one store
\(u\) = walking speed
\(w_b\) = peak width at the base
\(\sigma\) = standard deviation of the times people leave the street
\(\tau\) = mean time spent in each store visited
This simulation was created in the Department of Chemical and Biological Engineering at University of Colorado Boulder for LearnChemE.com by John L. Falconer using Claude AI. This simulation is based on an analogy created by Eva Sorenson of University College London. It was prepared with financial support from the National Science Foundation (DUE 2336987 and 2336988). Address any questions or comments to LearnChemE@gmail.com.
| neighboring peaks | resolution, Rs |
|---|