modeling and simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. ·...

179
Modeling and Simulation Dr. G.H.J. Lanel Lecture 1 Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 1 / 44

Upload: others

Post on 19-Aug-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Modeling and Simulation

Dr. G.H.J. Lanel

Lecture 1

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 1 / 44

Page 2: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Outline

Outline

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 2 / 44

Page 3: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation

Outline

1 Introduction To Modeling and SimulationIntroduce ModelingIntroduce SimulationModel Building and SimulationChoose The Appropriate Simulation ToolsSimulation World-views

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 3 / 44

Page 4: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Modeling

What is A model?

A representation of an object, a system, or an idea in some form otherthan that of the entity itself.(Shannon)

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 4 / 44

Page 5: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Modeling

Types of Models:

Physical: Scale models, prototype plants, . . .

Mathematical: Analytical queuing models, linear programs,simulation.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 5 / 44

Page 6: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Modeling

Types of Models:

Physical: Scale models, prototype plants, . . .

Mathematical: Analytical queuing models, linear programs,simulation.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 5 / 44

Page 7: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Modeling

Types of Models:

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 6 / 44

Page 8: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Modeling

Types of Models:

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 6 / 44

Page 9: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

What is Simulation?

A simulation of a system is the operation of a model, which is arepresentation of that system.

The model is amenable to manipulation which would beimpossible, too expensive, or too impractical to perform on thesystem which it portrays.

The operation of the model can be studied, and, from this,properties concerning the behavior of the actual system can beinferred.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 7 / 44

Page 10: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

What is Simulation?

A simulation of a system is the operation of a model, which is arepresentation of that system.

The model is amenable to manipulation which would beimpossible, too expensive, or too impractical to perform on thesystem which it portrays.

The operation of the model can be studied, and, from this,properties concerning the behavior of the actual system can beinferred.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 7 / 44

Page 11: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

What is Simulation?

A simulation of a system is the operation of a model, which is arepresentation of that system.

The model is amenable to manipulation which would beimpossible, too expensive, or too impractical to perform on thesystem which it portrays.

The operation of the model can be studied, and, from this,properties concerning the behavior of the actual system can beinferred.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 7 / 44

Page 12: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

Applications:

Designing and analyzing manufacturing systems.

Evaluating H/W and S/W requirements for a computer system.

Evaluating a new military weapons system or tactics.

Determining ordering policies for an inventory system.

Designing communications systems and message protocols forthem.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 8 / 44

Page 13: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

Applications:

Designing and analyzing manufacturing systems.

Evaluating H/W and S/W requirements for a computer system.

Evaluating a new military weapons system or tactics.

Determining ordering policies for an inventory system.

Designing communications systems and message protocols forthem.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 8 / 44

Page 14: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

Applications:

Designing and analyzing manufacturing systems.

Evaluating H/W and S/W requirements for a computer system.

Evaluating a new military weapons system or tactics.

Determining ordering policies for an inventory system.

Designing communications systems and message protocols forthem.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 8 / 44

Page 15: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

Applications:

Designing and analyzing manufacturing systems.

Evaluating H/W and S/W requirements for a computer system.

Evaluating a new military weapons system or tactics.

Determining ordering policies for an inventory system.

Designing communications systems and message protocols forthem.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 8 / 44

Page 16: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

Applications:

Designing and analyzing manufacturing systems.

Evaluating H/W and S/W requirements for a computer system.

Evaluating a new military weapons system or tactics.

Determining ordering policies for an inventory system.

Designing communications systems and message protocols forthem.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 8 / 44

Page 17: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

Applications: Ctd

Designing and operating transportation facilities such as freeways,airports, subways, or ports.

Evaluating designs for service organizations such as hospitals,post offices, or fast-food restaurants.

Analyzing financial or economic systems.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 9 / 44

Page 18: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

Applications: Ctd

Designing and operating transportation facilities such as freeways,airports, subways, or ports.

Evaluating designs for service organizations such as hospitals,post offices, or fast-food restaurants.

Analyzing financial or economic systems.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 9 / 44

Page 19: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Introduce Simulation

Applications: Ctd

Designing and operating transportation facilities such as freeways,airports, subways, or ports.

Evaluating designs for service organizations such as hospitals,post offices, or fast-food restaurants.

Analyzing financial or economic systems.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 9 / 44

Page 20: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building:

1 Define an achievable goal.

2 Put together a complete mix of skills on the team.

3 Involve the end-user.

4 Choose the appropriate simulation tools.

5 Model the appropriate level(s) of detail.

6 Start early to collect the necessary input data.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 10 / 44

Page 21: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building:

1 Define an achievable goal.

2 Put together a complete mix of skills on the team.

3 Involve the end-user.

4 Choose the appropriate simulation tools.

5 Model the appropriate level(s) of detail.

6 Start early to collect the necessary input data.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 10 / 44

Page 22: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building:

1 Define an achievable goal.

2 Put together a complete mix of skills on the team.

3 Involve the end-user.

4 Choose the appropriate simulation tools.

5 Model the appropriate level(s) of detail.

6 Start early to collect the necessary input data.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 10 / 44

Page 23: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building:

1 Define an achievable goal.

2 Put together a complete mix of skills on the team.

3 Involve the end-user.

4 Choose the appropriate simulation tools.

5 Model the appropriate level(s) of detail.

6 Start early to collect the necessary input data.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 10 / 44

Page 24: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building:

1 Define an achievable goal.

2 Put together a complete mix of skills on the team.

3 Involve the end-user.

4 Choose the appropriate simulation tools.

