The repository includes the following relevant folders and files:
- Week 1 practical session
\Practical 1\Pandemic_SIR\: a NetLogo pandemic model\Practical 1\Predator_prey\: a Python predator-prey model to practice the assignment
- Week 2 practical session
\Practical_2\DogSim\: a NetLogo model for pedestians movement inside parks, including dogwalkers\Practical_2\Wealth_Boltzmann: a Python wealth distribution model (using the Mesa library)\Practical_2\SIR_02\: a NetLogo model extending the pandemic SIR model developed in\Practical 1\Pandemic_SIR\
- Assignment
\Assignment\assignment.ipynb: a Jupyter notebook including a Schelling model and a set of assignment questions.
To run the models in the assignment.ipynb Jupyter notebooks, you need to install the following packages:
numpyversion 1.26.4matplotlibversion 3.10.0ipythonversion 8.32.0
To install these libraries, run the following code block in the Jupyter notebooks:
! pip install numpy==1.26.4 matplotlib==3.10.0 ipython==8.32.0 pillow==12.1.1
Alternatively, run the following command line at the directory where the GitHub repository files have been downloaded and saved:
pip install -r requirements.txt
If you face issues with installing the Python libraries and cannot run the model in the Jupyter notebook, you can run an online version of the model through the following links:
- Assignment: Schelling NetLogo Web link
- Week 1 practical: Predator-prey NetLogo Web link


