# \#variable

**URL:** https://forum.plexim.com/tag/variable/48.md

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

---

## [How can I create global initialization variables or parameters that work anywhere in the model hierarchy?](https://forum.plexim.com/t/how-can-i-create-global-initialization-variables-or-parameters-that-work-anywhere-in-the-model-hierarchy/846)

<div class="topic-metadata">

**Author:** [@rcolbeck](https://forum.plexim.com/u/rcolbeck)\
**Replies:** 2\
**Last updated:** [August 27, 2020, 11:40pm UTC](https://forum.plexim.com/t/how-can-i-create-global-initialization-variables-or-parameters-that-work-anywhere-in-the-model-hierarchy/846 "2020-08-27T23:40:16Z")

</div>

Hello: In the Initialization tab of the Simulation parameters, can I have variables that work anywhere in the hierarchy of the model. i.e. global? At the moment, I create different variables and then I always have to cr…

---

## [How to insert a phase delay value calculated during a running simulation to a delay or any other block?](https://forum.plexim.com/t/how-to-insert-a-phase-delay-value-calculated-during-a-running-simulation-to-a-delay-or-any-other-block/623)

<div class="topic-metadata">

**Author:** [@snehathakur](https://forum.plexim.com/u/snehathakur)\
**Replies:** 3\
**Last updated:** [August 22, 2019, 8:44pm UTC](https://forum.plexim.com/t/how-to-insert-a-phase-delay-value-calculated-during-a-running-simulation-to-a-delay-or-any-other-block/623 "2019-08-22T20:44:31Z")

</div>

Hi How can I insert a variable calculated during a simulation to block. I know, we can write the initialization commands and the blocks pick up the variable value. But I want my circuit to sense the current and calculat…