5 Model the appropriate level(s) of detail.

6 Start early to collect the necessary input data.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 10 / 44

Page 25: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building:

1 Define an achievable goal.

2 Put together a complete mix of skills on the team.

3 Involve the end-user.

4 Choose the appropriate simulation tools.

5 Model the appropriate level(s) of detail.

6 Start early to collect the necessary input data.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 10 / 44

Page 26: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building: Ctd

7 Provide adequate and on-going documentation.

8 Develop a plan for adequate model verification. (Did we get the”right answers?”)

9 Develop a plan for model validation. (Did we ask the ”rightquestions?”)

10 Develop a plan for statistical output analysis.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 11 / 44

Page 27: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building: Ctd

7 Provide adequate and on-going documentation.

8 Develop a plan for adequate model verification. (Did we get the”right answers?”)

9 Develop a plan for model validation. (Did we ask the ”rightquestions?”)

10 Develop a plan for statistical output analysis.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 11 / 44

Page 28: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building: Ctd

7 Provide adequate and on-going documentation.

8 Develop a plan for adequate model verification. (Did we get the”right answers?”)

9 Develop a plan for model validation. (Did we ask the ”rightquestions?”)

10 Develop a plan for statistical output analysis.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 11 / 44

Page 29: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Steps in Simulation and Model building: Ctd

7 Provide adequate and on-going documentation.

8 Develop a plan for adequate model verification. (Did we get the”right answers?”)

9 Develop a plan for model validation. (Did we ask the ”rightquestions?”)

10 Develop a plan for statistical output analysis.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 11 / 44

Page 30: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Put together a complete mix of skills on the team:

We need:Knowledge of the system under investigation.

System analyst skills (model formulation).

Model building skills (model Programming).

Data collection skills.

Statistical skills (input data representation).

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 12 / 44

Page 31: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Put together a complete mix of skills on the team:

We need:Knowledge of the system under investigation.

System analyst skills (model formulation).

Model building skills (model Programming).

Data collection skills.

Statistical skills (input data representation).

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 12 / 44

Page 32: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Put together a complete mix of skills on the team:

We need:Knowledge of the system under investigation.

System analyst skills (model formulation).

Model building skills (model Programming).

Data collection skills.

Statistical skills (input data representation).

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 12 / 44

Page 33: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Put together a complete mix of skills on the team:

We need:Knowledge of the system under investigation.

System analyst skills (model formulation).

Model building skills (model Programming).

Data collection skills.

Statistical skills (input data representation).

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 12 / 44

Page 34: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Put together a complete mix of skills on the team:

We need:Knowledge of the system under investigation.

System analyst skills (model formulation).

Model building skills (model Programming).

Data collection skills.

Statistical skills (input data representation).

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 12 / 44

Page 35: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Put together a complete mix of skills on the team: Ctd

We need:

More statistical skills (output data analysis).

Even more statistical skills (design of experiments).

Management skills (to get everyone pulling in the same direction).

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 13 / 44

Page 36: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Put together a complete mix of skills on the team: Ctd

We need:

More statistical skills (output data analysis).

Even more statistical skills (design of experiments).

Management skills (to get everyone pulling in the same direction).

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 13 / 44

Page 37: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Put together a complete mix of skills on the team: Ctd

We need:

More statistical skills (output data analysis).

Even more statistical skills (design of experiments).

Management skills (to get everyone pulling in the same direction).

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 13 / 44

Page 38: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Involve the end user

Modeling is a selling job!

Does anyone believe the results?

Will anyone put the results into action?

The end-user (your customer) can (and must) do all of the aboveBUT, first he must be convinced!

He must believe it is HIS Model!

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 14 / 44

Page 39: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Involve the end user

Modeling is a selling job!

Does anyone believe the results?

Will anyone put the results into action?

The end-user (your customer) can (and must) do all of the aboveBUT, first he must be convinced!

He must believe it is HIS Model!

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 14 / 44

Page 40: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Involve the end user

Modeling is a selling job!

Does anyone believe the results?

Will anyone put the results into action?

The end-user (your customer) can (and must) do all of the aboveBUT, first he must be convinced!

He must believe it is HIS Model!

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 14 / 44

Page 41: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Involve the end user

Modeling is a selling job!

Does anyone believe the results?

Will anyone put the results into action?

The end-user (your customer) can (and must) do all of the aboveBUT, first he must be convinced!

He must believe it is HIS Model!

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 14 / 44

Page 42: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Model Building and Simulation

Involve the end user

Modeling is a selling job!

Does anyone believe the results?

Will anyone put the results into action?

The end-user (your customer) can (and must) do all of the aboveBUT, first he must be convinced!

He must believe it is HIS Model!

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 14 / 44

Page 43: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Assuming Simulation is the appropriate means, three alternatives exist:

1 Build Model in a General Purpose Language.

2 Build Model in a General Simulation Language.

3 Use a Special Purpose Simulation Package.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 15 / 44

Page 44: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Assuming Simulation is the appropriate means, three alternatives exist:

1 Build Model in a General Purpose Language.

2 Build Model in a General Simulation Language.

3 Use a Special Purpose Simulation Package.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 15 / 44

Page 45: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Assuming Simulation is the appropriate means, three alternatives exist:

1 Build Model in a General Purpose Language.

2 Build Model in a General Simulation Language.

3 Use a Special Purpose Simulation Package.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 15 / 44

Page 46: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Assuming Simulation is the appropriate means, three alternatives exist:

1 Build Model in a General Purpose Language.

2 Build Model in a General Simulation Language.

