SlideShare a Scribd company logo
Simulasi Komputer
Chapter 03.Basic SImulation
Dari buku Simulation with Promodel
Harrell−Ghosh−Bowden
Dipresentasikan Oleh
Rio Aurachman, MT
INTRODUCTION
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Introduction
Sub chapter
Sumber gambar: ctms.engin.umich.edu
TYPE OF SIMULATION
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Tipe Simulasi
• Static/Dynamic
• Stochastic/Deterministic
• Discrete event/Continuous Sub chapter
Sumber gambar: en.wikipedia.org
RANDOM BEHAVIOUR
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Perilaku Acak
• Sistem Stokastik memiliki nilai yang berubah seiring
waktu
– Distribusi bisa normal
– Eksponensial
– Poisson
– dll
• Probabilitas bisa Diskrit atau Kontinyu
• Probabilitas Diskrit memiliki nilai yang tertentu
dengan probabilitas
• Relationships among probability distributions -
Wikipedia, the free encyclopedia
Sub chapter
Sumber gambar: en.wikipedia.org
SIMULATING RANDOM BEHAVIOUR
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Simulasi Random
behaviour
• Kelebihan:Mampu Meniru
perilaku yang acak
• Bisa berdasarkan Distribusi
Probabilitas
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
Sumber gambar:
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Generate Random Number
• Random Number generator
• (0 ≤ x ≤ 1)
• Tidak benar-benar Random
• Pesudo Random Generator
Sumber gambar:
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Linear Congurential
generators
Sumber gambar:
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
slideplayer.info
C
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Contoh LCG
• a = 21, c = 3, and m = 16
Sumber gambar:
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
LCG
• Bisa diulang
• Di Promodel
• Berulang sesuai M
• Pemilihan M Sesuai
(Pritsker,1995)
Sumber gambar:
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
reference.wolfram.com
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
LCG(2)
• Stream
– Satu sequence bisa dibagi
menjadi banyak stream untuk
banyak beberapa situasi
random
• Subdivide sequence
• Dua tipe LCG
– Mixed Cingruential generator
(c>0)
– Multiplicative Congruential
Generator (c=0)
• prime modulus multiplicative
linear congruential generator
• Promodel: (PMMLCG) dengan
a =630,360,016, c = 0, and m =
2^31− 1
Sumber gambar:
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
estadisticaccbas.uaa.mx
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Menguji random Number
Generator
• Pengetahuan kita akan random number
sangat kecil
• Random number kita harus
– Independent
– Uniformly distributed
• Uji yang bisa dilakukan
– Independent: Run test
– Uniformly distributed:
• Kolmogorov Smirnov
• Chi Squared
Sumber gambar:
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
spin.atomicobject.com
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Generating random Variates
• Mengubah uniform [0,1] hasil
LCG menjadi distribusi lain
• Terdapat beberapa metode
– Inverse Transformation
– Acceptance/rejection
– Composition
– Convolution
Sumber gambar:
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
a.Continuous
b.discrete
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Continuous Distributrion
• f (x) probability density function
• cumula-tive distribution function of X
• F(x) = P(X ≤ x)
• U = F(x)
• U is uniform(0,1)
Sumber gambar:
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
a.Continuous
b.discrete
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Continuous Distribution (2)
Sumber gambar:
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
a.Continuous
b.discrete
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Discrete Distribution
• Mirip dengan continous Distribution
• Misalkan punya 3 Kemungkinan Nilai
• Dapat dijelaskan berikut
– if 0≤ Ui ≤ 0.10, then Xi = 1;
– if 0.10 < Ui ≤ 0.40, then Xi= 2;
– if 0.40< Ui ≤ 1.00, then Xi = 3
• Dapat dibuat besar (tidak hanya 3 nilai)
Sub chapter
1.Generationg Random
Number
2.Generating Random
Variates
a.Continuous
b.discrete
SIMPLE SPREADSHEET SIMULATION
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Simulasi Spreadsheet
Sederhana
• Membuat stocastic dynamic
simulation model
• Objek Kajian ATM
• System terminology
• Tujuan
• Bagaimana perilaku customer 17?
Sumber gambar:
Sub chapter
1.Simulationg Random
variates
2.Simulating Dynamic,
Stochastic Systems
3. Simulation
replications and
Output analysis
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Simulating random Variates
• Nilai yang disimulasikan
– Inter arrival
– Service
• Transformation equation
Sumber gambar:
Sub chapter
1.Simulationg Random
variates
2.Simulating Dynamic,
Stochastic Systems
3. Simulation
replications and
Output analysis
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Simulasi Dynamic and
stochastic Model
• Inti simulasi adalah meng
generate random variates dan
membuat kejadian stokastik di
simulasi
• See Excel
Sumber gambar:
Sub chapter
1.Simulationg Random
variates
2.Simulating Dynamic,
Stochastic Systems
3.Simulation
replications and
Output analysis
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
Simulation Replications and
Output Analysis
• Variasi yang besar menunjukkan
dibutuhkan lebih banyak
replication
Sumber gambar:
Sub chapter
1.Simulationg Random
variates
2.Simulating Dynamic,
Stochastic Systems
3.Simulation
replications and
Output analysis
SUMMARY
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
CHAPTER 3
Basic Simulation
1.Introduction
2.Type of SImulation
3.Random Behaviour
4.Simulating Random
Behaviour
5.Simple Spread Sheet
Simulation
6.Rangkuman
rangkuman
Random
Number
Generator
(Ui)
Variates
(dengan
distribusi) (Xi)
Performance
dari Sistem
Stokastik
(contoh:
Panjang
antrian,
waktu, dll)
Sumber gambar:

