123456789101112131415161718 |
- semantic adaptation reactive mealy WindowSA windowSA
- at "./path/to/WindowSA.fmu"
- for inner fmu Window window
- at "./path/to/WindowSA.fmu"
- with input ports displacement (rad), speed (rad/s), reaction_force (N)
- with output ports height (cm), reaction_torque (N.m)
- output ports disp (m) <- window.height, tau
- out rules {
- true -> {} --> {
- tau := -window.reaction_force;
- };
- }
|