@aeration.setter
def aeration(self, ae):
    if ((ae is None) or isinstance(ae, Process)):
        self._aeration = ae
    elif isinstance(ae, (float, int)):
        if (ae < 0):
            raise ValueError('targeted dissolved oxygen concentration for aeration must be non-negative.')
        else:
            if (ae > 14):
                warn(f'targeted dissolved oxygen concentration for {self.ID} might exceed the saturated level.')
            self._aeration = ae
    else:
        raise TypeError(f'aeration must be one of the following types: float, int, Process, NoneType. Not {type(ae)}')
@aeration.setter
def aeration(self, ae):
    if ((ae is None) or isinstance(ae, Process)):
        self._aeration = ae
    elif isinstance(ae, (float, int)):
        if (ae < 0):
            raise ValueError('targeted dissolved oxygen concentration for aeration must be non-negative.')
        else:
            if (ae > 14):
                warn(f'targeted dissolved oxygen concentration for {self.ID} might exceed the saturated level.')
            self._aeration = ae
    else:
        raise TypeError(f'aeration must be one of the following types: float, int, Process, NoneType. Not {type(ae)}')