More Related Content

Recently uploaded

Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
Kamal Acharya
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
Kamal Acharya
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
Atif Razi
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answer
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
Arduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectArduino based vehicle speed tracker project
Arduino based vehicle speed tracker project
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWINGBRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdf
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptx
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

03.dasar simulasi

  • 1. Simulasi Komputer Chapter 03.Basic SImulation Dari buku Simulation with Promodel Harrell−Ghosh−Bowden Dipresentasikan Oleh Rio Aurachman, MT
  • 2. INTRODUCTION CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman
  • 3. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Introduction Sub chapter Sumber gambar: ctms.engin.umich.edu
  • 4. TYPE OF SIMULATION CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman
  • 5. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Tipe Simulasi • Static/Dynamic • Stochastic/Deterministic • Discrete event/Continuous Sub chapter Sumber gambar: en.wikipedia.org
  • 6. RANDOM BEHAVIOUR CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman
  • 7. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Perilaku Acak • Sistem Stokastik memiliki nilai yang berubah seiring waktu – Distribusi bisa normal – Eksponensial – Poisson – dll • Probabilitas bisa Diskrit atau Kontinyu • Probabilitas Diskrit memiliki nilai yang tertentu dengan probabilitas • Relationships among probability distributions - Wikipedia, the free encyclopedia Sub chapter Sumber gambar: en.wikipedia.org
  • 8. SIMULATING RANDOM BEHAVIOUR CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman
  • 9. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Simulasi Random behaviour • Kelebihan:Mampu Meniru perilaku yang acak • Bisa berdasarkan Distribusi Probabilitas Sub chapter 1.Generationg Random Number 2.Generating Random Variates Sumber gambar:
  • 10. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Generate Random Number • Random Number generator • (0 ≤ x ≤ 1) • Tidak benar-benar Random • Pesudo Random Generator Sumber gambar: Sub chapter 1.Generationg Random Number 2.Generating Random Variates
  • 11. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Linear Congurential generators Sumber gambar: Sub chapter 1.Generationg Random Number 2.Generating Random Variates slideplayer.info C
  • 12. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Contoh LCG • a = 21, c = 3, and m = 16 Sumber gambar: Sub chapter 1.Generationg Random Number 2.Generating Random Variates
  • 13. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman LCG • Bisa diulang • Di Promodel • Berulang sesuai M • Pemilihan M Sesuai (Pritsker,1995) Sumber gambar: Sub chapter 1.Generationg Random Number 2.Generating Random Variates reference.wolfram.com
  • 14. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman LCG(2) • Stream – Satu sequence bisa dibagi menjadi banyak stream untuk banyak beberapa situasi random • Subdivide sequence • Dua tipe LCG – Mixed Cingruential generator (c>0) – Multiplicative Congruential Generator (c=0) • prime modulus multiplicative linear congruential generator • Promodel: (PMMLCG) dengan a =630,360,016, c = 0, and m = 2^31− 1 Sumber gambar: Sub chapter 1.Generationg Random Number 2.Generating Random Variates estadisticaccbas.uaa.mx
  • 15. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Menguji random Number Generator • Pengetahuan kita akan random number sangat kecil • Random number kita harus – Independent – Uniformly distributed • Uji yang bisa dilakukan – Independent: Run test – Uniformly distributed: • Kolmogorov Smirnov • Chi Squared Sumber gambar: Sub chapter 1.Generationg Random Number 2.Generating Random Variates spin.atomicobject.com
  • 16. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Generating random Variates • Mengubah uniform [0,1] hasil LCG menjadi distribusi lain • Terdapat beberapa metode – Inverse Transformation – Acceptance/rejection – Composition – Convolution Sumber gambar: Sub chapter 1.Generationg Random Number 2.Generating Random Variates a.Continuous b.discrete
  • 17. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Continuous Distributrion • f (x) probability density function • cumula-tive distribution function of X • F(x) = P(X ≤ x) • U = F(x) • U is uniform(0,1) Sumber gambar: Sub chapter 1.Generationg Random Number 2.Generating Random Variates a.Continuous b.discrete
  • 18. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Continuous Distribution (2) Sumber gambar: Sub chapter 1.Generationg Random Number 2.Generating Random Variates a.Continuous b.discrete
  • 19. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Discrete Distribution • Mirip dengan continous Distribution • Misalkan punya 3 Kemungkinan Nilai • Dapat dijelaskan berikut – if 0≤ Ui ≤ 0.10, then Xi = 1; – if 0.10 < Ui ≤ 0.40, then Xi= 2; – if 0.40< Ui ≤ 1.00, then Xi = 3 • Dapat dibuat besar (tidak hanya 3 nilai) Sub chapter 1.Generationg Random Number 2.Generating Random Variates a.Continuous b.discrete
  • 20. SIMPLE SPREADSHEET SIMULATION CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman
  • 21. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Simulasi Spreadsheet Sederhana • Membuat stocastic dynamic simulation model • Objek Kajian ATM • System terminology • Tujuan • Bagaimana perilaku customer 17? Sumber gambar: Sub chapter 1.Simulationg Random variates 2.Simulating Dynamic, Stochastic Systems 3. Simulation replications and Output analysis
  • 22. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Simulating random Variates • Nilai yang disimulasikan – Inter arrival – Service • Transformation equation Sumber gambar: Sub chapter 1.Simulationg Random variates 2.Simulating Dynamic, Stochastic Systems 3. Simulation replications and Output analysis
  • 23. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Simulasi Dynamic and stochastic Model • Inti simulasi adalah meng generate random variates dan membuat kejadian stokastik di simulasi • See Excel Sumber gambar: Sub chapter 1.Simulationg Random variates 2.Simulating Dynamic, Stochastic Systems 3.Simulation replications and Output analysis
  • 24. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman Simulation Replications and Output Analysis • Variasi yang besar menunjukkan dibutuhkan lebih banyak replication Sumber gambar: Sub chapter 1.Simulationg Random variates 2.Simulating Dynamic, Stochastic Systems 3.Simulation replications and Output analysis
  • 25. SUMMARY CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman
  • 26. CHAPTER 3 Basic Simulation 1.Introduction 2.Type of SImulation 3.Random Behaviour 4.Simulating Random Behaviour 5.Simple Spread Sheet Simulation 6.Rangkuman rangkuman Random Number Generator (Ui) Variates (dengan distribusi) (Xi) Performance dari Sistem Stokastik (contoh: Panjang antrian, waktu, dll) Sumber gambar: