Hello everybody,
The background is like this,
Suggest there is a bar permanent magnet, closed by the frame, to create a magnetic circuit.
Like showed in the picture below. The black component is permanent magnet, the blue one is iron frame.

If I move the iron frame in a speed defined by the curve. I want to know the flux deviation in the frame, so I can get voltage curve.
I use magnetic components in the Modelica library. I use integrate function to get the travel from speed. Then I want to add this travel to the length of the iron model.

I try to use ‘send to base’, and ‘get from base’. But I fail, the move not changes in the simulation. So, the length of the iron frame is fixed, not changed.
The model is attached.
It is kind of anybody can give me a solution how to do this parameters transferring.
Or any other simulation strategy can solve this issue.
Thanks.