compartment_model.ModelSymbols.compartments(*names)
Select compartment symbols by name.
>>> [S, I] = symbols.compartments("S", "I")