{"id":18116849,"url":"https://github.com/schmidtjonathan/odevis","last_synced_at":"2025-04-06T10:26:33.955Z","repository":{"id":118988507,"uuid":"265377207","full_name":"schmidtjonathan/ODEVIS","owner":"schmidtjonathan","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-02T12:01:26.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T15:54:44.967Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schmidtjonathan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-19T21:58:21.000Z","updated_at":"2020-10-29T16:33:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"a207bcba-4d87-404e-b191-3331adf0cabe","html_url":"https://github.com/schmidtjonathan/ODEVIS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmidtjonathan%2FODEVIS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmidtjonathan%2FODEVIS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmidtjonathan%2FODEVIS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schmidtjonathan%2FODEVIS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schmidtjonathan","download_url":"https://codeload.github.com/schmidtjonathan/ODEVIS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247466482,"owners_count":20943395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-01T04:16:02.141Z","updated_at":"2025-04-06T10:26:33.922Z","avatar_url":"https://github.com/schmidtjonathan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ODEVIS - Numerical Solvers for ODEs\nA simple playground to visualize the numerical solution to a two-dimensional system of ordinary differential equations (ODE).\n\n## Install\n\n1. clone this repository\n2. in your terminal, navigate into the repository folder\n3. install by executing the following line in the terminal:\n\n```\npip install -e .\n```\n\n---\n\nThere are currently three solvers implemented:\n1. Euler-method ( `--solver euler` )\n2. Heun's method ( `--solver heun` )\n3. 4th order Runge-Kutta method ( `--solver rk4` )\n4. Runge-Kutta-Fehlberg method, a.k.a. RK45 (`--solver rk45`)\n\nThe solvers can be simulated on different problems:\n\n1. The Lotka-Volterra equations to model the intertwined dynamics of two populations of hunter and prey ( `lotka_volterra` )\n2. A pendulum, represented in state-space by angle (x-axis) and angular velocity (y-axis) ( `pendulum` )\n3. The SIR model (cannot be visualized in `examples.direction_field`, since this example only provides 2D direction fields)\n\nAs an example, execute\n\n```\npython -m examples.direction_field --solver rk4 --stepsize 0.1 lotka_volterra\n```\n\nto run a simulation of the Lotka-Volterra equations (phase-space and time/value space) using a 4th-order Runge-Kutta solver with step size 0.1\n\nor\n\n```\npython -m examples.numerical_solve --solver euler --stepsize 0.1 --animate sir\n```\n\nto plot or animate (`--animate`) the numerical solution of SIR model equations over some time period.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschmidtjonathan%2Fodevis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschmidtjonathan%2Fodevis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschmidtjonathan%2Fodevis/lists"}