WOLFRAM SYSTEM MODELER
PeriodicRealClockGenerate a periodic clock signal with a period defined by a Real number |
SystemModel["Modelica.Clocked.ClockSignals.Clocks.PeriodicRealClock"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.
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 |
period |
Value: Type: Time (s) Description: Period of clock (defined as Real number) |
y |
Type: ClockOutput Description: 'output Clock' as connector |
---|
ClockedWithDiscreteTextbookController Modelica.Clocked.Examples.SimpleControlledDrive Simple controlled drive with discrete textbook controller (period is not used in the controller) |
|
Modelica.Clocked.Examples.SimpleControlledDrive Simple controlled drive with discrete controller (period is used in the controller) |
|
ClockedWithDiscretizedContinuousController Modelica.Clocked.Examples.SimpleControlledDrive Simple controlled drive with discretized continuous-time controller |
|
Modelica.Clocked.Examples.SimpleControlledDrive Simple controlled drive with discrete controller and simulated AD and DA effects |
|
Modelica.Clocked.Examples.CascadeControlledDrive Drive with clocked cascade controller where clocks are defined with sub-sampling and partitions with super-sampling |
|
Modelica.Clocked.Examples.CascadeControlledDrive Drive with clocked cascade controller where fastest partition is defined with a clock and slower partition is defined with super-sampling |
|
Modelica.Clocked.Examples.Systems Simple example of a mixing unit where a (discretized) nonlinear inverse plant model is used as feedforward controller |
|
Modelica.Clocked.Examples.Elementary.RealSignals Example of using the clocked simulation time based Step source block |
|
Modelica.Clocked.Examples.Elementary.RealSignals Example of using the clocked tick based Step source block |
|
Modelica.Clocked.Examples.Elementary.RealSignals Example of using the clocked time based Sine source block |
|
Modelica.Clocked.Examples.Elementary.RealSignals Example of using the clocked tick based Sine source block |
|
Modelica.Clocked.Examples.Elementary.RealSignals Example of using the clocked time based Ramp source block |
|
Modelica.Clocked.Examples.Elementary.RealSignals Example of using the clocked tick based Ramp source block |
|
Modelica.Clocked.Examples.Elementary.IntegerSignals Example of using the clocked simulation time based Integer Step source block |
|
Modelica.Clocked.Examples.Elementary.IntegerSignals Example of using the clocked simulation tick/sample based Integer Step source block |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of using the clocked simulation time based Boolean Step source block |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of using the clocked simulation tick/sample based Boolean Step source block |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of using the clocked simulation time based Boolean Pulse source block |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of using the clock tick based Boolean Pulse source block |