# Modeling piecewise linear diodes (discontinuous behaviors) with Dyad?

**URL:** <https://discourse.julialang.org/t/modeling-piecewise-linear-diodes-discontinuous-behaviors-with-dyad/130058>\
**Category:** Modelling & Simulations\
**Tags:** modelingtoolkit, dyad\
**Created:** [June 20, 2025, 12:08pm UTC](https://discourse.julialang.org/t/modeling-piecewise-linear-diodes-discontinuous-behaviors-with-dyad/130058 "2025-06-20T12:08:47Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pierre-haessig](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pierre-haessig/32/217129_2.png) [@pierre-haessig](https://discourse.julialang.org/u/pierre-haessig)\
**Post date:** [June 23, 2025, 9:17am UTC](https://discourse.julialang.org/t/modeling-piecewise-linear-diodes-discontinuous-behaviors-with-dyad/130058/5 "2025-06-23T09:17:44Z")

</div>

OK, so there is ongoing work on a switched system solver then. Good to know.

Some months ago, a nearby researcher @benoit_caillaud pointed me to the work of one of his colleague: the nonsmooth ODE solver [Siconos](https://nonsmooth.gricad-pages.univ-grenoble-alpes.fr/siconos/). Very nice contact mechanics simulation videos. I’ve never tried it though. From what I got, the downside is that it is a first order ODE solver.

> **[Vincent Acary INRIA](https://tripop.inrialpes.fr/people/acary/software.html)**

---

_[View the full topic](https://discourse.julialang.org/t/modeling-piecewise-linear-diodes-discontinuous-behaviors-with-dyad/130058)._
