WOLFRAM SYSTEM MODELER
RotationalClockEvent clock generating a clock tick each time an observed input angle changed for a rotational-interval given as variable input |
SystemModel["Modelica.Clocked.ClockSignals.Clocks.Rotational.RotationalClock"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
For a simple example cf. the rotational sampling example.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 |
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', otherwise false. Sampled with the provided clock signal y. |
|
trigger_interval |
Type: RealInput Description: Rotational-interval the input angle must be changed to trigger the next clock tick |
y_clock |
Type: EventClock Description: Generate a clock signal when the Boolean input changes from false to true |
|
---|---|---|
update_offset |
Type: SampleClocked Description: Sample the continuous-time, Real input signal and provide it as clocked output signal. The clock is provided as input signal |
|
angular_offset |
Type: Hold Description: Hold the clocked, Real input signal and provide it as continuous-time output signal (zero order hold) |
|
sub |
Type: Add Description: Output the sum of the two inputs |
|
less |
Type: Less Description: Output y is true, if input u1 is less than input u2 |
|
abs2 |
Type: Abs Description: Output the absolute value of the input |
|
abs1 |
Type: Abs Description: Output the absolute value of the input |
|
direction_sign |
Type: Sign Description: Output the sign of the input |
|
cast |
Type: RealToInteger Description: Convert Real to Integer signal |
|
changed |
Type: IntegerChange Description: Indicate Integer signal changing |
|
update_direction |
Type: SampleClocked Description: Sample the continuous-time, Real input signal and provide it as clocked output signal. The clock is provided as input signal |
Modelica.Clocked.Examples.Elementary.ClockSignals Simple example of a rotational clock with variable trigger interval and switching rotation-direction. |
|
Modelica.Clocked.Examples.Elementary.ClockSignals Simple example of conjunctive and disjunctive logical clocks, combining clock signals to derive new event driven clocks. |
Modelica.Clocked.ClockSignals.Clocks.Rotational Event clock generating a clock tick each time an observed input angle changed for a certain, constant rotational-interval |