FMI.jl is a free-to-use software library for the Julia programming language which integrates FMI (fmi-standard.org): load or create, parameterize, differentiate and simulate FMUs seamlessly inside the Julia programming language!
MIT License
86
stars
24
forks
source link
example inputs.ipynb doesn't run with v0.13.0 #205
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})`
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)...