Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIDI-143: Lorenz system #1

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

WojciechMat
Copy link
Collaborator

@WojciechMat WojciechMat commented Feb 16, 2024

Dashboard

streamlit run --server.port 4555 lorenz.py

Looks fun!
image

RungeKutta4

I have implemented 4-th order Runge-Kutta solver.
image

Usage:

rk4 = RungeKutta4(lorenz, x0=x0, y0=y0, h=h, num=num)
xyzs = rk4.integrate()

Previous: scipy.integrate RK45 chart

4-th order Ruge-Kutta method with changeable step from scipy.integrate.
image

@roszcz
Copy link
Member

roszcz commented Feb 16, 2024

Thanks! Couple of ideas:

  • I'm not a huge fan of 3d charts, more so interactive 😅 - it's ok to keep it, but from the point of view of solving numerical systems I think that 2d projections (XY, XZ, ZY), and time series (X(t), Y(t), Z(t)) can be more insightful :)
  • let's try implementing our own numerical solvers - I want to get more insights into how they work, how to monitor tradeoffs, and what the parameters are doing 🔢

@WojciechMat WojciechMat changed the title first try - prototype MIDI-143: Lorenz system Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants