modelPK_General_Linear
N-compartment linear model with arbitrary transfer topology (NONMEM ADVAN5/7 analogue)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nComp | 3 | number of compartments |
| Integer | centralIdx | 1 | compartment that is dosed and (by default) eliminated |
| Pharmacolibrary.Types.Volume[nComp] | V | volume of each compartment (m3) | |
| Pharmacolibrary.Types.Clearance[nComp] | CLelim | zeros(nComp) | elimination clearance FROM each compartment (0 = no elimination there) |
| Integer | nEdge | 0 | number of directed transfer edges |
| Integer[nEdge,2] | edge | fill(0, nEdge, 2) | each row {fromComp, toComp} |
| Pharmacolibrary.Types.Clearance[nEdge] | CLedge | zeros(nEdge) | clearance for each directed edge (from -> to) |
| Modelica.Units.SI.MassFraction | F | 1 | bioavailability |
| Pharmacolibrary.Types.Mass | adminMass | 1e-4 | |
| Integer | adminCount | 1 | |
| Modelica.Units.SI.Time | adminTime | 60 | |
| Modelica.Units.SI.Time | adminDuration | 600 | |
| Modelica.Units.SI.Time | adminPeriod | 8*3600 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Pharmacolibrary.Types.ConcentrationOutput[nComp] | C | ||
| Pharmacolibrary.Types.ConcentrationOutput | C_central |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Pharmacolibrary.Pharmacokinetic.NoPerfusedTissueCompartment[nComp] | comp | ||
| Pharmacolibrary.Pharmacokinetic.ClearanceDrivenElimination[nComp] | elim | ||
| Pharmacolibrary.Pharmacokinetic.TransferFirstOrderNonSym[nEdge] | edgeT | ||
| Sources.PeriodicDose | dose |