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

Should coralslave write to .csv when in initialization phase? #35

Open
mrindar opened this issue Apr 24, 2017 · 1 comment
Open

Should coralslave write to .csv when in initialization phase? #35

mrindar opened this issue Apr 24, 2017 · 1 comment

Comments

@mrindar
Copy link
Contributor

mrindar commented Apr 24, 2017

During the initialization phase (is that the correct term?) when coral does the initial fmiDoStep() calls with step_size=0, coralslave still writes the values to the output .csv file - this looks strange when plotting. One way to get around this is to post process the .csv file of course, but that post processing then depends on how Coral does its initialization phase (currently there is one fmiDoStep() for each slave in the simulation) which I don't like. I think the best solution is to simply have coralslave not write to .csv during this initialization phase

@kyllingstad
Copy link
Member

Personally, I've found this to be useful for debugging, to see how initial values propagate and influence each other. But I definitely see your point, and I'll look into excluding those steps from the output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants