set_zero_order_elimination#

pharmpy.modeling.set_zero_order_elimination(model)[source]#

Sets elimination to zero order.

Initial estimate for KM is set to 1% of smallest observation.

Parameters:

model (Model) – Pharmpy model

Returns:

Model – Pharmpy model object

Examples

>>> from pharmpy.modeling import *
>>> model = load_example_model("pheno")
>>> model = set_zero_order_elimination(model)
>>> model.statements.ode_system
Bolus(AMT, admid=1) → CENTRAL
┌───────┐
│CENTRAL│──CLMM*KM/(V*(KM + A_CENTRAL(t)/V))→
└───────┘