Closed
Description
- Hook up codegen when
ODEFunction
is called - Do something with all the data saved by discrete-time partitions
- Clean up old code generation for discrete-time systems
- Get rid of old, ill-defined discrete operators
- Set initial condition for discrete variables with a sane syntax
- code generation with more than one discrete-time partition
- add tests for multiple clock rates
- Handle negative shifts, several broken discrete-time examples #2359
- Store solution to discrete-time partitions and make it accesible through
idxs
keyword - handle plotting of discrete-time data with
steppost + marker
appearance - Specification of data types of state variables and parameters in the MTK model, e.g.,
Int, Float64
etc. This type has to be configurable by the user instantiating a block, e.g., the user can select whether an integer variable isInt64 / Int32
etc.,@mtkmodel
does not handle specification of variable type #2491 - Introduce
Sample
andHold
blocks in MTKstdlib, WIP: discrete-time components ModelingToolkitStandardLibrary.jl#242 - Introduce super and sub sampling add ClockChange operator #2744
- Introduce Clock block that can be connected to discrete-time components to associate them with a clock
- Handle calls to
sampletime
in equations that haveInferredDiscrete
time domain. This should use a connected clock if available, otherwise set the domain to inferred. addsampletime
operator #2690 - Test discrete-time partitions that include both positive and negative shifts
- Add documentation
- Mention implicit
(k)
index for non-indexed variables - Nail down the semantics of the shift index w.r.t. initial conditions. The simulation starts at shift index
k
, and the initial condition is all indices less thank
. - add docs for sampled-data systems #2410
- Mention implicit
- Add tutorials
- Missing initialization of discrete-to-continuous communication parameter #2356
- Test inversion of discrete-time model.