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

example inputs.ipynb doesn't run with v0.13.0 #205

Closed
juguma opened this issue Nov 9, 2023 · 1 comment
Closed

example inputs.ipynb doesn't run with v0.13.0 #205

juguma opened this issue Nov 9, 2023 · 1 comment

Comments

@juguma
Copy link
Contributor

juguma commented Nov 9, 2023

examples/src/inputs.ipynb
doesn't run with v0.13.0, since input function extForce_t(t) doesn't match the proposed input function structure (at least that's what the error says)...

ERROR: AssertionError: The given input function does not fit the needed input function pattern for FMUs, which are: 
- `inputFunction!(t::fmi2Real, u::AbstractArray{fmi2Real})`
- `inputFunction!(comp::FMU2Component, t::fmi2Real, u::AbstractArray{fmi2Real})`
- `inputFunction!(comp::FMU2Component, x::Union{AbstractArray{fmi2Real,1}, Nothing}, u::AbstractArray{fmi2Real})`
- `inputFunction!(x::Union{AbstractArray{fmi2Real,1}, Nothing}, t::fmi2Real, u::AbstractArray{fmi2Real})`
- `inputFunction!(comp::FMU2Component, x::Union{AbstractArray{fmi2Real,1}, Nothing}, t::fmi2Real, u::AbstractArray{fmi2Real})`
@ThummeTo
Copy link
Owner

Correct, we are currently on restructering the documentation, some of the other examples might fail as well.

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

2 participants