Ics 810 Modelling and Simulation Notes: (A) (B) (C) (D)
Ics 810 Modelling and Simulation Notes: (A) (B) (C) (D)
Period: 1961-1965
Advent: first specialist simulation languages such as
SIMULA [Dahl and Nygaard 1966] emerged. This period is
regarded as the advent since major simulation languages appeared or their forerunners. The
simulations were lines of computer code; to the non-expert a black box into which data were
input and results were output following a simulation run.
Period: 1966-1970
Formative period: Advancements in hardware
and software forced some simulation languages
to undergo major revisions. For example GPSS
was revised.
Benefits of VIS
Improved understanding of the results. The effects of specific events can be
seen during model runs. It is possible to re-run the simulation so that some understanding on why
some specific results occur.
1.Spreadsheets
2.Programming languages
3.Dedicated software packages
Elisha Opiyo, SCI, UON, May-August 2011
Some Simulation Software
Spreadsheets
➔eg. Excel have some limited capabilities for simulation
modeling
➔The time-slice model: develop using the basic
capabilities of a spreadsheet.
➔Random numbers: generate using the ‘‘RAND’’
function
➔Samples: draw from empirical distributions using the
‘‘IF’’ function
➔Use the lookup function (‘‘VLOOKUP’’ or
‘‘HLOOKUP’’).
Elisha Opiyo, SCI, UON, May-August 2011
Some Simulation Software
Spreadsheets
Sampling from statistical distributions: are
provided by Excel, such as the normal and
gamma distributions.
➔Due to the limitations: use some programming
Note that the INFORMS (Institute for Operations Research and the Management
Sciences) College on Computer Simulation provides a list of simulation software and
links to the associated vendors through their web site (www: INFORMS-Computer
Simulation). This is the source of our initial survey data.
Elisha Opiyo, SCI, UON, May-August 2011
Some Simulation Software
Comparing spreadsheets, programming languages and
dedicated simulation software
Input data and analysis features: Distribution fitting; Ability to sample from
empirical distributions; Which statistical distributions are available?; Ability to
import data from other software.
The Drop
Let a roller coaster ride begin by climbing to a
height of 50 meters, and then fall rapidly to a
height of 10 meters. Ignoting the effects of
friction, then as it falls its velocity will be
related to its height above the ground by this
equation:
50 - h = v²/19.6
Elliptical Orbit
If the Space Shuttle were to make a maintenance trip out to
a satellite in geo-synchronous orbit, the Shuttle would need
to enter into an elliptical orbit around the earth. That
trajectory could be described by this equation:
Batting Average
A cricket batter goes into a game with a seasonal batting
average of S after a total of T times at bat, and gets K hits
in that game for N times at bat, his new batting average is
determined by this expression:
Weight on a String
Consider the situation of a beam supporting a weight in the
center. Variables include: - the dimensions of the beam:
length (L), breadth (B), and thickness (t); - the amount of
weight supported (W) (also called the "load") ; - the amount
by which the beam bends (y) (called "deformation")
Population equations
Basic equation : rt = log(N/N0), Where:
N0 (initial population) = The population at time t = 0.
N (future population) = The population at time t.
r (rate) = The rate of population change as a function of t (a 1% increase is expressed
as 0.01). This variable is called the Malthusian Parameter. In population studies,
r is usually taken to mean births minus deaths.
t (time) = The amount of time required to produce a growth in population proportional
to N/N0.
I = V/R
θ'' = − (g/R)sin θ
Elisha Opiyo, SCI, UON, May-August 2011
DEMONSTRATIONS - SIMULATIONS
Sample Implementation
http://phet.colorado.edu/sims/pendulum-lab/pendulum-lab_en.html