3 Use a Special Purpose Simulation Package.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 15 / 44

Page 47: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose languages

Advantages:Little or no additional software cost.

Universally available (portable).

No additional training (Everybody knows(language X)!)

Disadvantages:Every model starts from scratch.

Very little reusable code.

Long development cycle for each model.

Difficult verification phase.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 16 / 44

Page 48: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose languages

Advantages:Little or no additional software cost.

Universally available (portable).

No additional training (Everybody knows(language X)!)

Disadvantages:Every model starts from scratch.

Very little reusable code.

Long development cycle for each model.

Difficult verification phase.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 16 / 44

Page 49: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose languages

Advantages:Little or no additional software cost.

Universally available (portable).

No additional training (Everybody knows(language X)!)

Disadvantages:Every model starts from scratch.

Very little reusable code.

Long development cycle for each model.

Difficult verification phase.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 16 / 44

Page 50: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose languages

Advantages:Little or no additional software cost.

Universally available (portable).

No additional training (Everybody knows(language X)!)

Disadvantages:Every model starts from scratch.

Very little reusable code.

Long development cycle for each model.

Difficult verification phase.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 16 / 44

Page 51: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose languages

Advantages:Little or no additional software cost.

Universally available (portable).

No additional training (Everybody knows(language X)!)

Disadvantages:Every model starts from scratch.

Very little reusable code.

Long development cycle for each model.

Difficult verification phase.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 16 / 44

Page 52: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose languages

Advantages:Little or no additional software cost.

Universally available (portable).

No additional training (Everybody knows(language X)!)

Disadvantages:Every model starts from scratch.

Very little reusable code.

Long development cycle for each model.

Difficult verification phase.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 16 / 44

Page 53: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose languages

Advantages:Little or no additional software cost.

Universally available (portable).

No additional training (Everybody knows(language X)!)

Disadvantages:Every model starts from scratch.

Very little reusable code.

Long development cycle for each model.

Difficult verification phase.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 16 / 44

Page 54: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose languages used for simulation

FORTRAN: Probably more models than any other language.

PASCAL: Not as universal as FORTRAN

MODULA: Many improvements over PASCAL

ADA: Department of Defense attempt at standardization

C, C++ : Object-oriented programming language

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 17 / 44

Page 55: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose languages used for simulation

FORTRAN: Probably more models than any other language.

PASCAL: Not as universal as FORTRAN

MODULA: Many improvements over PASCAL

ADA: Department of Defense attempt at standardization

C, C++ : Object-oriented programming language

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 17 / 44

Page 56: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose languages used for simulation

FORTRAN: Probably more models than any other language.

PASCAL: Not as universal as FORTRAN

MODULA: Many improvements over PASCAL

ADA: Department of Defense attempt at standardization

C, C++ : Object-oriented programming language

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 17 / 44

Page 57: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose languages used for simulation

FORTRAN: Probably more models than any other language.

PASCAL: Not as universal as FORTRAN

MODULA: Many improvements over PASCAL

ADA: Department of Defense attempt at standardization

C, C++ : Object-oriented programming language

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 17 / 44

Page 58: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose languages used for simulation

FORTRAN: Probably more models than any other language.

PASCAL: Not as universal as FORTRAN

MODULA: Many improvements over PASCAL

ADA: Department of Defense attempt at standardization

C, C++ : Object-oriented programming language

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 17 / 44

Page 59: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose simulation languages

Advantages:Standardized features often needed in modeling

Shorter development cycle for each model

Much assistance in model verification

Very readable code

Disadvantages:Higher software cost (up-front)

Additional training required

Limited portability

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 18 / 44

Page 60: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose simulation languages

Advantages:Standardized features often needed in modeling

Shorter development cycle for each model

Much assistance in model verification

Very readable code

Disadvantages:Higher software cost (up-front)

Additional training required

Limited portability

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 18 / 44

Page 61: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose simulation languages

Advantages:Standardized features often needed in modeling

Shorter development cycle for each model

Much assistance in model verification

Very readable code

Disadvantages:Higher software cost (up-front)

Additional training required

Limited portability

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 18 / 44

Page 62: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose simulation languages

Advantages:Standardized features often needed in modeling

Shorter development cycle for each model

Much assistance in model verification

Very readable code

Disadvantages:Higher software cost (up-front)

Additional training required

Limited portability

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 18 / 44

Page 63: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose simulation languages

Advantages:Standardized features often needed in modeling

Shorter development cycle for each model

Much assistance in model verification

Very readable code

Disadvantages:Higher software cost (up-front)

Additional training required

Limited portability

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 18 / 44

Page 64: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose simulation languages

Advantages:Standardized features often needed in modeling

Shorter development cycle for each model

Much assistance in model verification

Very readable code

Disadvantages:Higher software cost (up-front)

Additional training required

Limited portability

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 18 / 44

Page 65: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with general purpose simulation languages

Advantages:Standardized features often needed in modeling

Shorter development cycle for each model

Much assistance in model verification

Very readable code

Disadvantages:Higher software cost (up-front)

Additional training required

Limited portability

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 18 / 44

Page 66: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages

GPSS:Block-structured Language

Interpretive Execution

FORTRAN-based (Help blocks)

World-view: Transactions/Facilities

SIMSCRIPT II.5:English-like Problem Description Language

Compiled Programs

Complete language (no other underlying language)

World-view: Processes/ Resources/ Continuous

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 19 / 44

Page 67: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages

GPSS:Block-structured Language

