.DESLib.DEVSLib.Examples.Clock2

Information

This package includes the implementation of a pendulum clock with alarm. A complete description of the system and its implementation using the CD++ environment can be found here

The clock is guided by the oscillation of a pendulum, and counts the minutes and hours. It also has an alarm system that is checked and activated when required.
The clock and the alarm can be configured using the input ports.

Simulation

The Clock system is implemented in the testClock model. Three variables have been included to facilitate the observation of the results. The testNoAlarm model includes the Clock system without the alarm subsystem. In this case, two variables have been included to observe the results.

Contents

NameDescription
 Pendulum
 Control
 Alarm
 Hours
 Minutes
 Motor
 HandsControl
 AlarmControl
 Clock
 testClock
 ClockNoAlarm
 testNoAlarm

Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos