get_number_of_peripheral_compartments#

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

Return the number of peripherals compartments connected to the central compartment

Parameters:

model (Model) – Pharmpy model

Returns:

int – Number of peripherals compartments