Interpretive Execution

FORTRAN-based (Help blocks)

World-view: Transactions/Facilities

SIMSCRIPT II.5:English-like Problem Description Language

Compiled Programs

Complete language (no other underlying language)

World-view: Processes/ Resources/ Continuous

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 19 / 44

Page 68: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages

GPSS:Block-structured Language

Interpretive Execution

FORTRAN-based (Help blocks)

World-view: Transactions/Facilities

SIMSCRIPT II.5:English-like Problem Description Language

Compiled Programs

Complete language (no other underlying language)

World-view: Processes/ Resources/ Continuous

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 19 / 44

Page 69: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages

GPSS:Block-structured Language

Interpretive Execution

FORTRAN-based (Help blocks)

World-view: Transactions/Facilities

SIMSCRIPT II.5:English-like Problem Description Language

Compiled Programs

Complete language (no other underlying language)

World-view: Processes/ Resources/ Continuous

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 19 / 44

Page 70: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages

GPSS:Block-structured Language

Interpretive Execution

FORTRAN-based (Help blocks)

World-view: Transactions/Facilities

SIMSCRIPT II.5:English-like Problem Description Language

Compiled Programs

Complete language (no other underlying language)

World-view: Processes/ Resources/ Continuous

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 19 / 44

Page 71: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages

GPSS:Block-structured Language

Interpretive Execution

FORTRAN-based (Help blocks)

World-view: Transactions/Facilities

SIMSCRIPT II.5:English-like Problem Description Language

Compiled Programs

Complete language (no other underlying language)

World-view: Processes/ Resources/ Continuous

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 19 / 44

Page 72: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages

GPSS:Block-structured Language

Interpretive Execution

FORTRAN-based (Help blocks)

World-view: Transactions/Facilities

SIMSCRIPT II.5:English-like Problem Description Language

Compiled Programs

Complete language (no other underlying language)

World-view: Processes/ Resources/ Continuous

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 19 / 44

Page 73: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages

GPSS:Block-structured Language

Interpretive Execution

FORTRAN-based (Help blocks)

World-view: Transactions/Facilities

SIMSCRIPT II.5:English-like Problem Description Language

Compiled Programs

Complete language (no other underlying language)

World-view: Processes/ Resources/ Continuous

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 19 / 44

Page 74: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

MODSIM III:Modern Object-Oriented Language

Modularity Compiled Programs

Based on Modula2 (but compiles into C)

World-view: Processes

SIMULA:ALGOL-based Problem Description Language

Compiled Programs

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 20 / 44

Page 75: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

MODSIM III:Modern Object-Oriented Language

Modularity Compiled Programs

Based on Modula2 (but compiles into C)

World-view: Processes

SIMULA:ALGOL-based Problem Description Language

Compiled Programs

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 20 / 44

Page 76: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

MODSIM III:Modern Object-Oriented Language

Modularity Compiled Programs

Based on Modula2 (but compiles into C)

World-view: Processes

SIMULA:ALGOL-based Problem Description Language

Compiled Programs

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 20 / 44

Page 77: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

MODSIM III:Modern Object-Oriented Language

Modularity Compiled Programs

Based on Modula2 (but compiles into C)

World-view: Processes

SIMULA:ALGOL-based Problem Description Language

Compiled Programs

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 20 / 44

Page 78: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

MODSIM III:Modern Object-Oriented Language

Modularity Compiled Programs

Based on Modula2 (but compiles into C)

World-view: Processes

SIMULA:ALGOL-based Problem Description Language

Compiled Programs

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 20 / 44

Page 79: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

MODSIM III:Modern Object-Oriented Language

Modularity Compiled Programs

Based on Modula2 (but compiles into C)

World-view: Processes

SIMULA:ALGOL-based Problem Description Language

Compiled Programs

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 20 / 44

Page 80: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

MODSIM III:Modern Object-Oriented Language

Modularity Compiled Programs

Based on Modula2 (but compiles into C)

World-view: Processes

SIMULA:ALGOL-based Problem Description Language

Compiled Programs

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 20 / 44

Page 81: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

SLAM:Block-structured Language

Interpretive Execution

FORTRAN-based (and extended)

World-view: Network / event / continuous

CSIM:process-oriented language

C-based (C++ based)

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 21 / 44

Page 82: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

SLAM:Block-structured Language

Interpretive Execution

FORTRAN-based (and extended)

World-view: Network / event / continuous

CSIM:process-oriented language

C-based (C++ based)

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 21 / 44

Page 83: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

SLAM:Block-structured Language

Interpretive Execution

FORTRAN-based (and extended)

World-view: Network / event / continuous

CSIM:process-oriented language

C-based (C++ based)

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 21 / 44

Page 84: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

SLAM:Block-structured Language

Interpretive Execution

FORTRAN-based (and extended)

World-view: Network / event / continuous

CSIM:process-oriented language

C-based (C++ based)

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 21 / 44

Page 85: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

SLAM:Block-structured Language

Interpretive Execution

FORTRAN-based (and extended)

World-view: Network / event / continuous

CSIM:process-oriented language

C-based (C++ based)

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 21 / 44

Page 86: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

SLAM:Block-structured Language

Interpretive Execution

FORTRAN-based (and extended)

World-view: Network / event / continuous

CSIM:process-oriented language

C-based (C++ based)

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 21 / 44

Page 87: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

General purpose simulation languages: Ctd

SLAM:Block-structured Language

Interpretive Execution

FORTRAN-based (and extended)

World-view: Network / event / continuous

CSIM:process-oriented language

