def compartment(self, *args, **kwargs):
        c = Compartment(*args, _export=False, **kwargs)
        self.model.add_component(c)
        return c
Adds a compartment to the Builder's model instance.
dataset/ETHPy150Open pysb/pysb/pysb/builder.py/Builder.compartment