modelPartialPeriodicDoseSource

Extends from Pharmacolibrary.Interfaces.PartialDrugSource.

Information

PartialPeriodicDoseSource

Interface base for a periodic (repeated) dose source (extends PartialDrugSource, so it has the cport outlet and cumulative-mass tracking). It fixes the scheduling contract shared by every route:

  • firstAdminTime – time of the first dose
  • adminPeriod – time between doses
  • adminMass – mass per dose
  • doseCount – number of doses (-1 = unlimited)
  • adminDuration – duration of one administration
  • F – bioavailability [0-1]

Use this as the constrainedby type for a replaceable dose source in a PK model: any route (direct/parenteral PeriodicDose, enteral PeriodicDose_Enteral, or a future one) can be redeclared in as long as it honours this schedule, without changing the enclosing model. The route-specific kinetics (e.g. ka, Tlag) are added by the concrete source.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimefirstAdminTime0time of first dose
Modelica.Units.SI.TimeadminPeriod8*3600time period between doses
Pharmacolibrary.Types.MassadminMass0.001drug dose mass
IntegerdoseCount-1number of doses, -1 = unlimited
Modelica.Units.SI.TimeadminDuration1administration duration
RealF1bioavailability [0-1]

Connectors

TypeNameDefaultDescription
ConcentrationPort_bcport (from PartialDrugSource)

Components

TypeNameDefaultDescription
Pharmacolibrary.Types.MassTotalCumulativeMass (from PartialDrugSource)Total dose adminitrated by this source