Modelica - join connectors after some distance
问题 In modelica I need to connect two spaces and pass an object, lets say a ball, between them after some distance. In my example I have two spaces one which is free space (no forces) and suddenly we enter near earth space (gravity) which acts on the ball. I need to be able to pass the ball from the first space to the second but I can't get it. Here is a minimal example. model Ball Real[2] position; Real[2] velocity; parameter Real mass=1; equation der(position) = velocity; end Ball; connector