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 2025-04-01T18:24:36Z
by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos