dopsttoframe
expression function
returns the simulation frame of a given simulation time.