离散事件图和模式图
对系统行为的离散变化进行建模
通常,物理建模涉及连续变量和方程。然而,在某些情况下,您可以将系统行为的某些变化视为离散行为,以此简化系统的数学模型并提升仿真性能。要开始使用,请参阅Discrete Event Modeling。
模式图提供了一种直观的方法,可以对具有离散的不同操作模式特征的组件进行建模。每次需要对具有多个操作模式和转移的组件进行建模时,都可以考虑通过模式图来实现。要开始使用,请参阅Mode Chart Modeling。
语言语法
主题
离散变量和事件
- 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 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.