.Pharmacolibrary.Pharmacokinetic

Information

Pharmacokinetic package components can be used to model kinetic and toxicokinetic in terms of absorption, distribution, metabolism, elimination (ADME) of a drug.

Compartmental models

For compartmental models use the following connector and components:
domain potential
variables
flow
variables
stream
variables
connector definition icons
chemical
concentration
mass concentrationmass flow rate Pharmacolibrary.Interfaces 
ConcentrationPort, ConcentrationPort_a, ConcentrationPort_b

For administration use one of the variants from package Pharmacolibrary.Sources and specify parameters like F (bioavailability) adminMass adminDuration ...
Use _enteral variant if the drug is not administered directly to blood plasma and goes e.g. via enteral way (oral absorption). 

For distribution compartment use the basic component: NoPerfusedTissueCompartment and specify parameter Vd (volume of distribution)

If more compartments are in models, they need to be connected via intracompartmental clearance using component TransferFirstOrderNonSym and specify parameters CLa and CLb (intracompartmental clearance from A->B and from B->A

For elimination use the component ClearanceDrivenElimination which is the way eliminated by majority of drugs or compounds and specify the parameter CL (clearance rate).

For other specific use cases see the component documentation.

Physiology based models 

Use the following connector and components that takes into account blood flow.
volumetric
flow
pressurevolume flow rate mass concentration Pharmacolibrary.Interfaces 
FlowPort, FlowPort_a, FlowPort_b

See component documentation and/or examples for further information.

Majority of drug and compounds can be modeled using 1-compartment, 2-compartment, 3-compartment or PBPK model. E.g. you may inherit generic model from Pharmacokinetics.Models.PK_1C and set drug specific parameters.

Contents

NameDescription
Models
NoPerfusedTissueCompartmentcompartment with no perfusion
PeripheralTissueCompartmentcompartment including calculation of diffusion transport
LumenCompartmentsimplified compartment (lumen) where volume is not considered
GenericTissueCompartment
TissueCompartmentTissue compartment
SystemicCompartmentSystemic compartment
FixedFlow
FlowBoundary
FlowGround
ConcBoundary
SignalConcBoundary
TransferFirstOrderNonSymfirst order non-symetric transfer
ConcentrationGradientDiffusionfirst order symetric diffusion transfer
TransferZeroOrderzero order transfer model
ClearanceDrivenElimination
ClearanceDrivenZeroOrderElimination
MichaelisMentenDrivenElimination
UnidirectionalTransportuni-directional first order transport to be used with LumenCompartment as source
TissueLymphCompartmentTissue compartment
LymphFlow
LymphNodeLymph node compartment

Generated at 2025-12-07T19:14:00Z by OpenModelicaOpenModelica 1.25.7 using GenerateDoc.mos