Main Content
Discrete Events and Mode Charts
Model discrete changes in system behavior
Physical modeling, in general, involves continuous variables and equations. In some cases, however, you can simplify the mathematical model of the system and improve simulation performance by treating certain changes in system behavior as discrete. To get started, see Discrete Event Modeling.
Mode charts provide an intuitive way to model components characterized by a discrete set of distinct operating modes. Every time you model a component with multiple operating modes and transitions, this component is a good candidate for a mode chart implementation. To get started, see Mode Chart Modeling.
Language Syntax
Topics
Discrete Variables and Events
- Discrete Event Modeling
Simplify mathematical model of the system by assuming that certain variables can change values instantaneously and discontinuously at specific points in time. - Triggered Delay Component
This example shows how to implement a triggered delay component. - Enabled Component
This example shows how to implement a component similar to a Simulink® enabled subsystem.
Mode Charts
- Mode Chart Modeling
Model components characterized by discrete set of distinct operating modes. - Switch with Hysteresis
This example shows how to model a component by using mode charts and enumerations. - State Reset Modeling
Reinitialize state variables at events.