ReferenceAvailable
Zero Order Hold
Hold each sampled value until the next sample.
Hold each sampled value until the next sample.
Where to find it
System → physics interface → Zero Order Hold
How to use it
Add the component to the physics graph, connect its ports, then set its values and initial state where applicable.
Settings and initial values
| Setting | Initial value |
|---|---|
| Name | block1 |
| Input | u |
| Output | y |
| Sample period | 1e-3[s] |
| Initial value | 0 |
Result
The next compatible study includes this physical contribution or condition.
Troubleshooting
Check port connections, reference nodes and units. A disconnected or inconsistent graph can fail to solve.