comps function

Return the compartments of a network model