Computational modeling practical exercises, ODEs solvers and methods implementations (Evaluative exercises from Introduction to Computational Modeling Course - DCOMP - UFSJ).
-
Python3 and pip package manager:
sudo apt install python3 python3-pip build-essential python3-dev
-
pandas library:
pip install pandas
-
numpy library:
pip install numpy
-
Matplotlib library:
pip install matplotlib
-
To install all dependencies:
./install_dependencies.sh
You can alter the ODEs solver methods (euler or runge-kutta) and several parameters (initial population, rates, timestep...) directly in the source code before running. The instructions for simulating each model are as it follows:
-
Chemical Reactions Model:
python3 chemical_reactions.py
-
Lotka-Volterra Model:
python3 lotka_volterra.py
-
Species Competition Model:
python3 species_competition.py