How to use the simulate in autodesk inventor
There is 3 ways to do what you want,
One - using parameters with a driven constraint
Two - you can use parameters within studio for an animation
Three - through the use of the design centre you can use a spring
If you know what way you want to simulate your spring I could do a quick tutorial for your self.