-
Depends on #60. Requires some decisions related to:
- If the states are controlled by the system, then:
- If the modes are controlled by the system, then no user input is needed
- If the modes are…
-
Not sure if MTK or OrdinaryDiffEq, but
```julia
using ModelingToolkit, OrdinaryDiffEq
@component function ContactForce(; name, surface=nothing)
systems = @named begin
# frame_a = Fr…
-
For reference, an `LTIModel` can be $E \dot{x}(t) = A x(t) + B u(t)$, $y(t) = C x(t) + Du(t)$ (continuous-time) or $E x_{n + 1} = A x_n + B u_n$, $y_n = C x_n + D u_n$ (discrete-time). In both cases, …
-
A _runtime mismatch_ is when two different dynamical components run at different time steps. For example, suppose_ that we want to run a model for humans that updates once every 7 days, but we want t…
-
Some solvers work with discrete-time systems, others with continuous-time systems.
We should make a function that converts a continuous-time system into a discrete-time system automatically.
-
Hi,
### Description
The model below fails to initialize in openmodelica, yet it runs fine in Dymola, so my first guess is that openmodelica has a bug.
The model is a direct call to the 128 bit …
-
https://github.com/patrick-kidger/diffrax/issues/343 seems somewhat related but not quite the same.
It would be great to support discrete mode transitions between time steps. We can of course use t…
-
I'm still seeing a couple bugs on 9.36:
```julia
using ModelingToolkit, OrdinaryDiffEq, Plots
t = ModelingToolkit.t_nounits
D = ModelingToolkit.D_nounits
@variables x(t)
@parameters c(t)
@mtkbu…
-
See https://dl.acm.org/doi/10.1145/2461328.2461379
- [ ] Add a problem in `problems` folder
- [ ] Add an example in `docs/src/examples` folder
-
Hi Patrick,
I noticed that steady state events occur much earlier if a state with a large value is constant. This behavior occurs irrespective of the `optx.norm` specified, even though I would assu…