Samples a signal and holds the value for a period T.
The Hold Block
Parameters:
| period |
sample period |
| start |
start time |
Description:
The Hold block (called "SampleHold" in PowerDEVS) samples an input
signal at periodical time instants which are defined by the
parameters period and start: tsample=start+period*i,
where i=non-negative numbers. It holds the sampled value until the
next sampling instant.
The picture below shows a sine signal (blue) that is sampled (red)
at a frequency of T=0.25.
Generated at 2026-04-14T18:18:34Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos