Reference-FMUs
Reference-FMUs copied to clipboard
Functional Mock-up Units for development, testing and debugging
In the API fmi3GetBinary (in fmi3Functions.c ) this piece of code is missing. if (S->isDirtyValues) { CALL(calculateValues(S)); S->isDirtyValues = false; } Also in fmi3SetBinary you need to add this line:...
According to the FMI 3.0 standard, in Event Mode fmi3Get{VariableType} computes f_event (s. [2.3.5. State: Event Mode](https://fmi-standard.org/docs/3.0.1/#EventMode)). When fmi3UpdateDiscreteStates() is called and f_event is already computed (i.e., fmi3Get{VariableType} was called...