addCompartmentType[options] adds a compartmentType to the current model. Options are the same as compartmentTypeToSBML.
addCompartmentType[x, options] is the same as addCompartmentType[id->x, options].
modifyCompartmentType[options] modifies a compartment type in the current model. Options are the same as compartmentTypeToSBML.
modifyCompartmentType[x, options] is the same as modifyCompartmentType[id->x, options].
removeCompartmentType[id] removes a compartment type with the given id from the current model.addCompartmentType, removeCompartmentType, modifyCompartmentType new in 2.5.12.