Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 'sdpd' for slow simulations #3303

Merged
merged 1 commit into from
Sep 16, 2024
Merged

add 'sdpd' for slow simulations #3303

merged 1 commit into from
Sep 16, 2024

Conversation

haakon-e
Copy link
Member

@haakon-e haakon-e commented Sep 16, 2024

Add printing of simulation-days-per-day (sdpd) for simulations where 'sypd' is very small.

For small `sypd`:
┌ Info: Progress
│   [...]
│   sypd = "0.002 (sdpd = 0.649)"
│   date_now = 2024-09-16T14:00:01.266
└   estimated_finish_date = 2024-09-16T14:00:01.312
solve!:: 1.549485 seconds (6.39 M allocations: 372.947 MiB, 12.32% compilation time)
[ Info: sypd: 0.002 (sdpd = 0.645)
For not small `sypd`:
┌ Info: Progress
│   [...]
│   sypd = "2.123"
│   date_now = 2024-09-16T14:00:01.266
└   estimated_finish_date = 2024-09-16T14:00:01.312
solve!:: 1.549485 seconds (6.39 M allocations: 372.947 MiB, 12.32% compilation time)
[ Info: sypd: 2.123

Add simulation-days-per-day (sdpd) for simulations
where 'sypd' is very small to progress info in
callbacks.jl and solve.jl.
@akshaysridhar akshaysridhar added this pull request to the merge queue Sep 16, 2024
Merged via the queue into main with commit 270cdbf Sep 16, 2024
12 of 16 checks passed
@akshaysridhar akshaysridhar deleted the haakon-e-patch-1 branch September 16, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants