WOLFRAM SYSTEM MODELER

FixedRotationalClock

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

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.ClockSignals.Clocks.Rotational.FixedRotationalClock"]
Out[1]:=

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

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

Connectors (4)

y

Type: ClockOutput

Description: 'output Clock' as connector

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', 'false' otherwise. Sampled with the provided clock signal 'y'.

Components (2)

rotationalClock

Type: RotationalClock

Description: Event clock generating a clock tick each time an observed input angle changed for a rotational-interval given as variable input.

threshold

Type: Constant

Description: Generate constant signal of type Real

Used in Examples (1)

EngineThrottleControl

Modelica_Synchronous.Examples.Systems

Used in Components (1)

Engine2

Modelica_Synchronous.Examples.Systems.Utilities.ComponentsThrottleControl

Internal combustion engine