Skip to content
cmoynihan221Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

73 Commits

Folders and files

Repository files navigation

Agent-Based Model to Investigate how Environmental Temperature Affects the Duration and Frequency of Emperor Penguin Huddles

The basic ecolab code have been provided by Dawn C Walker in COM3001 Modelling and Simulation of Natural Systems

Scope of functionalities

This model is intended to investigate how environment temperature affect the penguin huddle. The environment temperature, numbers of penguins and the area of environment are input paramter for this model.

Usage

To run modified model:

ecolab(size,np,nsteps,temperature,fmode,outImages)

size = The size of environment
np = The number of penguins
nsteps = The numbers of iteration
temperature = The value of environment temperature
fmode = True/False of fast mode
outImages = True/False of out image mode)

For instance,

ecolab(100,10,200,-20,true,true)

It will generate the 100 square kilometer environment with 10 penguins. The iteration will process 200 times and environment is -20 degree. It will output image automaticlly and Fast mode is used.
It will generate three line charts as this image shown below.
The first line chart show the numbers of penguins huddle with iteration.
The second line chart show whether penguin huddle or not with iteration.
The third line chart show the average temperature of penguins with iteration.
image1

Here is the result at the start and end stage.
image2

Supplementary Materials:

A video of a model runthrough can be found at the following link: https://www.youtube.com/watch?v=ivfYs57Rriw

Acknowledgements

Thanks for Dawn C Walker provided the ecolab code to support us investigate agent-based model.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages