blockPeriodicRealClock
Extends from Clocked.ClockSignals.Interfaces.PartialPeriodicClock (Icon, connector, and solver method of a block that generates a periodic clock).
Information
This component generates a periodic clock that starts ticking when the simulation starts. The period is defined in seconds by a Real number. If clocks are synchronized relatively to each other then only one of the clocks can be defined with PeriodicRealClock.
For an introduction to clocks see UsersGuide.Clocks. If exact, integer based, time synchronization with absolute period definitions is desired, use block PeriodicExactClock to generate a periodic clock signal.
If a clock is associated to a clocked continuous-time partition, then an integrator has to be defined that is used to integrate the partition from the previous to the current clock tick. This is performed by setting parameter useSolver = true and defining the integration method as String with parameter solver. Both parameters are in tab Advanced. For an example, see Examples.Systems.ControlledMixingUnit.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | period | Period of clock (defined as Real number) | |
| Advanced | |||
| Boolean | useSolver (from PartialClock) | false | = true, if solverMethod shall be explicitly defined |
| ModelicaServices.Types.SolverMethod | solverMethod (from PartialClock) | "ExplicitEuler" | Integration method used for discretized continuous-time partitions |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Clocked.ClockSignals.Interfaces.ClockOutput | y (from PartialClock) |