doses in simbiology models -凯发k8网页登录

main content

doses in simbiology models

doses let you increase the amount of a species in a simbiology® model during simulation, either at specific time points or regular intervals. for example, you can use a dose object to model an instantaneous supply of a drug regimen during the simulation of a model. the increase in the amount of a species occurs only during simulation and does not alter the species value permanently (that is, the value in the model is not changed).

representing doses

there are two types of dose objects.

  • — applies a dose to a single species at a predefined list of time points

  • — applies a dose to a single species at regular intervals

simbiology dose objects support the following dosing types.

dosing strategydescriptiondose object properties configuration
bolusinstantaneous increase in the amount of drug in the compartmentto create a bolus dose, set the and properties of a dose object. you might also need to configure other properties such as , , or scheduled dose times () if you are applying a series of doses. for details on these properties, see and .
infusionincrease of the drug at a fixed rate over a period of time, which is calculated from the dose amountunlike a bolus dose, you also need to specify the infusion rate ( property) of the dose object.
zero-orderincrease of the drug at a fixed rate calculated from the dose amount and dose durationunlike a bolus dose, you also need to create a zero-order duration parameter and specify the duration parameter name (property) of the dose object.
first-orderincrease of the drug via first-order absorption kineticsunlike bolus, infusion, or zero-order, you need to create an additional reaction for the drug absorption.

creating doses programmatically

there are two common ways to create dose objects using the command-line interface. one way is to create a dose object using the or function. another is to create dose objects automatically from data containing dosing information. this first approach is useful when you want to explore different dosing strategies through simulation. the second approach is useful if you already have a data set with dosing information and plan to use this dosing information in your simulation or parameter estimation.

create a dose object using sbiodose or adddose

creates a standalone dose object that is not attached to any model. you can apply a standalone dose to different models during simulation by specifying it as a dosing argument for , or attach it to any model using . you can also use it during parameter estimation using or .

creates a dose object and adds it to a model. you must set its active property to true to apply the dose to the model during simulation.

the following examples show how to add a dose object to a one-compartment pk model using sbiodose and set up the dose properties manually. alternatively, you can use the built-in pk models with different dosing types. for details, see .

dosing strategyexample
bolus
infusion
zero-order
first-order

create dose objects from dosing data

if you already have dosing data for one or more subjects or patients that you would like to use in your parameter estimation, first create a from your data set. use function to automatically generate an array of dose objects. you can then use the dose array during parameter estimation using or . for a complete workflow, see .

creating doses graphically

you can interactively create and add doses using the app. for details, see add doses.

parameterized and adaptive doses

you can specify some of the properties of repeatdose and scheduledose objects by using model parameters. this parameterization of dose properties gives you more flexibility in modeling different dosing applications, such as scaling the dose amount by body weight.

repeatdose properties that you can parameterize are: , , , , , , and . scheduledose properties that can be parameterized are and . you can set these repeatdose properties, except lagparametername and durationparametername, to either a numeric value or the name of a model-scoped parameter (as a character vector or string).

you can make doses adaptive to events, such as increasing the dose amount when the drug concentration drops below some threshold. this adaptive feature of doses is useful for doses that are not instantaneous. consider an iv infusion for a drug being added at a fixed rate over a fixed duration. if an event modifies a dose parameter while this dose is in progress, you have two options:

  • stop the ongoing dose if any relevant parameter values change by setting the eventmode property of the dose object to 'stop'.

  • continue the ongoing dose to completion, and updated parameter values affect only subsequent doses by setting eventmode to 'continue'.

for details, see the property. for illustrated examples, see and .

units validation on parameterized dose properties

if you parameterize a dose property and enable dimensional analysis, the unit of the dose property (dose unit) is validated. the dose unit is valid either if it is empty or if it exactly matches the unit of the parameter. if the dose unit is invalid, simbiology issues a warning and uses the unit of the parameter instead. to remove the warning, set the dose unit to empty ('') or to the same unit as the parameter unit.

simulation solvers for models containing doses

to simulate models containing doses, use a deterministic (ode or sundials) solver. stochastic solvers do not support doses. for details, see choosing a simulation solver.

see also

| | |

related topics

网站地图