sample2.sa 834 B

1234567891011121314151617181920212223242526272829303132333435
  1. semantic adaptation reactive mealy OuterFMU outerFMU
  2. at "./path/to/FMU.fmu"
  3. for inner fmu reactive moore NA n1
  4. at "./path/to/NA.fmu"
  5. with input ports Real ip(m)
  6. with output ports Real op(m)
  7. for inner fmu reactive mealy NA n2
  8. at "./path/to/NA.fmu"
  9. with input ports Real ip(m)
  10. with output ports Real op(m)
  11. for inner fmu reactive mealy NA n3
  12. at "./path/to/NA.fmu"
  13. with input ports Real ip(m)
  14. with output ports Real op(m)
  15. for inner fmu reactive mealy NA n4
  16. at "./path/to/NA.fmu"
  17. with input ports Real ip(m)
  18. with output ports Real op(m)
  19. for inner fmu reactive mealy NB n5
  20. at "./path/to/NB.fmu"
  21. with input ports Real ip1(m), Real ip2(m)
  22. with output ports Real op(m)
  23. coupled as n1.op -> n2.op,
  24. n2.op -> n3.ip, n2.op -> n4.ip,
  25. n3.op -> n5.ip1,
  26. n4.op -> n5.ip2,
  27. n5.op -> n1.ip