deleteCompartment deletes compartments.
deleteCompartment(key, model = getCurrentModel())compartment keys
a model object
Deletion quietly works recursively (deletes all connected entities) to prevent invalid model states.
Other compartment functions:
entity_finders,
getCompartmentReferences(),
getCompartments(),
newCompartment(),
setCompartments()