set_mixed_mm_fo_elimination#

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

Sets elimination to mixed Michaelis-Menten and first order.

Initial estimate for CLMM is set to CL/2 and KM is set to \(max(DV)/2\).

Parameters:

model (Model) – Pharmpy model

Returns:

Model – Pharmpy model object

Examples

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