-
-
Notifications
You must be signed in to change notification settings - Fork 232
Description
Currently, DiscreteSystem and ODESystem both support only single clock systems.
-
For multi-clock discrete transitions using the Difference operator in ODESystem, the plan is to have separate periodic callbacks for each set of synchronous discrete transitions. We could later extend this to a single customized discrete callback if the need arises.
-
In order to support multi-clock DiscreteSystems, we might need to group each set of the synchronous transitions and generate a separate function for each such group. We could then call each of these functions as a function of time (t) by an outer function. Is there a better way to do this?
-
It is also possible that each of these "clocks" starts at different times, I am not sure how common such scenarios are in practice. If we want to support these kinds of systems, we might need to add an extra field indicating the start time to the difference operator which defaults to 0. This start time could later be fetched while creating the periodic callback.
@ChrisRackauckas @YingboMa We have already discussed 1. Any thoughts on 2 and 3?