An ANSI C program that simulates the diffusion profiles of sample modulation at a membrane inlet system has been developed to study the characteristics of modulated diffusion profiles. The program produces concentration profiles within the membrane and flux values at the exit side of the membrane as a function of time. Sample concentration on the inlet side can be switched between zero and an arbitrary value with a square or asymmetric cycle. Achievement of steady-state diffusion between alternations is not required. With this computer simulation, the flux profiles of analytes through a membrane inlet have been studied as a function of diffusion coefficient, modulation frequency, and concentration. The amplitude, shape, and time lag or phase angle of the flux profile are shown to be related directly to analyte concentration and diffusivity. A method that involves a set of linear equations is proposed to resolve mixtures of diffusing analytes based on differences in the time dependence of their flux profiles. (J Am Soc Mass Spectrom 1996, 7, 93-100) T he direct analysis of mixtures by mass spectrometry depends upon principal component analysis to determine the sample components that contributed to the mixture spectrum. This method relies on constant response factors for each component and is limited in sample complexity and dynamic range. To obtain additional data for component resolution, discrimination along the time axis by (1) componentspecific time-dependent response and (2) individual intensity time profiles for each mass-to-charge ratio can be used. A commonly employed example of this approach is gas chromatography-mass spectrometry (GC/MS). Chromatography provides different response time profiles for nearly all components, but the time between successive determinations of sample composition cannot be less than the longest component retention time. To provide more frequent updates on samples with varying composition, we are exploring the use of a membrane inlet with modulated sample introduction.A majority of the membrane inlet work or membrane introduction mass spectrometry (MIMS) to date has employed steady-state diffusion through membranes [1][2][3][4]. MIMS is applied to selectively transport analytes that bear particular functional groups and enrich them relative to the inlet solution [5]. Tsai et al. We report here on the results of our mathematical simulation of the modulated diffusion process. The sample stream modulation is provided by an alternating valve that opens and closes periodically. We have ignored mixing on the sample side of the membrane because our experimental system uses a tubular membrane with negligible dead time and dead volume. A time-dependent response pattern, called a chronogram, is produced for the ions of each mass-to-charge ratio in the mixture spectrum. The shapes and amplitudes of the chronograms depend on the concentrations and diffusivities of the mixture components.We have developed a computer program to simulate the Fickian diffusion process (which obeys Fick's f...