Narration 1 00:00:01 --> 00:00:05 Welcome to the spoken tutorial on Developing an equation based model. 2 00:00:06 --> 00:00:13 In this tutorial, we are going to learn:

how to create a textual model in OMEdit and simulate it,

3 00:00:14 --> 00:00:16 how to declare variables and equations, 4 00:00:17 --> 00:00:20 how to use Simulation Setup toolbox. 5 00:00:21 --> 00:00:31 To record this tutorial, I am using OpenModelica 1.9.2 and Ubuntu Linux Operating System 14.04. 6 00:00:32 --> 00:00:39 But, this process is identical in Windows, Mac OS X or FOSSEE OS on ARM. 7 00:00:40 --> 00:00:47 To understand this tutorial, you need to know equation-based modeling of physical systems. 8 00:00:48 --> 00:00:53 Let us simulate the motion of a ball of mass 'm' which is under free fall due to gravity. 9 00:00:54 --> 00:00:58 The height of the ball from the surface of Earth is represented by variable h. 10 00:00:59 --> 00:01:03 The velocity of the ball is represented by variable v. 11 00:01:04 --> 00:01:09 Acceleration due to gravity is represented by g and is assumed to be constant. 12 00:01:10 --> 00:01:15 Variables directed away from the surface of earth are considered positive. 13 00:01:16 --> 00:01:26 The equations of motion for a freely falling body are as follows:

dh/dt = v, dv/dt = g