def run(self, with_logging: bool=True) -> int:
        """Run the simulation for the time duration specified in the
        configuration

        Parameters
        ----------
        with_logging
            Whether or not to log the simulation steps. Only works in an ipython
            environment.

        Returns
        -------
            The number of steps the simulation took.
        """
        return self.run_until(self.clock.stop_time, with_logging=with_logging)