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

Values for time == start_time not in result for model-exchange #29

Closed
t-sommer opened this issue Mar 9, 2018 · 0 comments
Closed

Values for time == start_time not in result for model-exchange #29

t-sommer opened this issue Mar 9, 2018 · 0 comments
Assignees

Comments

@t-sommer
Copy link
Contributor

t-sommer commented Mar 9, 2018

For model exchange the values at time == start_time are not recorded.

from fmpy.examples.coupled_clutches import simulate_coupled_clutches

result = simulate_coupled_clutches(fmi_type='ModelExchange', show_plot=False)

print(result['time'][:5])

Output:

...
Simulating CoupledClutches.fmu (FMI 2.0, ModelExchange, CVode)...
Done.
[ 0.02  0.04  0.08  0.1   0.12]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant