Library of blocks that generate a clock tick each time an observed input angle changes
Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
PartialRotationalClock | Base class for event clocks that generate a clock tick each time an observed input angle changes |
RotationalClock | Event clock generating a clock tick each time an observed input angle changed for a rotational-interval given as variable input |
FixedRotationalClock | Event clock generating a clock tick each time an observed input angle changed for a certain, constant rotational-interval |
Base class for event clocks that generate a clock tick each time an observed input angle changes
Extends from ClockSignals.Interfaces.PartialClock (Icon, connector, and solver method of a block that generates a clock).
Name | Description |
---|---|
Advanced | |
useSolver | = true, if solverMethod shall be explicitly defined |
solverMethod | Integration method used for discretized continuous-time partitions |
Name | Description |
---|---|
y | |
angle | Input angle observed for generating clock ticks. [rad] |
direction | Rotation direction (sign: +1 or -1). Sampled with the provided clock signal 'y'. |
direction_changed | = true, if the rotation direction of the observed angle changed since the last tick of y', otherwise false. Sampled with the provided clock signal y. |
Event clock generating a clock tick each time an observed input angle changed for a rotational-interval given as variable input
Extends from PartialRotationalClock (Base class for event clocks that generate a clock tick each time an observed input angle changes).
Name | Description |
---|---|
Initialization | |
direction_changed | = true, if the rotation direction of the observed angle changed since the last tick of y', otherwise false. Sampled with the provided clock signal y. |
Advanced | |
useSolver | = true, if solverMethod shall be explicitly defined |
solverMethod | Integration method used for discretized continuous-time partitions |
Name | Description |
---|---|
y | |
angle | Input angle observed for generating clock ticks. [rad] |
direction | Rotation direction (sign: +1 or -1). Sampled with the provided clock signal 'y'. |
trigger_interval | Rotational-interval the input angle must be changed to trigger the next clock tick [rad] |
Initialization | |
direction_changed | = true, if the rotation direction of the observed angle changed since the last tick of y', otherwise false. Sampled with the provided clock signal y. |
Event clock generating a clock tick each time an observed input angle changed for a certain, constant rotational-interval
Extends from PartialRotationalClock (Base class for event clocks that generate a clock tick each time an observed input angle changes).
Name | Description |
---|---|
trigger_interval | Rotational-interval the input angle must be changed to trigger the next clock tick [rad] |
Initialization | |
direction_changed | = true, if the rotation direction of the observed angle changed since the last tick of y', otherwise false. Sampled with the provided clock signal y. |
Advanced | |
useSolver | = true, if solverMethod shall be explicitly defined |
solverMethod | Integration method used for discretized continuous-time partitions |
Name | Description |
---|---|
y | |
angle | Input angle observed for generating clock ticks. [rad] |
direction | Rotation direction (sign: +1 or -1). Sampled with the provided clock signal 'y'. |
Initialization | |
direction_changed | = true, if the rotation direction of the observed angle changed since the last tick of y', otherwise false. Sampled with the provided clock signal y. |