Simulation.run#
- Simulation.run(steps=None, seconds=None)[source]
Start the simulation and wait for it to complete.
- Parameters:
steps (int | None) – If provided, manually trigger this many simulation steps before stopping.
seconds (float | None) – If provided, wait for at most this many seconds before requesting a stop.