C-based (C++ based)

World-view: Processes

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 21 / 44

Page 88: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with special purpose simulation languages

Advantages:Very quick development of complex models

Short learning cycle

No programming–minimal errors in usage

Disadvantages:High cost of software

Limited scope of applicability

Limited flexibility (may not fit your specific application)

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 22 / 44

Page 89: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with special purpose simulation languages

Advantages:Very quick development of complex models

Short learning cycle

No programming–minimal errors in usage

Disadvantages:High cost of software

Limited scope of applicability

Limited flexibility (may not fit your specific application)

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 22 / 44

Page 90: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with special purpose simulation languages

Advantages:Very quick development of complex models

Short learning cycle

No programming–minimal errors in usage

Disadvantages:High cost of software

Limited scope of applicability

Limited flexibility (may not fit your specific application)

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 22 / 44

Page 91: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with special purpose simulation languages

Advantages:Very quick development of complex models

Short learning cycle

No programming–minimal errors in usage

Disadvantages:High cost of software

Limited scope of applicability

Limited flexibility (may not fit your specific application)

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 22 / 44

Page 92: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with special purpose simulation languages

Advantages:Very quick development of complex models

Short learning cycle

No programming–minimal errors in usage

Disadvantages:High cost of software

Limited scope of applicability

Limited flexibility (may not fit your specific application)

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 22 / 44

Page 93: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Modeling with special purpose simulation languages

Advantages:Very quick development of complex models

Short learning cycle

No programming–minimal errors in usage

Disadvantages:High cost of software

Limited scope of applicability

Limited flexibility (may not fit your specific application)

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 22 / 44

Page 94: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Special purpose packages used for simulation

NETWORK II.5: Simulator for computer systems.

OPNET: Simulator for communication networks, including wirelessnetworks

COMNET III: Simulator for communications networks

ADA: Department of Defense attempt at standardization

SIMFACTORY: Simulator for manufacturing operations

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 23 / 44

Page 95: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Special purpose packages used for simulation

NETWORK II.5: Simulator for computer systems.

OPNET: Simulator for communication networks, including wirelessnetworks

COMNET III: Simulator for communications networks

ADA: Department of Defense attempt at standardization

SIMFACTORY: Simulator for manufacturing operations

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 23 / 44

Page 96: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Special purpose packages used for simulation

NETWORK II.5: Simulator for computer systems.

OPNET: Simulator for communication networks, including wirelessnetworks

COMNET III: Simulator for communications networks

ADA: Department of Defense attempt at standardization

SIMFACTORY: Simulator for manufacturing operations

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 23 / 44

Page 97: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Special purpose packages used for simulation

NETWORK II.5: Simulator for computer systems.

OPNET: Simulator for communication networks, including wirelessnetworks

COMNET III: Simulator for communications networks

ADA: Department of Defense attempt at standardization

SIMFACTORY: Simulator for manufacturing operations

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 23 / 44

Page 98: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Special purpose packages used for simulation

NETWORK II.5: Simulator for computer systems.

OPNET: Simulator for communication networks, including wirelessnetworks

COMNET III: Simulator for communications networks

ADA: Department of Defense attempt at standardization

SIMFACTORY: Simulator for manufacturing operations

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 23 / 44

Page 99: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

The real cost of simulation

Many people think of the cost of a simulation only in terms of thesoftware package price.

There are actually at least three components to the cost of simulation:

1 Purchase price of the software

2 Programmer / Analyst time

3 ”Timeliness of Results”

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 24 / 44

Page 100: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

The real cost of simulation

Many people think of the cost of a simulation only in terms of thesoftware package price.

There are actually at least three components to the cost of simulation:

1 Purchase price of the software

2 Programmer / Analyst time

3 ”Timeliness of Results”

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 24 / 44

Page 101: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

The real cost of simulation

Many people think of the cost of a simulation only in terms of thesoftware package price.

There are actually at least three components to the cost of simulation:

1 Purchase price of the software

2 Programmer / Analyst time

3 ”Timeliness of Results”

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 24 / 44

Page 102: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

The real cost of simulation

Many people think of the cost of a simulation only in terms of thesoftware package price.

There are actually at least three components to the cost of simulation:

1 Purchase price of the software

2 Programmer / Analyst time

3 ”Timeliness of Results”

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 24 / 44

Page 103: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

The real cost of simulation

Many people think of the cost of a simulation only in terms of thesoftware package price.

There are actually at least three components to the cost of simulation:

1 Purchase price of the software

2 Programmer / Analyst time

3 ”Timeliness of Results”

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 24 / 44

Page 104: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology

System:A group of objects that are joined together in some regularinteraction or interdependence toward the accomplishment of somepurpose

Entity

An object of interest in the system.

E.g., customers at a bank

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 25 / 44

Page 105: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology

System:A group of objects that are joined together in some regularinteraction or interdependence toward the accomplishment of somepurpose

Entity

An object of interest in the system.

E.g., customers at a bank

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 25 / 44

Page 106: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology

System:A group of objects that are joined together in some regularinteraction or interdependence toward the accomplishment of somepurpose

Entity

An object of interest in the system.

E.g., customers at a bank

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 25 / 44

Page 107: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology

System:A group of objects that are joined together in some regularinteraction or interdependence toward the accomplishment of somepurpose

Entity

An object of interest in the system.

E.g., customers at a bank

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 25 / 44

Page 108: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Attribute:a property of an entity

E.g., checking account balance

Activity:Represents a time period of specified length.

Collection of operations that transform the state of an entity

E.g., making bank deposits

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 26 / 44

Page 109: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Attribute:a property of an entity

E.g., checking account balance

Activity:Represents a time period of specified length.

Collection of operations that transform the state of an entity

E.g., making bank deposits

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 26 / 44

Page 110: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Attribute:a property of an entity

E.g., checking account balance

Activity:Represents a time period of specified length.

Collection of operations that transform the state of an entity

E.g., making bank deposits

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 26 / 44

Page 111: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Attribute:a property of an entity

E.g., checking account balance

Activity:Represents a time period of specified length.

Collection of operations that transform the state of an entity

E.g., making bank deposits

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 26 / 44

Page 112: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Attribute:a property of an entity

E.g., checking account balance

Activity:Represents a time period of specified length.

Collection of operations that transform the state of an entity

E.g., making bank deposits

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 26 / 44

Page 113: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Event:change in the system state

E.g., arrival; beginning of a new execution; departure

Activity:Define the state of the system

Can restart simulation from state variables

E.g., length of the job queue.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 27 / 44

Page 114: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Event:change in the system state

E.g., arrival; beginning of a new execution; departure

Activity:Define the state of the system

Can restart simulation from state variables

E.g., length of the job queue.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 27 / 44

Page 115: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Event:change in the system state

E.g., arrival; beginning of a new execution; departure

Activity:Define the state of the system

Can restart simulation from state variables

E.g., length of the job queue.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 27 / 44

Page 116: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Event:change in the system state

E.g., arrival; beginning of a new execution; departure

Activity:Define the state of the system

Can restart simulation from state variables

E.g., length of the job queue.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 27 / 44

Page 117: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Event:change in the system state

E.g., arrival; beginning of a new execution; departure

Activity:Define the state of the system

Can restart simulation from state variables

E.g., length of the job queue.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 27 / 44

Page 118: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Process:Sequence of events ordered on time

Note: the three concepts(event, process,and activity) give rise tothree alternative ways of building discrete simulation models

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 28 / 44

Page 119: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Choose The Appropriate Simulation Tools

Terminology: Ctd

Process:Sequence of events ordered on time

Note: the three concepts(event, process,and activity) give rise tothree alternative ways of building discrete simulation models

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 28 / 44

Page 120: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Pure Continuous Simulation

Pure Discrete SimulationEvent-oriented

Activity-oriented

Process-oriented

Combined Discrete / Continuous Simulation

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 29 / 44

Page 121: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Pure Continuous Simulation

Pure Discrete SimulationEvent-oriented

Activity-oriented

Process-oriented

Combined Discrete / Continuous Simulation

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 29 / 44

Page 122: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Pure Continuous Simulation

Pure Discrete SimulationEvent-oriented

Activity-oriented

Process-oriented

Combined Discrete / Continuous Simulation

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 29 / 44

Page 123: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Pure Continuous Simulation

Pure Discrete SimulationEvent-oriented

Activity-oriented

Process-oriented

Combined Discrete / Continuous Simulation

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 29 / 44

Page 124: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Pure Continuous Simulation

Pure Discrete SimulationEvent-oriented

Activity-oriented

Process-oriented

Combined Discrete / Continuous Simulation

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 29 / 44

Page 125: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Examples of both types of models

Continuous Time and Discrete Time Models:

CPU scheduling model vs. number of students attending the class

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 30 / 44

Page 126: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Examples of both types of models

Continuous Time and Discrete Time Models:

CPU scheduling model vs. number of students attending the class

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 30 / 44

Page 127: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Examples of both types of models

Continuous Time and Discrete Time Models:

CPU scheduling model vs. number of students attending the class

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 30 / 44

Page 128: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Examples: Ctd

Continuous State and Discrete State Models: Does the systemstate evolve continuously or only at discrete points in time?

Example: Time spent by students in a weekly class vs. Number ofjobs in Q.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 31 / 44

Page 129: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Examples: Ctd

Continuous State and Discrete State Models: Does the systemstate evolve continuously or only at discrete points in time?

Example: Time spent by students in a weekly class vs. Number ofjobs in Q.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 31 / 44

Page 130: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Examples: Ctd

Continuous State and Discrete State Models: Does the systemstate evolve continuously or only at discrete points in time?

Example: Time spent by students in a weekly class vs. Number ofjobs in Q.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 31 / 44

Page 131: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Other types of models

Deterministic and Probabilistic(Stochastic) Models: Does themodel contain stochastic components?

Input

Output

Input

Output

Static and Dynamic Models: Is time a significant variable?

CPU scheduling model vs. E = mc2

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 32 / 44

Page 132: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Other types of models

Deterministic and Probabilistic(Stochastic) Models: Does themodel contain stochastic components?

Input

Output

Input

Output

Static and Dynamic Models: Is time a significant variable?

CPU scheduling model vs. E = mc2

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 32 / 44

Page 133: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Model Taxonomy

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 33 / 44

Page 134: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Model Taxonomy

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 33 / 44

Page 135: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

How to develop a model:

Determine the goals and objectives

Build a conceptual model

Convert into a specification model

Convert into a computational model

Verify

Validate

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 34 / 44

Page 136: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

How to develop a model:

Determine the goals and objectives

Build a conceptual model

Convert into a specification model

Convert into a computational model

Verify

Validate

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 34 / 44

Page 137: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

How to develop a model:

Determine the goals and objectives

Build a conceptual model

Convert into a specification model

Convert into a computational model

Verify

Validate

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 34 / 44

Page 138: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

How to develop a model:

Determine the goals and objectives

