get_and_check_odes#

pharmpy.model.get_and_check_odes(model)[source]#

Get the ode_system from model and raise if not a CompartmentalSystem

Parameters:

model (Model) – Pharmpy model object

Returns:

CompartmentalSystem – The compartmental system if it exists