WOLFRAM SYSTEM MODELER

PartialRotationalClock

Base class for event clocks that generate a clock tick each time an observed input angle changed.

Wolfram Language

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

Parameters (2)

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

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'.

Extended by (2)

FixedRotationalClock

Modelica_Synchronous.ClockSignals.Clocks.Rotational

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

RotationalClock

Modelica_Synchronous.ClockSignals.Clocks.Rotational

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