# \##c

**URL:** https://forum.plexim.com/tag/133-tag/133.md

[Latest](https://forum.plexim.com/latest.md) · [Categories](https://forum.plexim.com/categories.md) · [Tags](https://forum.plexim.com/tags.md)

---

## [Has anyone faced this problem - The simulation gets stuck in the "Initialization" phase?](https://forum.plexim.com/t/has-anyone-faced-this-problem-the-simulation-gets-stuck-in-the-initialization-phase/1301)

<div class="topic-metadata">

**Author:** [@Aditya\_Rao](https://forum.plexim.com/u/Aditya_Rao)\
**Replies:** 1\
**Last updated:** [December 19, 2023, 12:29pm UTC](https://forum.plexim.com/t/has-anyone-faced-this-problem-the-simulation-gets-stuck-in-the-initialization-phase/1301 "2023-12-19T12:29:17Z")

</div>

I have a model of a 3ph Inverter on PLECS Standalone, and the issue is that PLECS gets indefinitely stuck in the “Initialization” phase after I give the “Run Simulation” command, after which I then have to close the appl…

---

## [How do we use C Script box?](https://forum.plexim.com/t/how-do-we-use-c-script-box/263)

<div class="topic-metadata">

**Author:** [@Aviral](https://forum.plexim.com/u/Aviral)\
**Replies:** 7\
**Last updated:** [April 16, 2018, 12:14am UTC](https://forum.plexim.com/t/how-do-we-use-c-script-box/263 "2018-04-16T00:14:03Z")

</div>

How are inputs and outputs defined in the code? Do we need a main function to run it? Is a do-while loop required to run it forever? or it loops itself as in Arduino.
