# Simulation is taking more than 40s(not in real time) to settle

**URL:** <https://forum.plexim.com/t/simulation-is-taking-more-than-40s-not-in-real-time-to-settle/603>\
**Category:** PLECS\
**Tags:** simulation-time, stanalone\
**Created:** [January 3, 2019, 5:11am UTC](https://forum.plexim.com/t/simulation-is-taking-more-than-40s-not-in-real-time-to-settle/603 "2019-01-03T05:11:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![archit](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@archit](https://forum.plexim.com/u/archit)\
**Post date:** [January 3, 2019, 5:11am UTC](https://forum.plexim.com/t/simulation-is-taking-more-than-40s-not-in-real-time-to-settle/603/1 "2019-01-03T05:11:34Z")

</div>

Hello, The waveform is taking as long as 40s to settle(especially current waveforms). File is attached here

[sps.plecs.autosave](https://forum.plexim.com/uploads/short-url/6wEtfMRC6D6FXUihuh9k18guALT.autosave) (133 KB)

---

<div class="post-metadata">

**Author:** ![Kris\_Eberle](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/kris_eberle/32/6_2.png) [@Kris\_Eberle](https://forum.plexim.com/u/Kris_Eberle)\
**Post date:** [January 3, 2019, 2:46pm UTC](https://forum.plexim.com/t/simulation-is-taking-more-than-40s-not-in-real-time-to-settle/603/2 "2019-01-03T14:46:27Z")

</div>

Hello,

Please clarify your question.

Thank you,

Kris

---

<div class="post-metadata">

**Author:** ![archit](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@archit](https://forum.plexim.com/u/archit)\
**Post date:** [January 4, 2019, 1:26am UTC](https://forum.plexim.com/t/simulation-is-taking-more-than-40s-not-in-real-time-to-settle/603/3 "2019-01-04T01:26:09Z")

</div>

If you run the simulation file you can see the inductor current if L1 is taking too long to settle.

---

<div class="post-metadata">

**Author:** ![Kris\_Eberle](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/kris_eberle/32/6_2.png) [@Kris\_Eberle](https://forum.plexim.com/u/Kris_Eberle)\
**Post date:** [January 4, 2019, 1:01pm UTC](https://forum.plexim.com/t/simulation-is-taking-more-than-40s-not-in-real-time-to-settle/603/4 "2019-01-04T13:01:14Z")

</div>

What is “too long”? I don’t believe you have a simulation problem, but if you are unhappy with the settling time, you need to modify your model. You are welcome to refer to our built-in PLECS demo model of a Dual Active Bridge converter.
