# How to use script to run multiple AC sweep simulations?

**URL:** <https://forum.plexim.com/t/how-to-use-script-to-run-multiple-ac-sweep-simulations/879>\
**Category:** PLECS\
**Tags:** \#analysis\_tools\
**Created:** [October 18, 2020, 8:58pm UTC](https://forum.plexim.com/t/how-to-use-script-to-run-multiple-ac-sweep-simulations/879 "2020-10-18T20:58:21Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Omar](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@Omar](https://forum.plexim.com/u/Omar)\
**Post date:** [September 23, 2026, 10:51pm UTC](https://forum.plexim.com/t/how-to-use-script-to-run-multiple-ac-sweep-simulations/879/9 "2026-09-23T22:51:12Z")

</div>

Many thanks for your support, while @Bryan_Lieblick response is quite informative and provides more detailed solution using scripts, for the current application on hand I used the solution proposed by @Munadir_Ahmed since it’s much faster to set up, and I don’t need more at the moment. Neverthelss, I’ll try to implement @Bryan_Lieblick approach, at least to have it ready for future reference.

I have attached my work in case you want to have a look, and for sure any comment or advice is highly appreciated.

[discreteFunctionFrequencySweep.plecs](https://forum.plexim.com/uploads/short-url/kviyM255kfTr2JWDdufRck17UPo.plecs) (29.7 KB)

Kind regards,

Omar

---

_[View the full topic](https://forum.plexim.com/t/how-to-use-script-to-run-multiple-ac-sweep-simulations/879)._
