- •Preface
- •1.1 Introduction
- •1.2 Models and modelling
- •1.3 The learning process for mathematical modelling
- •Summary
- •Aims and objectives
- •2.1 Introduction
- •2.2 Examples
- •2.3 Further examples
- •Appendix 1
- •Appendix 2
- •Aims and objectives
- •3.1 Introduction
- •3.2 Definitions and terminology
- •3.3 Methodology and modelling flow chart
- •3.4 The methodology in practice
- •Background to the problem
- •Summary
- •Aims and objectives
- •4.1 Introduction
- •4.2 Listing factors
- •4.3 Making assumptions
- •4.4 Types of behaviour
- •4.5 Translating into mathematics
- •4.6 Choosing mathematical functions
- •Case 1
- •Case 2
- •Case 3
- •4.7 Relative sizes of terms
- •4.8 Units
- •4.9 Dimensions
- •4.10 Dimensional analysis
- •Summary
- •Aims and objectives
- •5.1 Introduction
- •5.2 First-order linear difference equations
- •5.3 Tending to a limit
- •5.4 More than one variable
- •5.5 Matrix models
- •5.6 Non-linear models and chaos
- •5.7 Using spreadsheets
- •Aims and objectives
- •6.1 Introduction
- •6.2 First order, one variable
- •6.3 Second order, one variable
- •6.4 Second order, two variables (uncoupled)
- •6.5 Simultaneous coupled differential equations
- •Summary
- •Aims and objectives
- •7.1 Introduction
- •7.2 Modelling random variables
- •7.3 Generating random numbers
- •7.4 Simulations
- •7.5 Using simulation models
- •7.6 Packages and simulation languages
- •Summary
- •Aims and objectives
- •8.1 Introduction
- •8.2 Data collection
- •8.3 Empirical models
- •8.4 Estimating parameters
- •8.5 Errors and accuracy
- •8.6 Testing models
- •Summary
- •Aims and objectives
- •9.1 Introduction
- •9.2 Driving speeds
- •Context
- •Problem statement
- •Formulate a mathematical model
- •Rewritten problem statement
- •Obtain the mathematical solution
- •9.3 Tax on cigarette smoking
- •Context
- •Problem statement
- •Formulate a mathematical model
- •Obtain the mathematical solution
- •9.4 Shopping trips
- •Context
- •Problem statement
- •Formulate a mathematical model
- •Obtain the mathematical solution
- •Interpret the mathematical solution
- •Using the model
- •9.5 Disk pressing
- •Context
- •Problem statement
- •Formulate a mathematical model
- •Obtain the mathematical solution
- •Interpret the mathematical solution
- •Further thoughts
- •9.6 Gutter
- •Context and problem statement
- •Formulate a mathematical model
- •Obtain the mathematical solution
- •9.7 Turf
- •Context
- •Problem statement
- •Formulate a mathematical model
- •Obtain the mathematical solution
- •Interpret the solution
- •9.8 Parachute jump
- •Context and problem statement
- •Formulate a mathematical model
- •Obtain the mathematical solution
- •9.9 On the buses
- •Context
- •Problem statement
- •Formulate a mathematical model
- •Obtain the mathematical solution
- •9.10 Further battles
- •Discrete deterministic model
- •Discrete stochastic model
- •Comparing the models
- •9.11 Snooker
- •Context
- •Problem statement
- •Formulate a mathematical model
- •Obtain the mathematical solution
- •Interpret the mathematical solution
- •9.12 Further models
- •Mileage
- •Heads or tails
- •Picture hanging
- •Motorway
- •Vehicle-merging delay at a junction
- •Family names
- •Estimating animal populations
- •Simulation of population growth
- •Needle crystals
- •Car parking
- •Overhead projector
- •Sheep farming
- •Aims and objectives
- •10.1 Introduction
- •10.2 Report writing
- •Preliminary
- •Main body
- •Appendices
- •Summary
- •General remarks
- •10.3 A specimen report
- •Contents
- •1 PRELIMINARY SECTIONS
- •1.1 Summary and conclusions
- •1.2 Glossary
- •2 MAIN SECTIONS
- •2.1 Problem statement
- •2.2 Assumptions
- •2.3 Individual testing
- •2.4 Single-stage procedure
- •2.5 Two-stage procedure
- •2.6 Results
- •2.7 Regular section procedures
- •2.8 Conclusions
- •3 APPENDICES
- •3.1 Possible extensions
- •3.2 Mathematical analysis
- •10.4 Presentation
- •Preparation
- •Giving the presentation
- •Bibliography
- •Solutions to Exercises
- •Chapter 2
- •Example 2.2 – Double wiper overlap problem
- •Chapter 4
- •Chapter 5
- •Chapter 6
- •Chapter 8
- •Index
In reality, there could well be a different distribution for each stop and for different times of the day. For our deterministic model, we can take a constant mean value for all passengers, say three stops. So, when N e ( I, J ) passengers board bus I at stop J, this gives rise to N 1 ( I, J + 3) = N e ( I, J ). The total number of passengers on board the bus at any time will be given by the sum Σ J N 1 ( I, J ) and we need to check that this does not exceed 60. We now have the beginnings of a simple model. We see that we need two arrays, namely T d ( I, J ) and N 1 ( I, J ), and clearly
For our convenience, we have assumed that no passengers arrive while a bus is actually at a stop. We have also assumed that we do not have buses overtaking each other. Since a study of overtaking was one of our objectives, we must build this feature into the model. As we have assumed a constant travelling time, any overtaking that occurs must happen at a stop. Once overtaking has occurred, the bus numbers become mixed up. We need an array P ( K ) such that P ( K ) is the original number of the bus which is currently K th in the sequence. Initially, we have P ( K ) = K for K = 1 to N b . The K th bus in the sequence will arrive at stop J before the ( K − 1)th bus has left if
Table 9.16
We call this ‘bunching’ and we can use a variable B to record the number of occurrences. When it happens, we can assume for convenience that all waiting passengers continue to board the bus in front so that N e ( P ( K ), J ) = 0. The condition for overtaking is that T d ( P ( K ), J ) < T d ( P ( K − 1), J ). (We must define P (0) = 0.) When it happens, we must interchange the number labels of the K th and ( K − 1)th buses, i.e. R = P ( K ), P ( K ) = P ( K − 1) and P ( K − 1) = R . Note that we assume no ‘double overtaking’.
In spite of all our simplifications, our model is already getting rather complicated and we have not yet considered the passengers! We need variables such as T ar ( I, J ) which is the time of arrival of the I th passenger currently at stop J, W ( I, J ) which is the waiting time of the I th passenger at stop J, and T j ( I, J ) which is the total journey time of the I th passenger at stop J and equals W ( I, J ) + boarding time + travel time + disembarking time.
For a more realistic stochastic model, we can use a Poisson process to generate the arrivals of passengers at a stop and to sample the journey lengths from a distribution such as that mentioned earlier. We can also introduce random delays into the journey times between stops.
Obtain the mathematical solution
A run of the simple deterministic model on a microcomputer using only four stops and four buses with intervals of 500 s between starting times from the depot and 60 s between passenger arrivals at any stop