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

Option to log results during simulation instead of after #2189

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

robbr48
Copy link
Contributor

@robbr48 robbr48 commented Nov 27, 2023

This was requested by users who run long simulations and want to see the result in advance, so they can stop the simulation if something goes wrong. This solution is not perfect since it collects the same data multiple times and should be used with caution.

Additions:

  • A new option to enable logging during simulation
  • A setting for how many times the logging shall be performed during simulation (equally spaced over simulation time)

Works with both parallell and single-threaded simulations, but not with simulating multiple systems or remote simulations.

@robbr48 robbr48 added the gui:plotting Plotting, data analysis, data import/export label Nov 27, 2023
@robbr48 robbr48 added this to the 2.22.0 milestone Nov 27, 2023
@robbr48 robbr48 requested a review from peterNordin November 27, 2023 14:57
@robbr48 robbr48 self-assigned this Nov 27, 2023
@robbr48 robbr48 merged commit 216b720 into Hopsan:master Jan 23, 2024
3 checks passed
@robbr48 robbr48 deleted the log_during_simulation branch January 23, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui:plotting Plotting, data analysis, data import/export
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant