# How to avoid doing physics simulation and get the final rendering quickly?

I'm super new to Blender and I hope I'm not offending others asking this. I am baking physics using the method described here and then do the rendering using the code below. However, it takes a while for the simulation to take place and I only care about the final status of the system/simulation. So I was wondering, is there a way to shortcut the simulation and only get the final status/scene?

self.scene.render.filepath = output_name
logfile = '/dev/null'
open(logfile, 'a').close()
old = os.dup(1)
sys.stdout.flush()
os.close(1)
os.open(logfile, os.O_WRONLY)

# do the rendering
if simulate:
bpy.ops.render.render(animation=True)
else:
bpy.ops.render.render(write_still=True)

# disable output redirection
os.close(1)
os.dup(old)
os.close(old)


Thanks