Tsunami Evacuation Model
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
WHAT IS IT?
Sebuah Model Simulasi Sederhana dari Evakuasi Ebncana Tsunami Berbasis Agent Based Modeling
HOW IT WORKS
Simulasi ini menampilakn sebuah skenario bencana tsunami yang terjadi
dan agent human yang bergerak menuju exit point.
HOW TO USE IT
prosedur menjalankan Simulasi evakuasi bencana tsunami ini adalah :
1. Tentukan jumlah agent human, jumlah exit point dan kecepatan dari agent tsunami yang bergerak.
2. setelah dilakukan pengaturan seperti yang diinginkan, tekan tombol "mulai", dan simulasi akan berjalan.
THINGS TO NOTICE
proses simulasi akan berlangsung dalam hitungan ticks Netlogo ini. Simulasi akan berhenti ketika ticks mencapai 100 (bisa bisa diatur nilai lain) atau mencapai titik tertentu dari koordinat X. selama
proses simulasi berlangsung, dapat dilihat jumlah kerusakan black patches (bangunan) dan jumlah agent human yang terus berkurang sampai berakhirnya proses simulasi berlangsung. kemudian juga dihasilkan sebuah grafik yang menunjukkan penurunan nilai jumlah agent tsunami dan human.
THINGS TO TRY
selain dengan simulasi yang dilakukan diawal,
user dapat melakukan beberapa model simulasi lainnya untuk melihat beberapa perbedaan yang dihasilkan. misalnya dengan mengubah jumlah exit point, mengubah kecepatan pergerakan tsunami dan mengubah jumlah agent human.
EXTENDING THE MODEL
Pengembangan yang dapat dilakukan untuk membuat simulasi ini menjadi lebih baik diantaranya adalah:
1. Menampilkan karakter fisik yang lebih baik dari area bencana dan model bencana.
2. Menambahkan start-time pada awal model simulasi
3. Menggabungkan dengan beberapa tools GIS untuk dapat memberikan data valid pada model
NETLOGO FEATURES
terdapat banyak fiture yang belum berhasil ditampilkan dalam proses pengerjaan penelitian tugas akhir ini. yang terdapat saat ini hanya fiture dasar dan masih dikembangkan oleh penulis. penulis dapat dihubungi via email : rizqiya.ws@elektro-unsyiah.net
RELATED MODELS
This section could give the names of models in the NetLogo Models Library or elsewhere which are of related interest.
CREDITS AND REFERENCES
This section could contain a reference to the model's URL on the web if it has one, as well as any other necessary credits or references.
Comments and Questions
breed [ people person] breed [ points point] breed [ tsunamis tsunami] breed [ waves wave] people-own [ target] tsunamis-own [ start-time end -time] globals [ destroyed-buildings initial-buildings] to setup show date-and-time clear-all create-random-building set-default-shape tsunamis "square" ;; default shape untuk tsunami yang dimodelkan set-default-shape points "house" ;; default shape untuk exit point yang dimodelkan, berbentuk house create-ordered-points jumlah-exit-point [ setxy random max-pxcor random max-pycor ;; menentukan letak exit point, posisi exit point berada pada koordinat x positif set color red ;; exit point ditentukan berwarna merah set size 5 ;; agar lebih mudah terlihat ] create-people initial-people [ set shape "person" set size 0.75 set color white setxy random-xcor random-ycor ;; peletakan turtle secara random, berada disebagian sumbu y (> -80) menuju menuju 100 if xcor < -95 [ die] set target one-of points face target ;; menetukan arah turtle ke exit point ( posisi tujuan) ] ask patches with [ pxcor = min-pxcor] ;; membuat awal pergerakan dari tsunami [ ignite] set initial-buildings patches with [ pcolor = black] ;; menginisialisasikan bangunan set destroyed-buildings 0 plot count turtles with [ color = white] end ;; membuat building to create-random-building ask patches [ set pcolor brown ] ask patches [ if random-float 1.0 < 0.04 [ set pcolor black]] ;; dibuat secara random ask patches with [ pcolor = black] [ ask patches in-radius random-float 2 [ set pcolor black]] ask patches with [ count neighbors4 with [ pcolor = black] = 4] [ set pcolor black] ask patches with [ pcolor = black] [ ask turtles-here [ die]] ;; menghilangkan turtles di patches hitam end ;; memulai simulasi to go if ticks = 100 [ stop] ask people [ if distance target = 0 ;; menggerakkan agent human menuju exit point [ set target one-of points face target die] ifelse distance target < 1 [ move-to target] [ face target] ifelse [ pcolor] of patch-ahead 1 = black [ lt random-float 360] [ fd 1]] move-tsunamis fade-waves update-plots end ;; memulai gerak model tsunami to move-tsunamis ask tsunamis [ ask neighbors4 with [pcolor = brown] [ ignite] ;; membuat menyala di bagian depan set breed waves] ;; membuat model gelombang stop-tsunamis update-plots tick end to ignite ;; memulai nyala gelombang tsunami sprout-tsunamis 1 [ set color blue fd speed] ;; mengatur kecepatan gelombang tsunami berdasarkan speed set pcolor brown set destroyed-buildings destroyed-buildings + 1 trapped-people end to stop-tsunamis ask turtles with [ color = blue] [ if pxcor > 80 [ die] ] stop tick end to fade-waves ;; mengatur gelombang yang memudar setelah bergerak ask waves [ set color color - white if color < blue - 3.5 [ set pcolor color die ]] end to trapped-people ;; menginisialisasikan agent human yang berada dalam tsunami let prey one-of people-here if prey != nobody [ ask prey [ die]] end to update-plots set-current-plot "Grafik" ;; menentukan plot yang akan ditampilkan set-current-plot-pen "people" ;; menentukan pen plot yang ingin ditampilkan plot count turtles with [ color = white] ;; yang akan ditampilkan dengan pen yang disebut sebelumnya set-current-plot-pen "building" ;; menentukan pen plot yang ingin ditampilkan plot count patches with [pcolor = black] ;; yang akan ditampilkan dengan pen yang disebut sebelumnya end
There is only one version of this model, created over 11 years ago by rizqiya putra.
Attached files
No files
This model does not have any ancestors.
This model does not have any descendants.