window_sa.BASE.sa 387 B

123456789101112131415161718
  1. semantic adaptation reactive mealy WindowSA windowSA
  2. at "./path/to/WindowSA.fmu"
  3. for inner fmu Window window
  4. at "./path/to/WindowSA.fmu"
  5. with input ports displacement (rad), speed (rad/s), reaction_force (N)
  6. with output ports height (cm), reaction_torque (N.m)
  7. output ports disp (m) <- window.height, tau
  8. out rules {
  9. true -> {} --> {
  10. tau := -window.reaction_force;
  11. };
  12. }