MODEL NUMBER: 0241 MODEL NAME: Comp1Flow SHORT DESCRIPTION: Models single compartment with inflowing and outflowing concentration of a single substance. DIAGRAM +-----------------------------+ Flow*Cin ---> C ---> Flow*Cout | Volume | Cout = C | instantaneously well mixed | +-----------------------------+ DETAILED DESCRIPTION: In a single compartment with flow, there is a source term, (Flow/Volume)*Cin, which adds material to the compartment, and a sink term, -(Flow/Volume)*C, the washout term, which removes material from the compartment. These two terms are usually combined as a single term in the mass balance ordinary differential equation after dividing left and right hand sides by the volume: dC/dt = (Flow/Volume)*(Cin-C). The compartment is instantaneously well mixed. Various methods for checking the calculations in a model are illustrated: (1) two methods of calculating the amount of material in a compartment with flow, (2) comparison of the running integrals of inflow and outflow concentrations, and (3) calculation of the system transit time of a compartment model with flow by two different methods. SHORTCOMINGS/GENERAL COMMENTS: - None. KEY WORDS: compartment, compartmental, flow, first order process, Tutorial REFERENCES: None. REVISION HISTORY: JSim SOFTWARE COPYRIGHT AND REQUEST FOR ACKNOWLEDGMENT OF USE: JSim software was developed with support from NIH grants HL088516, and HL073598. Please cite these grants in any publication for which this software is used and send one reprint of published abstracts or articles to the address given below. Academic use is unrestricted. Software may be copied so long as this copyright notice is included. Copyright (C) 1999-2009 University of Washington. Contact Information: The National Simulation Resource, Director J. B. Bassingthwaighte, Department of Bioengineering, University of Washington, Seattle, WA 98195-5061

Areas

Quantity = integral of Flow multiplying inflow

Transit times

Quantity = Volume* Concentration

Flow rate (volume per second)

Inflowing concentration (defined with

Concentration in compartment

First moments

Volume of compartment

Areas

Outflowing concentration NOTE that Cout=C because

Transit times

Initial Concentration

Transit times

First moments

Initial Concentration

Inflowing concentration (defined with

Outflowing concentration NOTE that Cout=C because

Concentration in compartment