Skip to content

Conversation

@CoolSpy3
Copy link
Contributor

@CoolSpy3 CoolSpy3 commented Oct 7, 2025

Description
This PR updates the timestep algorithm to calculate the mean of "ideal" delay times to determine how long to wait between timesteps rather than calculating the mean of elapsed times and calculating a delay based on that. This should remove the dependence of each data point on the current sleep time, reducing oscillations in the simulation speed. (See linked issue for more details.)

Related Issues
This pull-request fixes issue #6897.

Tasks
Add the list of tasks of this PR.

@CoolSpy3 CoolSpy3 added test distribution Start the distribution test test suite Start the test suite labels Oct 7, 2025
Co-authored-by: Anthony Welte <tony.welte@gmail.com>
@CoolSpy3 CoolSpy3 force-pushed the update-timestep-algorithm branch from ad03c02 to d65d478 Compare October 11, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test distribution Start the distribution test test suite Start the test suite

Development

Successfully merging this pull request may close these issues.

1 participant