# Mixing time-discrete and time-continuous systems in a simulation

**URL:** <https://discourse.julialang.org/t/mixing-time-discrete-and-time-continuous-systems-in-a-simulation/74277>\
**Category:** Modelling & Simulations\
**Tags:** question\
**Created:** [January 9, 2022, 11:44am UTC](https://discourse.julialang.org/t/mixing-time-discrete-and-time-continuous-systems-in-a-simulation/74277 "2022-01-09T11:44:17Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![tuckermcclure](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tuckermcclure/32/1187_2.png) [@tuckermcclure](https://discourse.julialang.org/u/tuckermcclure)\
**Post date:** [September 11, 2026, 5:23pm UTC](https://discourse.julialang.org/t/mixing-time-discrete-and-time-continuous-systems-in-a-simulation/74277/23 "2026-09-11T17:23:15Z")

</div>

Hi @tqml. To mix a new package into the potential set of solutions here, I wonder if the following is useful for you for this kind of thing? It’s certainly designed for the use case you’re describing. Maybe helps?

> [@\[ANN\] SystemsOfSystems.jl, a simulation engine](https://discourse.julialang.org/t/ann-systemsofsystems-jl-a-simulation-engine/139359):
>
> Hi all. I’d like to announce a new package for simulating models that contain models that contain models, etc., where the models can have both continuous and discrete parts. I needed a system like this to work with modular components of control systems, and it has been working well for the teams I work with, so I hope it can be useful to the broader community. As a teaser, here is an extremely simple, one-model simulation: using SystemsOfSystems constants = (; mass = 1., kp = 8., # Pr…

---

_[View the full topic](https://discourse.julialang.org/t/mixing-time-discrete-and-time-continuous-systems-in-a-simulation/74277)._
