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 2024-11-23T19:25:52Z
by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos