I would run multiple AC simulations (with Spectre simulator) using an Ocean Script. However I would change for each loop the stimulus file. I don't know how to specify the changing of the name of the stimulus file for each run.
Thanks in advance for your help
for(i 1 1000 stimulusFile(sprintf(nil "stimFile%d.scs" i)) run() ...)
Use something like sprintf() to build the filename as you go along.