FixedRotationalClock

Event clock generating a clock tick each time an observed input angle changed for a certain, constant rotational-interval

Diagram

Parameters (3)

useSolver

Value: false

Type: Boolean

Description: = true, if solverMethod shall be explicitly defined

solverMethod

Value: "ExplicitEuler"

Type: SolverMethod

Description: Integration method used for discretized continuous-time partitions

trigger_interval

Value: 2 * Modelica.Constants.pi

Type: Angle (rad)

Description: Rotational-interval the input angle must be changed to trigger the next clock tick

Connectors (4)

y

Type: ClockOutput

angle

Type: RealInput

Description: Input angle observed for generating clock ticks.

direction

Type: IntegerOutput

Description: Rotation direction (sign: +1 or -1). Sampled with the provided clock signal 'y'.

direction_changed

Type: BooleanOutput

Description: = 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.

Components (2)

rotationalClock

Type: RotationalClock

threshold

Type: Constant

Used in Components (1)

Engine

Modelica.Clocked.Examples.Systems.Utilities.ComponentsThrottleControl

Internal combustion engine.