I see in the manual section 3.3.3 that since ver 1.5 JModelica support sampled data systems.
Typically you need when and sample(,), see also example in Tillers book page 169.
When I try implement a slimmed down version of the example I get a compliance error message that "when statements are not supported".
I run FMU-model and I use ver 1.7 and everything else seems to work. What is wrong?
I also would appreciate some basic example combining a continuous time process and a digital contorller, eg level contorl in a tank with PI-control (with anti-windup...) or similar.
- FMI Library
- Log in