modelPKOneCompartmentEquations

Information

One compartment model implemented as equation. For testing and benchmark purposes.

parameters and equations

F - bioavailability (0-1)

Vd - volume of distribution (m3), if in l/kg recalculate it to m3 with respect to patient weight

numDoses - number of doses (1-10)
doseFirst - first dose (kg) if in mg recalculate to kg
doseSubsequent - subsequent doses (kg)  if in mg recalculate to kg
t0 - time of first dose
Cl -clearance (m3/s), if in L/h, recalculate it

C = F * dose/Vd * e^(-Cl/Vd*(time-t0))






Parameters

TypeNameDefaultDescription
RealF1Bioavailability (intravenously administered)
IntegernumDoses1Total number of doses
RealdoseFirst400*1e-6First dose (mg-> kg)
RealdoseSubsequent0*1e-6Subsequent doses (mg -> kg)
RealdosingInterval86400Dosing interval in seconds (24 hours)
Realt060Time of first dose (seconds)
RealVd60*70*0.001Volume of distribution 60 l/kg on 70kg patient -> m3
RealCl1e-6*70/60Clearance (L/h -> m3/s)

Components

TypeNameDefaultDescription
Types.MassConcentrationCConcentration
RealhalfLife
Real[numDoses]C_iConcentration from each dose

Revisions

2025 Tomas Kulhanek, Ph.D.