Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

juliorodrigues07/computational_modeling

Repository files navigation

Python 3.10.6

Computational Modeling

Computational modeling practical exercises, ODEs solvers and methods implementations (Evaluative exercises from Introduction to Computational Modeling Course - DCOMP - UFSJ).

Requirements

  • 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
    

Execution

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