Build a conceptual model

Convert into a specification model

Convert into a computational model

Verify

Validate

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 34 / 44

Page 139: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

How to develop a model:

Determine the goals and objectives

Build a conceptual model

Convert into a specification model

Convert into a computational model

Verify

Validate

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 34 / 44

Page 140: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

How to develop a model:

Determine the goals and objectives

Build a conceptual model

Convert into a specification model

Convert into a computational model

Verify

Validate

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 34 / 44

Page 141: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Three Model Levels

ConceptualVery high level

How comprehensive should the model be?

What are the state variables, which are dynamic, and which areimportant?

SpecificationOn paper

May involve equations, pseudocode, etc.

How will the model receive input?Computational

A computer program

General-purpose PL or simulation language?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 35 / 44

Page 142: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Three Model Levels

ConceptualVery high level

How comprehensive should the model be?

What are the state variables, which are dynamic, and which areimportant?

SpecificationOn paper

May involve equations, pseudocode, etc.

How will the model receive input?Computational

A computer program

General-purpose PL or simulation language?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 35 / 44

Page 143: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Three Model Levels

ConceptualVery high level

How comprehensive should the model be?

What are the state variables, which are dynamic, and which areimportant?

SpecificationOn paper

May involve equations, pseudocode, etc.

How will the model receive input?Computational

A computer program

General-purpose PL or simulation language?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 35 / 44

Page 144: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Three Model Levels

ConceptualVery high level

How comprehensive should the model be?

What are the state variables, which are dynamic, and which areimportant?

SpecificationOn paper

May involve equations, pseudocode, etc.

How will the model receive input?Computational

A computer program

General-purpose PL or simulation language?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 35 / 44

Page 145: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Three Model Levels

ConceptualVery high level

How comprehensive should the model be?

What are the state variables, which are dynamic, and which areimportant?

SpecificationOn paper

May involve equations, pseudocode, etc.

How will the model receive input?Computational

A computer program

General-purpose PL or simulation language?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 35 / 44

Page 146: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Three Model Levels

ConceptualVery high level

How comprehensive should the model be?

What are the state variables, which are dynamic, and which areimportant?

SpecificationOn paper

May involve equations, pseudocode, etc.

How will the model receive input?Computational

A computer program

General-purpose PL or simulation language?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 35 / 44

Page 147: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Verification vs. Validation

VerificationComputational model should be consistent with specification model

Did we build the model right?Validation

Computational model should be consistent with the system beinganalyzed

Did we build the right model?

Can an expert distinguish simulation output from system output?

Interactive graphics can prove valuable

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 36 / 44

Page 148: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Verification vs. Validation

VerificationComputational model should be consistent with specification model

Did we build the model right?Validation

Computational model should be consistent with the system beinganalyzed

Did we build the right model?

Can an expert distinguish simulation output from system output?

Interactive graphics can prove valuable

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 36 / 44

Page 149: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Verification vs. Validation

VerificationComputational model should be consistent with specification model

Did we build the model right?Validation

Computational model should be consistent with the system beinganalyzed

Did we build the right model?

Can an expert distinguish simulation output from system output?

Interactive graphics can prove valuable

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 36 / 44

Page 150: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Verification vs. Validation

VerificationComputational model should be consistent with specification model

Did we build the model right?Validation

Computational model should be consistent with the system beinganalyzed

Did we build the right model?

Can an expert distinguish simulation output from system output?

Interactive graphics can prove valuable

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 36 / 44

Page 151: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Model the appropriate level(s) of detail

Define the boundaries of the system to be modeled.

Some characteristics of ”the environment” (outside theboundaries) may need to be included in the model.

Not all subsystems will require the same level of detail.

Control the tendency to model in great detail those elements ofthe system which are well understood, while skimming over other,less well-understood sections.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 37 / 44

Page 152: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Model the appropriate level(s) of detail

Define the boundaries of the system to be modeled.

Some characteristics of ”the environment” (outside theboundaries) may need to be included in the model.

Not all subsystems will require the same level of detail.

Control the tendency to model in great detail those elements ofthe system which are well understood, while skimming over other,less well-understood sections.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 37 / 44

Page 153: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Model the appropriate level(s) of detail

Define the boundaries of the system to be modeled.

Some characteristics of ”the environment” (outside theboundaries) may need to be included in the model.

Not all subsystems will require the same level of detail.

Control the tendency to model in great detail those elements ofthe system which are well understood, while skimming over other,less well-understood sections.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 37 / 44

Page 154: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Model the appropriate level(s) of detail

Define the boundaries of the system to be modeled.

Some characteristics of ”the environment” (outside theboundaries) may need to be included in the model.

Not all subsystems will require the same level of detail.

Control the tendency to model in great detail those elements ofthe system which are well understood, while skimming over other,less well-understood sections.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 37 / 44

Page 155: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Start early to collect the necessary data

Data comes in two quantities:

TOO MUCH!!

TOO LITTLE!!

With too much data, we need techniques for reducing it to a formusable in our model.

With too little data, we need information which can be representedby statistical distributions.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 38 / 44

Page 156: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Start early to collect the necessary data

Data comes in two quantities:

TOO MUCH!!

TOO LITTLE!!

With too much data, we need techniques for reducing it to a formusable in our model.

With too little data, we need information which can be representedby statistical distributions.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 38 / 44

Page 157: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Start early to collect the necessary data

Data comes in two quantities:

TOO MUCH!!

TOO LITTLE!!

With too much data, we need techniques for reducing it to a formusable in our model.

