window_sa.BASE.sa 391 B

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