Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
ENES489P Pendulum Clock Model 02/22/2010 SysML Parametrics
 

Summary: ENES489P Pendulum Clock Model 02/22/2010
SysML Parametrics
Read and understand the Addition and Satellite examples from the Paramagic tutorial that has been posted on the class
website. Reproducing parts of it by yourself using the MagicDraw tool will be of great benefit. You will also find the
Paramagic User Guide online.
In this lab, you will be using MagicDraw to determine if a set of requirements can be achieved for a simple system.
In this week's lab, you will be using Matlab as the solver and it will be up to you how to structure the requirements
diagrams, the block diagrams, the parametric diagrams and the instance diagram using the tutorial as a guideline.
Problem Statement
The customer wishes to use a pendulum clock to keep track of time. His requirement is that the clock loses no more
than a second every hour.
Requirement: The clock loses no more than one second every hour. 1
Refer to the Modeling assignment on pendulums for a description of the formulas.
Matlab Pendulum Model
The pendulum will be modeled in Matlab and will have two input parameters, the length and the angle, and one output
parameter, the period. Instructions or creating the model are given below.
This will be how the pendulum is modeled in Matlab. Create an mfile called "pendulum.m" with the following
contents.
f u n c t i o n xdot = pendulum ( len , t , x )
xdot = [ x ( 2 ) ; -9.81 s i n ( x ( 1 ) ) / len ] ;

  

Source: Austin, Mark - Institute for Systems Research & Department of Civil and Environmental Engineering, University of Maryland at College Park

 

Collections: Engineering