# How to compose discrete-time static and dynamic models for systems simulation similar to Simulink?

**URL:** <https://discourse.julialang.org/t/how-to-compose-discrete-time-static-and-dynamic-models-for-systems-simulation-similar-to-simulink/74858>\
**Category:** Modelling & Simulations\
**Tags:** modelingtoolkit, sensors, state-space, digital-filters, modia\
**Created:** [January 19, 2022, 9:58am UTC](https://discourse.julialang.org/t/how-to-compose-discrete-time-static-and-dynamic-models-for-systems-simulation-similar-to-simulink/74858 "2022-01-19T09:58:37Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [March 22, 2023, 5:20pm UTC](https://discourse.julialang.org/t/how-to-compose-discrete-time-static-and-dynamic-models-for-systems-simulation-similar-to-simulink/74858/5 "2023-03-22T17:20:49Z")

</div>

> [@JanKap](#):
>
> Is the status mentioned above still the same? MTK + discrete time/events is not a smooth experience?

Unfortunately, yes. There are some highly experimental features available underneath the hood, but they are not exported, nor documented and I do not recommend relying on them since they might break several times before they are ready.

See tests [here](https://github.com/SciML/ModelingToolkit.jl/blob/master/test/clock.jl#LL153-L171C28) and [here](https://github.com/SciML/ModelingToolkit.jl/blob/master/test/clock.jl#LL190-L229C59) for examples of how the interface _might_ look when it’s ready.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-compose-discrete-time-static-and-dynamic-models-for-systems-simulation-similar-to-simulink/74858)._