With too little data, we need information which can be representedby statistical distributions.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 38 / 44

Page 158: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Start early to collect the necessary data

Data comes in two quantities:

TOO MUCH!!

TOO LITTLE!!

With too much data, we need techniques for reducing it to a formusable in our model.

With too little data, we need information which can be representedby statistical distributions.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 38 / 44

Page 159: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Start early to collect the necessary data

Data comes in two quantities:

TOO MUCH!!

TOO LITTLE!!

With too much data, we need techniques for reducing it to a formusable in our model.

With too little data, we need information which can be representedby statistical distributions.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 38 / 44

Page 160: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

In general, programmers hate to document. (They love toprogram!)

Documentation is always their lowest priority item. (Usuallyscheduled for just after the budget runs out!)

They believe that”only wimps read manuals.”

What can we do?

Use self-documenting languages

Insist on built-in user instructions(help screens)

Set (or insist on) standards for coding style

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 39 / 44

Page 161: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

In general, programmers hate to document. (They love toprogram!)

Documentation is always their lowest priority item. (Usuallyscheduled for just after the budget runs out!)

They believe that”only wimps read manuals.”

What can we do?

Use self-documenting languages

Insist on built-in user instructions(help screens)

Set (or insist on) standards for coding style

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 39 / 44

Page 162: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

In general, programmers hate to document. (They love toprogram!)

Documentation is always their lowest priority item. (Usuallyscheduled for just after the budget runs out!)

They believe that”only wimps read manuals.”

What can we do?

Use self-documenting languages

Insist on built-in user instructions(help screens)

Set (or insist on) standards for coding style

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 39 / 44

Page 163: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

In general, programmers hate to document. (They love toprogram!)

Documentation is always their lowest priority item. (Usuallyscheduled for just after the budget runs out!)

They believe that”only wimps read manuals.”

What can we do?

Use self-documenting languages

Insist on built-in user instructions(help screens)

Set (or insist on) standards for coding style

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 39 / 44

Page 164: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

In general, programmers hate to document. (They love toprogram!)

Documentation is always their lowest priority item. (Usuallyscheduled for just after the budget runs out!)

They believe that”only wimps read manuals.”

What can we do?

Use self-documenting languages

Insist on built-in user instructions(help screens)

Set (or insist on) standards for coding style

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 39 / 44

Page 165: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

In general, programmers hate to document. (They love toprogram!)

Documentation is always their lowest priority item. (Usuallyscheduled for just after the budget runs out!)

They believe that”only wimps read manuals.”

What can we do?

Use self-documenting languages

Insist on built-in user instructions(help screens)

Set (or insist on) standards for coding style

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 39 / 44

Page 166: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

In general, programmers hate to document. (They love toprogram!)

Documentation is always their lowest priority item. (Usuallyscheduled for just after the budget runs out!)

They believe that”only wimps read manuals.”

What can we do?

Use self-documenting languages

Insist on built-in user instructions(help screens)

Set (or insist on) standards for coding style

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 39 / 44

Page 167: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

Did we get the”right answers” (No such thing!!)

Simulation provides something that no other technique does:

Step by step tracing of the model execution.

This provides a very natural way of checking the internalconsistency of the model.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 40 / 44

Page 168: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

Did we get the”right answers” (No such thing!!)

Simulation provides something that no other technique does:

Step by step tracing of the model execution.

This provides a very natural way of checking the internalconsistency of the model.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 40 / 44

Page 169: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

Did we get the”right answers” (No such thing!!)

Simulation provides something that no other technique does:

Step by step tracing of the model execution.

This provides a very natural way of checking the internalconsistency of the model.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 40 / 44

Page 170: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Provide adequate and on-going documentation

Did we get the”right answers” (No such thing!!)

Simulation provides something that no other technique does:

Step by step tracing of the model execution.

This provides a very natural way of checking the internalconsistency of the model.

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 40 / 44

Page 171: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Develop a plan for model validation

VALIDATION: ”Doing the right thing” or ”Asking the rightquestions”

How do we know our model represents the system underinvestigation?

Compare to existing system?

Deterministic case?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 41 / 44

Page 172: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Develop a plan for model validation

VALIDATION: ”Doing the right thing” or ”Asking the rightquestions”

How do we know our model represents the system underinvestigation?

Compare to existing system?

Deterministic case?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 41 / 44

Page 173: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Develop a plan for model validation

VALIDATION: ”Doing the right thing” or ”Asking the rightquestions”

How do we know our model represents the system underinvestigation?

Compare to existing system?

Deterministic case?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 41 / 44

Page 174: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Develop a plan for model validation

VALIDATION: ”Doing the right thing” or ”Asking the rightquestions”

How do we know our model represents the system underinvestigation?

Compare to existing system?

Deterministic case?

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 41 / 44

Page 175: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Develop a plan for statistical output analysis

How much is enough? Long runs versus Replications

Techniques for Analysis

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 42 / 44

Page 176: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Develop a plan for statistical output analysis

How much is enough? Long runs versus Replications

Techniques for Analysis

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 42 / 44

Page 177: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Steps in Simulation study:

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 43 / 44

Page 178: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

Steps in Simulation study:

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 43 / 44

Page 179: Modeling and Simulationscholar.sjp.ac.lk/sites/default/files/lanel/files/... · 2021. 7. 13. · Introduction To Modeling and Simulation Model Building and Simulation Steps in Simulation

Introduction To Modeling and Simulation Simulation World-views

End!

Dr. G.H.J. Lanel (USJP) Modeling and Simulation Lecture 1 44 / 44