code: def stop(self) -> None:
          
          if self.is_running:
              if _logger is not None:
                  self._log(INFO, "stop", __now=self.now())
              self._is_running = False
docs: Stops the running simulation once the current event is done executing.