get_number_of_transit_compartments#

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

Return the number of transit compartments in the model

Parameters:

model (Model) – Pharmpy model

Returns:

int – Number of transit compartments