Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can write Python code into a loop,where you are running the simulation from one time step to the next, and then changing the value of GREF in accordance with the sine function (which is a function of time of course). It's not a very elegant solution, but at least writing the code into a loop means that it will not be too verbose.